[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src

Annotation of src/Makefile, Revision 1.5

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:
1.5     ! tholo       8: SUBDIR+= sys lkm
1.1       deraadt     9:
1.4       tholo      10: .include <bsd.own.mk>  # for NOMAN, if it's there.
                     11:
                     12: .if defined(KERBEROS)
1.2       tholo      13: SUBDIR+= kerberosIV
1.4       tholo      14: .endif
1.2       tholo      15:
1.1       deraadt    16: .if exists(regress)
                     17: .ifmake !(install)
                     18: SUBDIR+= regress
                     19: .endif
                     20:
                     21: regression-tests:
                     22:        @echo Running regression tests...
                     23:        @(cd ${.CURDIR}/regress && ${MAKE} regress)
                     24: .endif
                     25:
                     26: #beforeinstall:
                     27: #      (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs)
                     28:
                     29: afterinstall:
                     30: .ifndef NOMAN
                     31:        (cd ${.CURDIR}/share/man && ${MAKE} makedb)
                     32: .endif
                     33:
                     34: build:
                     35:        (cd ${.CURDIR}/include && ${MAKE} install)
                     36:        ${MAKE} cleandir
                     37:        (cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
                     38:        (cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
1.4       tholo      39: .if defined(KERBEROS)
1.2       tholo      40:        (cd ${.CURDIR}/kerberosIV && ${MAKE} build)
1.4       tholo      41: .endif
1.1       deraadt    42:        ${MAKE} depend && ${MAKE} && ${MAKE} install
                     43:
                     44: .include <bsd.subdir.mk>