diff options
| author | Bryan Drewery <bdrewery@FreeBSD.org> | 2019-08-16 22:34:10 +0000 |
|---|---|---|
| committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2019-08-16 22:34:10 +0000 |
| commit | dc89d06976b7ce93b0e934f3dcd567def521bab4 (patch) | |
| tree | 81949de881d646662950dabedf3d24da011929f0 /lib/libsysdecode/Makefile | |
| parent | 49366f62991ba8e723c0fcadd60007afe4d3b0a5 (diff) | |
Notes
Diffstat (limited to 'lib/libsysdecode/Makefile')
| -rw-r--r-- | lib/libsysdecode/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libsysdecode/Makefile b/lib/libsysdecode/Makefile index 2be244a6da46..c96a39e0ffac 100644 --- a/lib/libsysdecode/Makefile +++ b/lib/libsysdecode/Makefile @@ -107,7 +107,7 @@ MLINKS+=sysdecode_mask.3 sysdecode_accessmode.3 \ sysdecode_mask.3 sysdecode_wait4_options.3 \ sysdecode_mask.3 sysdecode_wait6_options.3 -CLEANFILES= ioctl.c ioctl.c.tmp tables.h tables.h.tmp +CLEANFILES= ioctl.c ioctl.c.tmp tables.h .if defined(COMPAT_32BIT) CPP+= -m32 @@ -123,11 +123,8 @@ CFLAGS.gcc.ioctl.c+= -Wno-redundant-decls CFLAGS.gcc+= ${CFLAGS.gcc.${.IMPSRC}} DEPENDOBJS+= tables.h -incdir=${SYSROOT:U${DESTDIR}}${INCLUDEDIR} -tables.h: mktables ${incdir}/netinet/in.h ${incdir}/netinet/tcp.h \ - ${incdir}/netinet6/in6.h - sh ${.CURDIR}/mktables ${incdir} ${.TARGET}.tmp && \ - mv -f ${.TARGET}.tmp ${.TARGET} +tables.h: mktables + sh ${.CURDIR}/mktables ${SYSROOT:U${DESTDIR}}${INCLUDEDIR} ${.TARGET} # mkioctls runs find(1) for headers so needs to rebuild every time. This used # to be a hack only done in buildworld. |
