32 lines
621 B
Makefile
32 lines
621 B
Makefile
# $NetBSD: Makefile,v 1.16 2000/01/23 16:45:54 mycroft Exp $
|
|
|
|
# XXX: bsd.own.mk included so LDSTATIC can be overwridden
|
|
.include <bsd.own.mk>
|
|
|
|
CFLAGS=-g
|
|
BINDIR= /usr/mdec
|
|
PROG= installboot
|
|
LIBSA=${.CURDIR}/../../../../lib/libsa
|
|
|
|
.PATH.c: ${LIBSA}
|
|
|
|
SRCS= installboot.c bootblks.c getmount.c loadfile.c
|
|
|
|
MKMAN= no
|
|
|
|
CPPFLAGS+= -I${.CURDIR}/../lib/crt/bootsect
|
|
CPPFLAGS+= -I${LIBSA} -I.
|
|
CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes
|
|
LDSTATIC?=-static
|
|
|
|
.BEGIN: machine
|
|
.NOPATH: machine
|
|
realdepend realall: machine
|
|
CLEANFILES+= machine
|
|
|
|
machine::
|
|
-rm -f $@
|
|
ln -s ${.CURDIR}/../../include $@
|
|
|
|
.include <bsd.prog.mk>
|