freebsd-dev/sys/boot/i386/libi386/Makefile
Mike Smith c90625d230 Don't depend on being part of the kernel tree. If we are, use the kernel's
<machine> includes rather than the system's.
1998-10-21 20:07:57 +00:00

30 lines
668 B
Makefile

# $Id: Makefile,v 1.8 1998/10/14 07:08:16 peter Exp $
#
LIB= i386
NOPIC=
NOPROFILE=
INTERNALLIB= true
INTERNALSTATICLIB= true
SRCS= aout_freebsd.c biosdisk.c biosmem.c bootinfo.c comconsole.c \
devicename.c elf_freebsd.c gatea20.c i386_copy.c i386_module.c time.c vidconsole.c
CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \
-I${.CURDIR}/../../.. -I.
# Make the disk code more talkative
#CFLAGS+= -DDISK_DEBUG
# If it's not there, don't consider it a target
.if exists(${.CURDIR}/../../../i386/include)
beforedepend ${OBJS}: machine
machine:
ln -sf ${.CURDIR}/../../../i386/include machine
.endif
CLEANFILES+= machine
.include <bsd.lib.mk>