Makefile revision 1.39
11.39Schristos#	$NetBSD: Makefile,v 1.39 1997/03/24 22:22:15 christos Exp $
21.32Scgd
31.32Scgd.include <bsd.own.mk>			# for configuration variables.
41.4Scgd
51.4Scgd# NOTE THAT etc *DOES NOT* BELONG IN THE LIST BELOW
61.2Scgd
71.36SexplorerSUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share
81.36Sexplorer
91.36Sexplorer.if exists(games)
101.36SexplorerSUBDIR+= games
111.36Sexplorer.endif
121.36Sexplorer
131.8ScgdSUBDIR+= gnu
141.12Scgd
151.12ScgdSUBDIR+= sys
161.9Scgd
171.21Scgd.if exists(domestic) && !defined(EXPORTABLE_SYSTEM)
181.21ScgdSUBDIR+= domestic
191.21Scgd.endif
201.21Scgd
211.13Sbrezak.if exists(regress)
221.9Scgd.ifmake !(install)
231.9ScgdSUBDIR+= regress
241.9Scgd.endif
251.9Scgd
261.10Scgdregression-tests:
271.10Scgd	@echo Running regression tests...
281.22Scgd	@(cd ${.CURDIR}/regress && ${MAKE} regress)
291.13Sbrezak.endif
301.20Scgd
311.26Stlsbeforeinstall:
321.26Stls.ifndef DESTDIR
331.26Stls	(cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs)
341.31Stls.else
351.31Stls	(cd ${.CURDIR}/etc && ${MAKE} distrib-dirs)
361.26Stls.endif
371.15Scgd
381.15Scgdafterinstall:
391.19Scgd.ifndef NOMAN
401.22Scgd	(cd ${.CURDIR}/share/man && ${MAKE} makedb)
411.19Scgd.endif
421.15Scgd
431.15Scgdbuild:
441.32Scgd	(cd ${.CURDIR}/share/mk && ${MAKE} install)
451.33Sjtc	${MAKE} includes
461.39Schristos.if !defined(UPDATE)
471.17Scgd	${MAKE} cleandir
481.39Schristos.endif
491.38Scgd	(cd ${.CURDIR}/lib/csu && ${MAKE} depend && ${MAKE} && ${MAKE} install)
501.22Scgd	(cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
511.22Scgd	(cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
521.32Scgd.if exists(domestic) && !defined(EXPORTABLE_SYSTEM)
531.37Scjs	(cd ${.CURDIR}/domestic/lib/ && ${MAKE} depend && ${MAKE} && \
541.32Scgd	    ${MAKE} install)
551.21Scgd.endif
561.17Scgd	${MAKE} depend && ${MAKE} && ${MAKE} install
571.1Scgd
581.1Scgd.include <bsd.subdir.mk>
59