Home | History | Annotate | Line # | Download | only in cpuctl
Makefile revision 1.2.6.1
      1 #	$NetBSD: Makefile,v 1.2.6.1 2008/12/23 03:36:43 snj Exp $
      2 
      3 .PATH:	${.CURDIR}/arch
      4 
      5 PROG=	cpuctl
      6 MAN=	cpuctl.8
      7 SRCS=	cpuctl.c
      8 
      9 .if exists(${.CURDIR}/arch/${MACHINE_ARCH}.c)
     10 SRCS+=	${MACHINE_ARCH}.c
     11 .if exists(${.CURDIR}/arch/${MACHINE_ARCH}-asm.S)
     12 SRCS+=	${MACHINE_ARCH}-asm.S
     13 .endif
     14 .else
     15 SRCS+=	noarch.c
     16 .endif
     17 
     18 LDADD+=-lutil
     19 DPADD+=${LIBUTIL}
     20 
     21 .include <bsd.prog.mk>
     22