Don't use absolute path for /sys; we -I/sys anyway.
This commit is contained in:
parent
a7ee7f88c1
commit
74a4ef2554
@ -1,7 +1,7 @@
|
|||||||
# @(#)Makefile 5.2 (Berkeley) 4/27/91
|
# @(#)Makefile 5.2 (Berkeley) 4/27/91
|
||||||
|
|
||||||
PROG= kdump
|
PROG= kdump
|
||||||
CFLAGS+=-I/sys -I${.CURDIR}/../ktrace
|
CFLAGS+=-I${.CURDIR}/../../../sys -I${.CURDIR}/../ktrace
|
||||||
SRCS= kdump.c ioctl.c subr.c
|
SRCS= kdump.c ioctl.c subr.c
|
||||||
.PATH: ${.CURDIR}/../ktrace
|
.PATH: ${.CURDIR}/../ktrace
|
||||||
CLEANFILES+=ioctl.c
|
CLEANFILES+=ioctl.c
|
||||||
|
@ -39,7 +39,7 @@ char copyright[] =
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
/* from: static char sccsid[] = "@(#)kdump.c 5.3 (Berkeley) 1/17/91"; */
|
/* from: static char sccsid[] = "@(#)kdump.c 5.3 (Berkeley) 1/17/91"; */
|
||||||
static char rcsid[] = "$Id: kdump.c,v 1.3 1993/05/20 10:37:33 cgd Exp $";
|
static char rcsid[] = "$Id: kdump.c,v 1.4 1993/06/22 00:49:03 mycroft Exp $";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
@ -227,7 +227,7 @@ dumpheader(kth)
|
|||||||
|
|
||||||
#include <sys/syscall.h>
|
#include <sys/syscall.h>
|
||||||
#define KTRACE
|
#define KTRACE
|
||||||
#include "/sys/kern/syscalls.c"
|
#include "kern/syscalls.c"
|
||||||
#undef KTRACE
|
#undef KTRACE
|
||||||
int nsyscalls = sizeof (syscallnames) / sizeof (syscallnames[0]);
|
int nsyscalls = sizeof (syscallnames) / sizeof (syscallnames[0]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user