define KEEP_TIMESTAMPS

This commit is contained in:
David Rose 2005-07-08 18:31:17 +00:00
parent db1ba8b800
commit ef368fc5ae
2 changed files with 27 additions and 19 deletions

View File

@ -226,6 +226,13 @@
// below, is also true. // below, is also true.
#define INTERROGATE_PYTHON_INTERFACE 1 #define INTERROGATE_PYTHON_INTERFACE 1
// Define this true to use the new interrogate feature to generate
// Python-native objects directly, rather than requiring a separate
// FFI step. This loads and runs much more quickly than the original
// mechanism. Define this false (that is, empty) to use the original
// interfaces.
#define PYTHON_NATIVE 1
// Do you want to generate a C-callable interrogate interface? This // Do you want to generate a C-callable interrogate interface? This
// generates an interface similar to the Python interface above, with // generates an interface similar to the Python interface above, with
// a C calling convention. It should be useful for most other kinds // a C calling convention. It should be useful for most other kinds
@ -809,8 +816,9 @@
// a running program without crashing the running instance. However, // a running program without crashing the running instance. However,
// it doesn't understanding installing a program from a subdirectory, // it doesn't understanding installing a program from a subdirectory,
// so we have to cd into the source directory first. // so we have to cd into the source directory first.
#defer INSTALL $[if $[ne $[dir $[local]], ./],cd ./$[dir $[local]] &&] install -m $[INSTALL_UMASK_DATA] -p $[notdir $[local]] $[dest]/ #defer install_dash_p $[if $[KEEP_TIMESTAMPS],-p,]
#defer INSTALL_PROG $[if $[ne $[dir $[local]], ./],cd ./$[dir $[local]] &&] install -m $[INSTALL_UMASK_PROG] -p $[notdir $[local]] $[dest]/ #defer INSTALL $[if $[ne $[dir $[local]], ./],cd ./$[dir $[local]] &&] install -m $[INSTALL_UMASK_DATA] $[install_dash_p] $[notdir $[local]] $[dest]/
#defer INSTALL_PROG $[if $[ne $[dir $[local]], ./],cd ./$[dir $[local]] &&] install -m $[INSTALL_UMASK_PROG] $[install_dash_p] $[notdir $[local]] $[dest]/
// Variable definitions for building with the Irix MIPSPro compiler. // Variable definitions for building with the Irix MIPSPro compiler.
#if $[eq $[USE_COMPILER], MIPS] #if $[eq $[USE_COMPILER], MIPS]

View File

