diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2019-07-25 17:10:17 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2019-07-25 17:10:17 +0000 |
| commit | 78aee653e975ae2f8cb01aef0c4e748b35a7a7d4 (patch) | |
| tree | 9cd46e0b923c7c81a167bcd9099ec10787df6d55 /lib/libsysdecode/Makefile | |
| parent | 1f0a85545ee66c74aed3f380f05396dea2340712 (diff) | |
Notes
Diffstat (limited to 'lib/libsysdecode/Makefile')
| -rw-r--r-- | lib/libsysdecode/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libsysdecode/Makefile b/lib/libsysdecode/Makefile index caab36d1e303c..2be244a6da46c 100644 --- a/lib/libsysdecode/Makefile +++ b/lib/libsysdecode/Makefile @@ -123,9 +123,10 @@ CFLAGS.gcc.ioctl.c+= -Wno-redundant-decls CFLAGS.gcc+= ${CFLAGS.gcc.${.IMPSRC}} DEPENDOBJS+= tables.h -tables.h: mktables ${SYSROOT}/sys/netinet/in.h ${SYSROOT}/sys/netinet/tcp.h \ - ${SYSROOT}/sys/netinet6/in6.h - sh ${.CURDIR}/mktables ${SYSROOT:U${DESTDIR}}${INCLUDEDIR} ${.TARGET}.tmp && \ +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} # mkioctls runs find(1) for headers so needs to rebuild every time. This used |
