32 lines
672 B
Makefile
32 lines
672 B
Makefile
# $NetBSD: Makefile,v 1.22 2001/12/12 12:24:24 lukem Exp $
|
|
|
|
NOMAN= # defined
|
|
|
|
# XXX: bsd.own.mk included so LDSTATIC can be overwridden
|
|
.include <bsd.own.mk>
|
|
|
|
BINDIR= /usr/mdec
|
|
PROG= installboot
|
|
LIBSA=${.CURDIR}/../../../../lib/libsa
|
|
|
|
.PATH.c: ${LIBSA}
|
|
|
|
SRCS= installboot.c bootblks.c getmount.c byteorder.c loadfile.c \
|
|
loadfile_aout.c loadfile_elf32.c
|
|
|
|
CPPFLAGS+= -I${.CURDIR}/../lib/crt/bootsect
|
|
CPPFLAGS+= -I${LIBSA} -I.
|
|
CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes
|
|
LDSTATIC?=-static
|
|
|
|
.BEGIN: machine
|
|
.NOPATH: machine
|
|
${SRCS} realdepend realall: machine
|
|
CLEANFILES+= machine
|
|
|
|
machine::
|
|
-rm -f $@
|
|
ln -s ${.CURDIR}/../../include $@
|
|
|
|
.include <bsd.prog.mk>
|