mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-06 22:39:55 +08:00
28 lines
842 B
Plaintext
28 lines
842 B
Plaintext
project RDKFuncs_java : : ;
|
|
|
|
import swig ;
|
|
|
|
|
|
lib RDKFuncs : RDKFuncs_wrap.cpp ../RDKFuncs.cpp
|
|
../../../GraphMol//GraphMol ../../../GraphMol/SmilesParse//SmilesParse
|
|
../../../GraphMol/FileParsers//FileParsers
|
|
../../../GraphMol/Substruct//Substruct
|
|
../../../GraphMol/ChemReactions//ChemReactions
|
|
../../../RDGeneral//RDGeneral ../../../Geometry//RDGeometry
|
|
: <cflags>-fno-strict-aliasing <include>/usr/include/java <include>/usr/include/java/linux <include>.. ;
|
|
|
|
cpp RDKFuncs_wrap.cpp : ../RDKFuncs.i : <main-target-type>JAVA_WRAPPER ;
|
|
|
|
install lib-install : RDKFuncs : <location>. ;
|
|
|
|
actions javacompile
|
|
{
|
|
javac *.java org/RDKit/*.java
|
|
jar cf ./RDKit_Wrapper.jar org/RDKit/*.java
|
|
}
|
|
|
|
make main.class : main.java RDKFuncs_wrap.cpp : @javacompile ;
|
|
|
|
make WrapperTests.class : WrapperTests.java RDKFuncs_wrap.cpp : @javacompile ;
|
|
|