30 lines
589 B
Makefile
30 lines
589 B
Makefile
# $NetBSD: Makefile,v 1.18 2001/10/31 22:13:03 thorpej Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
WARNS?=1
|
|
PROG= installboot
|
|
SRCS= installboot.c byteorder.c loadfile.c loadfile_aout.c \
|
|
loadfile_elf32.c
|
|
MKMAN= no
|
|
CFLAGS+=-g
|
|
|
|
LIBSA=${.CURDIR}/../../../../lib/libsa
|
|
|
|
.PATH.c: ${LIBSA}
|
|
|
|
CPPFLAGS+=-I${LIBSA} -I.
|
|
CPPFLAGS+=-I${.CURDIR}/..
|
|
|
|
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>
|