version 1.1, 1995/10/18 08:37:01 |
version 1.8, 1996/05/06 21:44:03 |
|
|
|
# $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 exists(domestic) && !defined(EXPORTABLE_SYSTEM) |
.if defined(KERBEROS) |
SUBDIR+= domestic |
SUBDIR+= kerberosIV |
.endif |
.endif |
|
|
.if exists(regress) |
.if exists(regress) |
|
|
@(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 |
|
|
#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 exists(domestic) |
.if defined(KERBEROS) |
(cd ${.CURDIR}/domestic/libcrypt && ${MAKE} depend && ${MAKE} && ${MAKE} install) |
(cd ${.CURDIR}/kerberosIV && ${MAKE} build) |
.endif |
|
.if exists(kerberosIV) |
|
(cd ${.CURDIR}/kerberosIV && ${MAKE} depend && ${MAKE} && ${MAKE} install) |
|
.endif |
.endif |
${MAKE} depend && ${MAKE} && ${MAKE} install |
${MAKE} depend && ${MAKE} && ${MAKE} install |
|
|