[Expat-checkins] CVS: expat Makefile.in,1.18,1.19
Fred L. Drake
fdrake@users.sourceforge.net
Mon Oct 1 13:16:24 2001
Update of /cvsroot/expat/expat
In directory usw-pr-cvs1:/tmp/cvs-serv30217
Modified Files:
Makefile.in
Log Message:
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.
Index: Makefile.in
===================================================================
RCS file: /cvsroot/expat/expat/Makefile.in,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** Makefile.in 2001/08/23 13:26:37 1.18
--- Makefile.in 2001/10/01 20:15:39 1.19
***************
*** 53,57 ****
LIBTOOL = @LIBTOOL@
- SUBDIRS = lib examples xmlwf
CONFIG_HEADERS = config.h
--- 53,56 ----
***************
*** 60,72 ****
! default: lib xmlwf
! buildlib: lib
! all: $(SUBDIRS)
! $(SUBDIRS):
! cd $@ && $(MAKE)
clean:
cd lib && rm -f $(LIBRARY) *.o *.lo && rm -rf .libs _libs
--- 59,77 ----
! default: library xmlwf
! buildlib: library
! all: library wfchecker samples
! library:
! cd lib && $(MAKE)
+ wfchecker:
+ cd xmlwf && $(MAKE)
+
+ samples:
+ cd examples && $(MAKE)
+
clean:
cd lib && rm -f $(LIBRARY) *.o *.lo && rm -rf .libs _libs
***************
*** 84,88 ****
rm -f conftools/ltconfig conftools/ltmain.sh
! check: $(SUBDIRS)
cd tests && $(MAKE) check
--- 89,93 ----
rm -f conftools/ltconfig conftools/ltmain.sh
! check: all
cd tests && $(MAKE) check
***************
*** 98,102 ****
rm -f $(libdir)/$(APIHEADER)
! .PHONY: buildlib all $(SUBDIRS) \
clean distclean extraclean maintainer-clean \
dist distdir \
--- 103,107 ----
rm -f $(libdir)/$(APIHEADER)
! .PHONY: buildlib all library wfchecker samples \
clean distclean extraclean maintainer-clean \
dist distdir \