PERFORCE change 95056 for review
John Birrell
jb at FreeBSD.org
Wed Apr 12 07:45:45 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=95056
Change 95056 by jb at jb_freebsd2 on 2006/04/12 07:45:36
Add sgsmsg as a bootstrap-tool iff !NO_CDDL and !NO_DTRACE.
NO_CDDL is intended to allow buildworld without and CDDL code.
NO_DTRACE is intended to stop buildworld from building files with
CTF (C Type Format) data which is half way between a stripped
binary and one with debug symbols. The CTF data is needed by DTrace.
Affected files ...
.. //depot/projects/dtrace/src/Makefile.inc1#3 edit
Differences ...
==== //depot/projects/dtrace/src/Makefile.inc1#3 (text+ko) ====
@@ -825,8 +825,13 @@
_pwd_mkdb= usr.sbin/pwd_mkdb
.endif
+.if !defined(NO_CDDL) && !defined(NO_DTRACE)
+_sgsmsg= cddl/usr.bin/sgsmsg
+.endif
+
bootstrap-tools:
.for _tool in \
+ ${_sgsmsg} \
${_strfile} \
${_gperf} \
${_groff} \
@@ -870,6 +875,10 @@
_rescue= rescue/rescue
.endif
+.if !defined(NO_CDDL) && !defined(NO_DTRACE)
+_dtrace_tools= cddl/usr.bin
+.endif
+
build-tools:
.for _tool in \
bin/csh \
@@ -888,6 +897,7 @@
.endfor
.for _tool in \
gnu/usr.bin/cc/cc_tools \
+ ${_dtrace_tools} \
${_kerberos5_tools}
${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all)"; \
cd ${.CURDIR}/${_tool}; \
@@ -1011,6 +1021,10 @@
_prebuild_libs+= lib/libypclnt
.endif
+.if !defined(NO_CDDL) && !defined(NO_DTRACE)
+_prebuild_libs+= cddl/lib
+.endif
+
_generic_libs+= usr.bin/lex/lib
.if ${MACHINE} == "i386"
More information about the p4-projects
mailing list