2000-08-16 12:24:01 +04:00
|
|
|
# $NetBSD: Makefile,v 1.13 2000/08/16 08:24:01 mrg Exp $
|
1998-03-02 22:57:00 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
1995-09-17 03:20:22 +04:00
|
|
|
|
1999-04-28 19:22:25 +04:00
|
|
|
WARNS?=1
|
|
|
|
PROG= installboot
|
|
|
|
SRCS= installboot.c loadfile.c
|
|
|
|
MKMAN= no
|
|
|
|
CFLAGS+=-g
|
|
|
|
|
|
|
|
LIBSA=${.CURDIR}/../../../../lib/libsa
|
|
|
|
|
|
|
|
.PATH.c: ${LIBSA}
|
|
|
|
|
1999-11-29 17:49:12 +03:00
|
|
|
CPPFLAGS+=-I${LIBSA} -I.
|
1995-10-01 00:43:35 +03:00
|
|
|
|
1998-03-02 22:57:00 +03:00
|
|
|
LDSTATIC?= -static
|
1995-09-17 03:20:22 +04:00
|
|
|
|
1999-11-29 17:49:12 +03:00
|
|
|
.if !make(obj)
|
|
|
|
.BEGIN:
|
2000-08-10 17:27:47 +04:00
|
|
|
@([ -h machine ] || ln -s ${.CURDIR}/../../../${MACHINE}/include machine)
|
2000-08-16 12:24:01 +04:00
|
|
|
@([ -h sparc ] || ln -s ${.CURDIR}/../../../sparc/include sparc)
|
|
|
|
.NOPATH: machine sparc
|
|
|
|
CLEANFILES+= machine sparc
|
1999-11-29 17:49:12 +03:00
|
|
|
.endif
|
|
|
|
|
1995-09-17 03:20:22 +04:00
|
|
|
.include <bsd.prog.mk>
|