Deleted Added
full compact
Makefile (256281) Makefile (271135)
1# $FreeBSD: stable/10/sys/boot/i386/libi386/Makefile 239066 2012-08-05 14:37:48Z ae $
1# $FreeBSD: stable/10/sys/boot/i386/libi386/Makefile 271135 2014-09-04 21:01:10Z emaste $
2#
3LIB= i386
4INTERNALLIB=
5
6SRCS= biosacpi.c bioscd.c biosdisk.c biosmem.c biospnp.c \
7 biospci.c biossmap.c bootinfo.c bootinfo32.c bootinfo64.c \
8 comconsole.c devicename.c elf32_freebsd.c \
9 elf64_freebsd.c \

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

47
48CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../common \
49 -I${.CURDIR}/../btx/lib \
50 -I${.CURDIR}/../../../contrib/dev/acpica/include \
51 -I${.CURDIR}/../../.. -I.
52# the location of libstand
53CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
54
2#
3LIB= i386
4INTERNALLIB=
5
6SRCS= biosacpi.c bioscd.c biosdisk.c biosmem.c biospnp.c \
7 biospci.c biossmap.c bootinfo.c bootinfo32.c bootinfo64.c \
8 comconsole.c devicename.c elf32_freebsd.c \
9 elf64_freebsd.c \

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

47
48CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../common \
49 -I${.CURDIR}/../btx/lib \
50 -I${.CURDIR}/../../../contrib/dev/acpica/include \
51 -I${.CURDIR}/../../.. -I.
52# the location of libstand
53CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
54
55# Suppress warning from clang for FreeBSD %b and %D formats
56CFLAGS+= -fformat-extensions
57
55.if ${MACHINE_CPUARCH} == "amd64"
56CLEANFILES+= machine
57machine:
58 ln -sf ${.CURDIR}/../../../i386/include machine
59.endif
60
61.include <bsd.lib.mk>
62
63# XXX: clang integrated-as doesn't grok .codeNN directives yet
64CFLAGS.amd64_tramp.S= ${CLANG_NO_IAS}
65CFLAGS+= ${CFLAGS.${.IMPSRC:T}}
66
67.if ${MACHINE_CPUARCH} == "amd64"
68beforedepend ${OBJS}: machine
69.endif
58.if ${MACHINE_CPUARCH} == "amd64"
59CLEANFILES+= machine
60machine:
61 ln -sf ${.CURDIR}/../../../i386/include machine
62.endif
63
64.include <bsd.lib.mk>
65
66# XXX: clang integrated-as doesn't grok .codeNN directives yet
67CFLAGS.amd64_tramp.S= ${CLANG_NO_IAS}
68CFLAGS+= ${CFLAGS.${.IMPSRC:T}}
69
70.if ${MACHINE_CPUARCH} == "amd64"
71beforedepend ${OBJS}: machine
72.endif