Makefile (123311) | Makefile (125885) |
---|---|
1# | 1# |
2# $FreeBSD: head/Makefile 123311 2003-12-09 02:08:19Z peter $ | 2# $FreeBSD: head/Makefile 125885 2004-02-16 20:18:25Z gad $ |
3# 4# The user-driven targets are: 5# 6# universe - *Really* build *everything* (buildworld and 7# all kernels on all architectures). 8# buildworld - Rebuild *everything*, including glue to help do 9# upgrades. 10# installworld - Install everything built by "buildworld". --- 88 unchanged lines hidden (view full) --- 99# 100.if defined(ALWAYS_CHECK_MAKE) 101${TGTS}: upgrade_checks 102.else 103buildworld: upgrade_checks 104.endif 105 106# | 3# 4# The user-driven targets are: 5# 6# universe - *Really* build *everything* (buildworld and 7# all kernels on all architectures). 8# buildworld - Rebuild *everything*, including glue to help do 9# upgrades. 10# installworld - Install everything built by "buildworld". --- 88 unchanged lines hidden (view full) --- 99# 100.if defined(ALWAYS_CHECK_MAKE) 101${TGTS}: upgrade_checks 102.else 103buildworld: upgrade_checks 104.endif 105 106# |
107# This 'realclean' target is not included in TGTS, because it is not 108# a recursive target. All of the work for it is done right here. 109# The first 'rm' will usually remove all files and directories. If 110# it does not, then there are probably some files with chflags set. 111# Unset all special chflags, and try the 'rm' a second time. 112realclean : 113 -rm -Rf ${.OBJDIR}/* 2>/dev/null 114 @-if [ "`echo ${.OBJDIR}/*`" != "${.OBJDIR}/*" ] ; then \ 115 echo "chflags -R 0 ${.OBJDIR}/*" ; \ 116 chflags -R 0 ${.OBJDIR}/* ; \ 117 echo "rm -Rf ${.OBJDIR}/*" ; \ 118 rm -Rf ${.OBJDIR}/* ; \ 119 fi 120 121# |
|
107# Handle the user-driven targets, using the source relative mk files. 108# 109 110${TGTS}: 111 @cd ${.CURDIR}; \ 112 ${_MAKE} ${.TARGET} 113 114# Set a reasonable default --- 119 unchanged lines hidden --- | 122# Handle the user-driven targets, using the source relative mk files. 123# 124 125${TGTS}: 126 @cd ${.CURDIR}; \ 127 ${_MAKE} ${.TARGET} 128 129# Set a reasonable default --- 119 unchanged lines hidden --- |