Browse Source

tau profiler

David Rose 19 years ago
parent
commit
d58f403834
2 changed files with 8 additions and 8 deletions
  1. 2 2
      dtool/pptempl/Global.gmsvc.pp
  2. 6 6
      dtool/pptempl/Template.gmsvc.pp

+ 2 - 2
dtool/pptempl/Global.gmsvc.pp

@@ -125,9 +125,9 @@
 
 #if $[direct_tau]
 #define tau_ipath $[ROOT_TAU]/include
-#define tau_cflags /DPROFILING_ON /DTAU_STDCXXLIB
+#define tau_cflags /DPROFILING_ON /DTAU_STDCXXLIB /DTAU_USE_C_API
 #define tau_lpath $[ROOT_TAU]/lib/VC7
-#define tau_libs tau-profile-static-mt.lib
+#define tau_libs tau-profile.lib
 #else  // direct_tau
 #define tau_ipath
 #define tau_cflags

+ 6 - 6
dtool/pptempl/Template.gmsvc.pp

@@ -827,9 +827,9 @@ $[TAB] $[compile_c]
 
 #else  // direct_tau
 // This version is used to invoke the tau compiler directly.
-#define il_source $[source].il
-#define pdb_source $[source].pdb  // Not to be confused with windows .pdb debugger info files.
-#define inst_source $[source:%.c=%.inst.c]
+#define il_source $[target].il
+#define pdb_source $[target].pdb  // Not to be confused with windows .pdb debugger info files.
+#define inst_source $[notdir $[target:%.obj=%.inst.c]]
 $[il_source] : $[source]
 $[TAB] $[TAU_MAKE_IL]
 
@@ -868,9 +868,9 @@ $[TAB] $[compile_c++]
 
 #else  // direct_tau
 // This version is used to invoke the tau compiler directly.
-#define il_source $[source].il
-#define pdb_source $[source].pdb  // Not to be confused with windows .pdb debugger info files.
-#define inst_source $[source:%.cxx=%.inst.cxx]
+#define il_source $[target].il
+#define pdb_source $[target].pdb  // Not to be confused with windows .pdb debugger info files.
+#define inst_source $[notdir $[target:%.obj=%.inst.cxx]]
 $[il_source] : $[source] $[yxx_sources:%.yxx=%.h]
 $[TAB] $[TAU_MAKE_IL]