version 1.15, 1997/02/28 23:22:07 |
version 1.17, 1997/04/19 21:26:09 |
|
|
# $OpenBSD$ |
# $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 $ |
|
|
|
# |
|
# For more information on building in tricky environments, please see |
|
# the list of possible environment variables described in |
|
# /usr/share/mk/bsd.README. |
|
# |
|
# Building recommendations: |
|
# |
|
# 1) If at all possible, put this source tree in /usr/src. If /usr/src |
|
# must be a symbolic link, setenv BSDSRCDIR to point to the real location. |
|
# |
|
# 2) It is also recommended that you compile with objects outside the |
|
# source tree. To do this, ensure /usr/obj exists or points to some |
|
# area of disk of sufficient size. Then do "cd /usr/src; make obj". |
|
# This will make a symbolic link called "obj" in each directory, as |
|
# well as populate the /usr/obj properly with directories for the |
|
# objects. |
|
# |
|
# 3) If you are reasonably sure that things will compile OK, use the |
|
# "make build" target supplied here. Good luck. |
|
|
.include <bsd.own.mk> # for NOMAN, if it's there. |
.include <bsd.own.mk> # for NOMAN, if it's there. |
|
|
# 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 lkm |
SUBDIR+= sys lkm |
|
|
.if defined(KERBEROS) |
.if (${KERBEROS} == "yes") |
SUBDIR+= kerberosIV |
SUBDIR+= kerberosIV |
.endif |
.endif |
|
|
|
|
.if (${MACHINE_ARCH} == "mips") |
.if (${MACHINE_ARCH} == "mips") |
ldconfig |
ldconfig |
.endif |
.endif |
.if defined(KERBEROS) |
.if (${KERBEROS} == "yes") |
(cd ${.CURDIR}/kerberosIV && ${MAKE} build) |
(cd ${.CURDIR}/kerberosIV && ${MAKE} build) |
.endif |
.endif |
${MAKE} depend && ${MAKE} && ${MAKE} install |
${MAKE} depend && ${MAKE} && ${MAKE} install |