@ -427,19 +427,19 @@ $[TAB] rm -f $[sort $[installed_files]]
$[install_lib_dir]/$[get_dllname $[TARGET]].$[dlllib] : $[ODIR]/$[get_dllname $[TARGET]].$[dlllib] $[install_lib_dir]/$[get_dllname $[TARGET]].$[dlllib] : $[ODIR]/$[get_dllname $[TARGET]].$[dlllib]
#define local $[get_dllname $[TARGET]].$[dlllib] #define local $[get_dllname $[TARGET]].$[dlllib]
#define dest $[install_lib_dir] #define dest $[install_lib_dir]
$[TAB] cp -p -f $[ODIR]/$[local] $[dest]/ $[TAB] cp $[install_dash_p] -f $[ODIR]/$[local] $[dest]/
#endif #endif
$[install_lib_dir]/$[get_dllname $[TARGET]].lib : $[ODIR]/$[get_dllname $[TARGET]].lib $[install_lib_dir]/$[get_dllname $[TARGET]].lib : $[ODIR]/$[get_dllname $[TARGET]].lib
#define local $[get_dllname $[TARGET]].lib #define local $[get_dllname $[TARGET]].lib
#define dest $[install_lib_dir] #define dest $[install_lib_dir]
$[TAB] cp -p -f $[ODIR]/$[local] $[dest]/ $[TAB] cp $[install_dash_p] -f $[ODIR]/$[local] $[dest]/
#if $[and $[build_dlls],$[build_pdbs]] #if $[and $[build_dlls],$[build_pdbs]]
$[install_lib_dir]/$[get_dllname $[TARGET]].pdb : $[ODIR]/$[get_dllname $[TARGET]].pdb $[install_lib_dir]/$[get_dllname $[TARGET]].pdb : $[ODIR]/$[get_dllname $[TARGET]].pdb
#define local $[get_dllname $[TARGET]].pdb #define local $[get_dllname $[TARGET]].pdb
#define dest $[install_lib_dir] #define dest $[install_lib_dir]
$[TAB] cp -p -f $[ODIR]/$[local] $[dest]/ $[TAB] cp $[install_dash_p] -f $[ODIR]/$[local] $[dest]/
#endif #endif
#if $[igatescan] #if $[igatescan]
@ -458,7 +458,7 @@ $[TAB] cp -p -f $[ODIR]/$[local] $[dest]/
$[igatedb:$[ODIR]/%=$[install_igatedb_dir]/%] : $[igatedb] $[igatedb:$[ODIR]/%=$[install_igatedb_dir]/%] : $[igatedb]
#define local $[igatedb] #define local $[igatedb]
#define dest $[install_igatedb_dir] #define dest $[install_igatedb_dir]
$[TAB] cp -p -f $[local] $[dest]/ $[TAB] cp $[install_dash_p] -f $[local] $[dest]/
// We have to split this out as a separate rule to properly support // We have to split this out as a separate rule to properly support
// parallel make. // parallel make.
@ -610,7 +610,7 @@ $[TAB] rm -f $[sort $[installed_files]]
$[install_lib_dir]/$[get_dllname $[TARGET]].lib : $[ODIR]/$[get_dllname $[TARGET]].lib $[install_lib_dir]/$[get_dllname $[TARGET]].lib : $[ODIR]/$[get_dllname $[TARGET]].lib
#define local $[get_dllname $[TARGET]].lib #define local $[get_dllname $[TARGET]].lib
#define dest $[install_lib_dir] #define dest $[install_lib_dir]
$[TAB] cp -p -f $[ODIR]/$[local] $[dest]/ $[TAB] cp $[install_dash_p] -f $[ODIR]/$[local] $[dest]/
#end static_lib_target ss_lib_target #end static_lib_target ss_lib_target
@ -645,7 +645,7 @@ $[TAB] rm -f $[sort $[installed_files]]
#define local $[TARGET] #define local $[TARGET]
#define dest $[install_bin_dir] #define dest $[install_bin_dir]
$[install_bin_dir]/$[TARGET] : $[ODIR]/$[TARGET] $[install_bin_dir]/$[TARGET] : $[ODIR]/$[TARGET]
$[TAB] cp -p -f $[ODIR]/$[local] $[dest]/ $[TAB] cp $[install_dash_p] -f $[ODIR]/$[local] $[dest]/
#end sed_bin_target #end sed_bin_target
@ -699,13 +699,13 @@ $[TAB] rm -f $[sort $[installed_files]]
$[install_bin_dir]/$[TARGET].exe : $[ODIR]/$[TARGET].exe $[install_bin_dir]/$[TARGET].exe : $[ODIR]/$[TARGET].exe
#define local $[TARGET].exe #define local $[TARGET].exe
#define dest $[install_bin_dir] #define dest $[install_bin_dir]
$[TAB] cp -p -f $[ODIR]/$[local] $[dest]/ $[TAB] cp $[install_dash_p] -f $[ODIR]/$[local] $[dest]/
#if $[build_pdbs] #if $[build_pdbs]
$[install_bin_dir]/$[TARGET].pdb : $[ODIR]/$[TARGET].pdb $[install_bin_dir]/$[TARGET].pdb : $[ODIR]/$[TARGET].pdb
#define local $[TARGET].pdb #define local $[TARGET].pdb
#define dest $[install_bin_dir] #define dest $[install_bin_dir]
$[TAB] cp -p -f $[ODIR]/$[local] $[dest]/ $[TAB] cp $[install_dash_p] -f $[ODIR]/$[local] $[dest]/
#endif #endif
#if $[bin_postprocess_target] #if $[bin_postprocess_target]
@ -717,7 +717,7 @@ $[TAB] rm -f $[output_exe]
$[TAB] $[bin_postprocess_cmd] $[bin_postprocess_arg1] $[input_exe] $[bin_postprocess_arg2] $[output_exe] $[TAB] $[bin_postprocess_cmd] $[bin_postprocess_arg1] $[input_exe] $[bin_postprocess_arg2] $[output_exe]
$[install_bin_dir]/$[bin_postprocess_target].exe : $[output_exe] $[install_bin_dir]/$[bin_postprocess_target].exe : $[output_exe]
$[TAB] cp -p -f $[output_exe] $[install_bin_dir]/ $[TAB] cp $[install_dash_p] -f $[output_exe] $[install_bin_dir]/
#endif #endif
#end bin_target #end bin_target
@ -850,14 +850,14 @@ $[TAB] $[COMPILE_C++]
$[install_bin_dir]/$[file] : $[file] $[install_bin_dir]/$[file] : $[file]
#define local $[file] #define local $[file]
#define dest $[install_bin_dir] #define dest $[install_bin_dir]
$[TAB] chmod +x $[local]; cp -p -f $[local] $[dest]/ $[TAB] chmod +x $[local]; cp $[install_dash_p] -f $[local] $[dest]/
#end file #end file
#foreach file $[install_headers] #foreach file $[install_headers]
$[install_headers_dir]/$[file] : $[file] $[install_headers_dir]/$[file] : $[file]
#define local $[file] #define local $[file]
#define dest $[install_headers_dir] #define dest $[install_headers_dir]
$[TAB] cp -p -f $[local] $[dest]/ $[TAB] cp $[install_dash_p] -f $[local] $[dest]/
#end file #end file
#foreach file $[install_parser_inc] #foreach file $[install_parser_inc]
@ -866,12 +866,12 @@ $[install_parser_inc_dir]/$[file] : $[notdir $[file]]
#define local $[notdir $[file]] #define local $[notdir $[file]]
#define dest $[install_parser_inc_dir]/$[dir $[file]] #define dest $[install_parser_inc_dir]/$[dir $[file]]
$[TAB] mkdir -p $[install_parser_inc_dir]/$[dir $[file]] || echo $[TAB] mkdir -p $[install_parser_inc_dir]/$[dir $[file]] || echo
$[TAB] cp -p -f $[local] $[dest] $[TAB] cp $[install_dash_p] -f $[local] $[dest]
#else #else
$[install_parser_inc_dir]/$[file] : $[file] $[install_parser_inc_dir]/$[file] : $[file]
#define local $[file] #define local $[file]
#define dest $[install_parser_inc_dir] #define dest $[install_parser_inc_dir]
$[TAB] cp -p -f $[local] $[dest]/ $[TAB] cp $[install_dash_p] -f $[local] $[dest]/
#endif #endif
#end file #end file
@ -879,21 +879,21 @@ $[TAB] cp -p -f $[local] $[dest]/
$[install_data_dir]/$[file] : $[file] $[install_data_dir]/$[file] : $[file]
#define local $[file] #define local $[file]
#define dest $[install_data_dir] #define dest $[install_data_dir]
$[TAB] cp -p -f $[local] $[dest]/ $[TAB] cp $[install_dash_p] -f $[local] $[dest]/
#end file #end file
#foreach file $[install_config] #foreach file $[install_config]
$[install_config_dir]/$[file] : $[file] $[install_config_dir]/$[file] : $[file]
#define local $[file] #define local $[file]
#define dest $[install_config_dir] #define dest $[install_config_dir]
$[TAB] cp -p -f $[local] $[dest]/ $[TAB] cp $[install_dash_p] -f $[local] $[dest]/
#end file #end file
#foreach file $[install_py] #foreach file $[install_py]
$[install_py_dir]/$[file] : $[file] $[install_py_dir]/$[file] : $[file]
#define local $[file] #define local $[file]
#define dest $[install_py_dir] #define dest $[install_py_dir]
$[TAB] cp -p -f $[local] $[dest]/ $[TAB] cp $[install_dash_p] -f $[local] $[dest]/
#end file #end file
#if $[install_py] #if $[install_py]
@ -1049,7 +1049,7 @@ $[TAB] @test -d $[install_headers_dir] || mkdir -p $[install_headers_dir]
$[install_headers_dir]/$[CONFIG_HEADER] : $[CONFIG_HEADER] $[install_headers_dir]/$[CONFIG_HEADER] : $[CONFIG_HEADER]
#define local $[CONFIG_HEADER] #define local $[CONFIG_HEADER]
#define dest $[install_headers_dir] #define dest $[install_headers_dir]
$[TAB] cp -p -f $[local] $[dest]/ $[TAB] cp $[install_dash_p] -f $[local] $[dest]/
#endif #endif
// Finally, the rules to freshen the Makefile itself. // Finally, the rules to freshen the Makefile itself.