[PD-cvs] externals/grill/flext/buildsys gnumake.inc,1.6,1.7
Thomas Grill
xovo at users.sourceforge.net
Sat Jan 20 15:26:03 CET 2007
- Previous message: [PD-cvs] externals/grill/flext/buildsys/lnx gnumake-gcc-ext.inc, 1.7, 1.8 gnumake-gcc-flext.inc, 1.9, 1.10 gnumake-icc-ext.inc, 1.4, 1.5 gnumake-icc-flext.inc, 1.5, 1.6
- Next message: [PD-cvs] externals/grill/flext/buildsys/mac/pd config-gcc.def, 1.10, 1.11 gnumake-gcc-ext.inc, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pure-data/externals/grill/flext/buildsys
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2923/buildsys
Modified Files:
gnumake.inc
Log Message:
PD: possibility to create DSP objects without main DSP inlet (use FLEXT_DSP0_NEW or similar)
fixing typo
support for multiple archs under OSX
small fix for ppc arch
architecture-specific compiler flags for UB under OSX
fixed severe Altivec bug
changed eol-style
corrections to config build templates
added xcode 2.4 project
fixed atom sorting (now also respect symbol content)
no stripping of local symbols
some fixes, mostly OS X
updated build system for Max with MinGW
better default values
fixed bug in AtomList copying
Index: gnumake.inc
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/flext/buildsys/gnumake.inc,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** gnumake.inc 20 Sep 2006 14:24:10 -0000 1.6
--- gnumake.inc 20 Jan 2007 14:26:01 -0000 1.7
***************
*** 1,27 ****
##############################################
# some compiler definitions
##############################################
CFLAGS += $(UFLAGS)
ifdef DEBUG
! CFLAGS += -D_DEBUG $(DFLAGS)
! else
! ifdef PROFILE
! CFLAGS += -DNDEBUG $(OFLAGS)
! else
! CFLAGS += -DNDEBUG $(OFLAGS)
! endif
endif
ifdef SHARED
# --- shared ---
! DEFS+=-DFLEXT_SHARED
else
ifdef THREADED
# --- static multi-threaded ---
! DEFS+=-DFLEXT_THREADS
else
--- 1,52 ----
##############################################
+ # 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
***************
*** 36,62 ****
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)
##############################################
--- 61,87 ----
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)
##############################################
***************
*** 65,70 ****
ifndef SRCDIR
! SRCDIR=.
endif
! OUTSUB=$(TARGETMODE)-$(TARGETTYPE)
--- 90,95 ----
ifndef SRCDIR
! SRCDIR := .
endif
! OUTSUB := $(TARGETMODE)-$(TARGETTYPE)
- Previous message: [PD-cvs] externals/grill/flext/buildsys/lnx gnumake-gcc-ext.inc, 1.7, 1.8 gnumake-gcc-flext.inc, 1.9, 1.10 gnumake-icc-ext.inc, 1.4, 1.5 gnumake-icc-flext.inc, 1.5, 1.6
- Next message: [PD-cvs] externals/grill/flext/buildsys/mac/pd config-gcc.def, 1.10, 1.11 gnumake-gcc-ext.inc, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pd-cvs
mailing list