Changeset 1325 for trunk/src/SConscript


Ignore:
Timestamp:
04/12/07 12:07:38 (18 years ago)
Author:
mar637
Message:

Changes to use casacore instead of casa_asap/aips++\nAdded atnf PKSIO library snapshot to external and linking against this local copy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SConscript

    r1135 r1325  
    1010for pf in pycpps: cpps.remove(pf)
    1111
    12 casalibd = os.path.join(myenv['CASAROOT'],myenv['CASAARCH'],'lib')
    13 
    1412# location of libcasav.a
    1513myenv.Prepend( LIBPATH = ['#/build'] )
    16 myenv.Install('#build', os.path.join(casalibd, 'libwcs.a'))
    1714myenv['SHLIBPREFIX']=""   #gets rid of lib prefix
    18 
     15myenv.Append(CCFLAGS=["-DWCSLIB_GETWCSTAB"])
    1916# need to create library here to fool  scons linker
    20 casav = myenv.StaticLibrary(target = "casav", source = os.path.join(casalibd, 'version.o'))
    2117libasap =  myenv.StaticLibrary(target = "asap", source = cpps)
    2218myenv.Prepend( LIBS =  ['asap'] )
    2319
    2420# Finally create the library for the module
    25 so = myenv.SharedLibrary( target = "_asap", source = pycpps )
     21so = myenv.LoadableModule( target = "_asap.so", source = pycpps, SHLIBSUFFIX="" )
    2622#test = myenv.Program("test", cpps)
    2723Return("so")
Note: See TracChangeset for help on using the changeset viewer.