Makefile revision 1.234
1#	$NetBSD: Makefile,v 1.234 2002/12/17 15:54:59 jdolecek 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
36NOOBJ=		# 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
47TZDIR=		/usr/share/zoneinfo
48LOCALTIME?=	UTC
49PWD_MKDB?=	pwd_mkdb
50MAKESUMS=	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
54MKISOFS?=	mkisofs
55DISTRIBREV!=	sh ${KERNSRCDIR}/conf/osrelease.sh -s
56# ISO 9660 volume ID.  Note that this can only contain [A-Z0-9_].
57ISO_VOLID!=	echo NETBSD_${MACHINE}_${DISTRIBREV} | tr a-z A-Z
58MKISOFS_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 "=".
66BIN1=
67BIN2=
68BIN3=
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.
73INSTALLATION_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--
80BINOWN= root
81BINGRP= wheel
82UTMPGRP= utmp
83BIN1+=	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 etc.${MACHINE}/disktab
93
94.if exists(etc.${MACHINE}/ld.so.conf)
95BIN1+=	etc.${MACHINE}/ld.so.conf
96.endif
97
98.if exists(etc.${MACHINE}/ttyaction)
99BIN1+=	etc.${MACHINE}/ttyaction
100.endif
101
102# -rw-rw-r--
103BIN2+=	motd
104
105# -rw-------
106BIN3+=	hosts.equiv
107
108ETC_PKG=-T etc_pkg
109BASE_PKG=-T base_pkg
110ETC_INSTALL_FILE=${INSTALL_FILE} ${ETC_PKG}
111ETC_INSTALL_LINK=${INSTALL_LINK} ${ETC_PKG}
112ETC_INSTALL_SYMLINK=${INSTALL_SYMLINK} ${ETC_PKG}
113
114NAMEDB=	127 root.cache named.conf localhost loopback.v6
115
116.if make(install-etc-files)						# {
117.include <bsd.endian.mk>
118.if ${TARGET_ENDIANNESS} == "1234"
119TARGET_ENDIANNESS=	-L
120.elif ${TARGET_ENDIANNESS} == "4321"
121TARGET_ENDIANNESS=	-B
122.else
123TARGET_ENDIANNESS=
124.endif
125.endif	# install-etc-files						# }
126
127obj:
128	mkdir -p ${KERNOBJDIR}
129
130distribution: check_DESTDIR .WAIT distrib-dirs
131.if !defined(DISTRIBUTION_DONE)
132.if !defined(INSTALL_DONE)
133	(cd ${NETBSDSRCDIR}; ${MAKE} _DISTRIB= includes)
134	(cd ${NETBSDSRCDIR}; ${MAKE} _DISTRIB= install)
135.endif	# !INSTALL_DONE
136	${MAKE} install-etc-files
137.endif	# !DISTRIBUTION_DONE
138
139install-etc-files: check_DESTDIR
140	${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \
141	    ${BIN1} ${DESTDIR}/etc
142	${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 664 \
143	    ${BIN2} ${DESTDIR}/etc
144	${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 600 \
145	    ${BIN3} ${DESTDIR}/etc
146	${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \
147	    aliases ${DESTDIR}/etc/mail
148	${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \
149	    /dev/null ${DESTDIR}/etc/mail/local-host-names
150	${ETC_INSTALL_FILE} -o root -g wheel -m 600 \
151	    crontab ${DESTDIR}/var/cron/tabs/root
152	${ETC_INSTALL_FILE} -o root -g wheel -m 600 \
153	    master.passwd ${DESTDIR}/etc
154	${PWD_MKDB} -p ${TARGET_ENDIANNESS} -d ${DESTDIR}/ \
155	    ${DESTDIR}/etc/master.passwd
156.if defined(UNPRIVED)
157	( \
158	    echo "/etc/passwd type=file mode=0644 uname=root gname=wheel tags=etc_pkg"; \
159	    echo "/etc/pwd.db type=file mode=0644 uname=root gname=wheel tags=etc_pkg"; \
160	    echo "/etc/spwd.db type=file mode=0600 uname=root gname=wheel tags=etc_pkg"; \
161	) | \
162	    sed -e "s|^/|./${DESTDIR}/|g" -e "s|//|/|g" | ${CAT} -l >>${METALOG}
163.endif	# UNPRIVED
164	${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 555 \
165	    MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev
166	${ETC_INSTALL_FILE} -o root -g wheel -m 600 \
167	    minfree ${DESTDIR}/var/crash
168	(cd root; \
169		${ETC_INSTALL_FILE} -o root -g wheel -m 644 \
170		    dot.cshrc ${DESTDIR}/root/.cshrc; \
171		${ETC_INSTALL_FILE} -o root -g wheel -m 600 \
172		    dot.klogin ${DESTDIR}/root/.klogin; \
173		${ETC_INSTALL_FILE} -o root -g wheel -m 644 \
174		    dot.login ${DESTDIR}/root/.login; \
175		${ETC_INSTALL_FILE} -o root -g wheel -m 644 \
176		    dot.profile ${DESTDIR}/root/.profile; \
177		${ETC_INSTALL_FILE} -o root -g wheel -m 644 \
178		    dot.shrc ${DESTDIR}/root/.shrc; \
179		rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \
180		${ETC_INSTALL_LINK} ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \
181		${ETC_INSTALL_LINK} ${DESTDIR}/root/.profile ${DESTDIR}/.profile)
182	(cd defaults; ${MAKE} install)
183	(cd mtree; ${MAKE} install)
184	(cd namedb; \
185		${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \
186		    ${NAMEDB} ${DESTDIR}/etc/namedb)
187	(cd rc.d; ${MAKE} install)
188	${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
189	    postinstall ${DESTDIR}/etc
190	${ETC_INSTALL_SYMLINK} -o root -g wheel -m 755 \
191	    ${TZDIR}/${LOCALTIME} ${DESTDIR}/etc/localtime
192	${ETC_INSTALL_SYMLINK} -o root -g wheel -m 755 \
193	    /usr/sbin/rmt ${DESTDIR}/etc/rmt
194	${ETC_INSTALL_FILE} -o ${BINOWN} -g operator -m 664 \
195	    /dev/null ${DESTDIR}/etc/dumpdates
196	${ETC_INSTALL_FILE} -o ${BINOWN} -g operator -m 600 \
197	    /dev/null ${DESTDIR}/etc/skeykeys
198	${ETC_INSTALL_FILE} -o root -g wheel -m 600 \
199	    /dev/null ${DESTDIR}/var/at/at.deny
200	${ETC_INSTALL_FILE} -o root -g wheel -m 600 \
201	    /dev/null ${DESTDIR}/var/cron/log
202	${ETC_INSTALL_FILE} -o nobody -g ${BINGRP} -m 664 \
203	    /dev/null ${DESTDIR}/var/db/locate.database
204	${ETC_INSTALL_FILE} -o uucp -g dialer -m 640 \
205	    /dev/null ${DESTDIR}/var/log/aculog
206	${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 600 \
207	    /dev/null ${DESTDIR}/var/log/authlog
208	${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 664 \
209	    /dev/null ${DESTDIR}/var/log/lastlog
210	${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 640 \
211	    /dev/null ${DESTDIR}/var/log/lpd-errs
212	${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 600 \
213	    /dev/null ${DESTDIR}/var/log/maillog
214	${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \
215	    /dev/null ${DESTDIR}/var/log/messages
216	${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 600 \
217	    /dev/null ${DESTDIR}/var/log/secure
218	${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \
219	    /dev/null ${DESTDIR}/var/log/sendmail.st
220	${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \
221	    /dev/null ${DESTDIR}/var/log/wtmp
222	${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \
223	    /dev/null ${DESTDIR}/var/log/wtmpx
224	${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 600 \
225	    /dev/null ${DESTDIR}/var/log/xferlog
226	${ETC_INSTALL_FILE} -o daemon -g staff -m 664 \
227	    /dev/null ${DESTDIR}/var/msgs/bounds
228	${ETC_INSTALL_FILE} -o ${BINOWN} -g ${UTMPGRP} -m 664 \
229	    /dev/null ${DESTDIR}/var/run/utmp
230	${ETC_INSTALL_FILE} -o ${BINOWN} -g ${UTMPGRP} -m 664 \
231	    /dev/null ${DESTDIR}/var/run/utmpx
232	${ETC_INSTALL_FILE} -o games -g games -m 664 \
233	    /dev/null ${DESTDIR}/var/games/atc_scores
234	${ETC_INSTALL_FILE} -o games -g games -m 664 \
235	    /dev/null ${DESTDIR}/var/games/battlestar.log
236	${ETC_INSTALL_FILE} -o games -g games -m 664 \
237	    /dev/null ${DESTDIR}/var/games/cfscores
238	${ETC_INSTALL_FILE} -o games -g games -m 664 \
239	    /dev/null ${DESTDIR}/var/games/criblog
240	${ETC_INSTALL_FILE} -o games -g games -m 660 \
241	    /dev/null ${DESTDIR}/var/games/hackdir/perm
242	${ETC_INSTALL_FILE} -o games -g games -m 660 \
243	    /dev/null ${DESTDIR}/var/games/hackdir/record
244	${ETC_INSTALL_FILE} -o games -g games -m 664 \
245	    /dev/null ${DESTDIR}/var/games/larn/llog12.0
246	${ETC_INSTALL_FILE} -o games -g games -m 664 \
247	    /dev/null ${DESTDIR}/var/games/larn/lscore12.0
248	${ETC_INSTALL_FILE} -o games -g games -m 664 \
249	    /dev/null ${DESTDIR}/var/games/larn/playerids
250	${ETC_INSTALL_FILE} -o games -g games -m 664 \
251	    /dev/null ${DESTDIR}/var/games/robots_roll
252	${ETC_INSTALL_FILE} -o games -g games -m 664 \
253	    /dev/null ${DESTDIR}/var/games/rogue.scores
254	${ETC_INSTALL_FILE} -o games -g games -m 664 \
255	    /dev/null ${DESTDIR}/var/games/saillog
256	${ETC_INSTALL_FILE} -o games -g games -m 664 \
257	    /dev/null ${DESTDIR}/var/games/snakerawscores
258	${ETC_INSTALL_FILE} -o games -g games -m 664 \
259	    /dev/null ${DESTDIR}/var/games/snake.log
260	${ETC_INSTALL_FILE} -o games -g games -m 664 \
261	    /dev/null ${DESTDIR}/var/games/tetris.scores
262	(cd skel; ${MAKE} distribution)
263	(cd ${NETBSDSRCDIR}/usr.bin/mail; ${MAKE} distribution)
264	(cd ${NETBSDSRCDIR}/gnu/usr.sbin/postfix/; ${MAKE} distribution)
265.if (${MKCRYPTO} != "no")
266	(cd ${NETBSDSRCDIR}/usr.bin/ssh; ${MAKE} distribution)
267.endif
268.if !defined(NO_SENDMAIL)
269	(cd ${NETBSDSRCDIR}/gnu/usr.sbin/sendmail/cf/cf; ${MAKE} distribution)
270.endif
271
272distrib-dirs: check_DESTDIR
273	${INSTALL_DIR} -o root -g wheel -m 755 ${BASE_PKG} ${DESTDIR}
274	${MTREE} -def mtree/NetBSD.dist -p ${DESTDIR}/ -U ${UNPRIVED:D-W}
275	rm -f ${DESTDIR}/sys
276	${INSTALL_SYMLINK} -o root -g wheel -m 755 ${BASE_PKG} \
277	    usr/src/sys ${DESTDIR}/sys
278
279release snapshot: check_DESTDIR check_RELEASEDIR .WAIT \
280		    distribution .WAIT \
281		    snap_pre .WAIT snap_kern .WAIT \
282		    snap_post .WAIT snap_md_post
283	(cd ${NETBSDSRCDIR}/distrib/sets; ${MAKE} sets)
284	${MAKESUMS} -t ${RELEASEDIR}/binary/kernel '*.gz'
285
286# Standalone target to create a CDROM image after the release
287# was composed. Should be run after "make build" in both src and xsrc
288iso-image: check_DESTDIR check_RELEASEDIR .WAIT iso-image_md_post
289#	empty target
290
291iso-image_mi: check_DESTDIR check_RELEASEDIR .WAIT iso-image_md_pre
292	@if ${MKISOFS} --version; then \
293		mkdir -p ${RELEASEDIR}/installation/cdrom ; \
294		${MKISOFS} ${MKISOFS_FLAGS} \
295		    -o ${RELEASEDIR}/installation/cdrom/netbsd-${MACHINE}.iso \
296		    ${RELEASEDIR} ; \
297		${MAKESUMS} -t ${RELEASEDIR}/installation/cdrom '*.iso' ; \
298	else \
299		echo "install pkgsrc/sysutils/cdrecord and type 'make iso-image'." ; \
300	fi
301
302# Setup the $RELEASEDIR to produce a bootable CD image:
303iso-image_md_pre: check_DESTDIR check_RELEASEDIR
304#	nothing here -- look in the machine-dependent Makefile.inc
305
306# Fixup the  CD-image to be bootable
307iso-image_md_post: check_DESTDIR check_RELEASEDIR .WAIT iso-image_mi
308#	nothing here -- look in the machine-dependent Makefile.inc
309
310snap_pre: check_DESTDIR check_RELEASEDIR
311# Could be a mount point, ignore the errors
312	-/bin/rm -rf ${RELEASEDIR}
313	${INSTALL} -d -m 755 ${RELEASEDIR}
314.for dir in ${INSTALLATION_DIRS}
315	${INSTALL} -d -m 755 ${RELEASEDIR}/${dir}
316.endfor
317
318snap_post: check_DESTDIR check_RELEASEDIR
319.ifndef UPDATE
320	cd ${NETBSDSRCDIR}/distrib && ${MAKE} cleandir
321.endif
322	cd ${NETBSDSRCDIR}/distrib && ${MAKE} depend && ${MAKE} && \
323	    ${MAKE} release
324
325# snap_kern --
326# This target builds the kernels specified by each port.
327# A port may specify the following kernels:
328#
329#	KERNEL_SETS		The list of kernels that will be
330#				packaged into sets, named
331#				kern-${kernel}.tgz.  These kernels
332#				are also placed in the binary/kernel
333#				area of the release package as
334#				netbsd-${kernel}.gz.
335#
336#	EXTRA_KERNELS		Additional kernels to place in the
337#				binary/kernel area of the release
338#				package as netbsd-${kernel}.gz, but
339#				which are not placed into sets. This
340#				allows a port to provide e.g. a netbootable
341#				installation kernel containing a ramdisk.
342#
343#	BUILD_KERNELS		Additional kernels to build which are
344#				not placed into sets nor into the
345#				binary/kernel area of the release
346#				package.  These are typically kernels
347#				that are built for inclusion only in
348#				installation disk/CD-ROM/tape images.
349#
350# A port may also specify KERNEL_SUFFIXES, which is an optional list
351# of filename suffixes for kernels to include in the kernel sets and
352# in the binary/kernel area of the release package (e.g. "netbsd" vs.
353# "netbsd.ecoff" and "netbsd.srec").  It is not an error if kernels
354# with these suffixes do not exist in the kernel build directory.
355#
356#
357# A list of all the kernels to build, which can be overridden from
358# external sources (such as make(1)'s environment or command line)
359#
360ALL_KERNELS?=	${KERNEL_SETS} ${EXTRA_KERNELS} ${BUILD_KERNELS}
361#
362GETKERNELAWK=	awk '/^config/ {print $$2; found=1} \
363		END{ if (found == 0) print "netbsd"; }'
364#
365.if !target(snap_kern)						# {
366
367# build_kernels --
368#	Configure & compile kernels listed in ${ALL_KERNELS}
369#
370.if !defined(KERNELS_DONE)						# {
371.for configfile in ${ALL_KERNELS}					# {
372_KERNELS_TO_BUILD+=kern-${configfile}
373kern-${configfile}:
374	cd ${KERNCONFDIR} && ${CONFIG} -s ${KERNSRCDIR} \
375	    -b ${KERNOBJDIR}/${configfile:C/.*\///} ${configfile}
376.if !defined(UPDATE)
377	cd ${KERNOBJDIR}/${configfile:C/.*\///} && ${MAKE} distclean
378.endif
379	cd ${KERNOBJDIR}/${configfile:C/.*\///} && ${MAKE} depend && ${MAKE}
380.endfor	# ALL_KERNELS							# }
381.endif	# KERNELS_DONE							# }
382
383build_kernels: ${_KERNELS_TO_BUILD}
384
385# build_kernelsets --
386#	Create kernel sets from ${KERNEL_SETS} into ${RELEASEDIR}/binary/sets
387#
388.for configfile in ${KERNEL_SETS}					# {
389_KERNELSETS_TO_BUILD+=kernset-${configfile}
390kernset-${configfile}:
391	kernlist=`${GETKERNELAWK} ${KERNCONFDIR}/${configfile}`; \
392	kerndir=${KERNOBJDIR}/${configfile:C/.*\///}; \
393	kernsuffixes="${KERNEL_SUFFIXES}"; \
394	cd $${kerndir} && ( \
395		echo "/set uname=${BINOWN} gname=${BINGRP}"; \
396		echo ". type=dir optional"; \
397		for kernel in $${kernlist}; do \
398			echo "./$${kernel} type=file"; \
399			for s in $${kernsuffixes}; do \
400				if [ -f $${kernel}.$${s} ]; then \
401					echo "./$${kernel}.$${s} type=file"; \
402				fi; \
403			done; \
404		done ) | GZIP=-9 ${PAX} -zw \
405		    -M ${UNPRIVED:D-N${NETBSDSRCDIR}/etc} \
406		    -f ${RELEASEDIR}/binary/sets/kern-${configfile}.tgz
407.endfor	# KERNEL_SETS							# }
408
409build_kernelsets: ${_KERNELSETS_TO_BUILD}
410
411# build_releasekernels --
412#	Build kernel.gz from ${KERNEL_SETS} ${EXTRA_KERNELS} into
413#	${RELEASEDIR}/binary/kernel
414#
415.for configfile in ${KERNEL_SETS} ${EXTRA_KERNELS}			# {
416_RELEASEKERNELS_TO_BUILD+=releasekern-${configfile}
417releasekern-${configfile}:
418	kernlist=`${GETKERNELAWK} ${KERNCONFDIR}/${configfile:C/.*\///}`; \
419	kerndir=${KERNOBJDIR}/${configfile:C/.*\///}; \
420	kernsuffixes="${KERNEL_SUFFIXES}"; \
421	cd $${kerndir} &&	\
422		gziplist=`for kernel in $${kernlist}; do \
423			echo "$${kernel}"; \
424			for s in $${kernsuffixes}; do \
425				if [ -f $${kernel}.$${s} ]; then \
426					echo "$${kernel}.$${s}"; \
427				fi; \
428			done; \
429		done`; \
430		for kernel in $${gziplist} ; do \
431		gzip -c -9 < $${kernel} > \
432		    ${RELEASEDIR}/binary/kernel/$${kernel}-${configfile:C/.*\///}.gz ; done
433.endfor	# KERNEL_SETS EXTRA_KERNELS					# }
434
435build_releasekernels: ${_RELEASEKERNELS_TO_BUILD}
436
437# snap_kern --
438#	build the kernels, then the sets & release kernels
439snap_kern: check_DESTDIR check_RELEASEDIR .WAIT \
440	    build_kernels .WAIT \
441	    build_kernelsets build_releasekernels
442
443.endif # !target(snap_kern)					# }
444
445
446snap_md_post: check_DESTDIR check_RELEASEDIR
447#	nothing here -- look in the machine-dependent Makefile.inc
448
449.include <bsd.prog.mk>
450