Cross Reference: Makefile
xref: /src/usr.sbin/eeprom/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/usr.sbin/eeprom/
Makefile revision 1.18
11.1Sthorpej#	from: @(#)Makefile	5.8 (Berkeley) 7/28/90
21.18Snakayama#	$NetBSD: Makefile,v 1.18 2013/03/15 20:22:44 nakayama Exp $
31.1Sthorpej
41.15Sabs.if ${MACHINE} == "sun3" || ${MACHINE} == "sun3x" \
51.16Snakayama	|| ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" \
61.17Smacallan	|| ${MACHINE} == "macppc" || ${MACHINE} == "prep" \
71.17Smacallan	|| ${MACHINE} == "shark"
81.1SthorpejPROG=	eeprom
91.1Sthorpej
101.13SchristosSRCS=	main.c
111.13SchristosLDADD+=-lutil
121.13SchristosDPADD+=${LIBUTIL}
131.1Sthorpej
141.16Snakayama.if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
151.1SthorpejSRCS+=	ophandlers.c
161.18SnakayamaCPPFLAGS+=	-DUSE_OPENPROM
171.1Sthorpej.endif
181.12Smacallan
191.16Snakayama.if ${MACHINE} == "sun3" || ${MACHINE} == "sun3x" || ${MACHINE} == "sparc" 
201.9SmrgSRCS+=	eehandlers.c
211.18SnakayamaCPPFLAGS+=	-DUSE_EEPROM
221.9Smrg.endif
231.9Smrg
241.17Smacallan.if ${MACHINE} == "macppc" || ${MACHINE} == "shark"
251.12SmacallanSRCS+=		ofhandlers.c
261.12SmacallanCPPFLAGS+=	-DUSE_OPENFIRM
271.12Smacallan.endif
281.12Smacallan
291.14Sgarbled.if ${MACHINE} == "prep"
301.14SgarbledSRCS+=		prephandlers.c
311.14SgarbledCPPFLAGS+=	-DUSE_PREPNVRAM
321.14Sgarbled.endif
331.12Smacallan
341.2Smrg.endif
351.2Smrg
361.2SmrgMAN=	eeprom.8
371.11Spetrov
381.11SpetrovCPPFLAGS+= -I${.CURDIR}
391.1Sthorpej
401.1Sthorpej.include <bsd.prog.mk>
41

Indexes created Wed Dec 31 17:09:26 GMT 2025