No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / pmax / stand / smallnet / setnetimage / Makefile
blobc2873b41c3e646da46bc8487c80c835162f9f41b
1 # $NetBSD: Makefile,v 1.4 2001/12/12 01:49:49 tv Exp $
3 PROG= setnetimage
4 NOMAN= # defined
5 WARNS?= 1
7 MDSIDIR=${.CURDIR}/../../../../../../usr.sbin/mdsetimage
9 SRCS= setnetimage.c exec_elf32.c
10 CPPFLAGS+=-I${MDSIDIR}
11 LDADD+= -lz
12 DPADD+= ${LIBZ}
14 .PATH: ${MDSIDIR}
16 .if !defined(KERNEL)
17 kernel:
18 @echo set KERNEL first!
19 @false
20 .else
21 .include <bsd.own.mk>
23 SNDIR!= cd ${.CURDIR}/.. && ${PRINTOBJDIR}
25 smallnet.elf: ${SNDIR}/smallnet
26 cp -p ${.ALLSRC} ${.TARGET}
28 kernel: smallnet.elf
29 ./${PROG} ${KERNEL} ${.ALLSRC}
30 ${ELF2ECOFF} smallnet.elf smallnet
31 .endif
33 .include <bsd.prog.mk>