--- parser3/src/targets/cgi/Makefile.am 2001/10/27 12:58:52 1.21 +++ parser3/src/targets/cgi/Makefile.am 2002/09/24 11:42:04 1.44 @@ -1,23 +1,16 @@ -if COMPILE_XML -PATCHES_LIBS=../../classes/xalan-patched/libxalan_patched.a +#this read configure.in comment on stdc++ about next line +if DO_NOT_LINK_LIBSTDCPP +CXXLD=$(CC) else -PATCHES_LIBS= +CXXLD=$(CXX) endif -INCLUDES = -I../../classes -I../../types -I$(INCLTDL) -I../../sql @XML_INCLUDES@ - -#for sysadmin-controlled auto.p -CPPFLAGS:=$(CPPFLAGS) -DSYSCONFDIR=\"$(sysconfdir)\" +INCLUDES = -I../../classes -I../../types -I../../sql -I../../lib/pcre -I../../lib/md5 -I$(INCLTDL) @XML_INCLUDES@ +LIBS = ../../main/libmain.a ../../classes/libclasses.a ../../main/libmain.a ../../types/libtypes.a ../../classes/gd/libgd.a ../../lib/pcre/libpcre.a ../../lib/md5/libmd5.a $(LIBLTDL) bin_PROGRAMS = parser3 -parser3_SOURCES = pa_pool.C pa_threads.C parser3.C ident.C -parser3_LDADD=../../main/libmain.a ../../classes/libclasses.a ../../main/libmain.a ../../types/libtypes.a $(LIBLTDL) ../../classes/gd/libgd.a ../../pcre/libpcre.a $(PATCHES_LIBS) @XML_LIBS@ @DB2_LIBS@ - -IDENT_AWK = ../../ident.awk -IDENT_DEPS = *.C - -ident.C: $(IDENT_AWK) $(IDENT_DEPS) Makefile.am - rm -f ident.C - echo // do not edit. autogenerated by Makefile.am > ident.C.new - cat $(IDENT_DEPS) | $(AWK) -f $(IDENT_AWK) -v project=parser3 >> ident.C.new - mv ident.C.new ident.C +noinst_HEADERS = pool_storage.h getopt.h +parser3_DEPENDENCIES=Makefile $(LIBS) +parser3_SOURCES = pa_pool.C pa_threads.C parser3.C getopt.c +parser3_LDADD= $(LIBS) $(LIBADD_DL) @XML_LIBS@ @MIME_LIBS@ +EXTRA_DIST = parser3.dsp