version 1.5, 1996/03/02 21:04:11 |
version 1.13, 1996/12/13 15:45:58 |
|
|
|
# $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+= sys lkm |
SUBDIR+= sys lkm |
|
|
.include <bsd.own.mk> # for NOMAN, if it's there. |
|
|
|
.if defined(KERBEROS) |
.if defined(KERBEROS) |
SUBDIR+= kerberosIV |
SUBDIR+= kerberosIV |
.endif |
.endif |
|
|
@(cd ${.CURDIR}/regress && ${MAKE} regress) |
@(cd ${.CURDIR}/regress && ${MAKE} regress) |
.endif |
.endif |
|
|
#beforeinstall: |
includes: |
# (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs) |
(cd ${.CURDIR}/include; ${MAKE} includes) |
|
|
|
beforeinstall: |
|
.ifndef DESTDIR |
|
(cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs) |
|
.else |
|
(cd ${.CURDIR}/etc && ${MAKE} distrib-dirs) |
|
.endif |
|
(cd ${.CURDIR}/include; ${MAKE} includes) |
|
|
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) |
${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 (${MACHINE_ARCH} == "mips") |
|
ldconfig # Fuck. |
|
.endif |
.if defined(KERBEROS) |
.if defined(KERBEROS) |
(cd ${.CURDIR}/kerberosIV && ${MAKE} build) |
(cd ${.CURDIR}/kerberosIV && ${MAKE} build) |
.endif |
.endif |