Makefile.am 719 Bytes
Newer Older
1
bin_PROGRAMS=host_receiver
2
lib_LTLIBRARIES=pyenergy.la
3
host_receiver_SOURCES=helper.cpp dataprocessor.cpp libusbinterface.cpp host_receiver.cpp
4
pyenergy_la_SOURCES=$(host_receiver_SOURCES) pymodule.cpp
5 6 7 8 9

host_receiver_CPPFLAGS = $(BOOST_CPPFLAGS)
host_receiver_LDADD = $(BOOST_REGEX_LIBS) $(BOOST_THREAD_LIBS) $(BOOST_SYSTEM_LIBS)
host_receiver_LDFLAGS = $(BOOST_REGEX_LDFLAGS) $(BOOST_THREAD_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS)

10
pyenergy_la_CPPFLAGS = $(PYTHON_CPPFLAGS)
11 12
pyenergy_la_LIBADD = $(BOOST_PYTHON_LIBS) $(BOOST_PYTHON3_LIBS) $(PYTHON_LIBS) $(host_receiver_LDADD)
pyenergy_la_LDFLAGS = $(BOOST_PYTHON_LDFLAGS) $(BOOST_PYTHON3_LDFLAGS) -module -shared -avoid-version $(host_receiver_LDFLAGS)
13

14
ACLOCAL_AMFLAGS=-Im4