Expand PMF_FN_* macros.
[netbsd-mini2440.git] / usr.sbin / eeprom / Makefile
blob1e781274f046a47b7a70ce5b38a34e6797945ded
1 # from: @(#)Makefile 5.8 (Berkeley) 7/28/90
2 # $NetBSD: Makefile,v 1.15 2009/02/14 13:56:41 abs Exp $
4 .if ${MACHINE} == "sun3" || ${MACHINE} == "sun3x" \
5 || ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" \
6 || ${MACHINE} == "macppc" || ${MACHINE} == "prep"
7 PROG= eeprom
9 SRCS= main.c
10 LDADD+=-lutil
11 DPADD+=${LIBUTIL}
13 .if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
14 SRCS+= ophandlers.c
15 .endif
17 .if ${MACHINE} == "sun3" || ${MACHINE} == "sun3x" || ${MACHINE} == "sparc"
18 SRCS+= eehandlers.c
19 .endif
21 .if ${MACHINE} == "macppc"
22 SRCS+= ofhandlers.c
23 CPPFLAGS+= -DUSE_OPENFIRM
24 .endif
26 .if ${MACHINE} == "prep"
27 SRCS+= prephandlers.c
28 CPPFLAGS+= -DUSE_PREPNVRAM
29 .endif
31 .endif
33 MAN= eeprom.8
35 CPPFLAGS+= -I${.CURDIR}
37 .include <bsd.prog.mk>