--- parser3/src/targets/cgi/Makefile.am 2001/03/21 14:06:52 1.2 +++ parser3/src/targets/cgi/Makefile.am 2012/06/11 22:14:46 1.58 @@ -1,7 +1,15 @@ -# $Id: Makefile.am,v 1.2 2001/03/21 14:06:52 paf Exp $ +# Parser has circular library dependencies, thus libmain.a is linked twice and --preserve-dup-deps libtool option is used +PA_LIBS = ../../main/libmain.a ../../classes/libclasses.a ../../types/libtypes.a ../../main/libmain.a \ + ../../lib/gd/libgd.a ../../lib/cord/libcord.a ../../lib/md5/libmd5.a ../../lib/sdbm/libsdbm.a \ + ../../lib/smtp/libsmtp.a ../../lib/json/libjson.a ../../lib/memcached/libmemcached.a -INCLUDES = -I../../include -I../../classes -I../../types +INCLUDES = -I../../classes -I../../types -I../../sql -I../../lib/gc/include -I../../lib/cord/include \ + -I../../lib/md5 -I../../lib/json -I$(INCLTDL) @PCRE_INCLUDES@ @XML_INCLUDES@ bin_PROGRAMS = parser3 -parser3_SOURCES = pa_pool.C parser3.C -parser3_LDADD = ../../main/libmain.a ../../classes/libclasses.a ../../types/libtypes.a +noinst_HEADERS = getopt.h +parser3_DEPENDENCIES=Makefile $(PA_LIBS) +parser3_SOURCES = pa_threads.C parser3.C getopt.c +parser3_LDADD= $(PA_LIBS) $(LIBLTDL) @GC_LIBS@ @PCRE_LIBS@ @XML_LIBS@ @MIME_LIBS@ +parser3_LIBTOOLFLAGS=--preserve-dup-deps +EXTRA_DIST = parser3.vcproj