source: src/Makefile.am

Last change on this file was 1, checked in by coin, 9 years ago

Initial import

File size: 1.5 KB
RevLine 
[1]1BUILT_SOURCES = swig_tsp.cpp swig_ca_tsp.cpp swig_sa_tsp.cpp __init__.py tsp.py ca_tsp.py sa_tsp.py
2EXTRA_DIST = Doxyfile TSPTW/*.h Twister/*.h Twister/*.cc swig/*.i annealer/*.h examples/* doxygen/*.h swig/*.i
3SWIG_SHARED_SOURCES = TSPTW/TSPTWWorld.cc Twister/Twister.cc
4ADDL_CPPFLAGS=${BOOST_CPPFLAGS} -I..
5
6pkgpython_PYTHON = tsp.py ca_tsp.py sa_tsp.py __init__.py
7pkgpyexec_LTLIBRARIES = _tsp.la _ca_tsp.la _sa_tsp.la
8
9_tsp_la_SOURCES=swig_tsp.cpp $(SWIG_SHARED_SOURCES)
10_tsp_la_LDFLAGS=-module
11_tsp_la_CPPFLAGS=$(SWIG_PYTHON_CPPFLAGS) -ITSPTW -ITwister -Iannealer $(ADDL_CPPFLAGS)
12
13_ca_tsp_la_SOURCES=swig_ca_tsp.cpp $(SWIG_SHARED_SOURCES)
14_ca_tsp_la_LDFLAGS=-module
15_ca_tsp_la_CPPFLAGS=$(SWIG_PYTHON_CPPFLAGS) -ITSPTW -ITwister -Iannealer $(ADDL_CPPFLAGS)
16
17_sa_tsp_la_SOURCES=swig_sa_tsp.cpp $(SWIG_SHARED_SOURCES)
18_sa_tsp_la_LDFLAGS=-module
19_sa_tsp_la_CPPFLAGS=$(SWIG_PYTHON_CPPFLAGS) -ITSPTW -ITwister -Iannealer $(ADDL_CPPFLAGS)
20
21swig_tsp.cpp:
22        $(SWIG) $(SWIG_PYTHON_OPT) -c++ -ITSPTW -ITwister -Iannealer -o swig_tsp.cpp swig/TSP.i
23
24swig_ca_tsp.cpp:
25        $(SWIG) $(SWIG_PYTHON_OPT) -c++ -ITSPTW -ITwister -Iannealer -o swig_ca_tsp.cpp swig/CA_TSP.i
26
27swig_sa_tsp.cpp:
28        $(SWIG) $(SWIG_PYTHON_OPT) -c++ -ITSPTW -ITwister -Iannealer -o swig_sa_tsp.cpp swig/SA_TSP.i
29
30tsp.py: swig_tsp.cpp
31
32ca_tsp.py: swig_ca_tsp.cpp
33
34sa_tsp.py: swig_sa_tsp.cpp
35
36__init__.py:
37        touch __init__.py
38
39clean-local:
40        rm -f _Djinni* *.py swig_*.cpp
41
42dist-hook:
43        for file in $(BUILT_SOURCES) ; do \
44                rm -f $(distdir)/$$file ; \
45        done
46
47docs: Doxyfile
48        doxygen
49
Note: See TracBrowser for help on using the repository browser.