2cd3d9d4aa
No need to allocate MAXPATHLEN buffers anymore.
22 lines
372 B
Makefile
22 lines
372 B
Makefile
# $NetBSD: Makefile,v 1.3 2008/12/16 22:44:50 christos 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>
|