Makefile revision 59473
1# $FreeBSD: head/sys/boot/i386/libi386/Makefile 59473 2000-04-21 22:06:02Z ps $ 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# Make the disk code more talkative 26#CFLAGS+= -DDISK_DEBUG 27 28# Include simple terminal emulation (cons25-compatible) 29CFLAGS+= -DTERM_EMU 30 31# Make "machine" required for all objects 32# (based on the more complete case in sys/i386/boot/Makefile.inc) 33${SRCS:M*.c:R:S/$/.o/g}: machine 34 35# If it's not there, don't consider it a target 36.if exists(${.CURDIR}/../../../i386/include) 37beforedepend ${OBJS}: machine 38 39machine: 40 ln -sf ${.CURDIR}/../../../i386/include machine 41 42.endif 43 44CLEANFILES+= machine 45 46.include <bsd.lib.mk> 47