source: src/UIElements/Makefile.am@ eb0d77

Action_Thermostats Add_AtomRandomPerturbation Add_FitFragmentPartialChargesAction Add_RotateAroundBondAction Add_SelectAtomByNameAction Added_ParseSaveFragmentResults AddingActions_SaveParseParticleParameters Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_ParticleName_to_Atom Adding_StructOpt_integration_tests AtomFragments Automaking_mpqc_open AutomationFragmentation_failures Candidate_v1.5.4 Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator CombiningParticlePotentialParsing Combining_Subpackages Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_BoundInBox_CenterInBox_MoleculeActions Fix_ChargeSampling_PBC Fix_ChronosMutex Fix_FitPartialCharges Fix_FitPotential_needs_atomicnumbers Fix_ForceAnnealing Fix_IndependentFragmentGrids Fix_ParseParticles Fix_ParseParticles_split_forward_backward_Actions Fix_PopActions Fix_QtFragmentList_sorted_selection Fix_Restrictedkeyset_FragmentMolecule Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns Fix_fitting_potentials Fixes ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion FragmentAction_writes_AtomFragments FragmentMolecule_checks_bonddegrees GeometryObjects Gui_Fixes Gui_displays_atomic_force_velocity ImplicitCharges IndependentFragmentGrids IndependentFragmentGrids_IndividualZeroInstances IndependentFragmentGrids_IntegrationTest IndependentFragmentGrids_Sole_NN_Calculation JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix MoreRobust_FragmentAutomation ODR_violation_mpqc_open PartialCharges_OrthogonalSummation PdbParser_setsAtomName PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks Rewrite_FitPartialCharges RotateToPrincipalAxisSystem_UndoRedo SaturateAtoms_findBestMatching SaturateAtoms_singleDegree StoppableMakroAction Subpackage_CodePatterns Subpackage_JobMarket Subpackage_LinearAlgebra Subpackage_levmar Subpackage_mpqc_open Subpackage_vmg Switchable_LogView ThirdParty_MPQC_rebuilt_buildsystem TrajectoryDependenant_MaxOrder TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps TremoloParser_setsAtomName Ubuntu_1604_changes stable
Last change on this file since eb0d77 was eb0d77, checked in by Frederik Heber <heber@…>, 12 years ago

