Makefile revision 1.30
11.30Stls#	$NetBSD: Makefile,v 1.30 1996/03/18 09:53:11 tls Exp $
21.4Scgd
31.4Scgd# NOTE THAT etc *DOES NOT* BELONG IN THE LIST BELOW
41.2Scgd
51.14ScgdSUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share games
61.8ScgdSUBDIR+= gnu
71.12Scgd
81.12ScgdSUBDIR+= sys
91.9Scgd
101.21Scgd.if exists(domestic) && !defined(EXPORTABLE_SYSTEM)
111.21ScgdSUBDIR+= domestic
121.21Scgd.endif
131.21Scgd
141.13Sbrezak.if exists(regress)
151.9Scgd.ifmake !(install)
161.9ScgdSUBDIR+= regress
171.9Scgd.endif
181.9Scgd
191.10Scgdregression-tests:
201.10Scgd	@echo Running regression tests...
211.22Scgd	@(cd ${.CURDIR}/regress && ${MAKE} regress)
221.13Sbrezak.endif
231.20Scgd
241.20Scgd.include <bsd.own.mk>	# for NOMAN, if it's there.
251.23Stls
261.26Stlsbeforeinstall:
271.26Stls.ifndef DESTDIR
281.26Stls	(cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs)
291.26Stls.endif
301.15Scgd
311.15Scgdafterinstall:
321.19Scgd.ifndef NOMAN
331.22Scgd	(cd ${.CURDIR}/share/man && ${MAKE} makedb)
341.19Scgd.endif
351.15Scgd
361.15Scgdbuild:
371.26Stls.if exists(domestic)
381.28Sjtc	(cd ${.CURDIR}/domestic/include && ${MAKE} install)
391.26Stls.endif
401.22Scgd	(cd ${.CURDIR}/include && ${MAKE} install)
411.30Stls	(cd ${.CURDIR}/share/mk && ${MAKE} install)
421.17Scgd	${MAKE} cleandir
431.22Scgd	(cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
441.22Scgd	(cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
451.21Scgd.if exists(domestic)
461.27Stls	(cd ${.CURDIR}/domestic/lib/libcrypt && ${MAKE} depend && ${MAKE} && ${MAKE} install)
471.21Scgd.endif
481.17Scgd	${MAKE} depend && ${MAKE} && ${MAKE} install
491.1Scgd
501.1Scgd.include <bsd.subdir.mk>
51