summaryrefslogtreecommitdiff
path: root/Makefile.sources
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.sources')
-rw-r--r--Makefile.sources9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.sources b/Makefile.sources
index 8c5ad41bd..90ae33e27 100644
--- a/Makefile.sources
+++ b/Makefile.sources
@@ -82,6 +82,10 @@ RDEP_BEOS := $(addprefix beos/res/,$(RDEP_BEOS)) \
S_DEBUG := netsurfd.c debug_bitmap.c filetyped.c fontd.c
S_DEBUG := $(addprefix debug/,$(S_DEBUG))
+# S_AMIGA are sources purely for the Amiga build
+S_AMIGA := compat.c gui.c tree.c history.c hotlist.c schedule.c thumbnail.c misc.c bitmap.c font.c filetype.c utf8.c login.c plotters.c
+S_AMIGA := $(addprefix amiga/,$(S_AMIGA))
+
# Some extra rules for building the scanner etc.
css/css_enum.c css/css_enum.h: css/css_enums css/makeenum
$(VQ)echo "MAKEENUM: css"
@@ -149,6 +153,11 @@ SOURCES := $(S_COMMON) $(S_IMAGE) $(S_DEBUG)
EXETARGET := nsdebug
endif
+ifeq ($(TARGET),amiga)
+SOURCES := $(S_COMMON) $(S_IMAGE) $(S_BROWSER) $(S_AMIGA)
+EXETARGET := NetSurf
+endif
+
ifeq ($(SOURCES),)
$(error Unable to build NetSurf, could not determine set of sources to build)
endif