summaryrefslogtreecommitdiff
path: root/usr.sbin/eeprom/Makefile
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-11-12 20:54:55 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-11-12 20:54:55 +0000
commita5d5bcd47bf86d538bb87dbd8bc3ed2954f83e20 (patch)
treea583d5a7e4e84e6099816675e69618eacf374e14 /usr.sbin/eeprom/Makefile
parentccb902dbe2c74025e39a268790d5b6427589ef89 (diff)
Make this compile on macppc (OpenPROM support only) and build it there.
ok deraadt@
Diffstat (limited to 'usr.sbin/eeprom/Makefile')
-rw-r--r--usr.sbin/eeprom/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/usr.sbin/eeprom/Makefile b/usr.sbin/eeprom/Makefile
index cf17a23d638..82b5824c962 100644
--- a/usr.sbin/eeprom/Makefile
+++ b/usr.sbin/eeprom/Makefile
@@ -1,15 +1,16 @@
-# $OpenBSD: Makefile,v 1.10 2007/09/04 23:28:26 fgsch Exp $
+# $OpenBSD: Makefile,v 1.11 2007/11/12 20:54:54 kettenis Exp $
-.if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
+.if ${MACHINE} == "macppc" || ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
PROG= eeprom
BINGRP= kmem
BINMODE=2555
-SRCS= eehandlers.c getdate.c main.c
+SRCS= getdate.c main.c
+SRCS+= ophandlers.c optree.c
. if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
-SRCS+= ophandlers.c optree.c
+SRCS+= eehandlers.c
. endif
CLEANFILES+=getdate.c y.tab.h
@@ -18,6 +19,6 @@ NOPROG=yes
.endif
MAN= eeprom.8
-MANSUBDIR=sparc sparc64
+MANSUBDIR=macppc sparc sparc64
.include <bsd.prog.mk>