You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by jd...@locus.apache.org on 2000/02/10 14:08:55 UTC

cvs commit: xml-xalan/c/src Makefile.in

jdonohue    00/02/10 05:08:55

  Modified:    c/src    Makefile.in
  Log:
  Added make for dependencies
  
  Revision  Changes    Path
  1.3       +15 -5     xml-xalan/c/src/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/Makefile.in,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Makefile.in	2000/02/03 20:13:12	1.2
  +++ Makefile.in	2000/02/10 13:08:55	1.3
  @@ -55,6 +55,9 @@
   # 
   #
   # $Log: Makefile.in,v $
  +# Revision 1.3  2000/02/10 13:08:55  jdonohue
  +# Added make for dependencies
  +#
   # Revision 1.2  2000/02/03 20:13:12  jdonohue
   # Linux changes
   # PR:
  @@ -139,15 +142,11 @@
   #                                                                 #
   ###################################################################
   
  -###################################################################
  -# @@ NOTE:                                                        #
  -# Need to add dependencies for header files and for XERCES headers#
  -###################################################################
  +DEPFILE=depends
   
   #MACROS defining commands
   MKDIR=mkdir
   
  -
   ifndef XALANCROOT 
   noxalanroot:
   	@echo XALANCROOT must be defined
  @@ -210,6 +209,13 @@
   	-${MKDIR} -p ${ALL_OBJECTS_DIR}
   	-${MKDIR} -p ${LIB_DIR}
   	-${MKDIR} -p $(BINTARGETDIR)
  +
  +# Create header dependendies file -- this must be run before any objects are
  +# built
  +depend:
  +	$(MAKE) -f makedepends DEPFILE=$(DEPFILE)
  +
  +-include $(DEPFILE)	
   
   compile:	 $(ALL_OBJECTS)