]> granicus.if.org Git - libexpat/commitdiff
Abandon the use of directory names as target names; there are enough
authorFred L. Drake, Jr. <fdrake@users.sourceforge.net>
Mon, 1 Oct 2001 20:15:39 +0000 (20:15 +0000)
committerFred L. Drake, Jr. <fdrake@users.sourceforge.net>
Mon, 1 Oct 2001 20:15:39 +0000 (20:15 +0000)
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

index 5b62eb4c200f49dd5843523bcc8900a2ca9d5005..97613ed388ebc9b0fdd3b86577f160fd2252d247 100644 (file)
@@ -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