diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2003-02-17 03:45:51 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2003-02-17 03:45:51 +0000 |
commit | 8dd384ea4f00ebe9f99297fc4072aa6cb19dec76 (patch) | |
tree | d5016cd8c181ef59f786050fcc52c3c5b8bdf46b /makefile.in | |
parent | b78d474aee86c3580348db24091bb4fd749c97af (diff) |
converted makefiles to use autoconf more and ported to MacOS X/Darwin
svn path=/trunk/externals/ext13/; revision=401
Diffstat (limited to 'makefile.in')
-rw-r--r-- | makefile.in | 20 |
1 files changed, 10 insertions, 10 deletions
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 |