[PD-cvs] SF.net SVN: pure-data:[10185] trunk/externals/zexy/build/autoconf

zmoelnig at users.sourceforge.net zmoelnig at users.sourceforge.net
Mon Jul 21 15:44:44 CEST 2008


Revision: 10185
          http://pure-data.svn.sourceforge.net/pure-data/?rev=10185&view=rev
Author:   zmoelnig
Date:     2008-07-21 13:44:43 +0000 (Mon, 21 Jul 2008)

Log Message:
-----------
more on the way to an autoconf-based "build"

Modified Paths:
--------------
    trunk/externals/zexy/build/autoconf/Makefile
    trunk/externals/zexy/build/autoconf/configure.ac

Modified: trunk/externals/zexy/build/autoconf/Makefile
===================================================================
--- trunk/externals/zexy/build/autoconf/Makefile	2008-07-21 13:27:37 UTC (rev 10184)
+++ trunk/externals/zexy/build/autoconf/Makefile	2008-07-21 13:44:43 UTC (rev 10185)
@@ -5,32 +5,20 @@
 	install install-bin install-doc install-abs \
 	tests
 
+TESTDIR=../../tests
+SOURCEDIR=../../src/
 
-TESTDIR=../tests
+HELPERSOURCES=$(SOURCEDIR)z_zexy.c $(SOURCEDIR)zexy.c $(SOURCEDIR)winNT_portio.c
 
-HELPERSOURCES=z_zexy.c zexy.c winNT_portio.c
+OBJECTSOURCES=$(sort $(filter-out $(HELPERSOURCES), $(filter %.c, $(wildcard $(SOURCEDIR)*.c))))
 
-OBJECTSOURCES=$(sort $(filter-out $(HELPERSOURCES), $(filter %.c, $(wildcard *.c))))
-
 SOURCES=$(OBJECTSOURCES) $(HELPERSOURCES)
 
-zexyconf.h: zexyconf.h.in configure
-	./configure $(CONFIGUREFLAGS)
 
-configure: configure.ac aclocal.m4
-	autoconf
+VPATH = $(SOURCEDIR)
 
-aclocal.m4: acinclude.m4
-	aclocal
-
 -include $(SOURCES:.c=.d)
 
-Make.config: Make.config.in configure
-	./configure $(CONFIGUREFLAGS)
-
-z_zexy.c z_zexy.h:
-	./makesource.sh
-
 -include Make.config
 
 ##  2nd only generate depend-files when we have Make.config included
@@ -65,7 +53,7 @@
 	$(STRIP) $(STRIPFLAGS) $@
 
 $(LIBNAME): $(TARGETS) z_zexy.c z_zexy.h
-	$(LD) $(LFLAGS) -o $@.$(EXT) *.o $(LIBS)
+	$(LD) $(LFLAGS) -o $@.$(EXT) $(SOURCEDIR)*.o $(LIBS)
 	$(STRIP) $(STRIPFLAGS) $@.$(EXT)
 
 $(TARGETS): %.o : %.c

Modified: trunk/externals/zexy/build/autoconf/configure.ac
===================================================================
--- trunk/externals/zexy/build/autoconf/configure.ac	2008-07-21 13:27:37 UTC (rev 10184)
+++ trunk/externals/zexy/build/autoconf/configure.ac	2008-07-21 13:44:43 UTC (rev 10185)
@@ -423,5 +423,5 @@
         "--includedir=</path/to/pd/src/>"]))
 
 LFLAGS=${LDFLAGS}
-AC_OUTPUT(../../src/Make.config)
+AC_OUTPUT(Make.config)
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Pd-cvs mailing list