21 lines
474 B
Makefile
21 lines
474 B
Makefile
# $NetBSD: Makefile,v 1.17 2013/08/21 06:58:58 matt Exp $
|
|
|
|
NOMAN= # defined
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= installboot
|
|
BINDIR=/usr/mdec
|
|
LIBSA=${.CURDIR}/../../../../lib/libsa
|
|
COPTS+= -Wall -Wstrict-prototypes -Wmissing-prototypes
|
|
CPPFLAGS+= -I${LIBSA} -I. -D__daddr_t=int32_t
|
|
# Need this to work in the miniroot
|
|
LDSTATIC= -static
|
|
|
|
.PATH.c: ${LIBSA}
|
|
|
|
SRCS= installboot.c byteorder.c loadfile.c loadfile_aout.c loadfile_elf32.c
|
|
|
|
.include <bsd.prog.mk>
|
|
.include <bsd.klinks.mk>
|