aboutsummaryrefslogtreecommitdiff
path: root/cyclone
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-01-01 04:24:03 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-01-01 04:24:03 +0000
commit9207f3ae0a4ce72f909bf0de920cbd73fb6b9356 (patch)
treed0be3bb13e6ef18636cdbac99e1769c34232276d /cyclone
parent22f7a8df230705c88f113d02066a41533a92cab5 (diff)
updated LDFLAGS for Linux and added support for GNU/Hurd and kFreeBSD
svn path=/trunk/externals/miXed/; revision=15860
Diffstat (limited to 'cyclone')
-rw-r--r--cyclone/Makefile.libdir26
1 files changed, 25 insertions, 1 deletions
diff --git a/cyclone/Makefile.libdir b/cyclone/Makefile.libdir
index 0d46759..edd7e7a 100644
--- a/cyclone/Makefile.libdir
+++ b/cyclone/Makefile.libdir
@@ -58,7 +58,31 @@ ifeq ($(UNAME),Linux)
PD_PATH = /usr
OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer
CFLAGS += -fPIC
- LDFLAGS += -Wl,--export-dynamic -shared -fPIC
+ LDFLAGS += -rdynamic -shared -fPIC
+ LIBS += -lc
+ STRIP = strip --strip-unneeded -R .note -R .comment
+endif
+ifeq ($(UNAME),GNU)
+ # GNU/Hurd, should work like GNU/Linux for basically all externals
+ CPU := $(shell uname -m)
+ EXTENSION = pd_linux
+ OS = linux
+ PD_PATH = /usr
+ OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer
+ CFLAGS += -fPIC
+ LDFLAGS += -rdynamic -shared -fPIC
+ LIBS += -lc
+ STRIP = strip --strip-unneeded -R .note -R .comment
+endif
+ifeq ($(UNAME),GNU/kFreeBSD)
+ # Debian GNU/kFreeBSD, should work like GNU/Linux for basically all externals
+ CPU := $(shell uname -m)
+ EXTENSION = pd_linux
+ OS = linux
+ PD_PATH = /usr
+ OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer
+ CFLAGS += -fPIC
+ LDFLAGS += -rdynamic -shared -fPIC
LIBS += -lc
STRIP = strip --strip-unneeded -R .note -R .comment
endif