From 96a1672aea72cf26a6350afe2132637dffaa7997 Mon Sep 17 00:00:00 2001 From: "Fred L. Drake, Jr." Date: Mon, 1 Oct 2001 20:15:39 +0000 Subject: [PATCH] Abandon the use of directory names as target names; there are enough platforms for which .PHONY is not implemented that this causes the build to be tedious for those users, leading to bug reports. --- expat/Makefile.in | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/expat/Makefile.in b/expat/Makefile.in index 5b62eb4c..97613ed3 100644 --- a/expat/Makefile.in +++ b/expat/Makefile.in @@ -52,21 +52,26 @@ CC = @CC@ LIBTOOL = @LIBTOOL@ -SUBDIRS = lib examples xmlwf CONFIG_HEADERS = config.h APIHEADER = expat.h LIBRARY = libexpat.la -default: lib xmlwf +default: library xmlwf -buildlib: lib +buildlib: library -all: $(SUBDIRS) +all: library wfchecker samples -$(SUBDIRS): - cd $@ && $(MAKE) +library: + cd lib && $(MAKE) + +wfchecker: + cd xmlwf && $(MAKE) + +samples: + cd examples && $(MAKE) clean: cd lib && rm -f $(LIBRARY) *.o *.lo && rm -rf .libs _libs @@ -83,7 +88,7 @@ extraclean: distclean rm -f conftools/config.guess conftools/config.sub rm -f conftools/ltconfig conftools/ltmain.sh -check: $(SUBDIRS) +check: all cd tests && $(MAKE) check install: xmlwf/xmlwf lib/$(LIBRARY) lib/$(APIHEADER) @@ -97,7 +102,7 @@ uninstall: $(LIBTOOL) --mode=uninstall rm -f $(libdir)/$(LIBRARY) rm -f $(libdir)/$(APIHEADER) -.PHONY: buildlib all $(SUBDIRS) \ +.PHONY: buildlib all library wfchecker samples \ clean distclean extraclean maintainer-clean \ dist distdir \ install uninstall -- 2.40.0