Revision: 10603 http://pure-data.svn.sourceforge.net/pure-data/?rev=10603&view=rev Author: mukau Date: 2009-01-23 10:57:17 +0000 (Fri, 23 Jan 2009)
Log Message: ----------- + yet more autobuild-related updates
Modified Paths: -------------- trunk/externals/moocow/autoreconf.sh trunk/externals/moocow/deque/configure trunk/externals/moocow/deque/configure.ac trunk/externals/moocow/extended/Makefile trunk/externals/moocow/flite/configure trunk/externals/moocow/flite/configure.ac trunk/externals/moocow/gfsm/configure trunk/externals/moocow/gfsm/configure.ac trunk/externals/moocow/pdstring/configure trunk/externals/moocow/pdstring/configure.ac trunk/externals/moocow/readdir/configure trunk/externals/moocow/readdir/configure.ac trunk/externals/moocow/sprinkler/configure trunk/externals/moocow/sprinkler/configure.ac trunk/externals/moocow/weightmap/configure trunk/externals/moocow/weightmap/configure.ac
Modified: trunk/externals/moocow/autoreconf.sh =================================================================== --- trunk/externals/moocow/autoreconf.sh 2009-01-22 23:52:10 UTC (rev 10602) +++ trunk/externals/moocow/autoreconf.sh 2009-01-23 10:57:17 UTC (rev 10603) @@ -2,22 +2,32 @@
subdirs=(deque flite gfsm pdstring readdir sprinkler weightmap)
+#ar_args="--install --verbose --force --symlink" +ar_args="--install --verbose --force" +#ar_args="--install --verbose" + if test -n "$*" ; then dirs=("$@") -elif test "`basename "$PWD"`" = "moocow" ; then - for d in "${subdirs[@]}"; do - $0 "$d" - done -elif test "`basename "$PWD"`" = "extended" ; then - for d in "${subdirs[@]}"; do - $0 "../$d" - done else - dirs=(.) + case "$PWD" in + *[/-]moocow) + for d in "${subdirs[@]}"; do + $0 "$d" + done + ;; + */extended) + for d in "${subdirs[@]}"; do + $0 "../$d" + done + ;; + *) + dirs=(.) + ;; + esac fi
if test -n "$dirs"; then echo "$0: dirs=(${dirs[@]})" - exec autoreconf --install --force --verbose "${dirs[@]}" + exec autoreconf $ar_args "${dirs[@]}" #--symlink fi
Modified: trunk/externals/moocow/deque/configure =================================================================== --- trunk/externals/moocow/deque/configure 2009-01-22 23:52:10 UTC (rev 10602) +++ trunk/externals/moocow/deque/configure 2009-01-23 10:57:17 UTC (rev 10603) @@ -3665,55 +3665,70 @@
+##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## BEGIN machine-dependent variables
LD=ld + +##-- Linux if test `uname -s` = Linux; then - LFLAGS="-export_dynamic -shared" - if test "$DEBUG" = "no"; then - #OFLAGS="-O6 -funroll-loops -fomit-frame-pointer -finline-limit-10000000" - OFLAGS="-O3 -funroll-loops -fomit-frame-pointer -pipe" + LFLAGS="$LFFLAGS -Wl,-export-dynamic -shared" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2 -pipe" else OFLAGS="-g" fi + OFLAGS="$OFLAGS -fPIC" + DFLAGS="$DFLAGS -DPIC" PDEXT=pd_linux fi
+##-- MacOSX (darwin) +if test `uname -s` = Darwin; +then + LD=cc + LFLAGS="$LFLAGS -bundle -undefined suppress -flat_namespace" + DFLAGS="$DFLAGS -DMACOSX" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2" + else + OFLAGS="-g" + fi + PDEXT=pd_darwin +fi + +##-- alpha if test `uname -m` = alpha; then AFLAGS="-mieee -mcpu=ev56"; OFLAGS="$CFLAGS" fi
+##-- irix64 if test `uname -s` = IRIX64; then - LFLAGS="-n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ + LFLAGS="$LFLAGS -n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \ -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix6 fi
+##-- irix32 if test `uname -s` = IRIX32; then - LFLAGS="-o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" + LFLAGS="$LFLAGS -o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix5 fi
-if test `uname -s` = Darwin; -then - LD=cc - LFLAGS="-bundle -undefined suppress -flat_namespace" - PDEXT=pd_darwin - DFLAGS="$DFLAGS -DMACOSX" +EXT=$PDEXT
- if test "$DEBUG" = "no"; then - OFLAGS="-O2" - else - OFLAGS="-g" - fi -fi +## END machine-dependent variables +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
CFLAGS="$UCFLAGS" CPPFLAGS="$UCPPFLAGS"
Modified: trunk/externals/moocow/deque/configure.ac =================================================================== --- trunk/externals/moocow/deque/configure.ac 2009-01-22 23:52:10 UTC (rev 10602) +++ trunk/externals/moocow/deque/configure.ac 2009-01-23 10:57:17 UTC (rev 10603) @@ -147,61 +147,70 @@ AC_SUBST(DEBUG)
+##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## BEGIN machine-dependent variables
-dnl -dnl machine-dependent variables -dnl LD=ld + +##-- Linux if test `uname -s` = Linux; then - LFLAGS="-export_dynamic -shared" - if test "$DEBUG" = "no"; then - #OFLAGS="-O6 -funroll-loops -fomit-frame-pointer -finline-limit-10000000" - OFLAGS="-O3 -funroll-loops -fomit-frame-pointer -pipe" + LFLAGS="$LFFLAGS -Wl,-export-dynamic -shared" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2 -pipe" else OFLAGS="-g" fi - PDEXT=pd_linux + OFLAGS="$OFLAGS -fPIC" + DFLAGS="$DFLAGS -DPIC" + PDEXT=pd_linux fi
+##-- MacOSX (darwin) +if test `uname -s` = Darwin; +then + LD=cc + LFLAGS="$LFLAGS -bundle -undefined suppress -flat_namespace" + DFLAGS="$DFLAGS -DMACOSX" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2" + else + OFLAGS="-g" + fi + PDEXT=pd_darwin +fi + +##-- alpha if test `uname -m` = alpha; then AFLAGS="-mieee -mcpu=ev56"; OFLAGS="$CFLAGS" fi
+##-- irix64 if test `uname -s` = IRIX64; then - LFLAGS="-n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ + LFLAGS="$LFLAGS -n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \ -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix6 fi
+##-- irix32 if test `uname -s` = IRIX32; then - LFLAGS="-o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" + LFLAGS="$LFLAGS -o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix5 fi
-dnl -dnl Flags for MacOSX, borrowed from pd-0.35-test16 -dnl -if test `uname -s` = Darwin; -then - LD=cc - LFLAGS="-bundle -undefined suppress -flat_namespace" - PDEXT=pd_darwin - DFLAGS="$DFLAGS -DMACOSX" +EXT=$PDEXT
- if test "$DEBUG" = "no"; then - OFLAGS="-O2" - else - OFLAGS="-g" - fi -fi +## END machine-dependent variables +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dnl dnl restore user's CFLAGS
Modified: trunk/externals/moocow/extended/Makefile =================================================================== --- trunk/externals/moocow/extended/Makefile 2009-01-22 23:52:10 UTC (rev 10602) +++ trunk/externals/moocow/extended/Makefile 2009-01-23 10:57:17 UTC (rev 10603) @@ -24,7 +24,7 @@ MOOCOW_DIR ?=$(shell pwd) MOOCOW_BUILD ?=$(MOOCOW_DIR)/build.moo MOOCOW_MFLAGS ?=DESTDIR="" -MOOCOW_BUILD_VERSION ?=2009-01-17.002 +MOOCOW_BUILD_VERSION ?=2009-01-23.000
CONFIGURE_ARGS=\ CFLAGS="$(CFLAGS)" \ @@ -34,11 +34,17 @@
# --with-pd-extdir="$(MOOCOW_BUILD)/externs"
+## ONFAIL +## + set to 'true' to ignore failed sub-targets (for robust autobuild) +## + set to 'false' to turn failed builds into make errors (maintainer only) +#ONFAIL ?= true +#ONFAIL ?= false +ONFAIL ?= echo "(MOOCOW) Warning: sub-target failed: '$@'" + ##-- defaults CFLAGS ?= -g -O2 -Wall -Winline -W pd_src ?= $(CURDIR)/../../../pd
- ##====================================================================== ## Rules: default all: build.stamp @@ -49,28 +55,28 @@ DUMMY_DIR ?=../dummy DUMMY_CONFIGURE_ARGS ?=--disable-shared dummy.autogen_stamp: -# (cd $(DUMMY_DIR); sh ./autogen.sh) || true +# (cd $(DUMMY_DIR); sh ./autogen.sh) || $(ONFAIL) touch $@
dummy.configure_stamp: dummy.autogen_stamp - (cd $(DUMMY_DIR); sh ./configure $(CONFIGURE_ARGS) $(DUMMY_CONFIGURE_ARGS); make clean) || true + (cd $(DUMMY_DIR); sh ./configure $(CONFIGURE_ARGS) $(DUMMY_CONFIGURE_ARGS); make clean) || $(ONFAIL) touch $@
dummy.build_stamp: dummy.configure_stamp - $(MAKE) $(MOOCOW_MFLAGS) -C $(DUMMY_DIR) all install || true + $(MAKE) $(MOOCOW_MFLAGS) -C $(DUMMY_DIR) all install || $(ONFAIL) touch $@
dummy.extclean: rm -f dummy.autogen_stamp dummy.configure_stamp dummy.build_stamp
dummy.clean: dummy.extclean - $(MAKE) -C $(DUMMY_DIR) clean || true + $(MAKE) -C $(DUMMY_DIR) clean || $(ONFAIL)
dummy.distclean: dummy.extclean - $(MAKE) -C $(DUMMY_DIR) distclean || true + $(MAKE) -C $(DUMMY_DIR) distclean || $(ONFAIL)
dummy.cvsclean: dummy.extclean - $(MAKE) -C $(DUMMY_DIR) cvsclean || true + $(MAKE) -C $(DUMMY_DIR) cvsclean || $(ONFAIL)
##====================================================================== ## Rules: subdirectory: flite @@ -80,28 +86,28 @@ #FLITE_CONFIGURE_ARGS ?=
flite.autogen_stamp: -# (cd $(FLITE_DIR); sh ./autogen.sh) || true +# (cd $(FLITE_DIR); sh ./autogen.sh) || $(ONFAIL) touch $@
flite.configure_stamp: flite.autogen_stamp - (cd $(FLITE_DIR); sh ./configure $(CONFIGURE_ARGS) $(FLITE_CONFIGURE_ARGS); make clean) || true + (cd $(FLITE_DIR); sh ./configure $(CONFIGURE_ARGS) $(FLITE_CONFIGURE_ARGS); make clean) || $(ONFAIL) touch $@
flite.build_stamp: flite.configure_stamp - $(MAKE) $(MOOCOW_MFLAGS) -C $(FLITE_DIR) all install || true + $(MAKE) $(MOOCOW_MFLAGS) -C $(FLITE_DIR) all install || $(ONFAIL) touch $@
flite.extclean: rm -f flite.autogen_stamp flite.configure_stamp flite.build_stamp
flite.clean: flite.extclean - $(MAKE) -C $(FLITE_DIR) clean || true + $(MAKE) -C $(FLITE_DIR) clean || $(ONFAIL)
flite.distclean: flite.extclean - $(MAKE) -C $(FLITE_DIR) distclean || true + $(MAKE) -C $(FLITE_DIR) distclean || $(ONFAIL)
flite.cvsclean: flite.extclean - $(MAKE) -C $(FLITE_DIR) cvsclean || true + $(MAKE) -C $(FLITE_DIR) cvsclean || $(ONFAIL)
##====================================================================== ## Rules: subdirectory: gfsm @@ -111,28 +117,28 @@ #GFSM_CONFIGURE_ARGS ?=
gfsm.autogen_stamp: -# (cd $(GFSM_DIR); sh ./autogen.sh) || true +# (cd $(GFSM_DIR); sh ./autogen.sh) || $(ONFAIL) touch $@
gfsm.configure_stamp: gfsm.autogen_stamp - (cd $(GFSM_DIR); sh ./configure $(CONFIGURE_ARGS) $(GFSM_CONFIGURE_ARGS); make clean) || true + (cd $(GFSM_DIR); sh ./configure $(CONFIGURE_ARGS) $(GFSM_CONFIGURE_ARGS); make clean) || $(ONFAIL) touch $@
gfsm.build_stamp: gfsm.configure_stamp - $(MAKE) $(MOOCOW_MFLAGS) -C $(GFSM_DIR) all install || true + $(MAKE) $(MOOCOW_MFLAGS) -C $(GFSM_DIR) all install || $(ONFAIL) touch $@
gfsm.extclean: rm -f gfsm.autogen_stamp gfsm.configure_stamp gfsm.build_stamp
gfsm.clean: gfsm.extclean - $(MAKE) -C $(GFSM_DIR) clean || true + $(MAKE) -C $(GFSM_DIR) clean || $(ONFAIL)
gfsm.distclean: gfsm.extclean - $(MAKE) -C $(GFSM_DIR) distclean || true + $(MAKE) -C $(GFSM_DIR) distclean || $(ONFAIL)
gfsm.cvsclean: gfsm.extclean - $(MAKE) -C $(GFSM_DIR) cvsclean || true + $(MAKE) -C $(GFSM_DIR) cvsclean || $(ONFAIL)
##====================================================================== ## Rules: subdirectory: deque @@ -140,28 +146,28 @@ DEQUE_DIR ?=../deque DEQUE_CONFIGURE_ARGS ?= deque.autogen_stamp: -# (cd $(DEQUE_DIR); sh ./autogen.sh) || true +# (cd $(DEQUE_DIR); sh ./autogen.sh) || $(ONFAIL) touch $@
deque.configure_stamp: deque.autogen_stamp - (cd $(DEQUE_DIR); sh ./configure $(CONFIGURE_ARGS) $(DEQUE_CONFIGURE_ARGS); make clean) || true + (cd $(DEQUE_DIR); sh ./configure $(CONFIGURE_ARGS) $(DEQUE_CONFIGURE_ARGS); make clean) || $(ONFAIL) touch $@
deque.build_stamp: deque.configure_stamp - $(MAKE) $(MOOCOW_MFLAGS) -C $(DEQUE_DIR) all install || true + $(MAKE) $(MOOCOW_MFLAGS) -C $(DEQUE_DIR) all install || $(ONFAIL) touch $@
deque.extclean: rm -f deque.autogen_stamp deque.configure_stamp deque.build_stamp
deque.clean: deque.extclean - $(MAKE) -C $(DEQUE_DIR) clean || true + $(MAKE) -C $(DEQUE_DIR) clean || $(ONFAIL)
deque.distclean: deque.extclean - $(MAKE) -C $(DEQUE_DIR) distclean || true + $(MAKE) -C $(DEQUE_DIR) distclean || $(ONFAIL)
deque.cvsclean: deque.extclean - $(MAKE) -C $(DEQUE_DIR) cvsclean || true + $(MAKE) -C $(DEQUE_DIR) cvsclean || $(ONFAIL)
##====================================================================== ## Rules: subdirectory: pdstring @@ -169,28 +175,28 @@ PDSTRING_DIR ?=../pdstring PDSTRING_CONFIGURE_ARGS ?=--enable-object-externals pdstring.autogen_stamp: -# (cd $(PDSTRING_DIR); sh ./autogen.sh) || true +# (cd $(PDSTRING_DIR); sh ./autogen.sh) || $(ONFAIL) touch $@
pdstring.configure_stamp: pdstring.autogen_stamp - (cd $(PDSTRING_DIR); sh ./configure $(CONFIGURE_ARGS) $(PDSTRING_CONFIGURE_ARGS); make clean) || true + (cd $(PDSTRING_DIR); sh ./configure $(CONFIGURE_ARGS) $(PDSTRING_CONFIGURE_ARGS); make clean) || $(ONFAIL) touch $@
pdstring.build_stamp: pdstring.configure_stamp - $(MAKE) $(MOOCOW_MFLAGS) -C $(PDSTRING_DIR) all install || true + $(MAKE) $(MOOCOW_MFLAGS) -C $(PDSTRING_DIR) all install || $(ONFAIL) touch $@
pdstring.extclean: rm -f pdstring.autogen_stamp pdstring.configure_stamp pdstring.build_stamp
pdstring.clean: pdstring.extclean - $(MAKE) -C $(PDSTRING_DIR) clean || true + $(MAKE) -C $(PDSTRING_DIR) clean || $(ONFAIL)
pdstring.distclean: pdstring.extclean - $(MAKE) -C $(PDSTRING_DIR) distclean || true + $(MAKE) -C $(PDSTRING_DIR) distclean || $(ONFAIL)
pdstring.cvsclean: pdstring.extclean - $(MAKE) -C $(PDSTRING_DIR) cvsclean || true + $(MAKE) -C $(PDSTRING_DIR) cvsclean || $(ONFAIL)
##====================================================================== ## Rules: subdirectory: readdir @@ -198,28 +204,28 @@ READDIR_DIR ?=../readdir READDIR_CONFIGURE_ARGS ?= readdir.autogen_stamp: -# (cd $(READDIR_DIR); sh ./autogen.sh) || true +# (cd $(READDIR_DIR); sh ./autogen.sh) || $(ONFAIL) touch $@
readdir.configure_stamp: readdir.autogen_stamp - (cd $(READDIR_DIR); sh ./configure $(CONFIGURE_ARGS) $(READDIR_CONFIGURE_ARGS); make clean) || true + (cd $(READDIR_DIR); sh ./configure $(CONFIGURE_ARGS) $(READDIR_CONFIGURE_ARGS); make clean) || $(ONFAIL) touch $@
readdir.build_stamp: readdir.configure_stamp - $(MAKE) $(MOOCOW_MFLAGS) -C $(READDIR_DIR) all install || true + $(MAKE) $(MOOCOW_MFLAGS) -C $(READDIR_DIR) all install || $(ONFAIL) touch $@
readdir.extclean: rm -f readdir.autogen_stamp readdir.configure_stamp readdir.build_stamp
readdir.clean: readdir.extclean - $(MAKE) -C $(READDIR_DIR) clean || true + $(MAKE) -C $(READDIR_DIR) clean || $(ONFAIL)
readdir.distclean: readdir.extclean - $(MAKE) -C $(READDIR_DIR) distclean || true + $(MAKE) -C $(READDIR_DIR) distclean || $(ONFAIL)
readdir.cvsclean: readdir.extclean - $(MAKE) -C $(READDIR_DIR) cvsclean || true + $(MAKE) -C $(READDIR_DIR) cvsclean || $(ONFAIL)
##====================================================================== ## Rules: subdirectory: sprinkler @@ -228,28 +234,28 @@ SPRINKLER_DIR ?=../sprinkler SPRINKLER_CONFIGURE_ARGS ?= sprinkler.autogen_stamp: -# (cd $(SPRINKLER_DIR); sh ./autogen.sh) || true +# (cd $(SPRINKLER_DIR); sh ./autogen.sh) || $(ONFAIL) touch $@
sprinkler.configure_stamp: sprinkler.autogen_stamp - (cd $(SPRINKLER_DIR); sh ./configure $(CONFIGURE_ARGS) $(SPRINKLER_CONFIGURE_ARGS); make clean) || true + (cd $(SPRINKLER_DIR); sh ./configure $(CONFIGURE_ARGS) $(SPRINKLER_CONFIGURE_ARGS); make clean) || $(ONFAIL) touch $@
sprinkler.build_stamp: sprinkler.configure_stamp - $(MAKE) $(MOOCOW_MFLAGS) -C $(SPRINKLER_DIR) all install || true + $(MAKE) $(MOOCOW_MFLAGS) -C $(SPRINKLER_DIR) all install || $(ONFAIL) touch $@
sprinkler.extclean: rm -f sprinkler.autogen_stamp sprinkler.configure_stamp sprinkler.build_stamp
sprinkler.clean: sprinkler.extclean - $(MAKE) -C $(SPRINKLER_DIR) clean || true + $(MAKE) -C $(SPRINKLER_DIR) clean || $(ONFAIL)
sprinkler.distclean: sprinkler.extclean - $(MAKE) -C $(SPRINKLER_DIR) distclean || true + $(MAKE) -C $(SPRINKLER_DIR) distclean || $(ONFAIL)
sprinkler.cvsclean: sprinkler.extclean - $(MAKE) -C $(SPRINKLER_DIR) cvsclean || true + $(MAKE) -C $(SPRINKLER_DIR) cvsclean || $(ONFAIL)
##====================================================================== ## Rules: subdirectory: weightmap @@ -257,28 +263,28 @@ WEIGHTMAP_DIR ?=../weightmap WEIGHTMAP_CONFIGURE_ARGS ?= weightmap.autogen_stamp: -# (cd $(WEIGHTMAP_DIR); sh ./autogen.sh) || true +# (cd $(WEIGHTMAP_DIR); sh ./autogen.sh) || $(ONFAIL) touch $@
weightmap.configure_stamp: weightmap.autogen_stamp - (cd $(WEIGHTMAP_DIR); sh ./configure $(CONFIGURE_ARGS) $(WEIGHTMAP_CONFIGURE_ARGS); make clean) || true + (cd $(WEIGHTMAP_DIR); sh ./configure $(CONFIGURE_ARGS) $(WEIGHTMAP_CONFIGURE_ARGS); make clean) || $(ONFAIL) touch $@
weightmap.build_stamp: weightmap.configure_stamp - $(MAKE) $(MOOCOW_MFLAGS) -C $(WEIGHTMAP_DIR) all install || true + $(MAKE) $(MOOCOW_MFLAGS) -C $(WEIGHTMAP_DIR) all install || $(ONFAIL) touch $@
weightmap.extclean: rm -f weightmap.autogen_stamp weightmap.configure_stamp weightmap.build_stamp
weightmap.clean: weightmap.extclean - $(MAKE) -C $(WEIGHTMAP_DIR) clean || true + $(MAKE) -C $(WEIGHTMAP_DIR) clean || $(ONFAIL)
weightmap.distclean: weightmap.extclean - $(MAKE) -C $(WEIGHTMAP_DIR) distclean || true + $(MAKE) -C $(WEIGHTMAP_DIR) distclean || $(ONFAIL)
weightmap.cvsclean: weightmap.extclean - $(MAKE) -C $(WEIGHTMAP_DIR) cvsclean || true + $(MAKE) -C $(WEIGHTMAP_DIR) cvsclean || $(ONFAIL)
##====================================================================== @@ -298,11 +304,11 @@ pod2text README.pod $@
extclean: $(SUBDIRS:=.extclean) - -clean: $(SUBDIRS:=.clean) - rm -f build.stamp config.log + rm -f build.stamp config.log rm -rf $(MOOCOW_BUILD)
+clean: $(SUBDIRS:=.clean) extclean + realclean: distclean
distclean: $(SUBDIRS:=.distclean) clean
Modified: trunk/externals/moocow/flite/configure =================================================================== --- trunk/externals/moocow/flite/configure 2009-01-22 23:52:10 UTC (rev 10602) +++ trunk/externals/moocow/flite/configure 2009-01-23 10:57:17 UTC (rev 10603) @@ -3942,57 +3942,70 @@
WFLAGS="-Wall"
+##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## BEGIN machine-dependent variables
LD=ld + +##-- Linux if test `uname -s` = Linux; then - LFLAGS="$LFLAGS -export_dynamic -shared" - if test "$DEBUG" = "no"; then - #OFLAGS="-O6 -funroll-loops -fomit-frame-pointer" - OFLAGS="-O3 -pipe" + LFLAGS="$LFFLAGS -Wl,-export-dynamic -shared" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2 -pipe" else OFLAGS="-g" fi OFLAGS="$OFLAGS -fPIC" DFLAGS="$DFLAGS -DPIC" - EXT=pd_linux + PDEXT=pd_linux fi
+##-- MacOSX (darwin) +if test `uname -s` = Darwin; +then + LD=cc + LFLAGS="$LFLAGS -bundle -undefined suppress -flat_namespace" + DFLAGS="$DFLAGS -DMACOSX" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2" + else + OFLAGS="-g" + fi + PDEXT=pd_darwin +fi + +##-- alpha if test `uname -m` = alpha; then AFLAGS="-mieee -mcpu=ev56"; OFLAGS="$CFLAGS" fi
+##-- irix64 if test `uname -s` = IRIX64; then LFLAGS="$LFLAGS -n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \ -shared -rdata_shared" OFLAGS="$CFLAGS" -EXT=pd_irix6 + PDEXT=pd_irix6 fi
+##-- irix32 if test `uname -s` = IRIX32; then LFLAGS="$LFLAGS -o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" OFLAGS="$CFLAGS" - EXT=pd_irix5 + PDEXT=pd_irix5 fi
-if test `uname -s` = Darwin; -then - LD=cc - LFLAGS="$LFLAGS -bundle -undefined suppress -flat_namespace" - EXT=pd_darwin - DFLAGS="$DFLAGS -DMACOSX" +EXT=$PDEXT
- if test "$DEBUG" = "no"; then - OFLAGS="-O2" - else - OFLAGS="-g" - fi -fi +## END machine-dependent variables +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
CPPFLAGS="$UCPPFLAGS" CFLAGS="$UCFLAGS"
Modified: trunk/externals/moocow/flite/configure.ac =================================================================== --- trunk/externals/moocow/flite/configure.ac 2009-01-22 23:52:10 UTC (rev 10602) +++ trunk/externals/moocow/flite/configure.ac 2009-01-23 10:57:17 UTC (rev 10603) @@ -204,63 +204,70 @@ dnl WFLAGS="-Wall"
+##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## BEGIN machine-dependent variables
-dnl -dnl machine-dependent variables -dnl LD=ld + +##-- Linux if test `uname -s` = Linux; then - LFLAGS="$LFLAGS -export_dynamic -shared" - if test "$DEBUG" = "no"; then - #OFLAGS="-O6 -funroll-loops -fomit-frame-pointer" - OFLAGS="-O3 -pipe" + LFLAGS="$LFFLAGS -Wl,-export-dynamic -shared" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2 -pipe" else OFLAGS="-g" fi OFLAGS="$OFLAGS -fPIC" DFLAGS="$DFLAGS -DPIC" - EXT=pd_linux + PDEXT=pd_linux fi
+##-- MacOSX (darwin) +if test `uname -s` = Darwin; +then + LD=cc + LFLAGS="$LFLAGS -bundle -undefined suppress -flat_namespace" + DFLAGS="$DFLAGS -DMACOSX" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2" + else + OFLAGS="-g" + fi + PDEXT=pd_darwin +fi + +##-- alpha if test `uname -m` = alpha; then AFLAGS="-mieee -mcpu=ev56"; OFLAGS="$CFLAGS" fi
+##-- irix64 if test `uname -s` = IRIX64; then LFLAGS="$LFLAGS -n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \ -shared -rdata_shared" OFLAGS="$CFLAGS" -EXT=pd_irix6 + PDEXT=pd_irix6 fi
+##-- irix32 if test `uname -s` = IRIX32; then LFLAGS="$LFLAGS -o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" OFLAGS="$CFLAGS" - EXT=pd_irix5 + PDEXT=pd_irix5 fi
-dnl -dnl Flags for MacOSX, borrowed from pd-0.35-test16 -dnl -if test `uname -s` = Darwin; -then - LD=cc - LFLAGS="$LFLAGS -bundle -undefined suppress -flat_namespace" - EXT=pd_darwin - DFLAGS="$DFLAGS -DMACOSX" +EXT=$PDEXT
- if test "$DEBUG" = "no"; then - OFLAGS="-O2" - else - OFLAGS="-g" - fi -fi +## END machine-dependent variables +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dnl dnl Restore user flags
Modified: trunk/externals/moocow/gfsm/configure =================================================================== --- trunk/externals/moocow/gfsm/configure 2009-01-22 23:52:10 UTC (rev 10602) +++ trunk/externals/moocow/gfsm/configure 2009-01-23 10:57:17 UTC (rev 10603) @@ -19971,57 +19971,70 @@ ## /gfsm:any ##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## BEGIN machine-dependent variables + LD=ld + +##-- Linux if test `uname -s` = Linux; then - LFLAGS="-export_dynamic -shared" - if test "$DEBUG" = "no"; then - #OFLAGS="-O6 -funroll-loops -fomit-frame-pointer -finline-limit-10000000" - #OFLAGS="-O6 -funroll-loops -fomit-frame-pointer" - OFLAGS="-O3 -pipe" + LFLAGS="$LFFLAGS -Wl,-export-dynamic -shared" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2 -pipe" else OFLAGS="-g" fi + OFLAGS="$OFLAGS -fPIC" DFLAGS="$DFLAGS -DPIC" - OFLAGS="$OFLAGS -fPIC" PDEXT=pd_linux fi
+##-- MacOSX (darwin) +if test `uname -s` = Darwin; +then + LD=cc + LFLAGS="$LFLAGS -bundle -undefined suppress -flat_namespace" + DFLAGS="$DFLAGS -DMACOSX" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2" + else + OFLAGS="-g" + fi + PDEXT=pd_darwin +fi + +##-- alpha if test `uname -m` = alpha; then AFLAGS="-mieee -mcpu=ev56"; OFLAGS="$CFLAGS" fi
+##-- irix64 if test `uname -s` = IRIX64; then - LFLAGS="-n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ + LFLAGS="$LFLAGS -n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \ -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix6 fi
+##-- irix32 if test `uname -s` = IRIX32; then - LFLAGS="-o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" + LFLAGS="$LFLAGS -o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix5 fi
-if test `uname -s` = Darwin; -then - LD=cc - LFLAGS="-bundle -undefined suppress -flat_namespace" - PDEXT=pd_darwin - DFLAGS="$DFLAGS -DMACOSX" +EXT=$PDEXT
- if test "$DEBUG" = "no"; then - OFLAGS="-O2" - else - OFLAGS="-g" - fi -fi +## END machine-dependent variables +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
CFLAGS="$UCFLAGS" CPPFLAGS="$UCPPFLAGS"
Modified: trunk/externals/moocow/gfsm/configure.ac =================================================================== --- trunk/externals/moocow/gfsm/configure.ac 2009-01-22 23:52:10 UTC (rev 10602) +++ trunk/externals/moocow/gfsm/configure.ac 2009-01-23 10:57:17 UTC (rev 10603) @@ -213,69 +213,70 @@ ## /gfsm:any ##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-dnl -------------------------------------------------------------------- -dnl BEGIN import from pd configure.in -dnl -------------------------------------------------------------------- -dnl -dnl machine-dependent variables -dnl +##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## BEGIN machine-dependent variables + LD=ld + +##-- Linux if test `uname -s` = Linux; then - LFLAGS="-export_dynamic -shared" - if test "$DEBUG" = "no"; then - #OFLAGS="-O6 -funroll-loops -fomit-frame-pointer -finline-limit-10000000" - #OFLAGS="-O6 -funroll-loops -fomit-frame-pointer" - OFLAGS="-O3 -pipe" + LFLAGS="$LFFLAGS -Wl,-export-dynamic -shared" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2 -pipe" else OFLAGS="-g" fi + OFLAGS="$OFLAGS -fPIC" DFLAGS="$DFLAGS -DPIC" - OFLAGS="$OFLAGS -fPIC" - PDEXT=pd_linux + PDEXT=pd_linux fi
+##-- MacOSX (darwin) +if test `uname -s` = Darwin; +then + LD=cc + LFLAGS="$LFLAGS -bundle -undefined suppress -flat_namespace" + DFLAGS="$DFLAGS -DMACOSX" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2" + else + OFLAGS="-g" + fi + PDEXT=pd_darwin +fi + +##-- alpha if test `uname -m` = alpha; then AFLAGS="-mieee -mcpu=ev56"; OFLAGS="$CFLAGS" fi
+##-- irix64 if test `uname -s` = IRIX64; then - LFLAGS="-n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ + LFLAGS="$LFLAGS -n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \ -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix6 fi
+##-- irix32 if test `uname -s` = IRIX32; then - LFLAGS="-o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" + LFLAGS="$LFLAGS -o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix5 fi
-dnl -dnl Flags for MacOSX, borrowed from pd-0.35-test16 -dnl -if test `uname -s` = Darwin; -then - LD=cc - LFLAGS="-bundle -undefined suppress -flat_namespace" - PDEXT=pd_darwin - DFLAGS="$DFLAGS -DMACOSX" +EXT=$PDEXT
- if test "$DEBUG" = "no"; then - OFLAGS="-O2" - else - OFLAGS="-g" - fi -fi -dnl -------------------------------------------------------------------- -dnl END import from pd configure.in -dnl -------------------------------------------------------------------- +## END machine-dependent variables +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dnl dnl restore user's CFLAGS
Modified: trunk/externals/moocow/pdstring/configure =================================================================== --- trunk/externals/moocow/pdstring/configure 2009-01-22 23:52:10 UTC (rev 10602) +++ trunk/externals/moocow/pdstring/configure 2009-01-23 10:57:17 UTC (rev 10603) @@ -3717,56 +3717,72 @@ ## /compiled ##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## BEGIN machine-dependent variables + LD=ld + +##-- Linux if test `uname -s` = Linux; then - LFLAGS="-export_dynamic -shared" - if test "$DEBUG" = "no"; then - #OFLAGS="-O6 -funroll-loops -fomit-frame-pointer -finline-limit-10000000" - #OFLAGS="-O2 -funroll-loops -fomit-frame-pointer" + LFLAGS="$LFFLAGS -Wl,-export-dynamic -shared" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty OFLAGS="-O2 -pipe" else OFLAGS="-g" fi + OFLAGS="$OFLAGS -fPIC" + DFLAGS="$DFLAGS -DPIC" PDEXT=pd_linux fi
+##-- MacOSX (darwin) +if test `uname -s` = Darwin; +then + LD=cc + LFLAGS="$LFLAGS -bundle -undefined suppress -flat_namespace" + DFLAGS="$DFLAGS -DMACOSX" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2" + else + OFLAGS="-g" + fi + PDEXT=pd_darwin +fi + +##-- alpha if test `uname -m` = alpha; then AFLAGS="-mieee -mcpu=ev56"; OFLAGS="$CFLAGS" fi
+##-- irix64 if test `uname -s` = IRIX64; then - LFLAGS="-n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ + LFLAGS="$LFLAGS -n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \ -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix6 fi
+##-- irix32 if test `uname -s` = IRIX32; then - LFLAGS="-o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" + LFLAGS="$LFLAGS -o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix5 fi
-if test `uname -s` = Darwin; -then - LD=cc - LFLAGS="-bundle -undefined suppress -flat_namespace" - PDEXT=pd_darwin - DFLAGS="$DFLAGS -DMACOSX" +EXT=$PDEXT
- if test "$DEBUG" = "no"; then - OFLAGS="-O2" - else - OFLAGS="-g" - fi -fi +## END machine-dependent variables +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ CFLAGS="$UCFLAGS" CPPFLAGS="$UCPPFLAGS"
Modified: trunk/externals/moocow/pdstring/configure.ac =================================================================== --- trunk/externals/moocow/pdstring/configure.ac 2009-01-22 23:52:10 UTC (rev 10602) +++ trunk/externals/moocow/pdstring/configure.ac 2009-01-23 10:57:17 UTC (rev 10603) @@ -179,62 +179,72 @@ ## /compiled ##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-dnl -dnl machine-dependent variables -dnl +##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## BEGIN machine-dependent variables + LD=ld + +##-- Linux if test `uname -s` = Linux; then - LFLAGS="-export_dynamic -shared" - if test "$DEBUG" = "no"; then - #OFLAGS="-O6 -funroll-loops -fomit-frame-pointer -finline-limit-10000000" - #OFLAGS="-O2 -funroll-loops -fomit-frame-pointer" - OFLAGS="-O2 -pipe" + LFLAGS="$LFFLAGS -Wl,-export-dynamic -shared" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2 -pipe" else OFLAGS="-g" fi - PDEXT=pd_linux + OFLAGS="$OFLAGS -fPIC" + DFLAGS="$DFLAGS -DPIC" + PDEXT=pd_linux fi
+##-- MacOSX (darwin) +if test `uname -s` = Darwin; +then + LD=cc + LFLAGS="$LFLAGS -bundle -undefined suppress -flat_namespace" + DFLAGS="$DFLAGS -DMACOSX" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2" + else + OFLAGS="-g" + fi + PDEXT=pd_darwin +fi + +##-- alpha if test `uname -m` = alpha; then AFLAGS="-mieee -mcpu=ev56"; OFLAGS="$CFLAGS" fi
+##-- irix64 if test `uname -s` = IRIX64; then - LFLAGS="-n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ + LFLAGS="$LFLAGS -n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \ -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix6 fi
+##-- irix32 if test `uname -s` = IRIX32; then - LFLAGS="-o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" + LFLAGS="$LFLAGS -o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix5 fi
-dnl -dnl Flags for MacOSX, borrowed from pd-0.35-test16 -dnl -if test `uname -s` = Darwin; -then - LD=cc - LFLAGS="-bundle -undefined suppress -flat_namespace" - PDEXT=pd_darwin - DFLAGS="$DFLAGS -DMACOSX" +EXT=$PDEXT
- if test "$DEBUG" = "no"; then - OFLAGS="-O2" - else - OFLAGS="-g" - fi -fi +## END machine-dependent variables +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ dnl dnl restore user's CFLAGS dnl
Modified: trunk/externals/moocow/readdir/configure =================================================================== --- trunk/externals/moocow/readdir/configure 2009-01-22 23:52:10 UTC (rev 10602) +++ trunk/externals/moocow/readdir/configure 2009-01-23 10:57:17 UTC (rev 10603) @@ -3579,56 +3579,72 @@
+##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## BEGIN machine-dependent variables
LD=ld + +##-- Linux if test `uname -s` = Linux; then - LFLAGS="-export_dynamic -shared" - if test "$DEBUG" = "no"; then - #OFLAGS="-O6 -funroll-loops -fomit-frame-pointer -finline-limit-10000000" - OFLAGS="-O3 -funroll-loops -fomit-frame-pointer -pipe" + LFLAGS="$LFFLAGS -Wl,-export-dynamic -shared" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2 -pipe" else OFLAGS="-g" fi + OFLAGS="$OFLAGS -fPIC" + DFLAGS="$DFLAGS -DPIC" PDEXT=pd_linux fi
+##-- MacOSX (darwin) +if test `uname -s` = Darwin; +then + LD=cc + LFLAGS="$LFLAGS -bundle -undefined suppress -flat_namespace" + DFLAGS="$DFLAGS -DMACOSX" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2" + else + OFLAGS="-g" + fi + PDEXT=pd_darwin +fi + +##-- alpha if test `uname -m` = alpha; then AFLAGS="-mieee -mcpu=ev56"; OFLAGS="$CFLAGS" fi
+##-- irix64 if test `uname -s` = IRIX64; then - LFLAGS="-n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ + LFLAGS="$LFLAGS -n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \ -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix6 fi
+##-- irix32 if test `uname -s` = IRIX32; then - LFLAGS="-o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" + LFLAGS="$LFLAGS -o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix5 fi
-if test `uname -s` = Darwin; -then - LD=cc - LFLAGS="-bundle -undefined suppress -flat_namespace" - PDEXT=pd_darwin - DFLAGS="$DFLAGS -DMACOSX" +EXT=$PDEXT
- if test "$DEBUG" = "no"; then - OFLAGS="-O2" - else - OFLAGS="-g" - fi -fi +## END machine-dependent variables +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ CFLAGS="$UCFLAGS" CPPFLAGS="$UCPPFLAGS"
Modified: trunk/externals/moocow/readdir/configure.ac =================================================================== --- trunk/externals/moocow/readdir/configure.ac 2009-01-22 23:52:10 UTC (rev 10602) +++ trunk/externals/moocow/readdir/configure.ac 2009-01-23 10:57:17 UTC (rev 10603) @@ -144,62 +144,72 @@ AC_SUBST(DEBUG)
+##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## BEGIN machine-dependent variables
-dnl -dnl machine-dependent variables -dnl LD=ld + +##-- Linux if test `uname -s` = Linux; then - LFLAGS="-export_dynamic -shared" - if test "$DEBUG" = "no"; then - #OFLAGS="-O6 -funroll-loops -fomit-frame-pointer -finline-limit-10000000" - OFLAGS="-O3 -funroll-loops -fomit-frame-pointer -pipe" + LFLAGS="$LFFLAGS -Wl,-export-dynamic -shared" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2 -pipe" else OFLAGS="-g" fi - PDEXT=pd_linux + OFLAGS="$OFLAGS -fPIC" + DFLAGS="$DFLAGS -DPIC" + PDEXT=pd_linux fi
+##-- MacOSX (darwin) +if test `uname -s` = Darwin; +then + LD=cc + LFLAGS="$LFLAGS -bundle -undefined suppress -flat_namespace" + DFLAGS="$DFLAGS -DMACOSX" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2" + else + OFLAGS="-g" + fi + PDEXT=pd_darwin +fi + +##-- alpha if test `uname -m` = alpha; then AFLAGS="-mieee -mcpu=ev56"; OFLAGS="$CFLAGS" fi
+##-- irix64 if test `uname -s` = IRIX64; then - LFLAGS="-n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ + LFLAGS="$LFLAGS -n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \ -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix6 fi
+##-- irix32 if test `uname -s` = IRIX32; then - LFLAGS="-o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" + LFLAGS="$LFLAGS -o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix5 fi
-dnl -dnl Flags for MacOSX, borrowed from pd-0.35-test16 -dnl -if test `uname -s` = Darwin; -then - LD=cc - LFLAGS="-bundle -undefined suppress -flat_namespace" - PDEXT=pd_darwin - DFLAGS="$DFLAGS -DMACOSX" +EXT=$PDEXT
- if test "$DEBUG" = "no"; then - OFLAGS="-O2" - else - OFLAGS="-g" - fi -fi +## END machine-dependent variables +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ dnl dnl restore user's CFLAGS dnl
Modified: trunk/externals/moocow/sprinkler/configure =================================================================== --- trunk/externals/moocow/sprinkler/configure 2009-01-22 23:52:10 UTC (rev 10602) +++ trunk/externals/moocow/sprinkler/configure 2009-01-23 10:57:17 UTC (rev 10603) @@ -3571,58 +3571,70 @@
-##-------------------------------------------------------------- -## machine-dependent variables -## +##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## BEGIN machine-dependent variables + LD=ld + +##-- Linux if test `uname -s` = Linux; then - LFLAGS="-export_dynamic -shared" - if test "$DEBUG" = "no"; then - #OFLAGS="-O6 -funroll-loops -fomit-frame-pointer -finline-limit-10000000" - #OFLAGS="-O3 -funroll-loops -fomit-frame-pointer -pipe" + LFLAGS="$LFFLAGS -Wl,-export-dynamic -shared" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty OFLAGS="-O2 -pipe" else OFLAGS="-g" fi + OFLAGS="$OFLAGS -fPIC" + DFLAGS="$DFLAGS -DPIC" PDEXT=pd_linux fi
+##-- MacOSX (darwin) +if test `uname -s` = Darwin; +then + LD=cc + LFLAGS="$LFLAGS -bundle -undefined suppress -flat_namespace" + DFLAGS="$DFLAGS -DMACOSX" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2" + else + OFLAGS="-g" + fi + PDEXT=pd_darwin +fi + +##-- alpha if test `uname -m` = alpha; then AFLAGS="-mieee -mcpu=ev56"; OFLAGS="$CFLAGS" fi
+##-- irix64 if test `uname -s` = IRIX64; then - LFLAGS="-n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ + LFLAGS="$LFLAGS -n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \ -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix6 fi
+##-- irix32 if test `uname -s` = IRIX32; then - LFLAGS="-o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" + LFLAGS="$LFLAGS -o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix5 fi
-if test `uname -s` = Darwin; -then - LD=cc - LFLAGS="-bundle -undefined suppress -flat_namespace" - PDEXT=pd_darwin - DFLAGS="$DFLAGS -DMACOSX" +EXT=$PDEXT
- if test "$DEBUG" = "no"; then - OFLAGS="-O2" - else - OFLAGS="-g" - fi -fi +## END machine-dependent variables +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
##-- restore user's CFLAGS
Modified: trunk/externals/moocow/sprinkler/configure.ac =================================================================== --- trunk/externals/moocow/sprinkler/configure.ac 2009-01-22 23:52:10 UTC (rev 10602) +++ trunk/externals/moocow/sprinkler/configure.ac 2009-01-23 10:57:17 UTC (rev 10603) @@ -177,61 +177,70 @@ AC_SUBST(DEBUG)
-##-------------------------------------------------------------- -## machine-dependent variables -## +##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## BEGIN machine-dependent variables + LD=ld + +##-- Linux if test `uname -s` = Linux; then - LFLAGS="-export_dynamic -shared" - if test "$DEBUG" = "no"; then - #OFLAGS="-O6 -funroll-loops -fomit-frame-pointer -finline-limit-10000000" - #OFLAGS="-O3 -funroll-loops -fomit-frame-pointer -pipe" - OFLAGS="-O2 -pipe" + LFLAGS="$LFFLAGS -Wl,-export-dynamic -shared" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2 -pipe" else OFLAGS="-g" fi - PDEXT=pd_linux + OFLAGS="$OFLAGS -fPIC" + DFLAGS="$DFLAGS -DPIC" + PDEXT=pd_linux fi
+##-- MacOSX (darwin) +if test `uname -s` = Darwin; +then + LD=cc + LFLAGS="$LFLAGS -bundle -undefined suppress -flat_namespace" + DFLAGS="$DFLAGS -DMACOSX" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2" + else + OFLAGS="-g" + fi + PDEXT=pd_darwin +fi + +##-- alpha if test `uname -m` = alpha; then AFLAGS="-mieee -mcpu=ev56"; OFLAGS="$CFLAGS" fi
+##-- irix64 if test `uname -s` = IRIX64; then - LFLAGS="-n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ + LFLAGS="$LFLAGS -n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \ -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix6 fi
+##-- irix32 if test `uname -s` = IRIX32; then - LFLAGS="-o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" + LFLAGS="$LFLAGS -o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix5 fi
-dnl -dnl Flags for MacOSX, borrowed from pd-0.35-test16 -dnl -if test `uname -s` = Darwin; -then - LD=cc - LFLAGS="-bundle -undefined suppress -flat_namespace" - PDEXT=pd_darwin - DFLAGS="$DFLAGS -DMACOSX" +EXT=$PDEXT
- if test "$DEBUG" = "no"; then - OFLAGS="-O2" - else - OFLAGS="-g" - fi -fi +## END machine-dependent variables +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
##-- restore user's CFLAGS
Modified: trunk/externals/moocow/weightmap/configure =================================================================== --- trunk/externals/moocow/weightmap/configure 2009-01-22 23:52:10 UTC (rev 10602) +++ trunk/externals/moocow/weightmap/configure 2009-01-23 10:57:17 UTC (rev 10603) @@ -3574,57 +3574,72 @@ fi
+##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## BEGIN machine-dependent variables
+LD=ld
-LD=ld +##-- Linux if test `uname -s` = Linux; then - LFLAGS="-export_dynamic -shared" - if test "$DEBUG" = "no"; then - #OFLAGS="-O6 -funroll-loops -fomit-frame-pointer -finline-limit-10000000" - OFLAGS="-O3 -funroll-loops -fomit-frame-pointer -pipe" + LFLAGS="$LFFLAGS -Wl,-export-dynamic -shared" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2 -pipe" else OFLAGS="-g" fi + OFLAGS="$OFLAGS -fPIC" + DFLAGS="$DFLAGS -DPIC" PDEXT=pd_linux fi
+##-- MacOSX (darwin) +if test `uname -s` = Darwin; +then + LD=cc + LFLAGS="$LFLAGS -bundle -undefined suppress -flat_namespace" + DFLAGS="$DFLAGS -DMACOSX" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2" + else + OFLAGS="-g" + fi + PDEXT=pd_darwin +fi + +##-- alpha if test `uname -m` = alpha; then AFLAGS="-mieee -mcpu=ev56"; OFLAGS="$CFLAGS" fi
+##-- irix64 if test `uname -s` = IRIX64; then - LFLAGS="-n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ + LFLAGS="$LFLAGS -n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \ -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix6 fi
+##-- irix32 if test `uname -s` = IRIX32; then - LFLAGS="-o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" + LFLAGS="$LFLAGS -o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix5 fi
-if test `uname -s` = Darwin; -then - LD=cc - LFLAGS="-bundle -undefined suppress -flat_namespace" - PDEXT=pd_darwin - DFLAGS="$DFLAGS -DMACOSX" +EXT=$PDEXT
- if test "$DEBUG" = "no"; then - OFLAGS="-O2" - else - OFLAGS="-g" - fi -fi +## END machine-dependent variables +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ CFLAGS="$UCFLAGS" CPPFLAGS="$UCPPFLAGS"
Modified: trunk/externals/moocow/weightmap/configure.ac =================================================================== --- trunk/externals/moocow/weightmap/configure.ac 2009-01-22 23:52:10 UTC (rev 10602) +++ trunk/externals/moocow/weightmap/configure.ac 2009-01-23 10:57:17 UTC (rev 10603) @@ -142,63 +142,72 @@ fi AC_SUBST(DEBUG)
+##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## BEGIN machine-dependent variables
+LD=ld
-dnl -dnl machine-dependent variables -dnl -LD=ld +##-- Linux if test `uname -s` = Linux; then - LFLAGS="-export_dynamic -shared" - if test "$DEBUG" = "no"; then - #OFLAGS="-O6 -funroll-loops -fomit-frame-pointer -finline-limit-10000000" - OFLAGS="-O3 -funroll-loops -fomit-frame-pointer -pipe" + LFLAGS="$LFFLAGS -Wl,-export-dynamic -shared" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2 -pipe" else OFLAGS="-g" fi - PDEXT=pd_linux + OFLAGS="$OFLAGS -fPIC" + DFLAGS="$DFLAGS -DPIC" + PDEXT=pd_linux fi
+##-- MacOSX (darwin) +if test `uname -s` = Darwin; +then + LD=cc + LFLAGS="$LFLAGS -bundle -undefined suppress -flat_namespace" + DFLAGS="$DFLAGS -DMACOSX" + if test "$DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + OFLAGS="-O2" + else + OFLAGS="-g" + fi + PDEXT=pd_darwin +fi + +##-- alpha if test `uname -m` = alpha; then AFLAGS="-mieee -mcpu=ev56"; OFLAGS="$CFLAGS" fi
+##-- irix64 if test `uname -s` = IRIX64; then - LFLAGS="-n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ + LFLAGS="$LFLAGS -n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \ -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix6 fi
+##-- irix32 if test `uname -s` = IRIX32; then - LFLAGS="-o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" + LFLAGS="$LFLAGS -o32 -DUNIX -DIRIX -O2 -shared -rdata_shared" OFLAGS="$CFLAGS" PDEXT=pd_irix5 fi
-dnl -dnl Flags for MacOSX, borrowed from pd-0.35-test16 -dnl -if test `uname -s` = Darwin; -then - LD=cc - LFLAGS="-bundle -undefined suppress -flat_namespace" - PDEXT=pd_darwin - DFLAGS="$DFLAGS -DMACOSX" +EXT=$PDEXT
- if test "$DEBUG" = "no"; then - OFLAGS="-O2" - else - OFLAGS="-g" - fi -fi +## END machine-dependent variables +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ dnl dnl restore user's CFLAGS dnl
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.