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