~ubuntu-branches/debian/stretch/openbabel/stretch

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
SUBDIRS = cmltest

# Only compile these when running "make check"
check_PROGRAMS = aromatic atom bond cansmi cmlreadfile \
	conversion data format formula formalcharge \
	ffghemical ffuff ffmmff94 inchiwrite \
	internalcoord invalidsmarts invalidsmiles \
	iterators logp_psa math mol phmodel \
	residue rings smarts \
	smilesmatch unitcell

bin_PROGRAMS = roundtrip

if PERL_TESTS
# Use perl's "prove" script and some wrapper .pl scripts to run tests
# (This provides a nicer summary and verbose results on request)
TESTS = wrapper.sh
else
# Standard automake tests (if we don't have prove)
TESTS = cansmi invalidsmarts invalidsmiles smarts rings unitcell \
	$(top_srcdir)/test/cml.sh $(top_srcdir)/test/test-set.sh
endif

LDADD = ../src/libopenbabel.la @LIBDL@
TESTDATADIR = $(top_srcdir)/test/files/
AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include -DTESTDATADIR="\"$(TESTDATADIR)\""

EXTRA_DIST = files wrapper.sh cml.sh test-set.sh \
		aromatic.pl inchi inchi.pl inchi2.pl CMakeLists.txt 

roundtrip_SOURCES = roundtrip.cpp

# Unit Test binaries
aromatic_SOURCES = aromatest.cpp
atom_SOURCES = atom.cpp
bond_SOURCES = bond.cpp
cansmi_SOURCES = cansmi.cpp
cmlreadfile_SOURCES = cmlreadfile.cpp
conversion_SOURCES = conversion.cpp
data_SOURCES = data.cpp
ffghemical_SOURCES = ffghemical.cpp
ffuff_SOURCES = ffuff.cpp
ffmmff94_SOURCES = ffmmff94.cpp
format_SOURCES = format.cpp
formula_SOURCES = formula.cpp
formalcharge_SOURCES = formalcharge.cpp
inchiwrite_SOURCES = inchiwrite.cpp ../src/formats/getinchi.cpp
internalcoord_SOURCES = internalcoord.cpp
invalidsmiles_SOURCES = invalidsmiles.cpp
invalidsmarts_SOURCES = invalidsmarts.cpp
iterators_SOURCES = iterators.cpp
logp_psa_SOURCES = logp_psa.cpp
math_SOURCES = math.cpp
mol_SOURCES = mol.cpp
phmodel_SOURCES = phmodel.cpp
residue_SOURCES = residue.cpp
rings_SOURCES = ringtest.cpp
smarts_SOURCES = smartstest.cpp
smilesmatch_SOURCES = smilesmatch.cpp
unitcell_SOURCES = unitcell.cpp