Makefile revision 64187
1# $FreeBSD: head/sys/boot/i386/libi386/Makefile 64187 2000-08-03 09:14:02Z jhb $ 2# 3LIB= i386 4NOPIC= 5NOPROFILE= 6INTERNALLIB= true 7INTERNALSTATICLIB= true 8 9SRCS= aout_freebsd.c biosdisk.c biosmem.c biospnp.c biospci.c \ 10 bootinfo.c comconsole.c devicename.c elf_freebsd.c gatea20.c \ 11 i386_copy.c i386_module.c time.c vidconsole.c pxe.c pxetramp.s 12 13CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \ 14 -I${.CURDIR}/../../.. -I. 15 16BOOT_COMCONSOLE_PORT?= 0x3f8 17CFLAGS+= -DCOMPORT=${BOOT_COMCONSOLE_PORT} 18 19BOOT_COMCONSOLE_SPEED?= 9600 20CFLAGS+= -DCOMSPEED=${BOOT_COMCONSOLE_SPEED} 21 22# the location of libstand 23CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ 24 25.ifdef(BOOT_BIOSDISK_DEBUG) 26# Make the disk code more talkative 27CFLAGS+= -DDISK_DEBUG 28.endif 29 30# Include simple terminal emulation (cons25-compatible) 31CFLAGS+= -DTERM_EMU 32 33# Make "machine" required for all objects 34# (based on the more complete case in sys/i386/boot/Makefile.inc) 35${SRCS:M*.c:R:S/$/.o/g}: machine 36 37# If it's not there, don't consider it a target 38.if exists(${.CURDIR}/../../../i386/include) 39beforedepend ${OBJS}: machine 40 41machine: 42 ln -sf ${.CURDIR}/../../../i386/include machine 43 44.endif 45 46CLEANFILES+= machine 47 48.include <bsd.lib.mk> 49