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