summaryrefslogtreecommitdiff
path: root/lib/libsysdecode/Makefile
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2016-01-26 19:07:09 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2016-01-26 19:07:09 +0000
commita5f14abfd231777ed4f1ab2e7d4aeeb4418156f2 (patch)
tree817dc34ebf9af56aa355e84eee2cf55753669285 /lib/libsysdecode/Makefile
parent4c1ca03b46d7bf883e75fc1643d9ddfd2c35ec0b (diff)
Notes
Diffstat (limited to 'lib/libsysdecode/Makefile')
-rw-r--r--lib/libsysdecode/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libsysdecode/Makefile b/lib/libsysdecode/Makefile
index a6d3ba13961c..e1e69fef64e8 100644
--- a/lib/libsysdecode/Makefile
+++ b/lib/libsysdecode/Makefile
@@ -4,11 +4,14 @@
LIB= sysdecode
-SRCS= ioctl.c utrace.c
+SRCS= ioctl.c syscallnames.c utrace.c
INCS= sysdecode.h
+CFLAGS+= -I${.CURDIR}/../../sys
+
MAN+= sysdecode.3 \
sysdecode_ioctlname.3 \
+ sysdecode_syscallnames.3 \
sysdecode_utrace.3
CLEANFILES= ioctl.c
@@ -23,6 +26,10 @@ CFLAGS+=-DPF
# Workaround duplicate declarations in <netinet/ip_compat.h>
CFLAGS.gcc.ioctl.c+= -Wno-redundant-decls
+
+# Workaround warning for unused ssi_cables[] in <dev/lmc/if_lmc.h>
+CFLAGS.gcc.ioctl.c+= -Wno-unused
+
CFLAGS.gcc+= ${CFLAGS.gcc.${.IMPSRC}}
ioctl.c: mkioctls