Deleted Added
sdiff udiff text old ( 241711 ) new ( 252048 )
full compact
1# from: @(#)sys.mk 8.2 (Berkeley) 3/21/94
2# $FreeBSD: stable/9/share/mk/sys.mk 241711 2012-10-19 00:22:09Z jhb $
3
4unix ?= We run FreeBSD, not UNIX.
5.FreeBSD ?= true
6
7.if !defined(%POSIX)
8#
9# MACHINE_CPUARCH defines a collection of MACHINE_ARCH. Machines with
10# the same MACHINE_ARCH can run each other's binaries, so it necessarily
11# has word size and endian swizzled in. However, support files for
12# these machines often are shared amongst all combinations of size
13# and/or endian. This is called MACHINE_CPU in NetBSD, but that's used
14# for something different in FreeBSD.
15#
16MACHINE_CPUARCH=${MACHINE_ARCH:C/mips.*e[lb]/mips/:C/armeb/arm/:C/powerpc64/powerpc/}
17.endif
18
19# If the special target .POSIX appears (without prerequisites or
20# commands) before the first noncomment line in the makefile, make shall
21# process the makefile as specified by the Posix 1003.2 specification.
22# make(1) sets the special macro %POSIX in this case (to the actual
23# value "1003.2", for what it's worth).
24#
25# The rules below use this macro to distinguish between Posix-compliant
26# and default behaviour.

--- 288 unchanged lines hidden (view full) ---

315SHELL= ${__MAKE_SHELL}
316.SHELL: path=${__MAKE_SHELL}
317.endif
318
319# Default executable format
320# XXX hint for bsd.port.mk
321OBJFORMAT?= elf
322
323# Toggle on warnings
324.WARN: dirsyntax
325
326.endif
327
328.include <bsd.compat.mk>
329.include <bsd.cpu.mk>