# $NetBSD: Makefile,v 1.6 2013/01/31 23:40:48 matt Exp $ .PATH: ${.CURDIR}/arch PROG= cpuctl MAN= cpuctl.8 SRCS= cpuctl.c .if exists(${.CURDIR}/arch/${MACHINE_ARCH}.c) SRCS+= ${MACHINE_ARCH}.c .elif exists(${.CURDIR}/arch/${MACHINE_CPU}.c) SRCS+= ${MACHINE_CPU}.c .else SRCS+= noarch.c .endif .if exists(${.CURDIR}/arch/${MACHINE_ARCH}-asm.S) SRCS+= ${MACHINE_ARCH}-asm.S .endif LDADD+=-lutil DPADD+=${LIBUTIL} .include