Skip to content
Snippets Groups Projects
Commit 2e440b0b authored by jdh8d's avatar jdh8d
Browse files

Former-commit-id: bb4971501efa8a813761e73aa583fbc580bd5092
parent 1bafa771
No related branches found
No related tags found
No related merge requests found
...@@ -726,6 +726,8 @@ tools/transforms/Range.cpp -text ...@@ -726,6 +726,8 @@ tools/transforms/Range.cpp -text
tools/transforms/Range.hpp -text tools/transforms/Range.hpp -text
tools/transforms/Rewrite_Utility.cpp -text tools/transforms/Rewrite_Utility.cpp -text
tools/transforms/Rewrite_Utility.hpp -text tools/transforms/Rewrite_Utility.hpp -text
tools/transforms/SConscript -text
tools/transforms/SConstruct -text
tools/transforms/ScaledOffsetInference.cpp -text tools/transforms/ScaledOffsetInference.cpp -text
tools/transforms/ScaledOffsetInference.hpp -text tools/transforms/ScaledOffsetInference.hpp -text
tools/transforms/StackLayout.cpp -text tools/transforms/StackLayout.cpp -text
......
import os
Import('env')
env.Replace(SECURITY_TRANSFORMS_HOME=os.environ['SECURITY_TRANSFORMS_HOME'])
libname="IRDB-util"
files= '''
insn_preds.cpp
'''
cpppath='''
$SECURITY_TRANSFORMS_HOME/include/
$SECURITY_TRANSFORMS_HOME/libIRDB/include/
$SECURITY_TRANSFORMS_HOME/libMEDSannotation/include/
$SECURITY_TRANSFORMS_HOME/libtransform/include/
$SECURITY_TRANSFORMS_HOME/beaengine/include
$SECURITY_TRANSFORMS_HOME/beaengine/beaengineSources/Includes/
'''
LIBS="xform IRDB-core IRDB-cfg BeaEngine_s_d pqxx MEDSannotation transform"
LIBPATH="$SECURITY_TRANSFORMS_HOME/lib"
integer_files="transformutils.cpp integertransformdriver.cpp"
env['CFLAGS'].append("-Wall")
all_files="PNTransformDriver.cpp PNStackLayout.cpp PNRange.cpp Range.cpp OffsetInference.cpp DirectOffsetInference.cpp ScaledOffsetInference.cpp P1Inference.cpp PNRegularExpressions.cpp PNMain.cpp StackLayout.cpp General_Utility.cpp AnnotationBoundaryGenerator.cpp PrecedenceBoundaryInference.cpp PNIrdbManager.cpp"
env=env.Clone(CPPPATH=Split(cpppath))
ru_obj=env.Object("Rewrite_Utility.cpp");
ru_lib=env.Library("rewrite", ru_obj);
install=env.Install("$SECURITY_TRANSFORMS_HOME/lib/", ru_lib)
Default(install)
p1=env.Program("p1transform.exe", Split(all_files), LIBS=Split(LIBS)+ru_lib, LIBPATH=Split(LIBPATH))
install=env.Install("$SECURITY_TRANSFORMS_HOME/bin/", p1)
install=env.InstallAs("$SECURITY_TRANSFORMS_HOME/bin/pntransform.exe", p1)
Default(install)
install=env.InstallAs("pntransform.exe", p1)
Default(install)
intdr=env.Program("integertransformdriver.exe", Split(integer_files), LIBS=Split(LIBS)+ru_lib, LIBPATH=Split(LIBPATH))
install=env.Install("$SECURITY_TRANSFORMS_HOME/bin/", intdr)
Default(install)
env=Environment()
Export('env')
SConscript("SConscript")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment