Makefile revision 115670
150477Speter# $FreeBSD: head/sys/boot/i386/libi386/Makefile 115670 2003-06-02 02:37:27Z obrien $ 238465Smsmith# 340554SmsmithLIB= i386 440554SmsmithINTERNALLIB= true 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 \ 10115670Sobrien i386_copy.c i386_module.c nullconsole.c pxe.c \ 11114379Speter time.c vidconsole.c amd64_tramp.S 1238465Smsmith 1396306SobrienCFLAGS+= -ffreestanding 1442480SrnordierBOOT_COMCONSOLE_PORT?= 0x3f8 1542480SrnordierCFLAGS+= -DCOMPORT=${BOOT_COMCONSOLE_PORT} 1642480Srnordier 1742480SrnordierBOOT_COMCONSOLE_SPEED?= 9600 1842480SrnordierCFLAGS+= -DCOMSPEED=${BOOT_COMCONSOLE_SPEED} 1942480Srnordier 2064187Sjhb.ifdef(BOOT_BIOSDISK_DEBUG) 2138465Smsmith# Make the disk code more talkative 2264187SjhbCFLAGS+= -DDISK_DEBUG 2364187Sjhb.endif 2438465Smsmith 2542002Sabial# Include simple terminal emulation (cons25-compatible) 2642002SabialCFLAGS+= -DTERM_EMU 2742002Sabial 2896306SobrienCFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \ 2996306Sobrien -I${.CURDIR}/../../../contrib/dev/acpica \ 3096306Sobrien -I${.CURDIR}/../../.. -I. 3196306Sobrien# the location of libstand 3296306SobrienCFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ 3396306Sobrien 3452395Sdcs# Make "machine" required for all objects 3552395Sdcs# (based on the more complete case in sys/i386/boot/Makefile.inc) 3652395Sdcs${SRCS:M*.c:R:S/$/.o/g}: machine 3752395Sdcs 3840554Smsmith# If it's not there, don't consider it a target 3940554Smsmith.if exists(${.CURDIR}/../../../i386/include) 4040554Smsmithbeforedepend ${OBJS}: machine 4140338Speter 42115670SobrienCLEANFILES+= machine 4340338Spetermachine: 4440338Speter ln -sf ${.CURDIR}/../../../i386/include machine 4540338Speter 4640554Smsmith.endif 4740554Smsmith 48115670SobrienOBJS+= pxetramp.o 49115670Sobrienpxetramp.o: pxetramp.s 50115670Sobrien as -o ${.TARGET} ${.ALLSRC:M*pxetramp*} 5140338Speter 5238465Smsmith.include <bsd.lib.mk> 53