2009-04-23 05:37:55 +04:00
|
|
|
# $NetBSD: Makefile,v 1.5 2009/04/23 01:37:55 lukem Exp $
|
2008-05-05 21:54:14 +04:00
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/arch
|
2007-08-04 15:02:56 +04:00
|
|
|
|
|
|
|
PROG= cpuctl
|
|
|
|
MAN= cpuctl.8
|
2008-12-17 01:44:50 +03:00
|
|
|
SRCS= cpuctl.c
|
2008-05-05 21:54:14 +04:00
|
|
|
|
|
|
|
.if exists(${.CURDIR}/arch/${MACHINE_ARCH}.c)
|
|
|
|
SRCS+= ${MACHINE_ARCH}.c
|
|
|
|
.if exists(${.CURDIR}/arch/${MACHINE_ARCH}-asm.S)
|
|
|
|
SRCS+= ${MACHINE_ARCH}-asm.S
|
|
|
|
.endif
|
|
|
|
.else
|
|
|
|
SRCS+= noarch.c
|
|
|
|
.endif
|
2007-08-04 15:02:56 +04:00
|
|
|
|
2008-12-17 01:44:50 +03:00
|
|
|
LDADD+=-lutil
|
|
|
|
DPADD+=${LIBUTIL}
|
|
|
|
|
2007-08-04 15:02:56 +04:00
|
|
|
.include <bsd.prog.mk>
|