aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2016-11-17 18:13:42 +0000
committerMark Johnston <markj@FreeBSD.org>2016-11-17 18:13:42 +0000
commite20727061ff7dd94f8126300961480d1394739b3 (patch)
treec43f84175044be620822e421f3c8030d393c83b0
parentf513dfd44b7e0657b22408848e2450f22379ccbe (diff)
downloadsrc-e20727061ff7dd94f8126300961480d1394739b3.tar.gz
src-e20727061ff7dd94f8126300961480d1394739b3.zip
Define dependencies for some auto-generated source files in libdtrace.
Remove an unneeded beforedepend rule. Reported by: emaste, jhb Reviewed by: bdrewery MFC after: 1 week
Notes
Notes: svn path=/head/; revision=308773
-rw-r--r--cddl/lib/libdtrace/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/cddl/lib/libdtrace/Makefile b/cddl/lib/libdtrace/Makefile
index 83a93cf0cb50..17e1eb9bdf5c 100644
--- a/cddl/lib/libdtrace/Makefile
+++ b/cddl/lib/libdtrace/Makefile
@@ -121,12 +121,10 @@ LIBADD= ctf elf proc pthread rtld_db
CLEANFILES= dt_errtags.c dt_names.c
-dt_errtags.c:
- sh ${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common/mkerrtags.sh < ${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common/dt_errtags.h > dt_errtags.c
-
-dt_names.c:
- sh ${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common/mknames.sh < ${OPENSOLARIS_SYS_DISTDIR}/uts/common/sys/dtrace.h > dt_names.c
+.include <bsd.lib.mk>
-beforedepend: dt_errtags.c dt_names.c
+dt_errtags.c: ${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common/dt_errtags.h
+ sh ${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common/mkerrtags.sh < ${.ALLSRC} > ${.TARGET}
-.include <bsd.lib.mk>
+dt_names.c: ${OPENSOLARIS_SYS_DISTDIR}/uts/common/sys/dtrace.h
+ sh ${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common/mknames.sh < ${.ALLSRC} > ${.TARGET}