blob: f135f55abc54be02a3e43ee8d4cac69c7f8f2f9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# $NetBSD: Makefile,v 1.2 1995/09/30 21:43:38 pk Exp $
R= ..
.PATH: ${.CURDIR}/${R}
PROG= boot
SRCS= srt0.S boot.c promdev.c dvma.c net.c netif_sun.c conf.c version.c
NOMAN= 1
BINDIR= /usr/mdec
LIBS!= cd ${.CURDIR}/${R}; ${MAKE} libdep
${PROG}:${OBJS} ${LIBS}
${LD} -N -T ${RELOC} -e start ${OBJS} ${LIBS}
# convert to Sun magic
(echo -n 01 | tr 01 '\01\03'; tail +3c a.out) > ${.TARGET}
@rm a.out
@size ${.TARGET}
.include <bsd.prog.mk>
|