Update of /cvsroot/pure-data/externals In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29892
Modified Files: Makefile Log Message: use iem16's build-system for building iem16 (as externals)
Index: Makefile =================================================================== RCS file: /cvsroot/pure-data/externals/Makefile,v retrieving revision 1.146 retrieving revision 1.147 diff -C2 -d -r1.146 -r1.147 *** Makefile 17 May 2007 20:43:50 -0000 1.146 --- Makefile 4 Jun 2007 10:51:32 -0000 1.147 *************** *** 1216,1251 **** IEM16_NAME=iem16 IEM16_DIR := $(externals_src)/iem16/src ! IEM16_SRC := $(wildcard $(externals_src)/iem16/src/iem16_*.c) ! IEM16_TAR1 := tab16read.$(EXTENSION) tab16read4.$(EXTENSION) tab16write.$(EXTENSION) ! IEM16_TAR2 := tab16write~.$(EXTENSION) tab16play~.$(EXTENSION) \ ! tab16read~.$(EXTENSION) tab16read4~.$(EXTENSION) \ ! tab16send~.$(EXTENSION) tab16receive~.$(EXTENSION) ! IEM16_TAR3 := del16read~.$(EXTENSION) del16write~.$(EXTENSION) vd16~.$(EXTENSION) ! IEM16_TAR4 := table16.$(EXTENSION)
- iem16: $(patsubst %,$(externals_src)/iem16/src/%,$(IEM16_TAR1)) $(patsubst %,$(externals_src)/iem16/src/%,$(IEM16_TAR2)) $(patsubst %,$(externals_src)/iem16/src/%,$(IEM16_TAR3)) $(patsubst %,$(externals_src)/iem16/src/%,$(IEM16_TAR4))
! $(patsubst %,$(externals_src)/iem16/src/%,$(IEM16_TAR1)): %.$(EXTENSION) : $(IEM16_SRC:.c=.o) ! $(CC) $(LDFLAGS) -o $*.$(EXTENSION) $(externals_src)/iem16/src/iem16_array.o $(externals_src)/iem16/src/iem16_table.o $(LIBS) ! $(STRIP) $*.$(EXTENSION) ! chmod 755 $*.$(EXTENSION) ! ! $(patsubst %,$(externals_src)/iem16/src/%,$(IEM16_TAR2)): %.$(EXTENSION) : $(IEM16_SRC:.c=.o) ! $(CC) $(LDFLAGS) -o $*.$(EXTENSION) $(externals_src)/iem16/src/iem16_array_tilde.o $(externals_src)/iem16/src/iem16_table.o $(LIBS) ! $(STRIP) $*.$(EXTENSION) ! chmod 755 $*.$(EXTENSION)
! $(patsubst %,$(externals_src)/iem16/src/%,$(IEM16_TAR3)): %.$(EXTENSION) : $(IEM16_SRC:.c=.o) ! $(CC) $(LDFLAGS) -o $*.$(EXTENSION) $(externals_src)/iem16/src/iem16_delay.o $(LIBS) $(externals_src)/iem16/src/iem16_table.o ! $(STRIP) $*.$(EXTENSION) ! chmod 755 $*.$(EXTENSION)
! $(patsubst %,$(externals_src)/iem16/src/%,$(IEM16_TAR4)): %.$(EXTENSION) : $(IEM16_SRC:.c=.o) ! $(CC) $(LDFLAGS) -o $*.$(EXTENSION) $(externals_src)/iem16/src/iem16_table.o $(LIBS) ! $(STRIP) $*.$(EXTENSION) ! chmod 755 $*.$(EXTENSION)
- $(IEM16_SRC:.c=.o) : %.o : %.c - $(CC) $(CFLAGS) -o "$*.o" -c "$*.c"
iem16_install: iem16 --- 1216,1233 ---- IEM16_NAME=iem16 IEM16_DIR := $(externals_src)/iem16/src ! IEM16_SRC := $(wildcard $(externals_src)/iem16/src/*.c)
! $(externals_src)/iem16/src/configure: $(externals_src)/iem16/src/configure.ac ! cd $(externals_src)/iem16/src && autoconf
! $(externals_src)/iem16/src/Make.config: $(externals_src)/iem16/src/Make.config.in \ ! $(externals_src)/iem16/src/configure ! cd $(externals_src)/iem16/src/ && ./configure --disable-library \ ! --with-pd=$(pd_src)
! iem16: $(externals_src)/iem16/src/Make.config ! $(MAKE) -C $(externals_src)/iem16/src/
iem16_install: iem16 *************** *** 1262,1266 **** --- 1244,1254 ----
iem16_clean: + -$(MAKE) -C $(externals_src)/iem16/src clean -rm -f -- $(externals_src)/iem16/src/*.$(EXTENSION) + -rm -f -- $(externals_src)/iem16/src/*.d + -rm -rf -- $(externals_src)/iem16/src/autom4ate + -rm -rf -- $(externals_src)/iem16/src/conf[0-9][0-9][0-9]* + -rm -f -- $(externals_src)/iem16/src/configure + -rm -f -- $(externals_src)/iem16/src/Make.config -rm -f -- $(externals_src)/iem16/src/*.o -rm -f -- $(externals_src)/iem16/src/*.bak