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