From 8dd384ea4f00ebe9f99297fc4072aa6cb19dec76 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 17 Feb 2003 03:45:51 +0000 Subject: converted makefiles to use autoconf more and ported to MacOS X/Darwin svn path=/trunk/externals/ext13/; revision=401 --- makefile.in | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'makefile.in') diff --git a/makefile.in b/makefile.in index 53ab406..a0939b7 100644 --- a/makefile.in +++ b/makefile.in @@ -1,11 +1,11 @@ -EXT = pd_linux -DEFS = -DHAVE_LIBC=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -DPD_VERSION_MINOR=32 -CC = gcc -CXX = c++ -LD = ld +EXT = @EXT@ +DEFS = @DFLAGS@ -DHAVE_LIBC=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -DPD_VERSION_MINOR=32 +CC = @CC@ +CXX = @CXX@ +LD = @LD@ AFLAGS = -LFLAGS = -export_dynamic -shared +LFLAGS = @LFLAGS@ WFLAGS = IFLAGS = -I./include PREFIX=@prefix@ @@ -29,8 +29,8 @@ all: $(TARGETS) ext13: $(TARGETS) cc -c $(CFLAGS) -DPD ext13.c - $(LD) -export_dynamic -shared -o ext13.pd_linux *.o $(LIBS) - strip --strip-unneeded ext13.pd_linux + $(LD) $(LFLAGS) -o ext13.$(EXT) *.o $(LIBS) + strip @STRIPFLAGS@ ext13.$(EXT) clean:: -rm *.$(EXT) *.o @@ -45,7 +45,7 @@ distclean: clean # cp $@ $*_stat.o -.o.pd_linux: +.o.$(EXT): $(CC) -o $@ $(PDCFLAGS) -DPD $*.o @@ -53,7 +53,7 @@ distclean: clean install:: install -d $(INSTALL_PREFIX)/pd/externs install -m 644 *.$(EXT) $(INSTALL_PREFIX)/pd/externs - -install -m 644 ext13.pd_linux $(INSTALL_PREFIX)/pd/externs + -install -m 644 ext13.$(EXT) $(INSTALL_PREFIX)/pd/externs install -m 644 doc/*.pd $(INSTALL_PREFIX)/pd/doc/5.reference -- cgit v1.2.1