1 # $NetBSD: Makefile,v 1.26 2009/12/08 02:56:37 uebayasi Exp $
5 .
include <bsd.own.mk
> # for MKDYNAMICROOT & NETBSDSRCDIR
8 SRCS
= ktrace.c dump.c subr.c misc.c setemul.c
9 CPPFLAGS
+= -I.
-I
${NETBSDSRCDIR}/usr.bin
/ktrace
-I
${NETBSDSRCDIR}/sys \
10 -I
${NETBSDSRCDIR}/usr.bin
/kdump
-DKTRUSS
11 CLEANFILES
+= misc.c misc.h
13 .if
(${MKDYNAMICROOT} == "no")
23 # Build-time generation.
24 misc.c misc.h
: ${DESTDIR}/usr
/include/sys
/errno.h makeerrnos.sh \
25 ${DESTDIR}/usr
/include/sys
/signal.h
27 AWK
=${TOOL_AWK
:Q
} CPP
=${CPP
:Q
} CPPFLAGS
=${CPPFLAGS
:Q
} \
28 ${HOST_SH} ${.CURDIR
}/makeerrnos.sh \
29 ${DESTDIR}/usr
/include/sys
/errno.h \
30 ${DESTDIR}/usr
/include/sys
/signal.h misc
32 .
include "${NETBSDSRCDIR}/usr.bin/kdump/Makefile.ioctl-c"
33 .
include <bsd.prog.mk
>
35 .PATH
: ${NETBSDSRCDIR}/usr.bin
/ktrace
${NETBSDSRCDIR}/usr.bin
/kdump