diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-01-12 16:17:52 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-01-12 16:17:52 +0000 |
commit | 93c9a7f1edb1458d6fd47372597daf19acb399d6 (patch) | |
tree | 3b08f0f5ad4c4b31f247f57ccee8fb8f82144f61 /externals/extra | |
parent | 104ba09c394b8a625432a667f67f213be26a1556 (diff) |
added kFreeBSD and Hurd kernel support for Debian
svn path=/trunk/; revision=14715
Diffstat (limited to 'externals/extra')
-rw-r--r-- | externals/extra/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/externals/extra/Makefile b/externals/extra/Makefile index 393f3408..e3b0e63e 100644 --- a/externals/extra/Makefile +++ b/externals/extra/Makefile @@ -63,6 +63,26 @@ ifeq ($(UNAME),Linux) 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 + SOURCES += $(SOURCES_linux) + EXTENSION = pd_linux + OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer + ALL_CFLAGS += -fPIC + ALL_LDFLAGS += -Wl,--export-dynamic -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 + SOURCES += $(SOURCES_linux) + EXTENSION = pd_linux + OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer + ALL_CFLAGS += -fPIC + ALL_LDFLAGS += -Wl,--export-dynamic -shared -fPIC + LIBS += -lc + STRIP = strip --strip-unneeded -R .note -R .comment +endif ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME))) # SOURCES += $(SOURCES_Linux) EXTENSION = dll |