Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/share/mk/bsd.own.mk,v rcsdiff: /ftp/cvs/cvsroot/src/share/mk/bsd.own.mk,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.136 retrieving revision 1.136.4.8 diff -u -p -r1.136 -r1.136.4.8 --- src/share/mk/bsd.own.mk 2000/05/02 11:44:20 1.136 +++ src/share/mk/bsd.own.mk 2002/09/27 07:24:43 1.136.4.8 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.136 2000/05/02 11:44:20 simonb Exp $ +# $NetBSD: bsd.own.mk,v 1.136.4.8 2002/09/27 07:24:43 itojun Exp $ .if !defined(_BSD_OWN_MK_) _BSD_OWN_MK_=1 @@ -11,12 +11,6 @@ _BSD_OWN_MK_=1 # Defining `SKEY' causes support for S/key authentication to be compiled in. SKEY= yes -# Defining `KERBEROS' causes support for Kerberos authentication to be -# compiled in. -#KERBEROS= yes -# Defining 'KERBEROS5' causes support for Kerberos5 authentication to be -# compiled in. -#KERBEROS5= yes # where the system object and source trees are kept; can be configurable # by the user in case they want them in ~/foosrc and ~/fooobj, for example @@ -76,15 +70,24 @@ INSTPRIV?= -U .endif STRIPFLAG?= -s +PRINTOBJDIR= printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -B -s -f- + # Define SYS_INCLUDE to indicate whether you want symbolic links to the system # source (``symlinks''), or a separate copy (``copies''); (latter useful # in environments where it's not possible to keep /sys publicly readable) #SYS_INCLUDE= symlinks +# The sh3 port is incomplete. +.if ${MACHINE_ARCH} == "sh3" +NOLINT=1 +NOPROFILE=1 +OBJECT_FMT?=COFF +NOPIC?=1 +.endif + # The sparc64 port is incomplete. .if ${MACHINE_ARCH} == "sparc64" NOPROFILE=1 -NOPIC=1 NOLINT=1 .endif @@ -114,6 +117,7 @@ SHLIB_VERSION_FILE?= ${.CURDIR}/shlib_ve # This table maps an architecture name to its GNU counterpart. # Use as so: ${GNU_ARCH.${TARGET_ARCH}} or ${MACHINE_GNU_ARCH} GNU_ARCH.alpha=alpha +GNU_ARCH.arm26=armv2 GNU_ARCH.arm32=arm GNU_ARCH.i386=i386 GNU_ARCH.m68k=m68k @@ -125,6 +129,10 @@ GNU_ARCH.sh3=sh GNU_ARCH.sparc=sparc GNU_ARCH.sparc64=sparc GNU_ARCH.vax=vax + +# CPU model, derived from MACHINE_ARCH +MACHINE_CPU= ${MACHINE_ARCH:C/mipse[bl]/mips/:S/arm26/arm/:C/sh3e[bl]/sh3/} + .if ${MACHINE_ARCH} == "mips" .INIT: @echo Must set MACHINE_ARCH to one of mipseb or mipsel @@ -255,5 +263,22 @@ MKMAN=no MKNLS=no .endif +.if defined(NOCRYPTO) +MKCRYPTO=no +.else +MKCRYPTO?=yes +.endif + +MKCRYPTO_IDEA?=no + +MKCRYPTO_MDC2?=no + +MKCRYPTO_RC5?=no + +.if defined(NOKERBEROS) || (${MKCRYPTO} == "no") +MKKERBEROS=no +.else +MKKERBEROS?=yes +.endif .endif # _BSD_OWN_MK_