From a5d5bcd47bf86d538bb87dbd8bc3ed2954f83e20 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Mon, 12 Nov 2007 20:54:55 +0000 Subject: Make this compile on macppc (OpenPROM support only) and build it there. ok deraadt@ --- usr.sbin/eeprom/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'usr.sbin/eeprom/Makefile') 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 -- cgit v1.2.3