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