summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/stand/boot/Makefile
blob: f4b8ae169d69718a550db3189a926c9b039a4202 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$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
STRIP=
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
	@size a.out
	(echo -n 01 | tr 01 '\01\03'; tail +3c a.out) > ${.TARGET}
	@rm a.out

.include <bsd.prog.mk>