version 1.3, 1995/12/17 05:53:11 |
version 1.9, 1996/05/14 19:10:34 |
|
|
|
# $OpenBSD$ |
# $NetBSD: Makefile,v 1.25 1995/10/09 02:11:28 thorpej Exp $ |
# $NetBSD: Makefile,v 1.25 1995/10/09 02:11:28 thorpej Exp $ |
|
|
|
.include <bsd.own.mk> # for NOMAN, if it's there. |
|
|
# NOTE THAT etc *DOES NOT* BELONG IN THE LIST BELOW |
# NOTE THAT etc *DOES NOT* BELONG IN THE LIST BELOW |
|
|
SUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share games |
SUBDIR+= lib include bin libexec sbin usr.bin usr.sbin share games |
SUBDIR+= gnu |
SUBDIR+= gnu |
|
|
SUBDIR+= sys |
SUBDIR+= sys lkm |
|
|
|
.if defined(KERBEROS) |
SUBDIR+= kerberosIV |
SUBDIR+= kerberosIV |
|
.endif |
|
|
.if exists(regress) |
.if exists(regress) |
.ifmake !(install) |
.ifmake !(install) |
|
|
@(cd ${.CURDIR}/regress && ${MAKE} regress) |
@(cd ${.CURDIR}/regress && ${MAKE} regress) |
.endif |
.endif |
|
|
.include <bsd.own.mk> # for NOMAN, if it's there. |
beforeinstall: |
|
.ifndef DESTDIR |
|
(cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs) |
|
.else |
|
(cd ${.CURDIR}/etc && ${MAKE} distrib-dirs) |
|
.endif |
|
(cd ${.CURDIR}/include; ${MAKE} includes) |
|
|
#beforeinstall: |
|
# (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs) |
|
|
|
afterinstall: |
afterinstall: |
.ifndef NOMAN |
.ifndef NOMAN |
(cd ${.CURDIR}/share/man && ${MAKE} makedb) |
(cd ${.CURDIR}/share/man && ${MAKE} makedb) |
.endif |
.endif |
|
|
build: |
build: |
(cd ${.CURDIR}/include && ${MAKE} install) |
(cd ${.CURDIR}/share/mk && ${MAKE} install) |
|
(cd ${.CURDIR}/include; ${MAKE} includes) |
|
.if defined(KERBEROS) |
|
(cd ${.CURDIR}/kerberosIV/include && ${MAKE} install) |
|
.endif |
${MAKE} cleandir |
${MAKE} cleandir |
(cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install) |
(cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install) |
(cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install) |
(cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install) |
|
.if defined(KERBEROS) |
(cd ${.CURDIR}/kerberosIV && ${MAKE} build) |
(cd ${.CURDIR}/kerberosIV && ${MAKE} build) |
|
.endif |
${MAKE} depend && ${MAKE} && ${MAKE} install |
${MAKE} depend && ${MAKE} && ${MAKE} install |
|
|
.include <bsd.subdir.mk> |
.include <bsd.subdir.mk> |