1995-07-13 22:07:19 +04:00
|
|
|
# from: @(#)Makefile 5.8 (Berkeley) 7/28/90
|
2006-11-18 01:11:28 +03:00
|
|
|
# $NetBSD: Makefile,v 1.13 2006/11/17 22:13:08 christos Exp $
|
1995-07-13 22:07:19 +04:00
|
|
|
|
1999-01-17 23:02:29 +03:00
|
|
|
.if ${MACHINE} == "sun3" || ${MACHINE} == "sun3x" || ${MACHINE} == "sparc" \
|
2006-08-16 07:24:57 +04:00
|
|
|
|| ${MACHINE} == "sparc64" || ${MACHINE} == "macppc"
|
1995-07-13 22:07:19 +04:00
|
|
|
PROG= eeprom
|
|
|
|
|
2006-11-18 01:11:28 +03:00
|
|
|
SRCS= main.c
|
|
|
|
LDADD+=-lutil
|
|
|
|
DPADD+=${LIBUTIL}
|
1995-07-13 22:07:19 +04:00
|
|
|
|
1999-01-17 23:02:29 +03:00
|
|
|
.if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
|
1995-07-13 22:07:19 +04:00
|
|
|
SRCS+= ophandlers.c
|
|
|
|
.endif
|
2006-08-16 07:24:57 +04:00
|
|
|
|
|
|
|
.if ${MACHINE} == "sun3" || ${MACHINE} == "sun3x" || ${MACHINE} == "sparc"
|
2000-11-29 01:31:37 +03:00
|
|
|
SRCS+= eehandlers.c
|
|
|
|
.endif
|
|
|
|
|
2006-08-16 07:24:57 +04:00
|
|
|
.if ${MACHINE} == "macppc"
|
|
|
|
SRCS+= ofhandlers.c
|
|
|
|
CPPFLAGS+= -DUSE_OPENFIRM
|
|
|
|
.endif
|
|
|
|
|
|
|
|
|
1997-06-23 08:51:16 +04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
MAN= eeprom.8
|
1995-07-13 22:07:19 +04:00
|
|
|
|
2003-05-09 00:24:10 +04:00
|
|
|
CPPFLAGS+= -I${.CURDIR}
|
|
|
|
|
1995-07-13 22:07:19 +04:00
|
|
|
.include <bsd.prog.mk>
|