From 93c9a7f1edb1458d6fd47372597daf19acb399d6 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 12 Jan 2011 16:17:52 +0000 Subject: added kFreeBSD and Hurd kernel support for Debian svn path=/trunk/; revision=14715 --- externals/extra/Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'externals/extra/Makefile') 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 -- cgit v1.2.1