source: src/Jobs/unittests/Makefile.am@ a78360

ForceAnnealing_with_BondGraph_continued
Last change on this file since a78360 was cb98f1, checked in by Frederik Heber <heber@…>, 8 years ago

FIX: One Definition Rule violation by mpqc.

  • mpqc.cc implements MPQCJob::Work() a second time (other in MPQCJob.cpp), this violates ODR and did so far work out of sheer luck. This was brough to surface by making a debian package.
  • Now, we extracted MPQCJob::Work() into a separate library.
  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[cc5db5]1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4JOBSTESTSSOURCES = \
[8e84fe]5 ../Jobs/unittests/MPQCCommandJobUnitTest.cpp
[cc5db5]6
7JOBSTESTSHEADERS = \
[8e84fe]8 ../Jobs/unittests/MPQCCommandJobUnitTest.hpp
[cc5db5]9
10JOBSTESTS = \
[8e84fe]11 MPQCCommandJobUnitTest
[cc5db5]12
13
14TESTS += $(JOBSTESTS)
15check_PROGRAMS += $(JOBSTESTS)
16noinst_PROGRAMS += $(JOBSTESTS)
17
18JOBSLIBS = \
[e9e86f]19 libUnitTest.la \
[748fc7]20 ../libMolecuilder.la \
[8e84fe]21 ../libMolecuilderJobs.la \
[cb98f1]22 ../libMolecuilderJobs_Work.la \
[8e84fe]23 ../libMolecuilderFragmentationContainers.la \
[353326]24 ../libMolecuilderFragmentationSummation.la \
[99689b]25 $(JobMarket_LDFLAGS) $(JobMarket_LIBS) \
[8e84fe]26 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \
27 $(BOOST_THREAD_LDFLAGS) $(BOOST_THREAD_LIBS) \
28 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) \
29 ${CodePatterns_LIBS}
[cc5db5]30
31MPQCCommandJobUnitTest_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
[3b35e7]32MPQCCommandJobUnitTest_CPPFLAGS = $(AM_CPPFLAGS) ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS}
[e9e86f]33MPQCCommandJobUnitTest_SOURCES = \
[cc5db5]34 ../Jobs/unittests/MPQCCommandJobUnitTest.cpp \
35 ../Jobs/unittests/MPQCCommandJobUnitTest.hpp
[8e84fe]36MPQCCommandJobUnitTest_LDADD = ${JOBSLIBS}
[cc5db5]37
38#AUTOMAKE_OPTIONS = parallel-test
Note: See TracBrowser for help on using the repository browser.