Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2006 06:04:02 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 95481 for review
Message-ID:  <200604180604.k3I642oS082645@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95481

Change 95481 by jb@jb_freebsd2 on 2006/04/18 06:03:07

	Add the ctfmerge statements to merge CTF data into shared libraries.
	
	This is a significant emotional event! There are enough programs and
	shared libraries built automatically in 'make buildworld' to do a
	trace, if only there was something to actually /do/ the trace. That
	means it's time to get dtrace(1) working. And beyond that, the
	dtrace kernel device.

Affected files ...

.. //depot/projects/dtrace/src/share/mk/bsd.lib.mk#4 edit

Differences ...

==== //depot/projects/dtrace/src/share/mk/bsd.lib.mk#4 (text+ko) ====

@@ -222,6 +222,9 @@
 	@${CC} ${LDFLAGS} -shared -Wl,-x \
 	    -o ${.TARGET} -Wl,-soname,${SONAME} \
 	    `lorder ${SOBJS} | tsort -q` ${LDADD}
+.if defined(CTFMERGE)
+	${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${SOBJS}
+.endif
 .endif
 
 .if defined(INSTALL_PIC_ARCHIVE) && defined(LIB) && !empty(LIB) && ${MK_TOOLCHAIN} != "no"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604180604.k3I642oS082645>