1998-10-04 14:49:58 +04:00
|
|
|
# $NetBSD: Makefile,v 1.12 1998/10/04 10:49:58 veego Exp $
|
1997-08-01 08:37:36 +04:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
1994-05-11 11:10:27 +04:00
|
|
|
|
1998-03-02 22:42:25 +03:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1994-05-11 11:10:27 +04:00
|
|
|
PROG= kdump
|
1998-10-04 14:49:58 +04:00
|
|
|
CPPFLAGS+=-I${.CURDIR}/../ktrace -I${.CURDIR}/../../sys
|
1994-05-11 11:10:27 +04:00
|
|
|
SRCS= kdump.c ioctl.c subr.c
|
1997-05-09 01:11:01 +04:00
|
|
|
.PATH: ${.CURDIR}/../ktrace
|
1998-03-02 22:42:25 +03:00
|
|
|
LDSTATIC?=-static
|
1994-05-11 11:10:27 +04:00
|
|
|
CLEANFILES+=ioctl.c
|
|
|
|
|
1997-07-21 23:29:58 +04:00
|
|
|
ioctl.c: mkioctls ${DESTDIR}/usr/include/sys/ioctl.h ${DESTDIR}/usr/include/sys/ioctl_compat.h
|
1994-06-18 20:33:22 +04:00
|
|
|
/bin/sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include/sys/ioctl.h \
|
|
|
|
${DESTDIR}/usr/include/sys/ioctl_compat.h > ioctl.c
|
1994-05-11 11:10:27 +04:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|