Makefile revision 1.31
11.31Stls#	$NetBSD: Makefile,v 1.31 1996/03/18 09:55:25 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.31Stls.else
301.31Stls	(cd ${.CURDIR}/etc && ${MAKE} distrib-dirs)
311.26Stls.endif
321.15Scgd
331.15Scgdafterinstall:
341.19Scgd.ifndef NOMAN
351.22Scgd	(cd ${.CURDIR}/share/man && ${MAKE} makedb)
361.19Scgd.endif
371.15Scgd
381.15Scgdbuild:
391.26Stls.if exists(domestic)
401.28Sjtc	(cd ${.CURDIR}/domestic/include && ${MAKE} install)
411.26Stls.endif
421.22Scgd	(cd ${.CURDIR}/include && ${MAKE} install)
431.30Stls	(cd ${.CURDIR}/share/mk && ${MAKE} install)
441.17Scgd	${MAKE} cleandir
451.22Scgd	(cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
461.22Scgd	(cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
471.21Scgd.if exists(domestic)
481.27Stls	(cd ${.CURDIR}/domestic/lib/libcrypt && ${MAKE} depend && ${MAKE} && ${MAKE} install)
491.21Scgd.endif
501.17Scgd	${MAKE} depend && ${MAKE} && ${MAKE} install
511.1Scgd
521.1Scgd.include <bsd.subdir.mk>
53