Home | History | Annotate | Line # | Download | only in eeprom
Makefile revision 1.18
      1 #	from: @(#)Makefile	5.8 (Berkeley) 7/28/90
      2 #	$NetBSD: Makefile,v 1.18 2013/03/15 20:22:44 nakayama Exp $
      3 
      4 .if ${MACHINE} == "sun3" || ${MACHINE} == "sun3x" \
      5 	|| ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" \
      6 	|| ${MACHINE} == "macppc" || ${MACHINE} == "prep" \
      7 	|| ${MACHINE} == "shark"
      8 PROG=	eeprom
      9 
     10 SRCS=	main.c
     11 LDADD+=-lutil
     12 DPADD+=${LIBUTIL}
     13 
     14 .if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
     15 SRCS+=	ophandlers.c
     16 CPPFLAGS+=	-DUSE_OPENPROM
     17 .endif
     18 
     19 .if ${MACHINE} == "sun3" || ${MACHINE} == "sun3x" || ${MACHINE} == "sparc" 
     20 SRCS+=	eehandlers.c
     21 CPPFLAGS+=	-DUSE_EEPROM
     22 .endif
     23 
     24 .if ${MACHINE} == "macppc" || ${MACHINE} == "shark"
     25 SRCS+=		ofhandlers.c
     26 CPPFLAGS+=	-DUSE_OPENFIRM
     27 .endif
     28 
     29 .if ${MACHINE} == "prep"
     30 SRCS+=		prephandlers.c
     31 CPPFLAGS+=	-DUSE_PREPNVRAM
     32 .endif
     33 
     34 .endif
     35 
     36 MAN=	eeprom.8
     37 
     38 CPPFLAGS+= -I${.CURDIR}
     39 
     40 .include <bsd.prog.mk>
     41