1 1.1 thorpej # from: @(#)Makefile 5.8 (Berkeley) 7/28/90 2 1.14 garbled # $NetBSD: Makefile,v 1.14 2007/03/01 16:49:48 garbled Exp $ 3 1.1 thorpej 4 1.8 eeh .if ${MACHINE} == "sun3" || ${MACHINE} == "sun3x" || ${MACHINE} == "sparc" \ 5 1.14 garbled || ${MACHINE} == "sparc64" || ${MACHINE} == "macppc" \ 6 1.14 garbled || ${MACHINE} == "prep" 7 1.1 thorpej PROG= eeprom 8 1.1 thorpej 9 1.13 christos SRCS= main.c 10 1.13 christos LDADD+=-lutil 11 1.13 christos DPADD+=${LIBUTIL} 12 1.1 thorpej 13 1.8 eeh .if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" 14 1.1 thorpej SRCS+= ophandlers.c 15 1.1 thorpej .endif 16 1.12 macallan 17 1.12 macallan .if ${MACHINE} == "sun3" || ${MACHINE} == "sun3x" || ${MACHINE} == "sparc" 18 1.9 mrg SRCS+= eehandlers.c 19 1.9 mrg .endif 20 1.9 mrg 21 1.12 macallan .if ${MACHINE} == "macppc" 22 1.12 macallan SRCS+= ofhandlers.c 23 1.12 macallan CPPFLAGS+= -DUSE_OPENFIRM 24 1.12 macallan .endif 25 1.12 macallan 26 1.14 garbled .if ${MACHINE} == "prep" 27 1.14 garbled SRCS+= prephandlers.c 28 1.14 garbled CPPFLAGS+= -DUSE_PREPNVRAM 29 1.14 garbled .endif 30 1.12 macallan 31 1.2 mrg .endif 32 1.2 mrg 33 1.2 mrg MAN= eeprom.8 34 1.11 petrov 35 1.11 petrov CPPFLAGS+= -I${.CURDIR} 36 1.1 thorpej 37 1.1 thorpej .include <bsd.prog.mk> 38