--- parser3/src/classes/Makefile.am 2001/04/28 14:48:15 1.4 +++ parser3/src/classes/Makefile.am 2001/05/19 15:45:10 1.9 @@ -1,4 +1,4 @@ -# $Id: Makefile.am,v 1.4 2001/04/28 14:48:15 paf Exp $ +# $Id: Makefile.am,v 1.9 2001/05/19 15:45:10 parser Exp $ SUBDIRS = gd @@ -6,11 +6,12 @@ INCLUDES = -I../include -I../types -I../ CLASSES_INC=classes.inc -noinst_LIBRARIES = libclasses.a -libclasses_a_DEPENDENCES = $(CLASSES_INC) -libclasses_a_SOURCES = double.C exec.C file.C form.C image.C int.C mail.C op.C random.C response.C string.C table.C unknown.C - -$(CLASSES_INC): $(libclasses_a_SOURCES) classes.awk - echo /* do not edit. autogenerated by Makefile.am */ > $(CLASSES_INC) - echo >> $(CLASSES_INC) +$(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 unknown.C hash.C