1 1.1 thorpej # from: @(#)Makefile 5.8 (Berkeley) 7/28/90 2 1.12 macallan # $NetBSD: Makefile,v 1.12 2006/08/16 03:24:57 macallan Exp $ 3 1.1 thorpej 4 1.8 eeh .if ${MACHINE} == "sun3" || ${MACHINE} == "sun3x" || ${MACHINE} == "sparc" \ 5 1.12 macallan || ${MACHINE} == "sparc64" || ${MACHINE} == "macppc" 6 1.1 thorpej PROG= eeprom 7 1.1 thorpej 8 1.7 lukem YPREFIX=getdate_ 9 1.3 thorpej 10 1.9 mrg SRCS= getdate.y main.c 11 1.1 thorpej 12 1.8 eeh .if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" 13 1.1 thorpej SRCS+= ophandlers.c 14 1.1 thorpej .endif 15 1.12 macallan 16 1.12 macallan .if ${MACHINE} == "sun3" || ${MACHINE} == "sun3x" || ${MACHINE} == "sparc" 17 1.9 mrg SRCS+= eehandlers.c 18 1.9 mrg .endif 19 1.9 mrg 20 1.12 macallan .if ${MACHINE} == "macppc" 21 1.12 macallan SRCS+= ofhandlers.c 22 1.12 macallan CPPFLAGS+= -DUSE_OPENFIRM 23 1.12 macallan .endif 24 1.12 macallan 25 1.12 macallan 26 1.2 mrg .endif 27 1.2 mrg 28 1.2 mrg MAN= eeprom.8 29 1.11 petrov 30 1.11 petrov CPPFLAGS+= -I${.CURDIR} 31 1.1 thorpej 32 1.1 thorpej .include <bsd.prog.mk> 33