Home | History | Annotate | Line # | Download | only in eeprom
Makefile revision 1.19
      1   1.1   thorpej #	from: @(#)Makefile	5.8 (Berkeley) 7/28/90
      2  1.19      matt #	$NetBSD: Makefile,v 1.19 2013/05/02 03:56:42 matt Exp $
      3  1.19      matt 
      4  1.19      matt .include <bsd.own.mk>
      5   1.1   thorpej 
      6  1.15       abs .if ${MACHINE} == "sun3" || ${MACHINE} == "sun3x" \
      7  1.16  nakayama 	|| ${MACHINE} == "sparc" || ${MACHINE} == "sparc64" \
      8  1.17  macallan 	|| ${MACHINE} == "macppc" || ${MACHINE} == "prep" \
      9  1.19      matt 	|| ${MACHINE_CPU} == "arm"
     10   1.1   thorpej PROG=	eeprom
     11   1.1   thorpej 
     12  1.13  christos SRCS=	main.c
     13  1.13  christos LDADD+=-lutil
     14  1.13  christos DPADD+=${LIBUTIL}
     15   1.1   thorpej 
     16  1.16  nakayama .if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
     17   1.1   thorpej SRCS+=	ophandlers.c
     18  1.18  nakayama CPPFLAGS+=	-DUSE_OPENPROM
     19   1.1   thorpej .endif
     20  1.12  macallan 
     21  1.16  nakayama .if ${MACHINE} == "sun3" || ${MACHINE} == "sun3x" || ${MACHINE} == "sparc" 
     22   1.9       mrg SRCS+=	eehandlers.c
     23  1.18  nakayama CPPFLAGS+=	-DUSE_EEPROM
     24   1.9       mrg .endif
     25   1.9       mrg 
     26  1.19      matt .if ${MACHINE} == "macppc" || ${MACHINE_CPU} == "arm"
     27  1.12  macallan SRCS+=		ofhandlers.c
     28  1.12  macallan CPPFLAGS+=	-DUSE_OPENFIRM
     29  1.12  macallan .endif
     30  1.12  macallan 
     31  1.14   garbled .if ${MACHINE} == "prep"
     32  1.14   garbled SRCS+=		prephandlers.c
     33  1.14   garbled CPPFLAGS+=	-DUSE_PREPNVRAM
     34  1.14   garbled .endif
     35  1.12  macallan 
     36   1.2       mrg .endif
     37   1.2       mrg 
     38   1.2       mrg MAN=	eeprom.8
     39  1.11    petrov 
     40  1.11    petrov CPPFLAGS+= -I${.CURDIR}
     41   1.1   thorpej 
     42   1.1   thorpej .include <bsd.prog.mk>
     43