28 lines
511 B
Makefile
28 lines
511 B
Makefile
# $NetBSD: Makefile,v 1.13 2000/08/16 08:24:01 mrg Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
WARNS?=1
|
|
PROG= installboot
|
|
SRCS= installboot.c loadfile.c
|
|
MKMAN= no
|
|
CFLAGS+=-g
|
|
|
|
LIBSA=${.CURDIR}/../../../../lib/libsa
|
|
|
|
.PATH.c: ${LIBSA}
|
|
|
|
CPPFLAGS+=-I${LIBSA} -I.
|
|
|
|
LDSTATIC?= -static
|
|
|
|
.if !make(obj)
|
|
.BEGIN:
|
|
@([ -h machine ] || ln -s ${.CURDIR}/../../../${MACHINE}/include machine)
|
|
@([ -h sparc ] || ln -s ${.CURDIR}/../../../sparc/include sparc)
|
|
.NOPATH: machine sparc
|
|
CLEANFILES+= machine sparc
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|