Home | History | Annotate | Line # | Download | only in cpuctl
Makefile revision 1.6
      1  1.6      matt #	$NetBSD: Makefile,v 1.6 2013/01/31 23:40:48 matt Exp $
      2  1.2        ad 
      3  1.2        ad .PATH:	${.CURDIR}/arch
      4  1.1        ad 
      5  1.1        ad PROG=	cpuctl
      6  1.1        ad MAN=	cpuctl.8
      7  1.3  christos SRCS=	cpuctl.c
      8  1.2        ad 
      9  1.2        ad .if exists(${.CURDIR}/arch/${MACHINE_ARCH}.c)
     10  1.2        ad SRCS+=	${MACHINE_ARCH}.c
     11  1.6      matt .elif exists(${.CURDIR}/arch/${MACHINE_CPU}.c)
     12  1.6      matt SRCS+=	${MACHINE_CPU}.c
     13  1.6      matt .else
     14  1.6      matt SRCS+=	noarch.c
     15  1.6      matt .endif
     16  1.2        ad .if exists(${.CURDIR}/arch/${MACHINE_ARCH}-asm.S)
     17  1.2        ad SRCS+=	${MACHINE_ARCH}-asm.S
     18  1.2        ad .endif
     19  1.1        ad 
     20  1.3  christos LDADD+=-lutil
     21  1.3  christos DPADD+=${LIBUTIL}
     22  1.3  christos 
     23  1.1        ad .include <bsd.prog.mk>
     24