18 lines
526 B
Makefile
18 lines
526 B
Makefile
# $NetBSD: Makefile,v 1.12 1998/10/04 10:49:58 veego Exp $
|
|
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= kdump
|
|
CPPFLAGS+=-I${.CURDIR}/../ktrace -I${.CURDIR}/../../sys
|
|
SRCS= kdump.c ioctl.c subr.c
|
|
.PATH: ${.CURDIR}/../ktrace
|
|
LDSTATIC?=-static
|
|
CLEANFILES+=ioctl.c
|
|
|
|
ioctl.c: mkioctls ${DESTDIR}/usr/include/sys/ioctl.h ${DESTDIR}/usr/include/sys/ioctl_compat.h
|
|
/bin/sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include/sys/ioctl.h \
|
|
${DESTDIR}/usr/include/sys/ioctl_compat.h > ioctl.c
|
|
|
|
.include <bsd.prog.mk>
|