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

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

Diff for /src/distrib/common/Makefile.makedev between version 1.3 and 1.6

version 1.3, 2002/06/01 16:22:54 version 1.6, 2003/05/08 13:04:37
Line 3 
Line 3 
 # Makefile snippet to add ${MAKEDEVTARGETS} devices to the mtree list  # Makefile snippet to add ${MAKEDEVTARGETS} devices to the mtree list
 # (if set), otherwise copy etc.${MACHINE}/MAKEDEV to ./dev  # (if set), otherwise copy etc.${MACHINE}/MAKEDEV to ./dev
 #  #
   # If this is to be used with Makefile.image, then this file should be
   # .include-d first.
 #  #
 # Required variables:  # Required variables:
 #       NETBSDSRCDIR    top level of src tree (set by <bsd.own.mk>)  #       NETBSDSRCDIR    top level of src tree (set by <bsd.own.mk>)
Line 16 
Line 17 
 #       MTREECONF       may get "devices.spec" added to it  #       MTREECONF       may get "devices.spec" added to it
 #  #
   
   .if !defined(_MAKEFILE_MAKEDEV_)
   _MAKEFILE_MAKEDEV_=1
   
   
 MAKEDEVSPEC?=   devices.spec  MAKEDEVSPEC?=   devices.spec
   
 CLEANFILES+=    ${MAKEDEVSPEC} ${MAKEDEVSPEC}.tmp  CLEANFILES+=    ${MAKEDEVSPEC} ${MAKEDEVSPEC}.tmp
Line 36  MTREECONF+= ${MAKEDEVSPEC}
Line 41  MTREECONF+= ${MAKEDEVSPEC}
 ${MAKEDEVSPEC}: ${_MAKEDEVSCRIPT} ${_MAKEDEVWRAP} ${_MAKEDEV2SPEC}  ${MAKEDEVSPEC}: ${_MAKEDEVSCRIPT} ${_MAKEDEVWRAP} ${_MAKEDEV2SPEC}
         -rm -f ${.TARGET} ${.TARGET}.tmp          -rm -f ${.TARGET} ${.TARGET}.tmp
         MAKEDEVSCRIPT=${_MAKEDEVSCRIPT:Q} \          MAKEDEVSCRIPT=${_MAKEDEVSCRIPT:Q} \
             sh ${_MAKEDEVWRAP} ${MAKEDEVTARGETS} | \              ${HOST_SH} ${_MAKEDEVWRAP} ${MAKEDEVTARGETS} | \
             awk -f ${_MAKEDEV2SPEC} > ${.TARGET}.tmp \              awk -f ${_MAKEDEV2SPEC} > ${.TARGET}.tmp \
         && sort -o ${.TARGET} ${.TARGET}.tmp          && sort -o ${.TARGET} ${.TARGET}.tmp
   
Line 53  IMAGEDEPENDS+= ${NETBSDSRCDIR}/etc/etc.$
Line 58  IMAGEDEPENDS+= ${NETBSDSRCDIR}/etc/etc.$
 ${MAKEDEVSPEC}: .PHONY  ${MAKEDEVSPEC}: .PHONY
   
 .endif  # ! MAKEDEVTARGETS  .endif  # ! MAKEDEVTARGETS
   
   
   .endif  # _MAKEFILE_MAKEDEV_

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.6

CVSweb <webmaster@jp.NetBSD.org>