Makefile revision 1.162
11.162Slukem#	$NetBSD: Makefile,v 1.162 2000/10/01 05:51:09 lukem Exp $
21.66Smikel#	from: @(#)Makefile	8.7 (Berkeley) 5/25/95
31.1Scgd
41.96Scjs# Environment variables without default values:
51.96Scjs#   DESTDIR must be set before anything in this file will work.
61.96Scjs#   RELEASEDIR is where the tarred up stuff for a snapshot or
71.96Scjs#	release will be placed.
81.96Scjs#
91.96Scjs# Environment variables with default values:
101.96Scjs#   LOCALTIME will set the default local time for the system you
111.96Scjs#	build; it determines what /etc/localtime is symlink'd to.
121.96Scjs#   KERNSRCDIR points to kernel source; it is set by default to ../sys,
131.96Scjs#	but can be overridden.
141.96Scjs#   KERNOBJDIR is the kernel build directory, it defaults to
151.96Scjs#	${KERNSRCDIR}/arch/${MACHINE}/compile/KERNELNAME, but can be
161.96Scjs#	overridden.
171.96Scjs#   KERNCONFDIR is where the configuration files for kernels are found;
181.96Scjs#	default is ${KERNSRCDIR}/arch/${MACHINE}/conf but can be overridden.
191.97Scjs#   UPDATE is normally undefined; if defined, don't do a 'make clean'
201.97Scjs#	before kernel compile
211.96Scjs#   NO_SENDMAIL is normally undefined; if defined, it will not do a
221.96Scjs#	`make distribution' in the sendmail config file source directory.
231.96Scjs#   EXTRA_KERNELS has a machine-dependent list of kernels to build added
241.96Scjs#	to it, but you may also set this to have extra ones built.
251.119Sross#   BUILD_KERNELS are a machine-dependent list of kernels that should just
261.119Sross#	be built in place but not made into sets or installed, e.g., an
271.119Sross#	INSTALL kernel used later in src/distrib/.
281.154Sthorpej#
291.96Scjs# Targets:
301.96Scjs#    distribution: makes a full NetBSD distribution in DESTDIR. If
311.96Scjs#	INSTALL_DONE is set, it will not do a `make install.'
321.96Scjs#    distrib-dirs: creates an empty NetBSD directory tree in DESTDIR.
331.96Scjs#	Called by distribution.
341.96Scjs#    snapshot: calls distribution, above, and then tars up the files
351.96Scjs#	into a release(7) format in RELEASEDIR. Any port-dependent
361.96Scjs#	stuff for this target is found in etc.${MACHINE}/Makefile.inc.
371.106Scjs#    release: a synonym for `snapshot'
381.96Scjs
391.149Ssjg# do this before bsd.own.mk so we get correct KERNSRCDIR
401.145Ssjg.include "../Makefile.inc"
411.145Ssjg
421.155Sthorpej# For NO_SENDMAIL, INSTPRIV, MKCRYPTO
431.90Skim.include <bsd.own.mk>
441.90Skim
451.23ScgdTZDIR=		/usr/share/zoneinfo
461.157SkleinkLOCALTIME?=	UTC
471.19Sderaadt
481.161Shubertf# Flags for creating ISO CDROM image
491.161Shubertf# mkisofs is expected to be in $PATH, install via pkgsrc/sysutils/cdrecord
501.161ShubertfMKISOFS?=	mkisofs
511.161ShubertfMKISOFS_FLAGS+= -J -l \
521.161Shubertf		-r -T -v \
531.161Shubertf		-P "The NetBSD Project" \
541.161Shubertf		-m "${RELEASEDIR}/instalation/cdrom"
551.161Shubertf
561.55Sperry# setting NOOBJ prevents "make obj" from doing anything;
571.55Sperry# an objdir would break the installation stuff below
581.101SlukemMKOBJ=	no
591.1Scgd
601.80Sjonathan# MD Makefile.inc may append MD targets to BIN[123].  Make sure all
611.80Sjonathan# are empty, to preserve the old semantics of setting them below with "=".
621.80SjonathanBIN1=	
631.80SjonathanBIN2=
641.80SjonathanBIN3=
651.80Sjonathan
661.117Ssimonb# Directories to build in ${RELEASEDIR}.   MD Makefile.inc files can
671.117Ssimonb# add to this.
681.117Ssimonb# NOTE: Parent directories must be listed before subdirectories.
691.117SsimonbINSTALLATION_DIRS= \
701.158Sfvdl	binary binary/sets binary/kernel installation
711.117Ssimonb
721.71Scjs.if exists(etc.${MACHINE}/Makefile.inc)
731.71Scjs.include "etc.${MACHINE}/Makefile.inc"
741.71Scjs.endif
751.32Sjtc
761.96Scjs# Use multiple jobs for kernel builds, if NBUILDJOBS set.
771.96Scjs# (Taken from src/Makefile.)
781.96Scjs.if defined(NBUILDJOBS)
791.96Scjs_J= -j${NBUILDJOBS}
801.96Scjs.endif
811.96Scjs
821.21Scgd# -rw-r--r--
831.21ScgdBINOWN= root
841.21ScgdBINGRP= wheel
851.131SveegoBIN1+=	bootptab changelist csh.cshrc csh.login csh.logout daily \
861.131Sveego	daily.conf dm.conf floppytab ftpchroot ftpusers ftpwelcome \
871.131Sveego	gettytab group hosts hosts.lpd inetd.conf lkm.conf \
881.131Sveego	mailer.conf man.conf monthly monthly.conf mrouted.conf \
891.151Sfvdl	netconfig networks newsyslog.conf nsswitch.conf ntp.conf \
901.131Sveego	phones printcap profile protocols rbootd.conf rc rc.conf \
911.159Slukem	rc.lkm rc.local rc.subr rc.shutdown remote rpc \
921.142Stsarna	security security.conf services shells sysctl.conf syslog.conf \
931.142Stsarna	weekly weekly.conf wscons.conf \
941.109Sdrochner	etc.${MACHINE}/ttys etc.${MACHINE}/disktab
951.105Smycroft
961.121Sfvdl.if	(${MACHINE_ARCH} == "m68k") || \
971.105Smycroft	(${MACHINE_ARCH} == "ns32k") || \
981.105Smycroft	(${MACHINE_ARCH} == "vax") || \
991.105Smycroft	(${MACHINE_ARCH} == "arm32")
1001.129SchristosBIN1+=	ld.so.conf
1011.129Schristos.elif exists(etc.${MACHINE_ARCH}/ld.so.conf)
1021.132SjlamBIN1+=	etc.${MACHINE_ARCH}/ld.so.conf
1031.152Sperry.endif
1041.152Sperry
1051.152Sperry.if exists(etc.${MACHINE_ARCH}/ttyaction)
1061.152SperryBIN1+=	etc.${MACHINE_ARCH}/ttyaction
1071.105Smycroft.endif
1081.120Sitojun
1091.120Sitojun# IPv6
1101.120SitojunBIN1+=	rtadvd.conf
1111.1Scgd
1121.46Sderaadt# -rw-rw-r--
1131.80SjonathanBIN2+=	motd
1141.1Scgd
1151.77Smycroft# -rw-------
1161.80SjonathanBIN3+=	hosts.equiv
1171.77Smycroft
1181.144SthorpejNAMEDB=	127 root.cache named.conf localhost loopback.v6
1191.1ScgdPCS=	pcs750.bin
1201.1Scgd
1211.88Slukemall clean cleandir depend distclean etc includes install lint:
1221.1Scgd
1231.149Ssjg.include <bsd.kernobj.mk>
1241.149Ssjg
1251.149Ssjgobj:
1261.149Ssjg	mkdir -p ${KERNOBJDIR}
1271.149Ssjg
1281.34Scgd.ifndef DESTDIR
1291.161Shubertfdistribution distrib-dirs release snapshot snap_pre snap_md_pre \
1301.161Shubertfsnap_md_post iso-image:
1311.36Scgd	@echo setenv DESTDIR before doing that!
1321.34Scgd	@false
1331.34Scgd.else
1341.7Scgddistribution: distrib-dirs
1351.87Sperry.if !defined(INSTALL_DONE)
1361.107Sscottr	(cd ..; ${MAKE} _DISTRIB= includes)
1371.107Sscottr	(cd ..; ${MAKE} _DISTRIB= install)
1381.87Sperry.endif
1391.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} \
1401.124Ssimonb	    ${DESTDIR}/etc
1411.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 664 ${BIN2} \
1421.124Ssimonb	    ${DESTDIR}/etc
1431.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 600 ${BIN3} \
1441.124Ssimonb	    ${DESTDIR}/etc
1451.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 aliases \
1461.147Sitojun	    ${DESTDIR}/etc/mail
1471.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 crontab \
1481.56Sthorpej	    ${DESTDIR}/var/cron/tabs/root
1491.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 master.passwd \
1501.124Ssimonb	    ${DESTDIR}/etc
1511.68Sperry	pwd_mkdb -p -d ${DESTDIR}/ ${DESTDIR}/etc/master.passwd
1521.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 555 \
1531.1Scgd	     MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev
1541.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 minfree \
1551.73Sperry	    ${DESTDIR}/var/crash
1561.1Scgd	(cd root; \
1571.124Ssimonb		${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 644 dot.cshrc \
1581.1Scgd		    ${DESTDIR}/root/.cshrc; \
1591.124Ssimonb		${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 dot.klogin \
1601.1Scgd		    ${DESTDIR}/root/.klogin; \
1611.124Ssimonb		${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 644 dot.login \
1621.1Scgd		    ${DESTDIR}/root/.login; \
1631.124Ssimonb		${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 644 dot.profile \
1641.1Scgd		    ${DESTDIR}/root/.profile; \
1651.128Smycroft		${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 644 dot.shrc \
1661.128Smycroft		    ${DESTDIR}/root/.shrc; \
1671.1Scgd		rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \
1681.1Scgd		ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \
1691.1Scgd		ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile)
1701.162Slukem	(cd defaults; ${MAKE} install)
1711.83Smrg	(cd mtree; ${MAKE} install)
1721.63Smikel	(cd namedb; \
1731.124Ssimonb		${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
1741.124Ssimonb		    ${NAMEDB} ${DESTDIR}/etc/namedb)
1751.140Slukem	(cd rc.d; ${MAKE} install)
1761.19Sderaadt	/bin/rm -f ${DESTDIR}/etc/localtime
1771.19Sderaadt	ln -s ${TZDIR}/${LOCALTIME} ${DESTDIR}/etc/localtime
1781.48Sderaadt	/bin/rm -f ${DESTDIR}/etc/rmt
1791.48Sderaadt	ln -s /usr/sbin/rmt ${DESTDIR}/etc/rmt
1801.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g operator -m 664 /dev/null \
1811.32Sjtc		${DESTDIR}/etc/dumpdates
1821.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g operator -m 600 /dev/null \
1831.44Sderaadt		${DESTDIR}/etc/skeykeys
1841.127Sperry	${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 /dev/null \
1851.127Sperry		${DESTDIR}/var/at/at.deny
1861.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 /dev/null \
1871.38Scgd		${DESTDIR}/var/cron/log
1881.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o nobody -g ${BINGRP} -m 664 /dev/null \
1891.32Sjtc		${DESTDIR}/var/db/locate.database
1901.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o uucp -g dialer -m 640 /dev/null \
1911.113Sfair		${DESTDIR}/var/log/aculog
1921.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
1931.69Sperry		${DESTDIR}/var/log/authlog
1941.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
1951.32Sjtc		${DESTDIR}/var/log/lastlog
1961.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 640 /dev/null \
1971.32Sjtc		${DESTDIR}/var/log/lpd-errs
1981.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
1991.32Sjtc		${DESTDIR}/var/log/maillog
2001.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
2011.32Sjtc		${DESTDIR}/var/log/messages
2021.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
2031.58Slukem		${DESTDIR}/var/log/secure
2041.137Smycroft	${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
2051.137Smycroft		${DESTDIR}/var/log/sendmail.st
2061.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
2071.32Sjtc		${DESTDIR}/var/log/wtmp
2081.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
2091.69Sperry		${DESTDIR}/var/log/xferlog
2101.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o daemon -g staff -m 664 /dev/null \
2111.39Scgd		${DESTDIR}/var/msgs/bounds
2121.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
2131.32Sjtc		${DESTDIR}/var/run/utmp
2141.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \
2151.81Smrg		${DESTDIR}/var/games/atc_scores
2161.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \
2171.81Smrg		${DESTDIR}/var/games/battlestar.log
2181.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \
2191.81Smrg		${DESTDIR}/var/games/cfscores
2201.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \
2211.82Sperry		${DESTDIR}/var/games/criblog
2221.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \
2231.81Smrg		${DESTDIR}/var/games/robots_roll
2241.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \
2251.81Smrg		${DESTDIR}/var/games/rogue.scores
2261.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \
2271.81Smrg		${DESTDIR}/var/games/saillog
2281.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \
2291.81Smrg		${DESTDIR}/var/games/snakerawscores
2301.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \
2311.81Smrg		${DESTDIR}/var/games/snake.log
2321.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \
2331.81Smrg		${DESTDIR}/var/games/tetris.scores
2341.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \
2351.81Smrg		${DESTDIR}/var/games/larn/llog12.0
2361.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \
2371.81Smrg		${DESTDIR}/var/games/larn/lscore12.0
2381.124Ssimonb	${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \
2391.81Smrg		${DESTDIR}/var/games/larn/playerids
2401.124Ssimonb	(cd etc.${MACHINE}; ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} \
2411.124Ssimonb	    -g ${BINGRP} -m 444 fstab.* ${DESTDIR}/etc)
2421.49Stls	(cd ${DESTDIR}/dev; ./MAKEDEV all)
2431.62Sperry	(cd ../usr.bin/mail; ${MAKE} distribution)
2441.143Sperry	(cd ../gnu/usr.sbin/postfix/; ${MAKE} distribution)
2451.155Sthorpej.if (${MKCRYPTO} != "no")
2461.155Sthorpej	(cd ../usr.bin/ssh; ${MAKE} distribution)
2471.155Sthorpej.endif
2481.90Skim.ifndef NO_SENDMAIL
2491.133Stron	(cd ../gnu/usr.sbin/sendmail/cf/cf; ${MAKE} distribution)
2501.153Sfredb	${DESTDIR}/usr/libexec/sendmail/sendmail -C ${DESTDIR}/etc/mail/sendmail.cf -O AliasFile=${DESTDIR}/etc/mail/aliases -O DontBlameSendmail=MapInUnsafeDirPath -bi
2511.90Skim.endif
2521.1Scgd
2531.7Scgddistrib-dirs:
2541.124Ssimonb	${INSTALL} ${INSTPRIV} -d -o root -g wheel -m 755 ${DESTDIR}
2551.67Sperry	-mtree -def mtree/NetBSD.dist -p ${DESTDIR}/ -u
2561.28Sjtc	cd ${DESTDIR}; rm -f sys; ln -s usr/src/sys sys
2571.99Scjs
2581.96Scjs.if !defined(RELEASEDIR)
2591.161Shubertfrelease snapshot snap_pre snap_md_pre snap_md_post iso-image:
2601.96Scjs	@echo setenv RELEASEDIR before doing that!
2611.96Scjs	@false
2621.96Scjs.else
2631.117Ssimonbrelease snapshot: distribution snap_pre snap_md_pre snap_kern snap_md_post
2641.141Sthorpej	(cd ../distrib/sets; ${MAKE} sets)
2651.123Sis	sh ../distrib/sets/makesums -t ${RELEASEDIR}/binary/kernel '*.gz'
2661.161Shubertf
2671.161Shubertf# Standalone target to create a CDROM image after the release
2681.161Shubertf# was composed. Should be run after "make build" in both src and xsrc
2691.161Shubertfiso-image: iso-image_md_post
2701.161Shubertf
2711.161Shubertfiso-image_mi: iso-image_md_pre
2721.161Shubertf	@if ${MKISOFS} --version; then \
2731.161Shubertf		mkdir -p ${RELEASEDIR}/installation/cdrom ; \
2741.161Shubertf		${MKISOFS} ${MKISOFS_FLAGS} \
2751.161Shubertf			-o ${RELEASEDIR}/installation/cdrom/netbsd-${MACHINE}.iso \
2761.161Shubertf			${RELEASEDIR} ; \
2771.161Shubertf		sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/cdrom '*.iso' ; \
2781.161Shubertf	else \
2791.161Shubertf		echo "install pkgsrc/sysutils/cdrecord and type 'make iso-image'." ; \
2801.161Shubertf	fi
2811.161Shubertf
2821.161Shubertf# Setup the $RELEASEDIR to produce a bootable CD image:
2831.161Shubertfiso-image_md_pre:
2841.161Shubertf# nothing here -- look in the machine-dependent Makefile.inc
2851.161Shubertf
2861.161Shubertf# Fixup the  CD-image to be bootable
2871.161Shubertfiso-image_md_post: iso-image_mi
2881.161Shubertf# nothing here -- look in the machine-dependent Makefile.inc
2891.41Scgd
2901.41Scgdsnap_pre:
2911.96Scjs	/bin/rm -rf ${RELEASEDIR}
2921.124Ssimonb	${INSTALL} ${INSTPRIV} -d -o root -g wheel -m 755 ${RELEASEDIR}
2931.117Ssimonb.for dir in ${INSTALLATION_DIRS}
2941.124Ssimonb	${INSTALL} ${INSTPRIV} -d -o root -g wheel -m 755 ${RELEASEDIR}/${dir}
2951.117Ssimonb.endfor
2961.96Scjs
2971.96Scjs
2981.96Scjs# This target builds the GENERIC kernel (which must exist for all
2991.96Scjs# ports) and puts it in binary/sets/kern.tgz, and also builds any
3001.114Sfair# kernels specified in EXTRA_KERNELS. Since NetBSD's kernel build
3011.114Sfair# system can create more than one kernel from a single configuration
3021.114Sfair# we figure out how many there are, what they're named, and move them
3031.114Sfair# to binary/kernel/${KERNEL}.${CONFIGFILE}.gz - most often KERNEL will
3041.116Sfair# simply be "netbsd". If we don't find the "config" line, assume the
3051.116Sfair# kernel will be "netbsd" (some config files are simple additions on
3061.116Sfair# GENERIC, and just include it).
3071.116Sfair#
3081.116SfairGETKERNELAWK=	awk '/^config/ {print $$2; found=1} \
3091.116Sfair		END{ if (found == 0) print "netbsd"; }'
3101.96Scjs#
3111.118Sgwr.if !target(snap_kern)
3121.96Scjssnap_kern:
3131.145Ssjg.ifndef KERNELS_DONE
3141.135Smycroft.for configfile in GENERIC ${EXTRA_KERNELS} ${BUILD_KERNELS}
3151.125Ssommerfe	cd ${KERNCONFDIR} && ${CONFIG} \
3161.135Smycroft		-b ${KERNOBJDIR}/${configfile} -s ${KERNSRCDIR} ${configfile}
3171.97Scjs.ifndef UPDATE
3181.135Smycroft	cd ${KERNOBJDIR}/${configfile} && ${MAKE} clean 
3191.96Scjs.endif
3201.135Smycroft	cd ${KERNOBJDIR}/${configfile} && ${MAKE} depend && ${MAKE} ${_J}
3211.135Smycroft.endfor # kernels
3221.96Scjs	cd ${KERNOBJDIR}/GENERIC &&	\
3231.116Sfair		tar cf - `${GETKERNELAWK} ${KERNCONFDIR}/GENERIC` |\
3241.96Scjs		gzip -c -9 > ${RELEASEDIR}/binary/sets/kern.tgz
3251.135Smycroft.for configfile in GENERIC ${EXTRA_KERNELS}
3261.114Sfair	cd ${KERNOBJDIR}/${configfile} &&	\
3271.116Sfair		for kernel in `${GETKERNELAWK} \
3281.114Sfair			${KERNCONFDIR}/${configfile}` ; {   \
3291.114Sfair		gzip -c -9 < $${kernel} > \
3301.114Sfair			${RELEASEDIR}/binary/kernel/$${kernel}.${configfile}.gz ; }
3311.96Scjs.endfor # EXTRA_KERNELS
3321.145Ssjg.endif # KERNELS_DONE
3331.118Sgwr.endif # no target(snap_kern)
3341.108Sdrochner
3351.96Scjs.endif # RELEASEDIR check
3361.41Scgd
3371.117Ssimonbsnap_md_pre:
3381.117Ssimonb# nothing here -- look in the machine-dependent Makefile.inc
3391.117Ssimonb
3401.117Ssimonbsnap_md_post:
3411.41Scgd# nothing here -- look in the machine-dependent Makefile.inc
3421.41Scgd
3431.34Scgd.endif	# DESTDIR check
3441.7Scgd
3451.1Scgd.include <bsd.prog.mk>
346