Cross Reference: Makefile
xref: /src/usr.sbin/eeprom/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/usr.sbin/eeprom/
11.1Sthorpej#	from: @(#)Makefile	5.8 (Berkeley) 7/28/90
21.19Smatt#	$NetBSD: Makefile,v 1.19 2013/05/02 03:56:42 matt Exp $
31.19Smatt
41.19Smatt.include <bsd.own.mk>
51.1Sthorpej
61.15Sabs.if ${MACHINE} == "sun3" || ${MACHINE} == "sun3x" \
71.16Snakayama	|| ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" \
81.17Smacallan	|| ${MACHINE} == "macppc" || ${MACHINE} == "prep" \
91.19Smatt	|| ${MACHINE_CPU} == "arm"
101.1SthorpejPROG=	eeprom
111.1Sthorpej
121.13SchristosSRCS=	main.c
131.13SchristosLDADD+=-lutil
141.13SchristosDPADD+=${LIBUTIL}
151.1Sthorpej
161.16Snakayama.if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
171.1SthorpejSRCS+=	ophandlers.c
181.18SnakayamaCPPFLAGS+=	-DUSE_OPENPROM
191.1Sthorpej.endif
201.12Smacallan
211.16Snakayama.if ${MACHINE} == "sun3" || ${MACHINE} == "sun3x" || ${MACHINE} == "sparc" 
221.9SmrgSRCS+=	eehandlers.c
231.18SnakayamaCPPFLAGS+=	-DUSE_EEPROM
241.9Smrg.endif
251.9Smrg
261.19Smatt.if ${MACHINE} == "macppc" || ${MACHINE_CPU} == "arm"
271.12SmacallanSRCS+=		ofhandlers.c
281.12SmacallanCPPFLAGS+=	-DUSE_OPENFIRM
291.12Smacallan.endif
301.12Smacallan
311.14Sgarbled.if ${MACHINE} == "prep"
321.14SgarbledSRCS+=		prephandlers.c
331.14SgarbledCPPFLAGS+=	-DUSE_PREPNVRAM
341.14Sgarbled.endif
351.12Smacallan
361.2Smrg.endif
371.2Smrg
381.2SmrgMAN=	eeprom.8
391.11Spetrov
401.11SpetrovCPPFLAGS+= -I${.CURDIR}
411.1Sthorpej
421.1Sthorpej.include <bsd.prog.mk>
43

Indexes created Mon Nov 10 17:20:41 GMT 2025