Don't depend on being part of the kernel tree. If we are, use the kernel's
<machine> includes rather than the system's.
This commit is contained in:
parent
10a89d20cb
commit
0362cf7eed
@ -1,9 +1,9 @@
|
||||
# $Id: Makefile,v 1.7 1998/09/30 22:36:45 peter Exp $
|
||||
# $Id: Makefile,v 1.8 1998/10/14 07:08:16 peter Exp $
|
||||
#
|
||||
LIB= i386
|
||||
LIB= i386
|
||||
NOPIC=
|
||||
NOPROFILE=
|
||||
INTERNALLIB= true
|
||||
INTERNALLIB= true
|
||||
INTERNALSTATICLIB= true
|
||||
|
||||
SRCS= aout_freebsd.c biosdisk.c biosmem.c bootinfo.c comconsole.c \
|
||||
@ -15,12 +15,15 @@ CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \
|
||||
# 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>
|
||||
|
||||
beforedepend ${OBJS}: machine
|
||||
|
Loading…
Reference in New Issue
Block a user