NetBSD/usr.sbin/cpuctl/Makefile

22 lines
369 B
Makefile
Raw Normal View History

# $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 <bsd.prog.mk>