NetBSD/usr.sbin/eeprom/Makefile
mrg 6ce96c999f several clean ups:
- don't include eeprom support on sparc64.
	- work out if we are eeprom or openprom from the results of open()
	and/or ioctl(), rather than grovelling the kernel.
	- move all eeprom specific code to eehandlers.c
	- update manpage for sparc64 usage, remove delete -N switch

with these changes, eeprom(8) no longer needs to be setgid.
2000-11-28 22:31:37 +00:00

24 lines
444 B
Makefile

# from: @(#)Makefile 5.8 (Berkeley) 7/28/90
# $NetBSD: Makefile,v 1.9 2000/11/28 22:31:37 mrg Exp $
.if ${MACHINE} == "sun3" || ${MACHINE} == "sun3x" || ${MACHINE} == "sparc" \
|| ${MACHINE} == "sparc64"
PROG= eeprom
YPREFIX=getdate_
SRCS= getdate.y main.c
.if ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
SRCS+= ophandlers.c
.endif
.if ${MACHINE} != "sparc64"
SRCS+= eehandlers.c
.endif
.endif
MAN= eeprom.8
.include <bsd.prog.mk>