From ca0ea8bc3553cf0df88ac2fede4da06f88c4c524 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Thu, 20 Feb 2014 03:00:45 +0000 Subject: [PATCH] [SCons] Simplify treatment of sydep1.h and signal1.h We don't actually have system-dependent versions of these headers, so just put the templates in place directly. --- SConstruct | 2 -- ext/SConscript | 8 -------- ext/f2c_libs/.gitignore | 2 -- ext/f2c_libs/{signal1.h0 => signal1.h} | 0 ext/f2c_libs/{sysdep1.h0 => sysdep1.h} | 0 5 files changed, 12 deletions(-) rename ext/f2c_libs/{signal1.h0 => signal1.h} (100%) rename ext/f2c_libs/{sysdep1.h0 => sysdep1.h} (100%) diff --git a/SConstruct b/SConstruct index 625dfe3a7..060b7f923 100644 --- a/SConstruct +++ b/SConstruct @@ -50,8 +50,6 @@ if 'clean' in COMMAND_LINE_TARGETS: removeFile('.sconsign.dblite') removeFile('include/cantera/base/config.h') removeFile('ext/f2c_libs/arith.h') - removeFile('ext/f2c_libs/signal1.h') - removeFile('ext/f2c_libs/sysdep1.h') for name in os.listdir('.'): if name.endswith('.msi'): removeFile(name) diff --git a/ext/SConscript b/ext/SConscript index 45916f9d7..661a0abca 100644 --- a/ext/SConscript +++ b/ext/SConscript @@ -81,14 +81,6 @@ if env['build_with_f2c']: arithenv.Command('#ext/f2c_libs/arith.h', 'f2c_libs/arithchk/arithchk$PROGSUFFIX', '$SOURCE > $TARGET') - headerenv = prep_f2c(env) - # Possibly system-dependent headers - headerenv.Command('#ext/f2c_libs/signal1.h', 'f2c_libs/signal1.h0', - Copy('$TARGET', '$SOURCE')) - - headerenv.Command('#ext/f2c_libs/sysdep1.h', 'f2c_libs/sysdep1.h0', - Copy('$TARGET', '$SOURCE')) - libs.append(('f2c_libs', 'c', prep_f2c)) if env['BUILD_BLAS_LAPACK']: diff --git a/ext/f2c_libs/.gitignore b/ext/f2c_libs/.gitignore index be02f378b..4ed511628 100644 --- a/ext/f2c_libs/.gitignore +++ b/ext/f2c_libs/.gitignore @@ -1,3 +1 @@ arith.h -signal1.h -sysdep1.h diff --git a/ext/f2c_libs/signal1.h0 b/ext/f2c_libs/signal1.h similarity index 100% rename from ext/f2c_libs/signal1.h0 rename to ext/f2c_libs/signal1.h diff --git a/ext/f2c_libs/sysdep1.h0 b/ext/f2c_libs/sysdep1.h similarity index 100% rename from ext/f2c_libs/sysdep1.h0 rename to ext/f2c_libs/sysdep1.h