bsd.obj.mk (35789) | bsd.obj.mk (36641) |
---|---|
1# $Id: bsd.obj.mk,v 1.23 1998/03/14 14:08:29 bde Exp $ | 1# $Id: bsd.obj.mk,v 1.24 1998/05/06 18:44:03 bde Exp $ |
2# 3# The include file <bsd.obj.mk> handles creating the 'obj' directory 4# and cleaning up object files, etc. 5# 6# Under construction: it also contains the _SUBDIR target (which is used 7# by most `mk' files to recurse into subdirectories) and defaults for the 8# cleandepend, depend and tags targets. It may eventually be merged with 9# with bsd.subdir.mk. --- 96 unchanged lines hidden (view full) --- 106 fi 107.endif 108 109# 110# where would that obj directory be? 111# 112.if !target(whereobj) 113whereobj: | 2# 3# The include file <bsd.obj.mk> handles creating the 'obj' directory 4# and cleaning up object files, etc. 5# 6# Under construction: it also contains the _SUBDIR target (which is used 7# by most `mk' files to recurse into subdirectories) and defaults for the 8# cleandepend, depend and tags targets. It may eventually be merged with 9# with bsd.subdir.mk. --- 96 unchanged lines hidden (view full) --- 106 fi 107.endif 108 109# 110# where would that obj directory be? 111# 112.if !target(whereobj) 113whereobj: |
114 @cd ${.CURDIR}; ${MAKE} -V .OBJDIR | 114 @echo ${.OBJDIR} |
115.endif 116 117cleanobj: 118 @if [ -d ${CANONICALOBJDIR}/ ]; then \ 119 rm -rf ${CANONICALOBJDIR}; \ 120 else \ 121 cd ${.CURDIR} && ${MAKE} clean cleandepend; \ 122 fi --- 57 unchanged lines hidden --- | 115.endif 116 117cleanobj: 118 @if [ -d ${CANONICALOBJDIR}/ ]; then \ 119 rm -rf ${CANONICALOBJDIR}; \ 120 else \ 121 cd ${.CURDIR} && ${MAKE} clean cleandepend; \ 122 fi --- 57 unchanged lines hidden --- |