Makefile revision 148006
150477Speter# $FreeBSD: head/sys/boot/i386/libi386/Makefile 148006 2005-07-14 19:52:22Z jkim $
238465Smsmith#
340554SmsmithLIB=			i386
4136910SruINTERNALLIB=
538465Smsmith
6102556SpeterSRCS=	biosacpi.c bioscd.c biosdisk.c biosmem.c biospnp.c \
7114379Speter	biospci.c biossmap.c bootinfo.c bootinfo32.c bootinfo64.c \
8114379Speter	comconsole.c devicename.c elf32_freebsd.c \
9114379Speter	elf64_freebsd.c gatea20.c \
10117160Sru	i386_copy.c i386_module.c nullconsole.c pxe.c pxetramp.s \
11148006Sjkim	smbios.c time.c vidconsole.c amd64_tramp.S
1238465Smsmith
1342480SrnordierBOOT_COMCONSOLE_PORT?= 0x3f8
1442480SrnordierCFLAGS+=	-DCOMPORT=${BOOT_COMCONSOLE_PORT}
1542480Srnordier
1642480SrnordierBOOT_COMCONSOLE_SPEED?= 9600
1742480SrnordierCFLAGS+=	-DCOMSPEED=${BOOT_COMCONSOLE_SPEED}
1842480Srnordier
1964187Sjhb.ifdef(BOOT_BIOSDISK_DEBUG)
2038465Smsmith# Make the disk code more talkative
2164187SjhbCFLAGS+= -DDISK_DEBUG
2264187Sjhb.endif
2338465Smsmith
2442002Sabial# Include simple terminal emulation (cons25-compatible)
2542002SabialCFLAGS+= -DTERM_EMU
2642002Sabial
2796306SobrienCFLAGS+=	-I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \
2896306Sobrien		-I${.CURDIR}/../../../contrib/dev/acpica \
2996306Sobrien		-I${.CURDIR}/../../.. -I.
3096306Sobrien# the location of libstand
3196306SobrienCFLAGS+=	-I${.CURDIR}/../../../../lib/libstand/
3296306Sobrien
33125556Sru.if ${MACHINE_ARCH} == "amd64"
34115670SobrienCLEANFILES+=	machine
3540338Spetermachine:
3640338Speter	ln -sf ${.CURDIR}/../../../i386/include machine
3740554Smsmith.endif
38125581Sru
39125581Sru.include <bsd.lib.mk>
40125581Sru
41125581Sru.if ${MACHINE_ARCH} == "amd64"
42125581Srubeforedepend ${OBJS}: machine
43125581Sru.endif
44