source: src/Jobs/Makefile.am@ 440ac3

Action_Thermostats Add_AtomRandomPerturbation Add_RotateAroundBondAction Add_SelectAtomByNameAction Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests AutomationFragmentation_failures Candidate_v1.6.0 Candidate_v1.6.1 Candidate_v1.7.0 Candidate_v1.7.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator Combining_Subpackages Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_ChronosMutex Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion GeometryObjects Gui_displays_atomic_force_velocity IndependentFragmentGrids_IntegrationTest JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix PartialCharges_OrthogonalSummation PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks RotateToPrincipalAxisSystem_UndoRedo StoppableMakroAction TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps Ubuntu_1604_changes stable
Last change on this file since 440ac3 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: 4.6 KB
RevLine 
[cc5db5]1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
[c3de51]4JOBSSOURCE =
[18ed8c]5if CONDJOBMARKET
[c3de51]6else
7JOBSSOURCE += \
8 Jobs/JobMarket/FragmentJob.cpp \
9 Jobs/JobMarket/FragmentResult.cpp \
10 Jobs/JobMarket/JobId.cpp \
11 Jobs/JobMarket/SystemCommandJob.cpp
12endif
13JOBSSOURCE += \
[4d4ef8]14 Jobs/MPQCCommandJob.cpp \
15 Jobs/MPQCJob.cpp
[18ed8c]16if CONDJOBMARKET
[d2a0f6d]17if CONDVMG
[e9cfc4]18JOBSSOURCE += \
[cceb8c]19 Jobs/ChargeSmearer.cpp \
[238868]20 Jobs/InterfaceVMGDebugGridJob.cpp \
[e9cfc4]21 Jobs/InterfaceVMGJob.cpp \
[238868]22 Jobs/VMGDebugGridJob.cpp \
[b123a5]23 Jobs/VMGJob.cpp \
24 Jobs/WindowGrid_converter.cpp
[d2a0f6d]25endif
[18ed8c]26endif
[cc5db5]27
[c3de51]28JOBSHEADER =
29if CONDJOBMARKET
30else
31JOBSHEADER += \
32 Jobs/JobMarket/FragmentJob.hpp \
33 Jobs/JobMarket/FragmentResult.hpp \
34 Jobs/JobMarket/JobId.hpp \
35 Jobs/JobMarket/SystemCommandJob.hpp \
36 Jobs/JobMarket/types.hpp
37endif
38JOBSHEADER += \
[4d4ef8]39 Jobs/MPQCCommandJob.hpp \
40 Jobs/MPQCCommandJob_binding.hpp \
[1b01e9]41 Jobs/MPQCJob.hpp \
42 Jobs/MPQCJob_binding.hpp
[18ed8c]43if CONDJOBMARKET
[d2a0f6d]44if CONDVMG
[e9cfc4]45JOBSHEADER += \
[cceb8c]46 Jobs/ChargeSmearer.hpp \
[238868]47 Jobs/InterfaceVMGDebugGridJob.hpp \
[e9cfc4]48 Jobs/InterfaceVMGJob.hpp \
[238868]49 Jobs/VMGDebugGridJob.hpp \
[4d4ef8]50 Jobs/VMGDebugGridJob_binding.hpp \
51 Jobs/VMGJob.hpp \
[b123a5]52 Jobs/VMGJob_binding.hpp \
53 Jobs/WindowGrid_converter.hpp
[d2a0f6d]54endif
[18ed8c]55endif
[cc5db5]56
[cb98f1]57lib_LTLIBRARIES += \
58 libMolecuilderJobs.la
59noinst_LTLIBRARIES += \
60 libMolecuilderJobs_Work.la
[b5c39c]61libMolecuilderJobs_la_includedir = $(includedir)/MoleCuilder/
[cc5db5]62nobase_libMolecuilderJobs_la_include_HEADERS = $(JOBSHEADER)
[3b35e7]63libMolecuilderJobs_la_CPPFLAGS = $(AM_CPPFLAGS) ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} -Dvmg_float=double -Dvmg_int=int $(VMG_CFLAGS)
[cb98f1]64libMolecuilderJobs_Work_la_CPPFLAGS = $(AM_CPPFLAGS) ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} -Dvmg_float=double -Dvmg_int=int $(VMG_CFLAGS)
[cc5db5]65libMolecuilderJobs_la_LDFLAGS = $(AM_LDFLAGS) \
[786d28]66 $(BOOST_IOSTREAMS_LDFLAGS) \
[cc5db5]67 $(BOOST_SERIALIZATION_LDFLAGS) \
[2cc7faa]68 $(BOOST_SYSTEM_LDFLAGS)
[cb98f1]69libMolecuilderJobs_Work_la_LDFLAGS = $(AM_LDFLAGS)
[2cc7faa]70if CONDJOBMARKET
71libMolecuilderJobs_la_LDFLAGS += \
72 $(JobMarket_LDFLAGS)
[cb98f1]73libMolecuilderJobs_Work_la_LDFLAGS += \
74 $(JobMarket_LDFLAGS)
[2cc7faa]75endif
76
77libMolecuilderJobs_la_LDFLAGS += \
[cc5db5]78 $(CodePatterns_LDFLAGS)
79libMolecuilderJobs_la_LIBADD = \
[fbf143]80 libMolecuilderFragmentationSummation.la
[18ed8c]81if CONDJOBMARKET
[4d4ef8]82if CONDVMG
[79b089]83libMolecuilderJobs_la_LDFLAGS += \
84 $(VMG_LDFLAGS)
[4d4ef8]85libMolecuilderJobs_la_LIBADD += \
86 $(VMG_LIBS)
87endif
[18ed8c]88endif
[2cc7faa]89
90if CONDJOBMARKET
91libMolecuilderJobs_la_LIBADD += \
92 $(JobMarket_LIBS)
[cb98f1]93libMolecuilderJobs_Work_la_LIBADD = \
94 $(JobMarket_LIBS)
[2cc7faa]95endif
[4d4ef8]96libMolecuilderJobs_la_LIBADD += \
[786d28]97 $(BOOST_IOSTREAMS_LIBS) \
[cc5db5]98 $(BOOST_SERIALIZATION_LIBS) \
[4adfba]99 $(BOOST_SYSTEM_LIBS) \
[4ecb2d]100 $(top_builddir)/ThirdParty/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[cc5db5]101 $(CodePatterns_LIBS)
[8a8c8c]102if CONDVMGMPI
103libMolecuilderJobs_la_CPPFLAGS += $(MPI_CXXFLAGS)
104libMolecuilderJobs_la_LDFLAGS += $(MPI_CXXLDFLAGS)
105endif
[447481]106
[049d4a]107## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
108## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
109## will therefore be treated as if it were literally part of the target name,
110## and the variable name derived from that.
111## The file extension .cc is recognized by Automake, and makes it produce
112## rules which invoke the C++ compiler to produce a libtool object file (.lo)
113## from each source file. Note that it is not necessary to list header files
114## which are already listed elsewhere in a _HEADERS variable assignment.
115libMolecuilderJobs_la_SOURCES = $(JOBSSOURCE)
[cb98f1]116libMolecuilderJobs_Work_la_SOURCES = Jobs/MPQCJob_Work.cpp
[049d4a]117
118## Instruct libtool to include ABI version information in the generated shared
119## library file (.so). The library ABI version is defined in configure.ac, so
120## that all version information is kept in one place.
121libMolecuilderJobs_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
122
123## The generated configuration header is installed in its own subdirectory of
124## $(libdir). The reason for this is that the configuration information put
125## into this header file describes the target platform the installed library
126## has been built for. Thus the file must not be installed into a location
127## intended for architecture-independent files, as defined by the Filesystem
128## Hierarchy Standard (FHS).
129## The nodist_ prefix instructs Automake to not generate rules for including
130## the listed files in the distribution on 'make dist'. Files that are listed
131## in _HEADERS variables are normally included in the distribution, but the
132## configuration header file is generated at configure time and should not be
133## shipped with the source tarball.
134libMolecuilderJobs_libincludedir = $(libdir)/MoleCuilder/include
135nodist_libMolecuilderJobs_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
136
Note: See TracBrowser for help on using the repository browser.