From 6c1a346f86eba5a97b1c20f6afc1e6dd444df512 Mon Sep 17 00:00:00 2001 From: David Rose Date: Sat, 9 Feb 2002 00:38:32 +0000 Subject: [PATCH] add stinterrogate --- dtool/Config.pp | 7 +++++++ dtool/pptempl/Template.gmsvc.pp | 4 ++-- dtool/pptempl/Template.msvc.pp | 4 ++-- dtool/pptempl/Template.unix.pp | 4 ++-- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/dtool/Config.pp b/dtool/Config.pp index b144e5a7b8..9011cb1b13 100644 --- a/dtool/Config.pp +++ b/dtool/Config.pp @@ -131,6 +131,13 @@ // probably don't want to mess with this. #define INTERROGATE_OPTIONS -fnames -string -refcount -assert +// What's the name of the interrogate binary to run? The default +// specified is the one that is built as part of DTOOL. If you have a +// prebuilt binary standing by (for instance, one built opt4), specify +// its name instead. +#define INTERROGATE interrogate +#define INTERROGATE_MODULE interrogate_module + // Is Python installed, and should Python interfaces be generated? If // Python is installed, which directory is it in? (If the directory // is someplace standard like /usr/include, you may leave it blank.) diff --git a/dtool/pptempl/Template.gmsvc.pp b/dtool/pptempl/Template.gmsvc.pp index 0c248cf1e5..d4887c24de 100644 --- a/dtool/pptempl/Template.gmsvc.pp +++ b/dtool/pptempl/Template.gmsvc.pp @@ -493,7 +493,7 @@ $[so_dir]/$[igatedb] : $[so_dir]/$[igateoutput] lib$[TARGET]_igatescan = $[igatescan] $[so_dir]/$[igateoutput] : $[sort $[patsubst %.h,%.h,%.I,%.I,%.T,%.T,%,,$[dependencies $[igatescan]] $[igatescan:%=./%]]] $[so_dir]/stamp -$[TAB] interrogate -od $[so_dir]/$[igatedb] -oc $[so_dir]/$[igateoutput] $[interrogate_options] -module "$[igatemod]" -library "$[igatelib]" $(lib$[TARGET]_igatescan) +$[TAB] $[INTERROGATE] -od $[so_dir]/$[igatedb] -oc $[so_dir]/$[igateoutput] $[interrogate_options] -module "$[igatemod]" -library "$[igatelib]" $(lib$[TARGET]_igatescan) #define target $[igateoutput:%.cxx=$[so_dir]/%.obj] #define source $[so_dir]/$[igateoutput] @@ -516,7 +516,7 @@ lib$[TARGET]_igatemscan = $[igatemscan] #define sources $(lib$[TARGET]_igatemscan) $[target] : $[sources] $[so_dir]/stamp -$[TAB] interrogate_module -oc $[target] -module "$[igatemod]" -library "$[igatelib]" $[interrogate_module_options] $[sources] +$[TAB] $[INTERROGATE_MODULE] -oc $[target] -module "$[igatemod]" -library "$[igatelib]" $[interrogate_module_options] $[sources] #define target $[igatemout:%.cxx=$[so_dir]/%.obj] #define source $[so_dir]/$[igatemout] diff --git a/dtool/pptempl/Template.msvc.pp b/dtool/pptempl/Template.msvc.pp index 1ab4530673..6ca6e8a24a 100644 --- a/dtool/pptempl/Template.msvc.pp +++ b/dtool/pptempl/Template.msvc.pp @@ -463,7 +463,7 @@ $[TAB] $[NT_COPYCMD] $[so_dir]\$[local] $[dest] lib$[TARGET]_igatescan = $[osfilename $[igatescan]] $[so_dir]\$[igatedb] $[so_dir]\$[igateoutput] : $[sort $[patsubst %.h,%.h,%.I,%.I,%.T,%.T,%,,$[dependencies $[igatescan]] $[igatescan:%=./%]]] // We use forward slash for interrogate because it prefers those. -$[TAB] interrogate -od $[so_dir]/$[igatedb] -oc $[so_dir]/$[igateoutput] $[interrogate_options] -module "$[igatemod]" -library "$[igatelib]" $(lib$[TARGET]_igatescan) +$[TAB] $[INTERROGATE] -od $[so_dir]/$[igatedb] -oc $[so_dir]/$[igateoutput] $[interrogate_options] -module "$[igatemod]" -library "$[igatelib]" $(lib$[TARGET]_igatescan) #define target $[igateoutput:%.cxx=$[so_dir]\%.obj] #define source $[so_dir]\$[igateoutput] @@ -485,7 +485,7 @@ lib$[TARGET]_igatemscan = $[osfilename $[igatemscan]] #define target $[so_dir]\$[igatemout] #define sources $(lib$[TARGET]_igatemscan) $[target] : $[sources] -$[TAB] interrogate_module -oc $[target] -module "$[igatemod]" -library "$[igatelib]" $[interrogate_module_options] $[sources] +$[TAB] $[INTERROGATE_MODULE] -oc $[target] -module "$[igatemod]" -library "$[igatelib]" $[interrogate_module_options] $[sources] #define target $[igatemout:%.cxx=$[so_dir]\%.obj] #define source $[so_dir]\$[igatemout] diff --git a/dtool/pptempl/Template.unix.pp b/dtool/pptempl/Template.unix.pp index 0e6df73063..d49e34970c 100644 --- a/dtool/pptempl/Template.unix.pp +++ b/dtool/pptempl/Template.unix.pp @@ -361,7 +361,7 @@ $[so_dir]/$[igatedb] : $[so_dir]/$[igateoutput] lib$[TARGET]_igatescan = $[igatescan] $[so_dir]/$[igateoutput] : $[sort $[patsubst %.h,%.h,%.I,%.I,%.T,%.T,%,,$[dependencies $[igatescan]] $[igatescan:%=./%]]] -$[TAB]interrogate -od $[so_dir]/$[igatedb] -oc $[so_dir]/$[igateoutput] $[interrogate_options] -module "$[igatemod]" -library "$[igatelib]" $(lib$[TARGET]_igatescan) +$[TAB]$[INTERROGATE] -od $[so_dir]/$[igatedb] -oc $[so_dir]/$[igateoutput] $[interrogate_options] -module "$[igatemod]" -library "$[igatelib]" $(lib$[TARGET]_igatescan) #define target $[igateoutput:%.cxx=$[so_dir]/%.o] #define source $[so_dir]/$[igateoutput] @@ -383,7 +383,7 @@ lib$[TARGET]_igatemscan = $[igatemscan] #define target $[so_dir]/$[igatemout] #define sources $(lib$[TARGET]_igatemscan) $[target] : $[sources] -$[TAB]interrogate_module -oc $[target] -module "$[igatemod]" -library "$[igatelib]" $[interrogate_module_options] $[sources] +$[TAB]$[INTERROGATE_MODULE] -oc $[target] -module "$[igatemod]" -library "$[igatelib]" $[interrogate_module_options] $[sources] #define target $[igatemout:%.cxx=$[so_dir]/%.o] #define source $[so_dir]/$[igatemout]