summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2008-08-02 14:35:40 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2008-08-02 14:35:40 +0000
commit611e4f8cbe5bfce70dc24a7913fcf82212f70b27 (patch)
treea1fb3a70255c8fe15783a7bb6bab624cba4abb9e /Makefile
parent26203b22157e0b92caa973d712968f4f4bbeee6c (diff)
downloadnetsurf-611e4f8cbe5bfce70dc24a7913fcf82212f70b27.tar.gz
netsurf-611e4f8cbe5bfce70dc24a7913fcf82212f70b27.tar.bz2
Added changes for TARGET=amiga
svn path=/trunk/netsurf/; revision=4865
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 18 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f92262902..36b5efe9a 100644
--- a/Makefile
+++ b/Makefile
@@ -60,6 +60,12 @@ else
# Haiku implements the BeOS API
HOST := beos
endif
+ ifeq ($(HOST),AmigaOS)
+ HOST := amiga
+ ifeq ($(TARGET),)
+ TARGET := amiga
+ endif
+ endif
ifeq ($(HOST),beos)
# Build happening on BeOS platform, default target is BeOS backend
ifeq ($(TARGET),)
@@ -81,7 +87,9 @@ ifneq ($(TARGET),riscos)
ifneq ($(TARGET),gtk)
ifneq ($(TARGET),beos)
ifneq ($(TARGET),debug)
- $(error Unknown TARGET "$(TARGET)", should either be "riscos", "gtk", "beos" or "debug")
+ ifneq ($(TARGET),amiga)
+ $(error Unknown TARGET "$(TARGET)", should either be "riscos", "gtk", "beos", "amiga" or "debug")
+ endif
endif
endif
endif
@@ -363,6 +371,15 @@ ifeq ($(TARGET),beos)
endif
# ----------------------------------------------------------------------------
+# Amiga target setup
+# ----------------------------------------------------------------------------
+
+ifeq ($(TARGET),amiga)
+ CFLAGS += -mcrt=newlib -D__USE_INLINE__ -std=c99 -I .
+ LDFLAGS += -lxml2 -lz -ljpeg -lcurl -lm -lmng -lsocket -lpthread -lrosprite -liconv -lregex -lauto -lssl -lcrypto -lamisslauto -mcrt=newlib
+endif
+
+# ----------------------------------------------------------------------------
# Debug target setup
# ----------------------------------------------------------------------------