Makefile revision 1.13
1#	from: @(#)Makefile	5.8 (Berkeley) 7/28/90
2#	$NetBSD: Makefile,v 1.13 2006/11/17 22:13:08 christos Exp $
3
4.if ${MACHINE} == "sun3" || ${MACHINE} == "sun3x" || ${MACHINE} == "sparc" \
5	|| ${MACHINE} == "sparc64" || ${MACHINE} == "macppc"
6PROG=	eeprom
7
8SRCS=	main.c
9LDADD+=-lutil
10DPADD+=${LIBUTIL}
11
12.if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
13SRCS+=	ophandlers.c
14.endif
15
16.if ${MACHINE} == "sun3" || ${MACHINE} == "sun3x" || ${MACHINE} == "sparc" 
17SRCS+=	eehandlers.c
18.endif
19
20.if ${MACHINE} == "macppc"
21SRCS+=		ofhandlers.c
22CPPFLAGS+=	-DUSE_OPENFIRM
23.endif
24
25
26.endif
27
28MAN=	eeprom.8
29
30CPPFLAGS+= -I${.CURDIR}
31
32.include <bsd.prog.mk>
33