FIX: Shared library libMolecuilderJobs needs to be given explicitly where brought in dependently.

  • in my eyes, this is a libtool bug (see #1002565 on ubuntu's launchpad) as libtool should pull in shared libraries that are list as dependencies in given shared libraries (and also known to libtool according to the .la file). However, libtool.m4 has a switch find_all_dep_libs which is set to no for linux systems. Activating it causes the correct linking behavior but faults later because shared libraries are not found (i.e. some rpath problem).
  • Hence, libMolecuilderJobs.la is given as dependency everywhere where also libMolecuilderUI is listed (also for all unit tests).
  • Property mode set to 100644
File size: 13.7 KB
Line 
1# Below is all for the User Interface
2
3COMMANDLINEUISOURCE = \
4 UIElements/CommandLineUI/Query/AtomCommandLineQuery.cpp \
5 UIElements/CommandLineUI/Query/AtomsCommandLineQuery.cpp \
6 UIElements/CommandLineUI/Query/BooleanCommandLineQuery.cpp \
7 UIElements/CommandLineUI/Query/DoubleCommandLineQuery.cpp \
8 UIElements/CommandLineUI/Query/DoublesCommandLineQuery.cpp \
9 UIElements/CommandLineUI/Query/ElementCommandLineQuery.cpp \
10 UIElements/CommandLineUI/Query/ElementsCommandLineQuery.cpp \
11 UIElements/CommandLineUI/Query/EmptyCommandLineQuery.cpp \
12 UIElements/CommandLineUI/Query/FileCommandLineQuery.cpp \
13 UIElements/CommandLineUI/Query/FilesCommandLineQuery.cpp \
14 UIElements/CommandLineUI/Query/IntCommandLineQuery.cpp \
15 UIElements/CommandLineUI/Query/IntsCommandLineQuery.cpp \
16 UIElements/CommandLineUI/Query/MoleculeCommandLineQuery.cpp \
17 UIElements/CommandLineUI/Query/MoleculesCommandLineQuery.cpp \
18 UIElements/CommandLineUI/Query/RealSpaceMatrixCommandLineQuery.cpp \
19 UIElements/CommandLineUI/Query/StringCommandLineQuery.cpp \
20 UIElements/CommandLineUI/Query/StringsCommandLineQuery.cpp \
21 UIElements/CommandLineUI/Query/UnsignedIntCommandLineQuery.cpp \
22 UIElements/CommandLineUI/Query/UnsignedIntsCommandLineQuery.cpp \
23 UIElements/CommandLineUI/Query/VectorCommandLineQuery.cpp \
24 UIElements/CommandLineUI/Query/VectorsCommandLineQuery.cpp \
25 UIElements/CommandLineUI/Query/RandomNumberDistribution_ParametersCommandLineQuery.cpp \
26 UIElements/CommandLineUI/CommandLineDialog.cpp \
27 UIElements/CommandLineUI/CommandLineParser.cpp \
28 UIElements/CommandLineUI/CommandLineParser_validate.cpp \
29 UIElements/CommandLineUI/CommandLineStatusIndicator.cpp \
30 UIElements/CommandLineUI/CommandLineUIFactory.cpp \
31 UIElements/CommandLineUI/CommandLineWindow.cpp \
32 UIElements/CommandLineUI/TypeEnumContainer.cpp
33
34COMMANDLINEUIHEADER = \
35 UIElements/CommandLineUI/Query/CommandLineQuery.hpp \
36 UIElements/CommandLineUI/CommandLineDialog.hpp \
37 UIElements/CommandLineUI/CommandLineParser.hpp \
38 UIElements/CommandLineUI/CommandLineParser_validate.hpp \
39 UIElements/CommandLineUI/CommandLineStatusIndicator.hpp \
40 UIElements/CommandLineUI/CommandLineUIFactory.hpp \
41 UIElements/CommandLineUI/CommandLineWindow.hpp \
42 UIElements/CommandLineUI/TypeEnumContainer.hpp
43
44MENUSOURCE = \
45 UIElements/Menu/Menu.cpp \
46 UIElements/Menu/MenuDescription.cpp \
47 UIElements/Menu/MenuInterface.cpp
48
49MENUHEADER = \
50 UIElements/Menu/Menu.hpp \
51 UIElements/Menu/MenuDescription.hpp \
52 UIElements/Menu/MenuInterface.hpp
53
54TEXTMENUSOURCE = \
55 UIElements/Menu/TextMenu/ActionMenuItem.cpp \
56 UIElements/Menu/TextMenu/DisplayMenuItem.cpp \
57 UIElements/Menu/TextMenu/MenuItem.cpp \
58 UIElements/Menu/TextMenu/SeparatorMenuItem.cpp \
59 UIElements/Menu/TextMenu/SubMenuItem.cpp \
60 UIElements/Menu/TextMenu/TxMenu.cpp \
61 UIElements/Menu/TextMenu/TxMenuLeaveAction.cpp
62
63TEXTMENUHEADER = \
64 UIElements/Menu/TextMenu/ActionMenuItem.hpp \
65 UIElements/Menu/TextMenu/DisplayMenuItem.hpp \
66 UIElements/Menu/TextMenu/MenuItem.hpp \
67 UIElements/Menu/TextMenu/SeparatorMenuItem.hpp \
68 UIElements/Menu/TextMenu/SubMenuItem.hpp \
69 UIElements/Menu/TextMenu/TextMenu.hpp \
70 UIElements/Menu/TextMenu/TxMenu.hpp \
71 UIElements/Menu/TextMenu/TxMenuLeaveAction.hpp
72
73TEXTUISOURCE = \
74 UIElements/TextUI/Query/AtomsTextQuery.cpp \
75 UIElements/TextUI/Query/AtomTextQuery.cpp \
76 UIElements/TextUI/Query/BooleanTextQuery.cpp \
77 UIElements/TextUI/Query/DoubleTextQuery.cpp \
78 UIElements/TextUI/Query/DoublesTextQuery.cpp \
79 UIElements/TextUI/Query/ElementTextQuery.cpp \
80 UIElements/TextUI/Query/ElementsTextQuery.cpp \
81 UIElements/TextUI/Query/EmptyTextQuery.cpp \
82 UIElements/TextUI/Query/FileTextQuery.cpp \
83 UIElements/TextUI/Query/FilesTextQuery.cpp \
84 UIElements/TextUI/Query/IntTextQuery.cpp \
85 UIElements/TextUI/Query/IntsTextQuery.cpp \
86 UIElements/TextUI/Query/MoleculesTextQuery.cpp \
87 UIElements/TextUI/Query/MoleculeTextQuery.cpp \
88 UIElements/TextUI/Query/RealSpaceMatrixTextQuery.cpp \
89 UIElements/TextUI/Query/StringTextQuery.cpp \
90 UIElements/TextUI/Query/StringsTextQuery.cpp \
91 UIElements/TextUI/Query/UnsignedIntTextQuery.cpp \
92 UIElements/TextUI/Query/UnsignedIntsTextQuery.cpp \
93 UIElements/TextUI/Query/VectorTextQuery.cpp \
94 UIElements/TextUI/Query/VectorsTextQuery.cpp \
95 UIElements/TextUI/Query/RandomNumberDistribution_ParametersTextQuery.cpp \
96 UIElements/TextUI/TextDialog.cpp \
97 UIElements/TextUI/TextStatusIndicator.cpp \
98 UIElements/TextUI/TextUIFactory.cpp \
99 UIElements/TextUI/TextWindow.cpp
100TEXTUIHEADER = \
101 UIElements/TextUI/Query/TextQuery.hpp \
102 UIElements/TextUI/TextDialog.hpp \
103 UIElements/TextUI/TextStatusIndicator.hpp \
104 UIElements/TextUI/TextUIFactory.hpp \
105 UIElements/TextUI/TextWindow.hpp
106
107VIEWSOURCE = \
108 UIElements/Views/View.cpp \
109 UIElements/Views/StringView.cpp \
110 UIElements/Views/MethodStringView.cpp \
111 UIElements/Views/StreamStringView.cpp
112VIEWHEADER = \
113 UIElements/Views/View.hpp \
114 UIElements/Views/StringView.hpp \
115 UIElements/Views/MethodStringView.hpp \
116 UIElements/Views/StreamStringView.hpp
117
118UISOURCE = \
119 ${COMMANDLINEUISOURCE} \
120 ${MENUSOURCE} \
121 ${TEXTMENUSOURCE} \
122 ${TEXTUISOURCE} \
123 ${VIEWSOURCE} \
124 UIElements/Query/EmptyQuery.cpp \
125 UIElements/Query/Query.cpp \
126 UIElements/Dialog.cpp \
127 UIElements/MainWindow.cpp
128
129UIHEADER = \
130 ${COMMANDLINEUIHEADER} \
131 ${MENUHEADER} \
132 ${TEXTMENUHEADER} \
133 ${TEXTUIHEADER} \
134 ${VIEWHEADER} \
135 UIElements/Dialog.hpp \
136 UIElements/MainWindow.hpp
137
138QTUISOURCE = \
139 UIElements/Qt4/Query/AtomQtQuery.cpp \
140 UIElements/Qt4/Query/AtomsQtQuery.cpp \
141 UIElements/Qt4/Query/BooleanQtQuery.cpp \
142 UIElements/Qt4/Query/DoubleQtQuery.cpp \
143 UIElements/Qt4/Query/DoublesQtQuery.cpp \
144 UIElements/Qt4/Query/ElementQtQuery.cpp \
145 UIElements/Qt4/Query/ElementsQtQuery.cpp \
146 UIElements/Qt4/Query/EmptyQtQuery.cpp \
147 UIElements/Qt4/Query/FileQtQuery.cpp \
148 UIElements/Qt4/Query/FilesQtQuery.cpp \
149 UIElements/Qt4/Query/IntQtQuery.cpp \
150 UIElements/Qt4/Query/IntsQtQuery.cpp \
151 UIElements/Qt4/Query/MoleculeQtQuery.cpp \
152 UIElements/Qt4/Query/MoleculesQtQuery.cpp \
153 UIElements/Qt4/Query/QtQueryList.cpp \
154 UIElements/Qt4/Query/RealSpaceMatrixQtQuery.cpp \
155 UIElements/Qt4/Query/StringQtQuery.cpp \
156 UIElements/Qt4/Query/StringsQtQuery.cpp \
157 UIElements/Qt4/Query/UnsignedIntQtQuery.cpp \
158 UIElements/Qt4/Query/UnsignedIntsQtQuery.cpp \
159 UIElements/Qt4/Query/VectorQtQuery.cpp \
160 UIElements/Qt4/Query/VectorsQtQuery.cpp \
161 UIElements/Qt4/Query/RandomNumberDistribution_ParametersQtQuery.cpp \
162 UIElements/Qt4/QtMainWindow.cpp \
163 UIElements/Qt4/QtDialog.cpp \
164 UIElements/Qt4/QtUIFactory.cpp \
165 UIElements/Menu/Qt4/QtMenuPipe.cpp \
166 UIElements/Views/Qt4/QtElementList.cpp \
167 UIElements/Views/Qt4/QtInfoBox.cpp \
168 UIElements/Views/Qt4/QtMoleculeList.cpp \
169 UIElements/Views/Qt4/QtStatusBar.cpp \
170 UIElements/Views/Qt4/QtToolBar.cpp \
171 UIElements/Views/Qt4/Qt3D/GLWorldView.cpp \
172 UIElements/Views/Qt4/Qt3D/GLWorldScene.cpp \
173 UIElements/Views/Qt4/Qt3D/GLMoleculeObject.cpp \
174 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_atom.cpp \
175 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_bond.cpp \
176 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_molecule.cpp
177# UIElements/Views/Qt4/dialoglight.cpp
178
179QTUIMOC_HEADER = \
180 UIElements/Qt4/QtDialog.hpp \
181 UIElements/Qt4/QtMainWindow.hpp \
182 UIElements/Qt4/Query/QtQuery.hpp \
183 UIElements/Menu/Qt4/QtMenuPipe.hpp \
184 UIElements/Views/Qt4/QtElementList.hpp \
185 UIElements/Views/Qt4/QtInfoBox.hpp \
186 UIElements/Views/Qt4/QtMoleculeList.hpp \
187 UIElements/Views/Qt4/QtStatusBar.hpp \
188 UIElements/Views/Qt4/QtToolBar.hpp \
189 UIElements/Views/Qt4/Qt3D/GLWorldView.hpp \
190 UIElements/Views/Qt4/Qt3D/GLWorldScene.hpp \
191 UIElements/Views/Qt4/Qt3D/GLMoleculeObject.hpp \
192 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_atom.hpp \
193 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_bond.hpp \
194 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_molecule.hpp
195
196QTUIUI_UIFILES = \
197 UIElements/Views/Qt4/changeposition.ui \
198 UIElements/Views/Qt4/dialoglight.ui \
199 UIElements/Views/Qt4/dialoglight.ui.h
200
201QTUIHEADER = \
202 ${QTUIMOC_HEADER} \
203 UIElements/Menu/Qt4/QtMenu.hpp \
204 UIElements/Qt4/Query/QtQueryList.hpp \
205 UIElements/Qt4/QtUIFactory.hpp
206
207lib_LTLIBRARIES += libMolecuilderUI.la
208libMolecuilderUI_la_includedir = $(includedir)/MoleCuilder/UIElements/
209libMolecuilderUI_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
210if CONDJOBMARKET
211libMolecuilderUI_la_CPPFLAGS += ${JobMarket_CFLAGS}
212endif
213libMolecuilderUI_la_LDFLAGS = \
214 $(AM_LDFLAGS) \
215 $(BOOST_FILESYSTEM_LDFLAGS) \
216 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \
217 $(BOOST_RANDOM_LDFLAGS) \
218 $(BOOST_SERIALIZATION_LDFLAGS) \
219 $(BOOST_SYSTEM_LDFLAGS) \
220 $(BOOST_THREAD_LDFLAGS)
221
222# NOTE: ActionPrototypes BEFORE Actions!
223# this is to ensure that static Action prototypes are instantiated after
224# ActionRegistry is present.
225libMolecuilderUI_la_LIBADD =
226
227libMolecuilderUI_la_LIBADD += \
228 libMolecuilderActionPrototypes.la \
229 libMolecuilderActions.la \
230 libMolecuilderAnalysis.la \
231 libMolecuilderGraph.la \
232 libMolecuilderFilling.la \
233 libMolecuilder.la \
234 libMolecuilderFragmentation.la \
235 libMolecuilderParser.la \
236 libMolecuilderParameters.la \
237 libMolecuilderShapes.la \
238 libMolecuilderLinkedCell.la \
239 libMolecuilderAtom.la \
240 libMolecuilderHelpers.la \
241 libMolecuilderElement.la \
242 libMolecuilderRandomNumbers.la
243if CONDJOBMARKET
244libMolecuilderUI_la_LIBADD += \
245 libMolecuilderJobs.la \
246 ${JobMarket_Controller_LIBS}
247endif
248libMolecuilderUI_la_LIBADD += \
249 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
250 ${CodePatterns_LIBS} \
251 $(BOOST_SERIALIZATION_LIBS) \
252 $(BOOST_PROGRAM_OPTIONS_LIBS) \
253 $(BOOST_FILESYSTEM_LIBS) \
254 $(BOOST_SYSTEM_LIBS) \
255 $(BOOST_THREAD_LIBS)
256
257nobase_libMolecuilderUI_la_include_HEADERS = ${UIHEADER}
258
259## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
260## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
261## will therefore be treated as if it were literally part of the target name,
262## and the variable name derived from that.
263## The file extension .cc is recognized by Automake, and makes it produce
264## rules which invoke the C++ compiler to produce a libtool object file (.lo)
265## from each source file. Note that it is not necessary to list header files
266## which are already listed elsewhere in a _HEADERS variable assignment.
267libMolecuilderUI_la_SOURCES = ${UISOURCE}
268
269## Instruct libtool to include ABI version information in the generated shared
270## library file (.so). The library ABI version is defined in configure.ac, so
271## that all version information is kept in one place.
272libMolecuilderUI_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
273
274## The generated configuration header is installed in its own subdirectory of
275## $(libdir). The reason for this is that the configuration information put
276## into this header file describes the target platform the installed library
277## has been built for. Thus the file must not be installed into a location
278## intended for architecture-independent files, as defined by the Filesystem
279## Hierarchy Standard (FHS).
280## The nodist_ prefix instructs Automake to not generate rules for including
281## the listed files in the distribution on 'make dist'. Files that are listed
282## in _HEADERS variables are normally included in the distribution, but the
283## configuration header file is generated at configure time and should not be
284## shipped with the source tarball.
285#libMolecuilderUI_libincludedir = $(libdir)/MoleCuilder/include
286#nodist_libMolecuilderUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
287
288## Install the generated pkg-config file (.pc) into the expected location for
289## architecture-dependent package configuration information. Occasionally,
290## pkg-config files are also used for architecture-independent data packages,
291## in which case the correct install location would be $(datadir)/pkgconfig.
292#pkgconfigdir = $(libdir)/pkgconfig
293#pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
294
295if CONDQTGUI
296lib_LTLIBRARIES += libMolecuilderQtUI.la
297
298libMolecuilderQtUI_la_includedir = $(includedir)/MoleCuilder/UIElements/
299libMolecuilderQtUI_la_CPPFLAGS = ${QT_CFLAGS} ${GLU_CXXFLAGS} ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS}
300libMolecuilderQtUI_la_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
301
302libMolecuilderQtUI_la_LIBADD = \
303 ${QT_LIBS} \
304 -lQtOpenGL \
305 ${GLU_LIBS}
306
307nobase_libMolecuilderQtUI_la_include_HEADERS = ${QTUIHEADER} $(QTUIUI_UIFILES)
308libMolecuilderQtUI_la_SOURCES = ${QTUISOURCE}
309nodist_libMolecuilderQtUI_la_SOURCES =
310libMolecuilderQtUI_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
311#libMolecuilderQtUI_libincludedir = $(libdir)/MoleCuilder/include
312#nodist_libMolecuilderQtUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
313
314BUILT_SOURCES += ui_dialoglight.h ui_changeposition.h
315
316nodist_libMolecuilderQtUI_la_SOURCES += moc_dialoglight.cpp moc_changeposition.cpp
317
318MOSTLYCLEANFILES += \
319 *.moc.cpp \
320 moc_*.cpp \
321 ui_*.h
322
323ui_dialoglight.h: UIElements/Views/Qt4/dialoglight.ui
324 $(QT_UIC) -o $@ $<
325
326ui_changeposition.h: UIElements/Views/Qt4/changeposition.ui
327 $(QT_UIC) -o $@ $<
328
329moc_dialoglight.cpp: ui_dialoglight.h
330 $(QT_MOC) -o $@ $<
331
332moc_changeposition.cpp: ui_changeposition.h
333 $(QT_MOC) -o $@ $<
334
335nodist_libMolecuilderQtUI_la_SOURCES += allmocs.moc.cpp
336
337#Rules needed for Qt4
338# UI-Files are scattered throughout several subdirectories
339# Therfore `%'-rules do not seem to work
340#Quick fix to get it done otherwise
341allmocs.moc.cpp: ${QTUIMOC_HEADER}
342 echo "" > allmocs.moc.cpp;\
343 list='$(QTUIMOC_HEADER)'; for header in $$list; do \
344 echo "Making mocfile for $$header"; \
345 target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
346 $(QT_MOC) $(srcdir)/$$header -o $$target \
347 || eval $$failcom; \
348 echo "#include \"$$target\"" >> allmocs.moc.cpp; \
349 done;
350
351endif
Note: See TracBrowser for help on using the repository browser.