Makefile revision 1.22
11.22Scgd#	$Id: Makefile,v 1.22 1995/02/26 01:10:19 cgd 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.15Scgd
261.15Scgdafterinstall:
271.19Scgd.ifndef NOMAN
281.22Scgd	(cd ${.CURDIR}/share/man && ${MAKE} makedb)
291.19Scgd.endif
301.15Scgd
311.15Scgdbuild:
321.22Scgd	(cd ${.CURDIR}/include && ${MAKE} install)
331.17Scgd	${MAKE} cleandir
341.22Scgd	(cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
351.22Scgd	(cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
361.21Scgd.if exists(domestic)
371.22Scgd	(cd ${.CURDIR}/domestic/libcrypt && ${MAKE} depend && ${MAKE} && ${MAKE} install)
381.21Scgd.endif
391.15Scgd.if exists(kerberosIV)
401.22Scgd	(cd ${.CURDIR}/kerberosIV && ${MAKE} depend && ${MAKE} && ${MAKE} install)
411.15Scgd.endif
421.17Scgd	${MAKE} depend && ${MAKE} && ${MAKE} install
431.1Scgd
441.1Scgd.include <bsd.subdir.mk>
45