Makefile revision 1.2
1#	$NetBSD: Makefile,v 1.2 2008/05/05 17:54:14 ad Exp $
2
3.PATH:	${.CURDIR}/arch
4
5PROG=	cpuctl
6MAN=	cpuctl.8
7SRCS=	cpuctl.c bitmask.c
8
9.if exists(${.CURDIR}/arch/${MACHINE_ARCH}.c)
10SRCS+=	${MACHINE_ARCH}.c
11.if exists(${.CURDIR}/arch/${MACHINE_ARCH}-asm.S)
12SRCS+=	${MACHINE_ARCH}-asm.S
13.endif
14.else
15SRCS+=	noarch.c
16.endif
17
18.include <bsd.prog.mk>
19