sys.mk (72751) | sys.mk (72878) |
---|---|
1# from: @(#)sys.mk 8.2 (Berkeley) 3/21/94 | 1# from: @(#)sys.mk 8.2 (Berkeley) 3/21/94 |
2# $FreeBSD: head/share/mk/sys.mk 72751 2001-02-20 08:37:51Z kris $ | 2# $FreeBSD: head/share/mk/sys.mk 72878 2001-02-22 11:14:25Z kris $ |
3 4unix ?= We run FreeBSD, not UNIX. 5 6# If the special target .POSIX appears (without prerequisites or 7# commands) before the first noncomment line in the makefile, make shall 8# process the makefile as specified by the Posix 1003.2 specification. 9# make(1) sets the special macro %POSIX in this case (to the actual 10# value "1003.2", for what it's worth). --- 88 unchanged lines hidden (view full) --- 99 100# FreeBSD/i386 has traditionally been built with a version of make 101# which knows MACHINE, but not MACHINE_ARCH. When building on other 102# architectures, assume that the version of make being used has an 103# explicit MACHINE_ARCH setting and treat a missing MACHINE_ARCH 104# as an i386 architecture. 105MACHINE_ARCH ?= i386 106 | 3 4unix ?= We run FreeBSD, not UNIX. 5 6# If the special target .POSIX appears (without prerequisites or 7# commands) before the first noncomment line in the makefile, make shall 8# process the makefile as specified by the Posix 1003.2 specification. 9# make(1) sets the special macro %POSIX in this case (to the actual 10# value "1003.2", for what it's worth). --- 88 unchanged lines hidden (view full) --- 99 100# FreeBSD/i386 has traditionally been built with a version of make 101# which knows MACHINE, but not MACHINE_ARCH. When building on other 102# architectures, assume that the version of make being used has an 103# explicit MACHINE_ARCH setting and treat a missing MACHINE_ARCH 104# as an i386 architecture. 105MACHINE_ARCH ?= i386 106 |
107# MACHINE_CPU contains a list of CPU generations for which 108# CPU-specific optimizations are desired. This must be set here 109# to allow bootstrapping from old versions of make which do not 110# set MACHINE_CPU. 111.if ${MACHINE_ARCH} == "i386" 112MACHINE_CPU ?= i386 113.elif ${MACHINE_ARCH} == "alpha" 114MACHINE_CPU ?= ev4 115.endif 116 | |
117# For tags rule. 118GTAGSFLAGS= -o 119HTAGSFLAGS= 120 121.if defined(%POSIX) 122# Posix 1003.2 mandated rules 123# 124# Quoted directly from the Posix 1003.2 draft, only the macros --- 124 unchanged lines hidden (view full) --- 249.if exists(/etc/defaults/make.conf) 250.include </etc/defaults/make.conf> 251.endif 252 253.if exists(/etc/make.conf) 254.include </etc/make.conf> 255.endif 256 | 107# For tags rule. 108GTAGSFLAGS= -o 109HTAGSFLAGS= 110 111.if defined(%POSIX) 112# Posix 1003.2 mandated rules 113# 114# Quoted directly from the Posix 1003.2 draft, only the macros --- 124 unchanged lines hidden (view full) --- 239.if exists(/etc/defaults/make.conf) 240.include </etc/defaults/make.conf> 241.endif 242 243.if exists(/etc/make.conf) 244.include </etc/make.conf> 245.endif 246 |
247.include <bsd.cpu.mk> 248 |
|
257.if exists(/etc/make.conf.local) 258.error Error, original /etc/make.conf should be moved to the /etc/defaults/ directory and /etc/make.conf.local should be renamed to /etc/make.conf. 259.include </etc/make.conf.local> 260.endif 261 262 263.include <bsd.own.mk> | 249.if exists(/etc/make.conf.local) 250.error Error, original /etc/make.conf should be moved to the /etc/defaults/ directory and /etc/make.conf.local should be renamed to /etc/make.conf. 251.include </etc/make.conf.local> 252.endif 253 254 255.include <bsd.own.mk> |