# $NetBSD: Makefile,v 1.5 2009/04/23 01:37:55 lukem Exp $ .PATH: ${.CURDIR}/arch PROG= cpuctl MAN= cpuctl.8 SRCS= cpuctl.c .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 LDADD+=-lutil DPADD+=${LIBUTIL} .include