bsd.obj.mk (44755) | bsd.obj.mk (44922) |
---|---|
1# $Id: bsd.obj.mk,v 1.26 1998/08/30 20:33:27 jb Exp $ | 1# $Id: bsd.obj.mk,v 1.27 1999/03/14 20:41:13 markm 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. --- 63 unchanged lines hidden (view full) --- 73 ${ECHO} "Unable to create ${CANONICALOBJDIR}."; \ 74 exit 1; \ 75 fi; \ 76 ${ECHO} "${CANONICALOBJDIR} created for ${.CURDIR}"; \ 77 fi 78.endif 79.endif 80 | 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. --- 63 unchanged lines hidden (view full) --- 73 ${ECHO} "Unable to create ${CANONICALOBJDIR}."; \ 74 exit 1; \ 75 fi; \ 76 ${ECHO} "${CANONICALOBJDIR} created for ${.CURDIR}"; \ 77 fi 78.endif 79.endif 80 |
81.if !target(objlink) 82objlink: _SUBDIR 83 @if test -d ${CANONICALOBJDIR}/; then \ 84 rm -f ${.CURDIR}/obj; \ 85 ln -s ${CANONICALOBJDIR} ${.CURDIR}/obj; \ 86 else \ 87 echo "No ${CANONICALOBJDIR} to link to - do a make obj."; \ 88 fi 89.endif 90 |
|
81# 82# where would that obj directory be? 83# 84.if !target(whereobj) 85whereobj: 86 @echo ${.OBJDIR} 87.endif 88 --- 63 unchanged lines hidden --- | 91# 92# where would that obj directory be? 93# 94.if !target(whereobj) 95whereobj: 96 @echo ${.OBJDIR} 97.endif 98 --- 63 unchanged lines hidden --- |