[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.
This commit is contained in:
Ray Speth 2014-02-20 03:00:45 +00:00
parent 03c891ba18
commit ca0ea8bc35
5 changed files with 0 additions and 12 deletions

View file

@ -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)

View file

@ -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']:

View file

@ -1,3 +1 @@
arith.h
signal1.h
sysdep1.h