Index: Makefile.in =================================================================== diff -u -r9a578692ecf2d05eb4da0de37c7e0bdca3819570 -r0078146a2bcee10f8f7f65313b86b288f6d2f652 --- Makefile.in (.../Makefile.in) (revision 9a578692ecf2d05eb4da0de37c7e0bdca3819570) +++ Makefile.in (.../Makefile.in) (revision 0078146a2bcee10f8f7f65313b86b288f6d2f652) @@ -80,6 +80,12 @@ # are correct. #======================================================================== +#DTRACE_OBJ = nsfDTrace.o +#DTRACE_OBJ = @DTRACE_OBJ@ +DTRACE_OBJ = +DTRACE_HDR = $(src_generic_dir)/nsfDTrace.h +DTRACE_SRC = $(src_generic_dir)/nsfDTrace.d + #======================================================================== # The names of the source files is defined in the configure script. # The object files are used for linking into the final library. @@ -89,7 +95,7 @@ #======================================================================== PKG_SOURCES = @PKG_SOURCES@ -PKG_OBJECTS = @PKG_OBJECTS@ +PKG_OBJECTS = @PKG_OBJECTS@ ${DTRACE_OBJ} PKG_STUB_SOURCES = @PKG_STUB_SOURCES@ PKG_STUB_OBJECTS = @PKG_STUB_OBJECTS@ @@ -164,6 +170,9 @@ TCL_DEFS = @TCL_DEFS@ TCL_BIN_DIR = @TCL_BIN_DIR@ TCL_SRC_DIR = @TCL_SRC_DIR@ +# +DTRACE = dtrace +# # Not used, but retained for reference of what libs Tcl required TCL_LIBS = @TCL_LIBS@ @@ -551,6 +560,17 @@ if [ $$match -eq 0 ]; then echo $$i; fi \ done +# DTrace support + +$(PKG_OBJECTS): $(DTRACE_HDR) + +$(DTRACE_HDR): $(DTRACE_SRC) + $(DTRACE) -h $(DTRACE_SWITCHES) -o $@ -s $(DTRACE_SRC) + +#$(DTRACE_OBJ): $(DTRACE_SRC) $(TCL_OBJS) +# $(DTRACE) -G $(DTRACE_SWITCHES) -o $@ -s $(DTRACE_SRC) $(TCL_OBJS) + + #======================================================================== # End of user-definable section #========================================================================