diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2009-04-01 21:13:09 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2009-04-01 21:13:09 +0000 |
commit | 0ed7a8b68dd73e2b0473b8127aeca99f3bac9061 (patch) | |
tree | 5c67818b38a5cc2f9caa5ca7f8640ca356adf02b /externals/grill/flext/buildsys/gnumake.inc | |
parent | bb4c7f6a245394d09dac9adfb2efb093d3d98452 (diff) |
cleaned up grill externals - replaced with svn:externals to svn.grrrr.org/ext/trunk/
svn path=/trunk/; revision=10951
Diffstat (limited to 'externals/grill/flext/buildsys/gnumake.inc')
-rw-r--r-- | externals/grill/flext/buildsys/gnumake.inc | 95 |
1 files changed, 0 insertions, 95 deletions
diff --git a/externals/grill/flext/buildsys/gnumake.inc b/externals/grill/flext/buildsys/gnumake.inc deleted file mode 100644 index 27052d68..00000000 --- a/externals/grill/flext/buildsys/gnumake.inc +++ /dev/null @@ -1,95 +0,0 @@ -############################################## -# cross-compilation -############################################## - -ifndef ARCH -ifeq ("$(shell uname -p)","powerpc") -ARCH := ppc -else -ARCH := $(shell uname -p) -endif -endif - -############################################## -# some compiler definitions -############################################## - -CFLAGS += $(UFLAGS) -$(foreach arch,$(ARCH),$(eval CFLAGS_$(arch) += $$(UFLAGS_$(arch)) ) ) - -ifdef DEBUG - -DEFS += -D_DEBUG -CFLAGS += $(DFLAGS) - -define ARCH_FLAGS -CFLAGS_$(1) += $$(DFLAGS_$(1)) -endef - -else ## profile and release - -DEFS += -DNDEBUG -CFLAGS += $(OFLAGS) - -define ARCH_FLAGS -CFLAGS_$(1) += $$(OFLAGS_$(1)) -endef - -endif - -$(foreach arch,$(ARCH),$(eval $(call ARCH_FLAGS,$(arch)))) - - -ifdef SHARED -# --- shared --- -DEFS += -DFLEXT_SHARED - -else -ifdef THREADED -# --- static multi-threaded --- -DEFS += -DFLEXT_THREADS - -else -# --- static single-threaded --- - -endif -endif - -############################################## -# name of flext library -############################################## - -ifdef SHARED -TYPEEXT := _ -else -ifdef THREADED -TYPEEXT := _t -else -TYPEEXT := _s -endif -endif - -ifdef DEBUG -MODEEXT := d -else -ifdef PROFILE -MODEEXT := p -else -MODEEXT := -ifdef SHARED -TYPEEXT := -endif -endif -endif - -FLEXTNAME := flext-$(RTSYS)$(TYPEEXT)$(MODEEXT) - -############################################## -# product name and folder -############################################## - -ifndef SRCDIR -SRCDIR := . -endif - -OUTSUB := $(TARGETMODE)-$(TARGETTYPE) |