Candidate_v1.7.0
        stable
      
      
        
          | Last change
 on this file since 1ca493a was             cb98f1, checked in by Frederik Heber <heber@…>, 9 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 | 
      
      
| Line |  | 
|---|
| 1 | # PLEASE adhere to the alphabetical ordering in this Makefile! | 
|---|
| 2 | # Also indentation by a single tab | 
|---|
| 3 |  | 
|---|
| 4 | JOBSTESTSSOURCES = \ | 
|---|
| 5 | ../Jobs/unittests/MPQCCommandJobUnitTest.cpp | 
|---|
| 6 |  | 
|---|
| 7 | JOBSTESTSHEADERS = \ | 
|---|
| 8 | ../Jobs/unittests/MPQCCommandJobUnitTest.hpp | 
|---|
| 9 |  | 
|---|
| 10 | JOBSTESTS = \ | 
|---|
| 11 | MPQCCommandJobUnitTest | 
|---|
| 12 |  | 
|---|
| 13 |  | 
|---|
| 14 | TESTS += $(JOBSTESTS) | 
|---|
| 15 | check_PROGRAMS += $(JOBSTESTS) | 
|---|
| 16 | noinst_PROGRAMS += $(JOBSTESTS) | 
|---|
| 17 |  | 
|---|
| 18 | JOBSLIBS = \ | 
|---|
| 19 | libUnitTest.la \ | 
|---|
| 20 | ../libMolecuilder.la \ | 
|---|
| 21 | ../libMolecuilderJobs.la \ | 
|---|
| 22 | ../libMolecuilderJobs_Work.la \ | 
|---|
| 23 | ../libMolecuilderFragmentationContainers.la \ | 
|---|
| 24 | ../libMolecuilderFragmentationSummation.la \ | 
|---|
| 25 | $(JobMarket_LDFLAGS) $(JobMarket_LIBS) \ | 
|---|
| 26 | $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \ | 
|---|
| 27 | $(BOOST_THREAD_LDFLAGS) $(BOOST_THREAD_LIBS) \ | 
|---|
| 28 | $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) \ | 
|---|
| 29 | ${CodePatterns_LIBS} | 
|---|
| 30 |  | 
|---|
| 31 | MPQCCommandJobUnitTest_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl | 
|---|
| 32 | MPQCCommandJobUnitTest_CPPFLAGS = $(AM_CPPFLAGS) ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} | 
|---|
| 33 | MPQCCommandJobUnitTest_SOURCES = \ | 
|---|
| 34 | ../Jobs/unittests/MPQCCommandJobUnitTest.cpp \ | 
|---|
| 35 | ../Jobs/unittests/MPQCCommandJobUnitTest.hpp | 
|---|
| 36 | MPQCCommandJobUnitTest_LDADD = ${JOBSLIBS} | 
|---|
| 37 |  | 
|---|
| 38 | #AUTOMAKE_OPTIONS = parallel-test | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.