diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2015-06-15 06:48:43 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2015-06-15 06:48:43 +0000 |
commit | 0f8ae6e2c7f665b6da3a01e05817bd31d13952b8 (patch) | |
tree | 2e8d053607c46e9349d986029a3f2be57d31f787 /usr.bin | |
parent | e822fdb383b76483f490ce10703d9aab1f93c8a6 (diff) | |
download | FreeBSD-src-0f8ae6e2c7f665b6da3a01e05817bd31d13952b8.zip FreeBSD-src-0f8ae6e2c7f665b6da3a01e05817bd31d13952b8.tar.gz |
Add ioctl.c, linux_syscalls.c, linux32_syscalls.c to beforedepend target.
These files need to be generated before mkdep is run.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/kdump/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/kdump/Makefile b/usr.bin/kdump/Makefile index b40fba0..72e6305 100644 --- a/usr.bin/kdump/Makefile +++ b/usr.bin/kdump/Makefile @@ -23,7 +23,11 @@ NO_WERROR?= YES CLEANFILES= ioctl.c kdump_subr.c kdump_subr.h +beforedepend: ioctl.c + .if (${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386") +beforedepend: linux_syscalls.c + CLEANFILES+= linux_syscalls.c kdump.o: linux_syscalls.c linux_syscalls.c: linux_syscalls.conf @@ -31,6 +35,8 @@ linux_syscalls.c: linux_syscalls.conf ${.CURDIR}/../../sys/${MACHINE_ARCH}/linux/syscalls.master ${.CURDIR}/linux_syscalls.conf .endif .if (${MACHINE_ARCH} == "amd64") +beforedepend: linux32_syscalls.c + CLEANFILES+= linux32_syscalls.c kdump.o: linux32_syscalls.c linux32_syscalls.c: linux32_syscalls.conf |