bsd.subdir.mk (95306) | bsd.subdir.mk (95327) |
---|---|
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 95306 2002-04-23 09:03:56Z ru $ | 2# $FreeBSD: head/share/mk/bsd.subdir.mk 95327 2002-04-23 22:16:41Z obrien $ |
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. 11# 12# 13# +++ variables +++ 14# | 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. 11# 12# 13# +++ variables +++ 14# |
15# DISTRIBUTION Name of distribution. [bin] | 15# DISTRIBUTION Name of distribution. [base] |
16# 17# SUBDIR A list of subdirectories that should be built as well. 18# Each of the targets will execute the same target in the 19# subdirectories. 20# 21# +++ targets +++ 22# 23# distribute: --- 46 unchanged lines hidden (view full) --- 70.if !target(afterinstall) 71afterinstall: 72.endif 73install: afterinstall 74afterinstall: realinstall 75realinstall: beforeinstall 76.endif 77 | 16# 17# SUBDIR A list of subdirectories that should be built as well. 18# Each of the targets will execute the same target in the 19# subdirectories. 20# 21# +++ targets +++ 22# 23# distribute: --- 46 unchanged lines hidden (view full) --- 70.if !target(afterinstall) 71afterinstall: 72.endif 73install: afterinstall 74afterinstall: realinstall 75realinstall: beforeinstall 76.endif 77 |
78DISTRIBUTION?= bin | 78DISTRIBUTION?= base |
79.if !target(afterdistribute) 80afterdistribute: 81.endif 82.if !target(distribute) 83distribute: _SUBDIR 84.for dist in ${DISTRIBUTION} 85 cd ${.CURDIR} ; ${MAKE} afterdistribute DESTDIR=${DISTDIR}/${dist} 86.endfor 87.endif | 79.if !target(afterdistribute) 80afterdistribute: 81.endif 82.if !target(distribute) 83distribute: _SUBDIR 84.for dist in ${DISTRIBUTION} 85 cd ${.CURDIR} ; ${MAKE} afterdistribute DESTDIR=${DISTDIR}/${dist} 86.endfor 87.endif |