--- parser3/src/classes/Makefile.am 2001/04/28 15:22:38 1.6 +++ parser3/src/classes/Makefile.am 2001/05/21 17:38:46 1.13 @@ -1,17 +1,19 @@ -# $Id: Makefile.am,v 1.6 2001/04/28 15:22:38 paf Exp $ +# $Id: Makefile.am,v 1.13 2001/05/21 17:38:46 parser Exp $ SUBDIRS = gd INCLUDES = -I../include -I../types -I../sql -Igd -I../pcre CLASSES_INC=classes.inc -METHODED=double.C file.C form.C image.C int.C mail.C op.C random.C response.C string.C table.C unknown.C - -noinst_LIBRARIES = libclasses.a -libclasses_a_DEPENDENCES = $(CLASSES_INC) -libclasses_a_SOURCES = classes.C $(METHODED) +CLASSES_C=classes.C $(CLASSES_INC): $(METHODED) classes.awk echo "/* do not edit. autogenerated by Makefile.am */" > $(CLASSES_INC) echo >> $(CLASSES_INC) ls | $(AWK) -f classes.awk >> $(CLASSES_INC) + +$(CLASSES_C): $(CLASSES_INC) + +noinst_LIBRARIES = libclasses.a +libclasses_a_SOURCES = $(CLASSES_C) double.C file.C form.C image.C int.C mail.C op.C random.C response.C string.C table.C nothing.C hash.C +CLEANFILES = $(CLASSES_INC)