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