Deleted Added
full compact
Makefile (227400) Makefile (232930)
1# $FreeBSD: stable/9/sys/boot/i386/libi386/Makefile 227400 2011-11-09 18:26:19Z jhb $
1# $FreeBSD: stable/9/sys/boot/i386/libi386/Makefile 232930 2012-03-13 18:39:57Z dim $
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 \

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

49
50CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../common \
51 -I${.CURDIR}/../btx/lib \
52 -I${.CURDIR}/../../../contrib/dev/acpica/include \
53 -I${.CURDIR}/../../.. -I.
54# the location of libstand
55CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
56
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 \

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

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