summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorfdrake <fdrake>2001-10-01 20:15:39 +0000
committerfdrake <fdrake>2001-10-01 20:15:39 +0000
commit9792fe82c882f0492b527ea9478395ecd2b93c55 (patch)
tree0c456498857abc361234935127a49cd4a82cc5b6 /Makefile.in
parent8b744518420d26b45cf3cb72cd070863222acf9a (diff)
downloadlibexpat-9792fe82c882f0492b527ea9478395ecd2b93c55.tar.gz
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.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in21
1 files changed, 13 insertions, 8 deletions
diff --git a/Makefile.in b/Makefile.in
index 5b62eb4..97613ed 100644
--- a/Makefile.in
+++ b/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