bsd.subdir.mk (96668) | bsd.subdir.mk (97769) |
---|---|
1# from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91 | 1# from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91 |
2# $FreeBSD: head/share/mk/bsd.subdir.mk 96668 2002-05-15 16:19:54Z ru $ | 2# $FreeBSD: head/share/mk/bsd.subdir.mk 97769 2002-06-03 14:49:34Z ru $ |
3# 4# The include file <bsd.subdir.mk> contains the default targets 5# for building subdirectories. 6# 7# For all of the directories listed in the variable SUBDIRS, the 8# specified directory will be visited and the target made. There is 9# also a default target which allows the command "make subdir" where 10# subdir is any directory listed in the variable SUBDIRS. --- 47 unchanged lines hidden (view full) --- 58 59 60.for __target in all all-man checkdpadd clean cleandepend cleandir \ 61 depend distribute lint maninstall \ 62 obj objlink realinstall regress tags 63${__target}: _SUBDIR 64.endfor 65 | 3# 4# The include file <bsd.subdir.mk> contains the default targets 5# for building subdirectories. 6# 7# For all of the directories listed in the variable SUBDIRS, the 8# specified directory will be visited and the target made. There is 9# also a default target which allows the command "make subdir" where 10# subdir is any directory listed in the variable SUBDIRS. --- 47 unchanged lines hidden (view full) --- 58 59 60.for __target in all all-man checkdpadd clean cleandepend cleandir \ 61 depend distribute lint maninstall \ 62 obj objlink realinstall regress tags 63${__target}: _SUBDIR 64.endfor 65 |
66.for __target in includes | 66.for __target in files includes |
67.for __stage in build install 68${__stage}${__target}: 69.if make(${__stage}${__target}) 70${__stage}${__target}: _SUBDIR 71.endif 72.endfor 73${__target}: 74 cd ${.CURDIR}; ${MAKE} build${__target}; ${MAKE} install${__target} --- 13 unchanged lines hidden --- | 67.for __stage in build install 68${__stage}${__target}: 69.if make(${__stage}${__target}) 70${__stage}${__target}: _SUBDIR 71.endif 72.endfor 73${__target}: 74 cd ${.CURDIR}; ${MAKE} build${__target}; ${MAKE} install${__target} --- 13 unchanged lines hidden --- |