Cross Reference: Makefile
xref: /src/sys/arch/pmax/stand/smallnet/setnetimage/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/sys/arch/pmax/stand/smallnet/setnetimage/
Makefile revision 1.1
11.1Ssimonb# $NetBSD: Makefile,v 1.1 1999/05/13 08:38:05 simonb Exp $
21.1Ssimonb
31.1SsimonbPROG=	setnetimage
41.1SsimonbMKMAN=	no
51.1SsimonbWARNS?=	1
61.1Ssimonb
71.1SsimonbMDSIDIR=${.CURDIR}/../../../../../../usr.sbin/mdsetimage
81.1Ssimonb
91.1SsimonbSRCS=	setnetimage.c exec_elf32.c
101.1SsimonbCPPFLAGS+=-I${MDSIDIR}
111.1SsimonbLDADD+=	-lz
121.1SsimonbDPADD+=	${LIBZ}
131.1Ssimonb
141.1Ssimonb.PATH:	${MDSIDIR}
151.1Ssimonb
161.1Ssimonb.if !defined(KERNEL)
171.1Ssimonbkernel:
181.1Ssimonb	@echo set KERNEL first!
191.1Ssimonb	@false
201.1Ssimonb.else
211.1SsimonbSNDIR!=	cd ${.CURDIR}/.. ; make print-objdir
221.1Ssimonb
231.1Ssimonbsmallnet.elf: ${SNDIR}/smallnet
241.1Ssimonb	cp -p ${.ALLSRC} ${.TARGET}
251.1Ssimonb
261.1Ssimonbkernel: smallnet.elf
271.1Ssimonb	./${PROG} ${KERNEL} ${.ALLSRC}
281.1Ssimonb	elf2ecoff smallnet.elf smallnet
291.1Ssimonb.endif
301.1Ssimonb	
311.1Ssimonb
321.1Ssimonb.include <bsd.prog.mk>
33

Indexes created Sun Dec 21 11:09:39 GMT 2025