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