[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/Makefile between version 1.196 and 1.197

version 1.196, 2003/01/03 15:34:30 version 1.197, 2003/01/04 15:50:32
Line 322  install-${dir}:
Line 322  install-${dir}:
 dependall-distrib depend-distrib all-distrib:  dependall-distrib depend-distrib all-distrib:
         @true          @true
   
 #  
 # we don't want the obj target in etc invoked as part of the normal  
 # course of events because that makes it too early.  therefore, define  
 # a neutral version of the target that bsd.subdir.mk would create.  
 #  
 obj-etc:  
         @true  
   
 .include <bsd.obj.mk>  .include <bsd.obj.mk>
   .include <bsd.kernobj.mk>
 .include <bsd.subdir.mk>  .include <bsd.subdir.mk>
   
 #  #
 # now, make a "real" target that will recurse into etc to enact the  # Create ${KERNOBJDIR}.
 # obj target, and .USE it onto the end of the obj handling for the  # Done here to ensure that it's "last", for BSDOBJDIR uses.
 # current directory.  note that this is only done if we already have  
 # commands for the obj target (we won't if we're not making objdirs),  
 # and only if etc is a target subdirectory.  
 #  #
 .if commands(obj) && (${SUBDIR:Metc} == "etc")  .if commands(obj)
 real-obj-etc: .USE  obj-kernobjdir: .USE
         @(echo "obj ===> etc"; \          @echo "obj ===> sys/arch/${MACHINE}/compile"
                 cd ${.CURDIR}/etc && ${MAKE} obj)          @mkdir -p ${KERNOBJDIR}
 obj: real-obj-etc  obj: obj-kernobjdir
   
 .endif  .endif
   
   
 build-docs: ${.CURDIR}/BUILDING  build-docs: ${.CURDIR}/BUILDING
 ${.CURDIR}/BUILDING: doc/BUILDING.mdoc  ${.CURDIR}/BUILDING: doc/BUILDING.mdoc
         groff -mdoc -Tascii -P-b -P-u -P-o $> >$@          groff -mdoc -Tascii -P-b -P-u -P-o $> >$@

Legend:
Removed from v.1.196  
changed lines
  Added in v.1.197

CVSweb <webmaster@jp.NetBSD.org>