Update of /cvsroot/pure-data/externals/unauthorized In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14988
Modified Files: Makefile Log Message: updated things for the new build system while maintaining backwords compatibilty
Index: Makefile =================================================================== RCS file: /cvsroot/pure-data/externals/unauthorized/Makefile,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** Makefile 27 Nov 2005 05:02:15 -0000 1.12 --- Makefile 9 Dec 2005 06:25:58 -0000 1.13 *************** *** 37,41 ****
MINGW_LDFLAGS = -shared -L../../pd/bin -LC:/msys/1.0/lib \ ! -lpd -logg -lvorbis -lpthreadGC2
--- 37,41 ----
MINGW_LDFLAGS = -shared -L../../pd/bin -LC:/msys/1.0/lib \ ! -lpd -logg -lvorbis -lspeex -lpthreadGC2
*************** *** 141,145 **** # I got this from here: http://www.holwegner.com/forum/viewtopic.php?t=4 # hans@eds.org ! DARWINCFLAGS = -DPD -DUNIX -DICECAST -DMSG_NOSIGNAL=0 -DSOL_TCP=0 \ -O2 -Wall -W -Wshadow -Wstrict-prototypes -Wno-unused -Wno-parentheses \ -Wno-switch --- 141,145 ---- # I got this from here: http://www.holwegner.com/forum/viewtopic.php?t=4 # hans@eds.org ! DARWINCFLAGS = -DPD -DUNIX \ -O2 -Wall -W -Wshadow -Wstrict-prototypes -Wno-unused -Wno-parentheses \ -Wno-switch *************** *** 148,153 **** ## and therefore allow for a two-level namespace, and that makes Darwin happy ## but this doesn't work for some of the files yet. ! #DARWINLINKFLAGS = -bundle -bundle_loader ../../pd/bin/pd ! DARWINLINKFLAGS = -bundle -undefined suppress -flat_namespace
DARWININCLUDE = -I../../src -I../../pd/src -I/sw/include --- 148,154 ---- ## and therefore allow for a two-level namespace, and that makes Darwin happy ## but this doesn't work for some of the files yet. ! DARWINLINKFLAGS = -bundle -bundle_loader ../../pd/bin/pd ! DARWINLIBS = -L/sw/lib -logg -lvorbis -lmp3lame -lspeex ! #DARWINLINKFLAGS = -bundle -undefined suppress -flat_namespace
DARWININCLUDE = -I../../src -I../../pd/src -I/sw/include *************** *** 155,160 **** .c.pd_darwin: $(CC) $(DARWINCFLAGS) $(DARWININCLUDE) -o $*.o -c $*.c ! $(CC) $(DARWINLINKFLAGS) -o $*.pd_darwin $*.o chmod a-x "$*.pd_darwin" -rm $*.o
--- 156,162 ---- .c.pd_darwin: $(CC) $(DARWINCFLAGS) $(DARWININCLUDE) -o $*.o -c $*.c ! $(CC) $(DARWINLINKFLAGS) -o $*.pd_darwin $*.o $(DARWINLIBS) chmod a-x "$*.pd_darwin" + strip -u -r $*.pd_darwin -rm $*.o