2005-05-17 16:22:46 -04:00
|
|
|
# -*- python -*-
|
|
|
|
Import('env libraries')
|
|
|
|
|
2005-05-17 16:36:12 -04:00
|
|
|
cassowary = env.Copy(YACCFLAGS="-d")
|
2005-05-17 16:22:46 -04:00
|
|
|
|
|
|
|
domain = 'libcassowary'
|
|
|
|
cassowary.Append(DOMAIN=domain,MAJOR=0,MINOR=60,MICRO=3)
|
|
|
|
|
|
|
|
cassowary_files = Split("""
|
|
|
|
ClAbstractVariable.cc
|
|
|
|
ClConstraint.cc
|
|
|
|
ClLinearExpression.cc
|
|
|
|
ClSolver.cc
|
|
|
|
ClSimplexSolver.cc
|
|
|
|
ClStrength.cc
|
|
|
|
ClSymbolicWeight.cc
|
|
|
|
ClTableau.cc
|
|
|
|
ClVariable.cc
|
|
|
|
ClFloatVariable.cc
|
|
|
|
ClSlackVariable.cc
|
|
|
|
ClDummyVariable.cc
|
|
|
|
ClReader.cc
|
|
|
|
ClReader-lex.cc
|
|
|
|
""")
|
|
|
|
|
2005-05-17 16:36:12 -04:00
|
|
|
cassowary.Append(CCFLAGS="-D_REENTRANT")
|
|
|
|
|
|
|
|
cassowary.CXXFile(target = ['ClReader.cc', 'ClReader.cc.h'], source = 'ClReader.yy')
|
2005-05-17 16:22:46 -04:00
|
|
|
cassowary.CXXFile(target = 'ClReader-lex.cc', source = 'ClReader.ll')
|
|
|
|
|
|
|
|
libcassowary = cassowary.StaticLibrary('cassowary', cassowary_files)
|
|
|
|
Default(libcassowary)
|