Makefile revision 1.27
1# $NetBSD: Makefile,v 1.27 1995/12/09 23:07:02 tls Exp $ 2 3# NOTE THAT etc *DOES NOT* BELONG IN THE LIST BELOW 4 5SUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share games 6SUBDIR+= gnu 7 8SUBDIR+= sys 9 10.if exists(domestic) && !defined(EXPORTABLE_SYSTEM) 11SUBDIR+= domestic 12.endif 13 14.if exists(regress) 15.ifmake !(install) 16SUBDIR+= regress 17.endif 18 19regression-tests: 20 @echo Running regression tests... 21 @(cd ${.CURDIR}/regress && ${MAKE} regress) 22.endif 23 24.include <bsd.own.mk> # for NOMAN, if it's there. 25 26beforeinstall: 27.ifndef DESTDIR 28 (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs) 29.endif 30 31afterinstall: 32.ifndef NOMAN 33 (cd ${.CURDIR}/share/man && ${MAKE} makedb) 34.endif 35 36build: 37.if exists(domestic) 38 {cd ${.CURDIR}/domestic/include && ${MAKE} install) 39.endif 40 (cd ${.CURDIR}/include && ${MAKE} install) 41 ${MAKE} cleandir 42 (cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install) 43 (cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install) 44.if exists(domestic) 45 (cd ${.CURDIR}/domestic/lib/libcrypt && ${MAKE} depend && ${MAKE} && ${MAKE} install) 46.endif 47#.if exists(kerberosIV) 48# (cd ${.CURDIR}/kerberosIV && ${MAKE} depend && ${MAKE} && ${MAKE} install) 49#.endif 50 ${MAKE} depend && ${MAKE} && ${MAKE} install 51 52.include <bsd.subdir.mk> 53