296 |
|
|
297 |
# MS Windows |
# MS Windows |
298 |
if IS_WINDOWS_PLATFORM: |
if IS_WINDOWS_PLATFORM: |
299 |
env.PrependENVPath('PATH', [env['boost_lib_path']]) |
env.AppendENVPath('PATH', [env['boost_lib_path']]) |
300 |
env.PrependENVPath('PATH', [env['libinstall']]) |
env.AppendENVPath('PATH', [env['libinstall']]) |
301 |
if not env['share_esysUtils'] : |
if not env['share_esysUtils'] : |
302 |
env.Append(CPPDEFINES = ['ESYSUTILS_STATIC_LIB']) |
env.Append(CPPDEFINES = ['ESYSUTILS_STATIC_LIB']) |
303 |
if not env['share_paso'] : |
if not env['share_paso'] : |
304 |
env.Append(CPPDEFINES = ['PASO_STATIC_LIB']) |
env.Append(CPPDEFINES = ['PASO_STATIC_LIB']) |
305 |
|
|
306 |
if env['usenetcdf']: |
if env['usenetcdf']: |
307 |
env.PrependENVPath('PATH', [env['netCDF_lib_path']]) |
env.AppendENVPath('PATH', [env['netCDF_lib_path']]) |
308 |
|
|
309 |
env.Append(ARFLAGS = env['ar_flags']) |
env.Append(ARFLAGS = env['ar_flags']) |
310 |
|
|
408 |
|
|
409 |
conf = Configure(clone_env(env)) |
conf = Configure(clone_env(env)) |
410 |
|
|
411 |
|
print "<1<<<<"+str(conf.env['ENV']['LD_LIBRARY_PATH']) |
412 |
|
|
413 |
|
|
414 |
if env['usenetcdf']: |
if env['usenetcdf']: |
415 |
conf.env.AppendUnique(CPPPATH = [env['netCDF_path']]) |
conf.env.AppendUnique(CPPPATH = [env['netCDF_path']]) |
416 |
conf.env.AppendUnique(LIBPATH = [env['netCDF_lib_path']]) |
conf.env.AppendUnique(LIBPATH = [env['netCDF_lib_path']]) |
423 |
if env['usenetcdf'] and not conf.CheckCHeader('netcdf.h'): env['usenetcdf'] = 0 |
if env['usenetcdf'] and not conf.CheckCHeader('netcdf.h'): env['usenetcdf'] = 0 |
424 |
if env['usenetcdf'] and not conf.CheckFunc('nc_open'): env['usenetcdf'] = 0 |
if env['usenetcdf'] and not conf.CheckFunc('nc_open'): env['usenetcdf'] = 0 |
425 |
|
|
426 |
|
print "<2<<<<"+str(conf.env['ENV']['LD_LIBRARY_PATH']) |
427 |
|
|
428 |
# Add NetCDF to environment env if it was found |
# Add NetCDF to environment env if it was found |
429 |
if env['usenetcdf']: |
if env['usenetcdf']: |
430 |
env = conf.Finish() |
env = conf.Finish() |
432 |
else: |
else: |
433 |
conf.Finish() |
conf.Finish() |
434 |
|
|
435 |
|
print "<A<<<<"+str(env['ENV']['LD_LIBRARY_PATH']) |
436 |
|
|
437 |
############ PAPI (optional) ################################### |
############ PAPI (optional) ################################### |
438 |
|
|
439 |
# Start a new configure environment that reflects what we've already found |
# Start a new configure environment that reflects what we've already found |
814 |
|
|
815 |
############ Targets to build the documentation ################ |
############ Targets to build the documentation ################ |
816 |
|
|
817 |
env.Alias('docs', ['examples_tarfile', 'examples_zipfile', 'api_epydoc', 'api_doxygen', 'guide_pdf', 'guide_html']) |
env.Alias('docs', ['examples_tarfile', 'examples_zipfile', 'api_epydoc', 'api_doxygen', 'guide_pdf', 'guide_html','install_pdf']) |
818 |
|
|
819 |
if not IS_WINDOWS_PLATFORM: |
if not IS_WINDOWS_PLATFORM: |
820 |
try: |
try: |