Makefile revision 1.239 1 # $NetBSD: Makefile,v 1.239 2002/12/23 06:52:49 lukem Exp $
2 # from: @(#)Makefile 8.7 (Berkeley) 5/25/95
3
4 # Environment variables without default values:
5 # DESTDIR must be set before anything in this file will work.
6 # RELEASEDIR is where the tarred up stuff for a snapshot or
7 # release will be placed.
8 #
9 # Environment variables with default values:
10 # LOCALTIME will set the default local time for the system you
11 # build; it determines what /etc/localtime is symlink'd to.
12 # KERNSRCDIR points to kernel source; it is set by default to ../sys,
13 # but can be overridden.
14 # KERNOBJDIR is the kernel build directory, it defaults to
15 # ${KERNSRCDIR}/arch/${MACHINE}/compile, but can be overridden.
16 # KERNCONFDIR is where the configuration files for kernels are found;
17 # default is ${KERNSRCDIR}/arch/${MACHINE}/conf but can be overridden.
18 # UPDATE is normally undefined; if defined, don't do a 'make clean'
19 # before kernel compile
20 # NO_SENDMAIL is normally undefined; if defined, it will not do a
21 # `make distribution' in the sendmail config file source directory.
22 #
23 # Targets:
24 # distribution: makes a full NetBSD distribution in DESTDIR. If
25 # INSTALL_DONE is set, it will not do a `make install.'
26 # if DISTRIBUTION_DONE is set, it will not do anything.
27 # distrib-dirs: creates an empty NetBSD directory tree in DESTDIR.
28 # Called by distribution.
29 # snapshot: calls distribution, above, and then tars up the files
30 # into a release(7) format in RELEASEDIR. Any port-dependent
31 # stuff for this target is found in etc.${MACHINE}/Makefile.inc.
32 # release: a synonym for `snapshot'
33
34 # setting NOOBJ prevents "make obj" from doing anything;
35 # an objdir would break the installation stuff below
36 NOOBJ= # defined
37
38 # For NO_SENDMAIL, INSTPRIV, MKCRYPTO
39 .include <bsd.own.mk>
40
41 # For KERNSRCDIR, KERNOBJDIR, ...
42 .include <bsd.kernobj.mk>
43
44
45 .MAKEOVERRIDES+= USETOOLS
46
47 TZDIR= /usr/share/zoneinfo
48 LOCALTIME?= UTC
49 PWD_MKDB?= pwd_mkdb
50 MAKESUMS= CKSUM=${CKSUM:Q} sh ${NETBSDSRCDIR}/distrib/sets/makesums
51
52 # Flags for creating ISO CDROM image
53 # mkisofs is expected to be in $PATH, install via pkgsrc/sysutils/cdrecord
54 MKISOFS?= mkisofs
55 DISTRIBREV!= sh ${KERNSRCDIR}/conf/osrelease.sh -s
56 # ISO 9660 volume ID. Note that this can only contain [A-Z0-9_].
57 ISO_VOLID!= echo NETBSD_${MACHINE}_${DISTRIBREV} | tr a-z A-Z
58 MKISOFS_FLAGS+= -J -l \
59 -r -T -v \
60 -V ${ISO_VOLID} \
61 -P "The NetBSD Project" \
62 -m "${RELEASEDIR}/installation/cdrom"
63
64 # MD Makefile.inc may append MD targets to BIN[123]. Make sure all
65 # are empty, to preserve the old semantics of setting them below with "=".
66 BIN1=
67 BIN2=
68 BIN3=
69
70 # Directories to build in ${RELEASEDIR}. MD Makefile.inc files can
71 # add to this.
72 # NOTE: Parent directories must be listed before subdirectories.
73 INSTALLATION_DIRS= binary binary/sets binary/kernel installation
74
75 .if exists(etc.${MACHINE}/Makefile.inc)
76 .include "etc.${MACHINE}/Makefile.inc"
77 .endif
78
79 # -rw-r--r--
80 BINOWN= root
81 BINGRP= wheel
82 UTMPGRP= utmp
83 BIN1+= bootptab changelist csh.cshrc csh.login csh.logout daily \
84 daily.conf dm.conf floppytab ftpchroot ftpusers \
85 gettytab group hosts hosts.lpd inetd.conf lkm.conf \
86 mailer.conf man.conf monthly monthly.conf mrouted.conf \
87 netconfig networks newsyslog.conf nsswitch.conf ntp.conf \
88 passwd.conf phones printcap profile protocols rbootd.conf rc rc.conf \
89 rc.lkm rc.local rc.subr rc.shutdown remote rpc \
90 security security.conf services shells sysctl.conf syslog.conf \
91 weekly weekly.conf wscons.conf \
92 etc.${MACHINE}/ttys
93
94 # use machine-specific disktab if it exists, or the MI one otherwise
95 .if exists(etc.${MACHINE}/disktab)
96 BIN1+= etc.${MACHINE}/disktab
97 .else
98 BIN1+= disktab
99 .endif
100
101 .if exists(etc.${MACHINE}/ld.so.conf)
102 BIN1+= etc.${MACHINE}/ld.so.conf
103 .endif
104
105 .if exists(etc.${MACHINE}/ttyaction)
106 BIN1+= etc.${MACHINE}/ttyaction
107 .endif
108
109 # -rw-rw-r--
110 BIN2+= motd
111
112 # -rw-------
113 BIN3+= hosts.equiv
114
115 ETC_PKG=-T etc_pkg
116 BASE_PKG=-T base_pkg
117 ETC_INSTALL_FILE=${INSTALL_FILE} ${ETC_PKG}
118 ETC_INSTALL_LINK=${INSTALL_LINK} ${ETC_PKG}
119 ETC_INSTALL_SYMLINK=${INSTALL_SYMLINK} ${ETC_PKG}
120
121 NAMEDB= 127 root.cache named.conf localhost loopback.v6
122
123 .if make(install-etc-files) # {
124 .include <bsd.endian.mk>
125 .if ${TARGET_ENDIANNESS} == "1234"
126 TARGET_ENDIANNESS= -L
127 .elif ${TARGET_ENDIANNESS} == "4321"
128 TARGET_ENDIANNESS= -B
129 .else
130 TARGET_ENDIANNESS=
131 .endif
132 .endif # install-etc-files # }
133
134 obj:
135 mkdir -p ${KERNOBJDIR}
136
137 distribution: check_DESTDIR .WAIT distrib-dirs
138 .if !defined(DISTRIBUTION_DONE)
139 .if !defined(INSTALL_DONE)
140 (cd ${NETBSDSRCDIR}; ${MAKE} _DISTRIB= includes)
141 (cd ${NETBSDSRCDIR}; ${MAKE} _DISTRIB= install)
142 .endif # !INSTALL_DONE
143 ${MAKE} install-etc-files
144 .endif # !DISTRIBUTION_DONE
145
146 install-etc-files: check_DESTDIR
147 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \
148 ${BIN1} ${DESTDIR}/etc
149 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 664 \
150 ${BIN2} ${DESTDIR}/etc
151 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 600 \
152 ${BIN3} ${DESTDIR}/etc
153 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \
154 aliases ${DESTDIR}/etc/mail
155 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \
156 /dev/null ${DESTDIR}/etc/mail/local-host-names
157 ${ETC_INSTALL_FILE} -o root -g wheel -m 600 \
158 crontab ${DESTDIR}/var/cron/tabs/root
159 ${ETC_INSTALL_FILE} -o root -g wheel -m 600 \
160 master.passwd ${DESTDIR}/etc
161 ${PWD_MKDB} -p ${TARGET_ENDIANNESS} -d ${DESTDIR}/ \
162 ${DESTDIR}/etc/master.passwd
163 .if defined(UNPRIVED)
164 ( \
165 echo "./etc/passwd type=file mode=0644 uname=root gname=wheel tags=etc_pkg"; \
166 echo "./etc/pwd.db type=file mode=0644 uname=root gname=wheel tags=etc_pkg"; \
167 echo "./etc/spwd.db type=file mode=0600 uname=root gname=wheel tags=etc_pkg"; \
168 ) | ${METALOG.add}
169 .endif # UNPRIVED
170 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 555 \
171 MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev
172 ${ETC_INSTALL_FILE} -o root -g wheel -m 600 \
173 minfree ${DESTDIR}/var/crash
174 (cd root; \
175 ${ETC_INSTALL_FILE} -o root -g wheel -m 644 \
176 dot.cshrc ${DESTDIR}/root/.cshrc; \
177 ${ETC_INSTALL_FILE} -o root -g wheel -m 600 \
178 dot.klogin ${DESTDIR}/root/.klogin; \
179 ${ETC_INSTALL_FILE} -o root -g wheel -m 644 \
180 dot.login ${DESTDIR}/root/.login; \
181 ${ETC_INSTALL_FILE} -o root -g wheel -m 644 \
182 dot.profile ${DESTDIR}/root/.profile; \
183 ${ETC_INSTALL_FILE} -o root -g wheel -m 644 \
184 dot.shrc ${DESTDIR}/root/.shrc; \
185 rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \
186 ${ETC_INSTALL_LINK} ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \
187 ${ETC_INSTALL_LINK} ${DESTDIR}/root/.profile ${DESTDIR}/.profile)
188 (cd defaults; ${MAKE} install)
189 (cd mtree; ${MAKE} install)
190 (cd namedb; \
191 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \
192 ${NAMEDB} ${DESTDIR}/etc/namedb)
193 (cd rc.d; ${MAKE} install)
194 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
195 postinstall ${DESTDIR}/etc
196 ${ETC_INSTALL_SYMLINK} -o root -g wheel -m 755 \
197 ${TZDIR}/${LOCALTIME} ${DESTDIR}/etc/localtime
198 ${ETC_INSTALL_SYMLINK} -o root -g wheel -m 755 \
199 /usr/sbin/rmt ${DESTDIR}/etc/rmt
200 ${ETC_INSTALL_FILE} -o ${BINOWN} -g operator -m 664 \
201 /dev/null ${DESTDIR}/etc/dumpdates
202 ${ETC_INSTALL_FILE} -o ${BINOWN} -g operator -m 600 \
203 /dev/null ${DESTDIR}/etc/skeykeys
204 ${ETC_INSTALL_FILE} -o root -g wheel -m 600 \
205 /dev/null ${DESTDIR}/var/at/at.deny
206 ${ETC_INSTALL_FILE} -o root -g wheel -m 600 \
207 /dev/null ${DESTDIR}/var/cron/log
208 ${ETC_INSTALL_FILE} -o nobody -g ${BINGRP} -m 664 \
209 /dev/null ${DESTDIR}/var/db/locate.database
210 ${ETC_INSTALL_FILE} -o uucp -g dialer -m 640 \
211 /dev/null ${DESTDIR}/var/log/aculog
212 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 600 \
213 /dev/null ${DESTDIR}/var/log/authlog
214 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 664 \
215 /dev/null ${DESTDIR}/var/log/lastlog
216 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 640 \
217 /dev/null ${DESTDIR}/var/log/lpd-errs
218 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 600 \
219 /dev/null ${DESTDIR}/var/log/maillog
220 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \
221 /dev/null ${DESTDIR}/var/log/messages
222 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 600 \
223 /dev/null ${DESTDIR}/var/log/secure
224 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \
225 /dev/null ${DESTDIR}/var/log/sendmail.st
226 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \
227 /dev/null ${DESTDIR}/var/log/wtmp
228 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \
229 /dev/null ${DESTDIR}/var/log/wtmpx
230 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 600 \
231 /dev/null ${DESTDIR}/var/log/xferlog
232 ${ETC_INSTALL_FILE} -o daemon -g staff -m 664 \
233 /dev/null ${DESTDIR}/var/msgs/bounds
234 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${UTMPGRP} -m 664 \
235 /dev/null ${DESTDIR}/var/run/utmp
236 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${UTMPGRP} -m 664 \
237 /dev/null ${DESTDIR}/var/run/utmpx
238 ${ETC_INSTALL_FILE} -o games -g games -m 664 \
239 /dev/null ${DESTDIR}/var/games/atc_scores
240 ${ETC_INSTALL_FILE} -o games -g games -m 664 \
241 /dev/null ${DESTDIR}/var/games/battlestar.log
242 ${ETC_INSTALL_FILE} -o games -g games -m 664 \
243 /dev/null ${DESTDIR}/var/games/cfscores
244 ${ETC_INSTALL_FILE} -o games -g games -m 664 \
245 /dev/null ${DESTDIR}/var/games/criblog
246 ${ETC_INSTALL_FILE} -o games -g games -m 660 \
247 /dev/null ${DESTDIR}/var/games/hackdir/perm
248 ${ETC_INSTALL_FILE} -o games -g games -m 660 \
249 /dev/null ${DESTDIR}/var/games/hackdir/record
250 ${ETC_INSTALL_FILE} -o games -g games -m 664 \
251 /dev/null ${DESTDIR}/var/games/larn/llog12.0
252 ${ETC_INSTALL_FILE} -o games -g games -m 664 \
253 /dev/null ${DESTDIR}/var/games/larn/lscore12.0
254 ${ETC_INSTALL_FILE} -o games -g games -m 664 \
255 /dev/null ${DESTDIR}/var/games/larn/playerids
256 ${ETC_INSTALL_FILE} -o games -g games -m 664 \
257 /dev/null ${DESTDIR}/var/games/robots_roll
258 ${ETC_INSTALL_FILE} -o games -g games -m 664 \
259 /dev/null ${DESTDIR}/var/games/rogue.scores
260 ${ETC_INSTALL_FILE} -o games -g games -m 664 \
261 /dev/null ${DESTDIR}/var/games/saillog
262 ${ETC_INSTALL_FILE} -o games -g games -m 664 \
263 /dev/null ${DESTDIR}/var/games/snakerawscores
264 ${ETC_INSTALL_FILE} -o games -g games -m 664 \
265 /dev/null ${DESTDIR}/var/games/snake.log
266 ${ETC_INSTALL_FILE} -o games -g games -m 664 \
267 /dev/null ${DESTDIR}/var/games/tetris.scores
268 (cd skel; ${MAKE} distribution)
269 (cd ${NETBSDSRCDIR}/usr.bin/mail; ${MAKE} distribution)
270 (cd ${NETBSDSRCDIR}/gnu/usr.sbin/postfix/; ${MAKE} distribution)
271 .if (${MKCRYPTO} != "no")
272 (cd ${NETBSDSRCDIR}/usr.bin/ssh; ${MAKE} distribution)
273 .endif
274 .if !defined(NO_SENDMAIL)
275 (cd ${NETBSDSRCDIR}/gnu/usr.sbin/sendmail/cf/cf; ${MAKE} distribution)
276 .endif
277
278 distrib-dirs: check_DESTDIR
279 ${INSTALL_DIR} -o root -g wheel -m 755 ${BASE_PKG} ${DESTDIR}
280 ${MTREE} -def mtree/NetBSD.dist -N ${.CURDIR} \
281 -p ${DESTDIR}/ -U ${UNPRIVED:D-W}
282
283 release snapshot: check_DESTDIR check_RELEASEDIR .WAIT \
284 distribution .WAIT \
285 snap_pre .WAIT snap_kern .WAIT \
286 snap_post .WAIT snap_md_post
287 (cd ${NETBSDSRCDIR}/distrib/sets; ${MAKE} sets)
288 ${MAKESUMS} -t ${RELEASEDIR}/binary/kernel '*.gz'
289
290 # Standalone target to create a CDROM image after the release
291 # was composed. Should be run after "make build" in both src and xsrc
292 iso-image: check_DESTDIR check_RELEASEDIR .WAIT iso-image_md_post
293 # empty target
294
295 iso-image_mi: check_DESTDIR check_RELEASEDIR .WAIT iso-image_md_pre
296 @if ${MKISOFS} --version; then \
297 mkdir -p ${RELEASEDIR}/installation/cdrom ; \
298 ${MKISOFS} ${MKISOFS_FLAGS} \
299 -o ${RELEASEDIR}/installation/cdrom/netbsd-${MACHINE}.iso \
300 ${RELEASEDIR} ; \
301 ${MAKESUMS} -t ${RELEASEDIR}/installation/cdrom '*.iso' ; \
302 else \
303 echo "install pkgsrc/sysutils/cdrecord and type 'make iso-image'." ; \
304 fi
305
306 # Setup the $RELEASEDIR to produce a bootable CD image:
307 iso-image_md_pre: check_DESTDIR check_RELEASEDIR
308 # nothing here -- look in the machine-dependent Makefile.inc
309
310 # Fixup the CD-image to be bootable
311 iso-image_md_post: check_DESTDIR check_RELEASEDIR .WAIT iso-image_mi
312 # nothing here -- look in the machine-dependent Makefile.inc
313
314 snap_pre: check_DESTDIR check_RELEASEDIR
315 # Could be a mount point, ignore the errors
316 -/bin/rm -rf ${RELEASEDIR}
317 ${INSTALL} -d -m 755 ${RELEASEDIR}
318 .for dir in ${INSTALLATION_DIRS}
319 ${INSTALL} -d -m 755 ${RELEASEDIR}/${dir}
320 .endfor
321
322 snap_post: check_DESTDIR check_RELEASEDIR
323 .ifndef UPDATE
324 cd ${NETBSDSRCDIR}/distrib && ${MAKE} cleandir
325 .endif
326 cd ${NETBSDSRCDIR}/distrib && ${MAKE} depend && ${MAKE} && \
327 ${MAKE} release
328
329 # snap_kern --
330 # This target builds the kernels specified by each port.
331 # A port may specify the following kernels:
332 #
333 # KERNEL_SETS The list of kernels that will be
334 # packaged into sets, named
335 # kern-${kernel}.tgz. These kernels
336 # are also placed in the binary/kernel
337 # area of the release package as
338 # netbsd-${kernel}.gz.
339 #
340 # EXTRA_KERNELS Additional kernels to place in the
341 # binary/kernel area of the release
342 # package as netbsd-${kernel}.gz, but
343 # which are not placed into sets. This
344 # allows a port to provide e.g. a netbootable
345 # installation kernel containing a ramdisk.
346 #
347 # BUILD_KERNELS Additional kernels to build which are
348 # not placed into sets nor into the
349 # binary/kernel area of the release
350 # package. These are typically kernels
351 # that are built for inclusion only in
352 # installation disk/CD-ROM/tape images.
353 #
354 # A port may also specify KERNEL_SUFFIXES, which is an optional list
355 # of filename suffixes for kernels to include in the kernel sets and
356 # in the binary/kernel area of the release package (e.g. "netbsd" vs.
357 # "netbsd.ecoff" and "netbsd.srec"). It is not an error if kernels
358 # with these suffixes do not exist in the kernel build directory.
359 #
360 #
361 # A list of all the kernels to build, which can be overridden from
362 # external sources (such as make(1)'s environment or command line)
363 #
364 ALL_KERNELS?= ${KERNEL_SETS} ${EXTRA_KERNELS} ${BUILD_KERNELS}
365 #
366 GETKERNELAWK= awk '/^config/ {print $$2; found=1} \
367 END{ if (found == 0) print "netbsd"; }'
368 #
369 .if !target(snap_kern) # {
370
371 # build_kernels --
372 # Configure & compile kernels listed in ${ALL_KERNELS}
373 #
374 .if !defined(KERNELS_DONE) # {
375 .for configfile in ${ALL_KERNELS} # {
376 _KERNELS_TO_BUILD+=kern-${configfile}
377 kern-${configfile}:
378 cd ${KERNCONFDIR} && ${CONFIG} -s ${KERNSRCDIR} \
379 -b ${KERNOBJDIR}/${configfile:C/.*\///} ${configfile}
380 .if !defined(UPDATE)
381 cd ${KERNOBJDIR}/${configfile:C/.*\///} && ${MAKE} distclean
382 .endif
383 cd ${KERNOBJDIR}/${configfile:C/.*\///} && ${MAKE} depend && ${MAKE}
384 .endfor # ALL_KERNELS # }
385 .endif # KERNELS_DONE # }
386
387 build_kernels: ${_KERNELS_TO_BUILD}
388
389 # build_kernelsets --
390 # Create kernel sets from ${KERNEL_SETS} into ${RELEASEDIR}/binary/sets
391 #
392 .for configfile in ${KERNEL_SETS} # {
393 _KERNELSETS_TO_BUILD+=kernset-${configfile}
394 kernset-${configfile}:
395 kernlist=`${GETKERNELAWK} ${KERNCONFDIR}/${configfile}`; \
396 kerndir=${KERNOBJDIR}/${configfile:C/.*\///}; \
397 kernsuffixes="${KERNEL_SUFFIXES}"; \
398 cd $${kerndir} && ( \
399 echo "/set uname=${BINOWN} gname=${BINGRP}"; \
400 echo ". type=dir optional"; \
401 for kernel in $${kernlist}; do \
402 echo "./$${kernel} type=file"; \
403 for s in $${kernsuffixes}; do \
404 if [ -f $${kernel}.$${s} ]; then \
405 echo "./$${kernel}.$${s} type=file"; \
406 fi; \
407 done; \
408 done ) | GZIP=-9 ${PAX} -O -zw \
409 -M -N ${NETBSDSRCDIR}/etc \
410 -f ${RELEASEDIR}/binary/sets/kern-${configfile}.tgz
411 .endfor # KERNEL_SETS # }
412
413 build_kernelsets: ${_KERNELSETS_TO_BUILD}
414
415 # build_releasekernels --
416 # Build kernel.gz from ${KERNEL_SETS} ${EXTRA_KERNELS} into
417 # ${RELEASEDIR}/binary/kernel
418 #
419 .for configfile in ${KERNEL_SETS} ${EXTRA_KERNELS} # {
420 _RELEASEKERNELS_TO_BUILD+=releasekern-${configfile}
421 releasekern-${configfile}:
422 kernlist=`${GETKERNELAWK} ${KERNCONFDIR}/${configfile:C/.*\///}`; \
423 kerndir=${KERNOBJDIR}/${configfile:C/.*\///}; \
424 kernsuffixes="${KERNEL_SUFFIXES}"; \
425 cd $${kerndir} && \
426 gziplist=`for kernel in $${kernlist}; do \
427 echo "$${kernel}"; \
428 for s in $${kernsuffixes}; do \
429 if [ -f $${kernel}.$${s} ]; then \
430 echo "$${kernel}.$${s}"; \
431 fi; \
432 done; \
433 done`; \
434 for kernel in $${gziplist} ; do \
435 gzip -c -9 < $${kernel} > \
436 ${RELEASEDIR}/binary/kernel/$${kernel}-${configfile:C/.*\///}.gz ; done
437 .endfor # KERNEL_SETS EXTRA_KERNELS # }
438
439 build_releasekernels: ${_RELEASEKERNELS_TO_BUILD}
440
441 # snap_kern --
442 # build the kernels, then the sets & release kernels
443 snap_kern: check_DESTDIR check_RELEASEDIR .WAIT \
444 build_kernels .WAIT \
445 build_kernelsets build_releasekernels
446
447 .endif # !target(snap_kern) # }
448
449
450 snap_md_post: check_DESTDIR check_RELEASEDIR
451 # nothing here -- look in the machine-dependent Makefile.inc
452
453 .include <bsd.prog.mk>
454