version 1.321, 2006/02/08 19:02:58 |
version 1.322, 2006/02/11 20:56:29 |
|
|
|
|
# XXX: .WAIT doesn't work the way this makefile needs it to. |
# XXX: .WAIT doesn't work the way this makefile needs it to. |
# So until that is fixed. |
# So until that is fixed. |
|
# Actually that isn't enough either.... snap_pre must not depend on anything |
.NOTPARALLEL: |
.NOTPARALLEL: |
|
|
.MAKEOVERRIDES+= USETOOLS |
.MAKEOVERRIDES+= USETOOLS |
|
|
.endfor |
.endfor |
|
|
CLEANFILES+= etc-release |
CLEANFILES+= etc-release |
etc-release: .EXEC |
etc-release: .EXEC .MAKE |
${_MKTARGET_CREATE} |
${_MKTARGET_CREATE} |
@( echo "NetBSD ${DISTRIBVER}/${MACHINE}"; \ |
@( echo "NetBSD ${DISTRIBVER}/${MACHINE}"; \ |
echo ; \ |
echo ; \ |
Line 342 OBSOLETE.files= base comp etc games man |
|
Line 343 OBSOLETE.files= base comp etc games man |
|
OBSOLETE.files+= xbase xcomp xetc xfont xserver |
OBSOLETE.files+= xbase xcomp xetc xfont xserver |
.endif |
.endif |
|
|
install-obsolete-lists: .PHONY |
install-obsolete-lists: .PHONY .MAKE |
mkdir -p ${OBSOLETE.dir} |
mkdir -p ${OBSOLETE.dir} |
.if ${MKX11} != "no" |
.if ${MKX11} != "no" |
(cd ${NETBSDSRCDIR}/distrib/sets && \ |
(cd ${NETBSDSRCDIR}/distrib/sets && \ |
Line 457 iso-image-md-post: .PHONY check_DESTDIR |
|
Line 458 iso-image-md-post: .PHONY check_DESTDIR |
|
# snap_pre -- |
# snap_pre -- |
# Create ${RELEASEDIR} and necessary subdirectories. |
# Create ${RELEASEDIR} and necessary subdirectories. |
# |
# |
snap_pre: .PHONY check_DESTDIR check_RELEASEDIR |
snap_pre: .PHONY # check_DESTDIR check_RELEASEDIR |
${INSTALL} -d -m 755 ${RELEASEDIR} |
${INSTALL} -d -m 755 ${RELEASEDIR} |
.if ${MKUPDATE} == "no" |
.if ${MKUPDATE} == "no" |
# Could be a mount point, ignore the errors |
# Could be a mount point, ignore the errors |
Line 471 snap_pre: .PHONY check_DESTDIR check_REL |
|
Line 472 snap_pre: .PHONY check_DESTDIR check_REL |
|
# snap_post -- |
# snap_post -- |
# Build the install media and notes from distrib |
# Build the install media and notes from distrib |
# |
# |
snap_post: .PHONY check_DESTDIR check_RELEASEDIR |
snap_post: .PHONY .MAKE check_DESTDIR check_RELEASEDIR |
.if ${MKUPDATE} == "no" |
.if ${MKUPDATE} == "no" |
cd ${NETBSDSRCDIR}/distrib && ${MAKE} cleandir |
cd ${NETBSDSRCDIR}/distrib && ${MAKE} cleandir |
.endif |
.endif |
Line 530 GETKERNELAWK= awk '/^config/ {print $$2; |
|
Line 531 GETKERNELAWK= awk '/^config/ {print $$2; |
|
.if !defined(KERNELS_DONE) # { |
.if !defined(KERNELS_DONE) # { |
.for configfile in ${ALL_KERNELS} # { |
.for configfile in ${ALL_KERNELS} # { |
_KERNELS_TO_BUILD+=kern-${configfile} |
_KERNELS_TO_BUILD+=kern-${configfile} |
kern-${configfile}: .PHONY |
kern-${configfile}: .PHONY .MAKE |
cd ${KERNCONFDIR} && ${TOOL_CONFIG} -s ${KERNSRCDIR} \ |
cd ${KERNCONFDIR} && ${TOOL_CONFIG} -s ${KERNSRCDIR} \ |
-b ${KERNOBJDIR}/${configfile:C/.*\///} ${configfile} |
-b ${KERNOBJDIR}/${configfile:C/.*\///} ${configfile} |
.if ${MKUPDATE} == "no" |
.if ${MKUPDATE} == "no" |
Line 608 build_releasekernels: ${_RELEASEKERNELS_ |
|
Line 609 build_releasekernels: ${_RELEASEKERNELS_ |
|
# snap_kern -- |
# snap_kern -- |
# build the kernels, then the sets & release kernels |
# build the kernels, then the sets & release kernels |
# |
# |
snap_kern: check_DESTDIR check_RELEASEDIR .WAIT \ |
snap_kern: .PHONY check_DESTDIR check_RELEASEDIR .WAIT \ |
build_kernels .WAIT \ |
build_kernels .WAIT \ |
build_kernelsets build_releasekernels |
build_kernelsets build_releasekernels |
|
|
Line 619 snap_kern: check_DESTDIR check_RELEASEDI |
|
Line 620 snap_kern: check_DESTDIR check_RELEASEDI |
|
# Machine dependent distribution media operations. |
# Machine dependent distribution media operations. |
# Overridden by etc.$MACHINE/Makefile.inc |
# Overridden by etc.$MACHINE/Makefile.inc |
# |
# |
snap_md_post: check_DESTDIR check_RELEASEDIR |
snap_md_post: .PHONY check_DESTDIR check_RELEASEDIR |
# (empty -- look in the machine-dependent Makefile.inc) |
# (empty -- look in the machine-dependent Makefile.inc) |
|
|
|
|