--- parser3/src/targets/cgi/Makefile.am 2002/01/31 10:20:21 1.26 +++ parser3/src/targets/cgi/Makefile.am 2003/10/24 04:42:25 1.48 @@ -1,14 +1,14 @@ -INCLUDES = -I../../classes -I../../types -I$(INCLTDL) -I../../sql -I../../pcre @XML_INCLUDES@ +#by default c++ when running linker adds -lstdc++ (and -lm) which overrides +#our [default] setting of linking that that lib should be linked statically +#so we're switching linker to gcc, which does not add anything +CXXLD=$(CC) -bin_PROGRAMS = parser3 -parser3_SOURCES = pa_config_paths.h 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 @XML_LIBS@ @DB2_LIBS@ - -IDENT_AWK = $(top_srcdir)/ident.awk -IDENT_DEPS = *.C +INCLUDES = -I../../classes -I../../types -I../../sql -I../../lib/gc/include -I../../lib/cord/include -I../../lib/pcre -I../../lib/md5 -I$(INCLTDL) @XML_INCLUDES@ +PA_LIBS = ../../main/libmain.a ../../classes/libclasses.a ../../types/libtypes.a ../../main/libmain.a ../../classes/gd/libgd.a ../../lib/cord/libcord.a ../../lib/pcre/libpcre.a ../../lib/md5/libmd5.a $(LIBLTDL) -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 +bin_PROGRAMS = parser3 +noinst_HEADERS = getopt.h +parser3_DEPENDENCIES=Makefile $(PA_LIBS) +parser3_SOURCES = pa_threads.C parser3.C getopt.c +parser3_LDADD= $(PA_LIBS) $(LIBADD_DL) @GC_LIBS@ @XML_LIBS@ @MIME_LIBS@ @CPP_LIBS@ +EXTRA_DIST = parser3.vcproj pp3.cmd