From fc3d3c0a4f110a23335398c327ac0a4fc949d5cb Mon Sep 17 00:00:00 2001 From: Guenter Geiger Date: Mon, 17 Jun 2002 10:13:57 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r12, which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/ggee/; revision=13 --- makefile.in | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 makefile.in (limited to 'makefile.in') diff --git a/makefile.in b/makefile.in new file mode 100644 index 0000000..b298fb4 --- /dev/null +++ b/makefile.in @@ -0,0 +1,68 @@ + +EXT = @EXT@ +DEFS = @DEFS@ -DPD_VERSION_MINOR=@pd_minor_version@ +CC = @CC@ +CXX = @CXX@ +LD = @LD@ +AFLAGS = @AFLAGS@ +LFLAGS = @LFLAGS@ +WFLAGS = +IFLAGS = -I./include +INSTALL_PREFIX=@prefix@ + +VERSION = \"$(shell cat VERSION)\" +DISTVERSION = $(shell cat VERSION) + +.SUFFIXES: .$(EXT) + +PDCFLAGS = @CFLAGS@ $(DEFS) $(IFLAGS) $(WFLAGS) $(LFLAGS) $(AFLAGS) -DVERSION=$(VERSION) +CFLAGS = @CFLAGS@ $(DEFS) $(IFLAGS) $(WFLAGS) -DVERSION=$(VERSION) +CXXFLAGS = $(CFLAGS) + +STKPD= @STKPD@ +STK= @STK@ +BUILD_STK = @BUILDSTK@ +#LIBS = -lc -lm +LIBS = @LIBS@ +SOURCES = @MYSOURCES@ +TARGETS = $(SOURCES:.c=.$(EXT)) $(STKPD) + +all: $(STK) $(TARGETS) + +ggext: $(STK) $(TARGETS) + cc -c $(CFLAGS) -DPD ggee.c + $(LD) -export_dynamic -shared -o ggext.pd_linux ggee.o */*.o $(LIBS) + strip --strip-unneeded ggext.pd_linux + +clean:: + -rm */*.$(EXT) *.$(EXT) so_locations rm */*~ *~ *.o */*.o + +distclean: clean + -rm config.cache config.log config.status makefile + + +distcleancvs: + -rm -r CVS reference/CVS + + +.c.o: + $(CC) -c -o $@ $(CFLAGS) -DPD $*.c + +# cp $@ $*_stat.o + +.o.pd_linux: + $(CC) -o $@ $(PDCFLAGS) -DPD $*.o + + +include makefile.stk + + +install:: + install -d $(INSTALL_PREFIX)/lib/pd/externs + install -m 644 */*.pd_linux $(INSTALL_PREFIX)/lib/pd/externs + -install -m 644 ggext.pd_linux $(INSTALL_PREFIX)/lib/pd/externs + install -m 644 */*.pd $(INSTALL_PREFIX)/lib/pd/doc/5.reference + + +dist: distclean + (cd ..;tar czvf ggee-$(DISTVERSION).tgz ggee) -- cgit v1.2.1