--- parser3/src/targets/cgi/Makefile.am 2001/04/17 19:00:59 1.3 +++ parser3/src/targets/cgi/Makefile.am 2002/01/31 10:20:21 1.26 @@ -1,14 +1,14 @@ -# $Id: Makefile.am,v 1.3 2001/04/17 19:00:59 paf Exp $ - -INCLUDES = -I../../include -I../../classes -I../../types -I$(INCLTDL) -I../../sql +INCLUDES = -I../../classes -I../../types -I$(INCLTDL) -I../../sql -I../../pcre @XML_INCLUDES@ bin_PROGRAMS = parser3 -parser3_SOURCES = pa_pool.C parser3.C - -parser_common_libs=../../main/libmain.a ../../classes/libclasses.a ../../main/libmain.a ../../types/libtypes.a $(LIBLTDL) ../../classes/gd/libgd.a ../../pcre/libpcre.a +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@ -ifeq (${host_os},"cygwin") -parser_libs = $(parser_common_libs) /lib/libwsock32.a -endif +IDENT_AWK = $(top_srcdir)/ident.awk +IDENT_DEPS = *.C -parser3_LDADD = $(parser_libs) +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