Author: markj
Date: Thu Nov 17 18:13:42 2016
New Revision: 308773
URL: https://svnweb.freebsd.org/changeset/base/308773

Log:
  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

Modified:
  head/cddl/lib/libdtrace/Makefile

Modified: head/cddl/lib/libdtrace/Makefile
==============================================================================
--- head/cddl/lib/libdtrace/Makefile    Thu Nov 17 18:12:17 2016        
(r308772)
+++ head/cddl/lib/libdtrace/Makefile    Thu Nov 17 18:13:42 2016        
(r308773)
@@ -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}
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to