NetBSD/usr.sbin/eeprom/Makefile

33 lines
633 B
Makefile
Raw Normal View History

# from: @(#)Makefile 5.8 (Berkeley) 7/28/90
# $NetBSD: Makefile,v 1.12 2006/08/16 03:24:57 macallan Exp $
1999-01-17 23:02:29 +03:00
.if ${MACHINE} == "sun3" || ${MACHINE} == "sun3x" || ${MACHINE} == "sparc" \
|| ${MACHINE} == "sparc64" || ${MACHINE} == "macppc"
PROG= eeprom
1998-11-01 06:51:16 +03:00
YPREFIX=getdate_
SRCS= getdate.y main.c
1999-01-17 23:02:29 +03:00
.if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
SRCS+= ophandlers.c
.endif
.if ${MACHINE} == "sun3" || ${MACHINE} == "sun3x" || ${MACHINE} == "sparc"
SRCS+= eehandlers.c
.endif
.if ${MACHINE} == "macppc"
SRCS+= ofhandlers.c
CPPFLAGS+= -DUSE_OPENFIRM
.endif
1997-06-23 08:51:16 +04:00
.endif
MAN= eeprom.8
2003-05-09 00:24:10 +04:00
CPPFLAGS+= -I${.CURDIR}
.include <bsd.prog.mk>