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

Annotation of src/Makefile, Revision 1.9

1.8       deraadt     1: #      $OpenBSD: Makefile,v 1.7 1996/05/06 20:31:44 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
                     26:
1.7       deraadt    27: beforeinstall:
                     28: .ifndef DESTDIR
                     29:        (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs)
                     30: .else
                     31:        (cd ${.CURDIR}/etc && ${MAKE} distrib-dirs)
                     32: .endif
1.9     ! deraadt    33:        (cd ${.CURDIR}/include; ${MAKE} includes)
1.1       deraadt    34:
                     35: afterinstall:
                     36: .ifndef NOMAN
                     37:        (cd ${.CURDIR}/share/man && ${MAKE} makedb)
                     38: .endif
                     39:
                     40: build:
1.6       mickey     41:        (cd ${.CURDIR}/share/mk && ${MAKE} install)
1.8       deraadt    42:        (cd ${.CURDIR}/include; ${MAKE} includes)
1.6       mickey     43: .if defined(KERBEROS)
                     44:        (cd ${.CURDIR}/kerberosIV/include && ${MAKE} install)
                     45: .endif
1.1       deraadt    46:        ${MAKE} cleandir
                     47:        (cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
                     48:        (cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
1.4       tholo      49: .if defined(KERBEROS)
1.2       tholo      50:        (cd ${.CURDIR}/kerberosIV && ${MAKE} build)
1.4       tholo      51: .endif
1.1       deraadt    52:        ${MAKE} depend && ${MAKE} && ${MAKE} install
                     53:
                     54: .include <bsd.subdir.mk>