Home | History | Annotate | Line # | Download | only in eeprom
Makefile revision 1.16.6.1
      1 #	from: @(#)Makefile	5.8 (Berkeley) 7/28/90
      2 #	$NetBSD: Makefile,v 1.16.6.1 2012/04/17 00:09:46 yamt 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 .endif
     17 
     18 .if ${MACHINE} == "sun3" || ${MACHINE} == "sun3x" || ${MACHINE} == "sparc" 
     19 SRCS+=	eehandlers.c
     20 .endif
     21 
     22 .if ${MACHINE} == "macppc" || ${MACHINE} == "shark"
     23 SRCS+=		ofhandlers.c
     24 CPPFLAGS+=	-DUSE_OPENFIRM
     25 .endif
     26 
     27 .if ${MACHINE} == "prep"
     28 SRCS+=		prephandlers.c
     29 CPPFLAGS+=	-DUSE_PREPNVRAM
     30 .endif
     31 
     32 .endif
     33 
     34 MAN=	eeprom.8
     35 
     36 CPPFLAGS+= -I${.CURDIR}
     37 
     38 .include <bsd.prog.mk>
     39