Makefile revision 66245
1# $FreeBSD: head/sys/boot/pc98/libpc98/Makefile 66245 2000-09-22 12:49:15Z kato $ 2# 3LIB= pc98 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 nullconsole.c pxe.c pxetramp.s \ 12 time.c vidconsole.c 13 14.PATH: ${.CURDIR}/../../i386/libi386 15 16CFLAGS+= -DPC98 17 18CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \ 19 -I${.CURDIR}/../../.. -I. -I${.CURDIR}/../../i386/libi386 20 21BOOT_COMCONSOLE_PORT?= 0x238 22CFLAGS+= -DCOMPORT=${BOOT_COMCONSOLE_PORT} 23 24BOOT_COMCONSOLE_SPEED?= 9600 25CFLAGS+= -DCOMSPEED=${BOOT_COMCONSOLE_SPEED} 26 27# the location of libstand 28CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ 29 30# Make the disk code more talkative 31#CFLAGS+= -DDISK_DEBUG 32 33# Include simple terminal emulation (cons25-compatible) 34CFLAGS+= -DTERM_EMU 35 36# Make "machine" required for all objects 37# (based on the more complete case in sys/i386/boot/Makefile.inc) 38${SRCS:M*.c:R:S/$/.o/g}: machine 39 40# If it's not there, don't consider it a target 41.if exists(${.CURDIR}/../../../i386/include) 42beforedepend ${OBJS}: machine 43 44machine: 45 ln -sf ${.CURDIR}/../../../i386/include machine 46 47.endif 48 49CLEANFILES+= machine 50 51.include <bsd.lib.mk> 52