source: src/UIElements/Makefile.am@ 9eb7580

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 9eb7580 was d5240d, checked in by Frederik Heber <heber@…>, 14 years ago

FIX: Linking to non-system boost is working now.

  • FIX: BOOST_CPPFLAGS was not present in AM_CPPFLAGS in all Makefile.am
  • Hence, not the correct includes were used and linking occured with undefined reference errors (because of version conflict between system-wide installed and non-system boost)
  • validate()s now make version check of boost as signature of validation_error)_ changed in boost 1.42
  • added AX_BOOST_SYSTEM to configure.ac and BOOST_SYSTEM_LIB to src/Makefile.am and src/unittests/Makefile.am. Otherwise we have to set an rpath to let it find the lib needed by other boost libs in non-system boost configs.
  • Property mode set to 100644
File size: 10.7 KB
RevLine 
[5079a0]1# Below is all for the User Interface
2
3INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/UIElements
4
[1e0861]5AM_LDFLAGS = -ldl
6AM_CXXFLAGS = ${QT_CXXFLAGS} ${GLU_CXXFLAGS}
[d5240d]7AM_CPPFLAGS = ${BOOST_CPPFLAGS}
8
[5079a0]9VIEWSOURCE = \
10 Views/View.cpp \
11 Views/StringView.cpp \
12 Views/MethodStringView.cpp \
13 Views/StreamStringView.cpp
14VIEWHEADER = \
15 Views/View.hpp \
16 Views/StringView.hpp \
17 Views/MethodStringView.hpp \
18 Views/StreamStringView.hpp
19
20MENUSOURCE = \
21 Menu/Menu.cpp \
[8bcf3f]22 Menu/MenuDescription.cpp \
[b59da6]23 Menu/MenuInterface.cpp
24
[5079a0]25MENUHEADER = \
26 Menu/Menu.hpp \
[8bcf3f]27 Menu/MenuDescription.hpp \
[b59da6]28 Menu/MenuInterface.hpp
29
30TEXTMENUSOURCE = \
[f0f9a6]31 Menu/TextMenu/TxMenuLeaveAction.cpp \
[b59da6]32 Menu/TextMenu/TxMenu.cpp \
33 Menu/TextMenu/MenuItem.cpp \
34 Menu/TextMenu/SubMenuItem.cpp \
35 Menu/TextMenu/ActionMenuItem.cpp \
[e9be39]36 Menu/TextMenu/SeparatorMenuItem.cpp \
[b59da6]37 Menu/TextMenu/DisplayMenuItem.cpp
38
39TEXTMENUHEADER = \
40 Menu/TextMenu/TextMenu.hpp \
41 Menu/TextMenu/TxMenu.hpp \
42 Menu/TextMenu/MenuItem.hpp \
43 Menu/TextMenu/SubMenuItem.hpp \
44 Menu/TextMenu/ActionMenuItem.hpp \
[e9be39]45 Menu/TextMenu/SeparatorMenuItem.hpp \
[b59da6]46 Menu/TextMenu/DisplayMenuItem.hpp
[5079a0]47
48UISOURCE = \
49 ${ACTIONSSOURCE} \
50 ${COMMANDLINEUISOURCE} \
51 ${MENUSOURCE} \
[b59da6]52 ${TEXTMENUSOURCE} \
[5079a0]53 ${TEXTUISOURCE} \
54 ${VIEWSOURCE} \
[8df74d]55 Query/AtomQuery.cpp \
56 Query/AtomsQuery.cpp \
57 Query/BooleanQuery.cpp \
58 Query/BoxQuery.cpp \
59 Query/DoubleQuery.cpp \
60 Query/DoublesQuery.cpp \
61 Query/ElementQuery.cpp \
62 Query/ElementsQuery.cpp \
63 Query/EmptyQuery.cpp \
64 Query/FileQuery.cpp \
65 Query/IntQuery.cpp \
66 Query/IntsQuery.cpp \
67 Query/MoleculeQuery.cpp \
68 Query/MoleculesQuery.cpp \
69 Query/Query.cpp \
70 Query/StringQuery.cpp \
71 Query/StringsQuery.cpp \
72 Query/VectorQuery.cpp \
73 Query/VectorsQuery.cpp \
[5079a0]74 Dialog.cpp \
[861874]75 MainWindow.cpp
[5079a0]76
77UIHEADER = \
78 ${ACTIONSHEADER} \
79 ${COMMANDLINEUIHEADER} \
80 ${MENUHEADER} \
[b59da6]81 ${TEXTMENUHEADER} \
[5079a0]82 ${TEXTUIHEADER} \
83 ${VIEWHEADER} \
84 Dialog.hpp \
[861874]85 MainWindow.hpp
[5079a0]86
87TEXTUISOURCE = \
[8df74d]88 TextUI/Query/AtomsTextQuery.cpp \
89 TextUI/Query/AtomTextQuery.cpp \
90 TextUI/Query/BooleanTextQuery.cpp \
91 TextUI/Query/BoxTextQuery.cpp \
92 TextUI/Query/DoubleTextQuery.cpp \
93 TextUI/Query/DoublesTextQuery.cpp \
94 TextUI/Query/ElementTextQuery.cpp \
95 TextUI/Query/ElementsTextQuery.cpp \
96 TextUI/Query/EmptyTextQuery.cpp \
97 TextUI/Query/FileTextQuery.cpp \
98 TextUI/Query/IntTextQuery.cpp \
99 TextUI/Query/IntsTextQuery.cpp \
100 TextUI/Query/MoleculesTextQuery.cpp \
101 TextUI/Query/MoleculeTextQuery.cpp \
102 TextUI/Query/StringTextQuery.cpp \
103 TextUI/Query/StringsTextQuery.cpp \
104 TextUI/Query/VectorTextQuery.cpp \
105 TextUI/Query/VectorsTextQuery.cpp \
[5079a0]106 TextUI/TextDialog.cpp \
107 TextUI/TextStatusIndicator.cpp \
108 TextUI/TextUIFactory.cpp \
109 TextUI/TextWindow.cpp
110TEXTUIHEADER = \
[738ae1]111 TextUI/Query/TextQuery.hpp \
[5079a0]112 TextUI/TextDialog.hpp \
113 TextUI/TextStatusIndicator.hpp \
114 TextUI/TextUIFactory.hpp \
115 TextUI/TextWindow.hpp
116
117COMMANDLINEUISOURCE = \
[8df74d]118 CommandLineUI/Query/AtomCommandLineQuery.cpp \
119 CommandLineUI/Query/AtomsCommandLineQuery.cpp \
120 CommandLineUI/Query/BooleanCommandLineQuery.cpp \
121 CommandLineUI/Query/BoxCommandLineQuery.cpp \
122 CommandLineUI/Query/DoubleCommandLineQuery.cpp \
123 CommandLineUI/Query/DoublesCommandLineQuery.cpp \
124 CommandLineUI/Query/ElementCommandLineQuery.cpp \
125 CommandLineUI/Query/ElementsCommandLineQuery.cpp \
126 CommandLineUI/Query/EmptyCommandLineQuery.cpp \
127 CommandLineUI/Query/FileCommandLineQuery.cpp \
128 CommandLineUI/Query/IntCommandLineQuery.cpp \
129 CommandLineUI/Query/IntsCommandLineQuery.cpp \
130 CommandLineUI/Query/MoleculeCommandLineQuery.cpp \
131 CommandLineUI/Query/MoleculesCommandLineQuery.cpp \
132 CommandLineUI/Query/StringCommandLineQuery.cpp \
133 CommandLineUI/Query/StringsCommandLineQuery.cpp \
134 CommandLineUI/Query/VectorCommandLineQuery.cpp \
135 CommandLineUI/Query/VectorsCommandLineQuery.cpp \
[5079a0]136 CommandLineUI/CommandLineDialog.cpp \
[e4afb4]137 CommandLineUI/CommandLineParser.cpp \
[3a21a7]138 CommandLineUI/CommandLineParser_validate.cpp \
[5079a0]139 CommandLineUI/CommandLineStatusIndicator.cpp \
140 CommandLineUI/CommandLineUIFactory.cpp \
[e4afb4]141 CommandLineUI/CommandLineWindow.cpp \
142 CommandLineUI/TypeEnumContainer.cpp
143
[5079a0]144COMMANDLINEUIHEADER = \
[87db7a]145 CommandLineUI/Query/CommandLineQuery.hpp \
[5079a0]146 CommandLineUI/CommandLineDialog.hpp \
[e4afb4]147 CommandLineUI/CommandLineParser.hpp \
[3a21a7]148 CommandLineUI/CommandLineParser_validate.hpp \
[5079a0]149 CommandLineUI/CommandLineStatusIndicator.hpp \
150 CommandLineUI/CommandLineUIFactory.hpp \
[e4afb4]151 CommandLineUI/CommandLineWindow.hpp \
152 CommandLineUI/TypeEnumContainer.cpp
[5079a0]153
[1e0861]154QTUIMOC_HEADER = \
155 Qt4/QtDialog.hpp \
156 Qt4/QtMainWindow.hpp \
157 Qt4/Pipe/AtomQtQueryPipe.hpp \
158 Qt4/Pipe/AtomsQtQueryPipe.hpp \
159 Qt4/Pipe/BooleanQtQueryPipe.hpp \
160 Qt4/Pipe/BoxQtQueryPipe.hpp \
161 Qt4/Pipe/DoubleQtQueryPipe.hpp \
162 Qt4/Pipe/ElementsQtQueryPipe.hpp \
163 Qt4/Pipe/EmptyQtQueryPipe.hpp \
164 Qt4/Pipe/ElementQtQueryPipe.hpp \
165 Qt4/Pipe/FileQtQueryPipe.hpp \
166 Qt4/Pipe/IntQtQueryPipe.hpp \
167 Qt4/Pipe/MoleculeQtQueryPipe.hpp \
168 Qt4/Pipe/MoleculesQtQueryPipe.hpp \
169 Qt4/Pipe/StringQtQueryPipe.hpp \
170 Qt4/Pipe/VectorQtQueryPipe.hpp \
171 Qt4/Pipe/VectorsQtQueryPipe.hpp \
172 Menu/Qt4/QtMenuPipe.hpp \
173 Views/Qt4/QtWorldView.hpp \
174 Views/Qt4/GLMoleculeView.hpp \
175 Views/Qt4/QtMoleculeView.hpp \
176 Views/Qt4/QtStatusBar.hpp
177
178QTUISOURCE = allmocs.moc.cpp \
179 Qt4/Pipe/AtomQtQueryPipe.cpp \
180 Qt4/Pipe/AtomsQtQueryPipe.cpp \
181 Qt4/Pipe/BooleanQtQueryPipe.cpp \
182 Qt4/Pipe/BoxQtQueryPipe.cpp \
183 Qt4/Pipe/DoubleQtQueryPipe.cpp \
184 Qt4/Pipe/ElementsQtQueryPipe.cpp \
185 Qt4/Pipe/EmptyQtQueryPipe.cpp \
186 Qt4/Pipe/ElementQtQueryPipe.cpp \
187 Qt4/Pipe/FileQtQueryPipe.cpp \
188 Qt4/Pipe/IntQtQueryPipe.cpp \
189 Qt4/Pipe/MoleculeQtQueryPipe.cpp \
190 Qt4/Pipe/MoleculesQtQueryPipe.cpp \
191 Qt4/Pipe/StringQtQueryPipe.cpp \
192 Qt4/Pipe/VectorQtQueryPipe.cpp \
193 Qt4/Pipe/VectorsQtQueryPipe.cpp \
194 Qt4/Query/AtomQtQuery.cpp \
195 Qt4/Query/AtomsQtQuery.cpp \
196 Qt4/Query/BooleanQtQuery.cpp \
197 Qt4/Query/BoxQtQuery.cpp \
198 Qt4/Query/DoubleQtQuery.cpp \
199 Qt4/Query/DoublesQtQuery.cpp \
200 Qt4/Query/ElementQtQuery.cpp \
201 Qt4/Query/ElementsQtQuery.cpp \
202 Qt4/Query/EmptyQtQuery.cpp \
203 Qt4/Query/FileQtQuery.cpp \
204 Qt4/Query/IntQtQuery.cpp \
205 Qt4/Query/IntsQtQuery.cpp \
206 Qt4/Query/MoleculeQtQuery.cpp \
207 Qt4/Query/MoleculesQtQuery.cpp \
208 Qt4/Query/StringQtQuery.cpp \
209 Qt4/Query/StringsQtQuery.cpp \
210 Qt4/Query/VectorQtQuery.cpp \
211 Qt4/Query/VectorsQtQuery.cpp \
212 Qt4/QtMainWindow.cpp \
213 Qt4/QtDialog.cpp \
214 Qt4/QtUIFactory.cpp \
215 Menu/Qt4/QtMenuPipe.cpp \
216 Views/Qt4/QtWorldView.cpp \
217 Views/Qt4/GLMoleculeView.cpp \
218 Views/Qt4/QtMoleculeView.cpp \
219 Views/Qt4/QtStatusBar.cpp
220
221QTUIHEADER = \
222 ${QTUIMOC_HEADER} \
223 Menu/Qt4/QtMenu.hpp \
224 Qt4/Query/QtQuery.hpp \
225 Qt4/QtUIFactory.hpp \
226 Qt4/Pipe/QtQueryListPipe.hpp
227
228QTUI_DEFS =
229
[d5240d]230GUI_LIBS =
[1e0861]231
232
233lib_LTLIBRARIES = libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
234 libMolecuilderQtUI-@MOLECUILDER_API_VERSION@.la
[b37436]235libMolecuilderUI_includedir = $(includedir)/molecuilder-$(MOLECUILDER_API_VERSION)/Actions/
[1e0861]236libMolecuilderQtUI_includedir = $(includedir)/molecuilder-$(MOLECUILDER_API_VERSION)/Actions/
[d5240d]237libMolecuilderUI_@MOLECUILDER_API_VERSION@_la_LIBS = \
[b37436]238 Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la
[d5240d]239libMolecuilderQtUI_@MOLECUILDER_API_VERSION@_la_LIBS = \
[1e0861]240 Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la
[b37436]241
[d5240d]242libMolecuilderQtUI_@MOLECUILDER_API_VERSION@_la_LIBADD = ${QT_LIB_GUI} -lQtOpenGL ${GLU_LIBS} ${QT_LDADD}
243
[b37436]244nobase_libMolecuilderUI_include_HEADERS = ${UIHEADER}
[1e0861]245nobase_libMolecuilderQtUI_include_HEADERS = ${QTUIHEADER}
[b37436]246
247## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
248## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
249## will therefore be treated as if it were literally part of the target name,
250## and the variable name derived from that.
251## The file extension .cc is recognized by Automake, and makes it produce
252## rules which invoke the C++ compiler to produce a libtool object file (.lo)
253## from each source file. Note that it is not necessary to list header files
254## which are already listed elsewhere in a _HEADERS variable assignment.
255libMolecuilderUI_@MOLECUILDER_API_VERSION@_la_SOURCES = ${UISOURCE}
[1e0861]256libMolecuilderQtUI_@MOLECUILDER_API_VERSION@_la_SOURCES = ${QTUISOURCE}
[b37436]257
258## Instruct libtool to include ABI version information in the generated shared
259## library file (.so). The library ABI version is defined in configure.ac, so
260## that all version information is kept in one place.
261libMolecuilderUI_@MOLECUILDER_API_VERSION@_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
[1e0861]262libMolecuilderQtUI_@MOLECUILDER_API_VERSION@_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
[b37436]263
264## The generated configuration header is installed in its own subdirectory of
265## $(libdir). The reason for this is that the configuration information put
266## into this header file describes the target platform the installed library
267## has been built for. Thus the file must not be installed into a location
268## intended for architecture-independent files, as defined by the Filesystem
269## Hierarchy Standard (FHS).
270## The nodist_ prefix instructs Automake to not generate rules for including
271## the listed files in the distribution on 'make dist'. Files that are listed
272## in _HEADERS variables are normally included in the distribution, but the
273## configuration header file is generated at configure time and should not be
274## shipped with the source tarball.
275libMolecuilderUI_libincludedir = $(libdir)/molecuilder-$(MOLECUILDER_API_VERSION)/include
[1e0861]276libMolecuilderQtUI_libincludedir = $(libdir)/molecuilder-$(MOLECUILDER_API_VERSION)/include
[b37436]277nodist_libMolecuilderUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
[1e0861]278nodist_libMolecuilderQtUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
[b37436]279
280## Install the generated pkg-config file (.pc) into the expected location for
281## architecture-dependent package configuration information. Occasionally,
282## pkg-config files are also used for architecture-independent data packages,
283## in which case the correct install location would be $(datadir)/pkgconfig.
284pkgconfigdir = $(libdir)/pkgconfig
285pkgconfig_DATA = $(top_builddir)/molecuilder-$(MOLECUILDER_API_VERSION).pc
[5079a0]286
[796aa6]287unity.cpp:
288 echo "" > unity.cpp; \
289 list='$(UISOURCE)'; for file in $$list; do \
290 echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
291 done;
292
[1e0861]293#Rules needed for Qt4
294# UI-Files are scattered throughout several subdirectories
295# Therfore `%'-rules do not seem to work
296#Quick fix to get it done otherwise
297allmocs.moc.cpp: ${QTUIMOC_HEADER}
298 echo "" > allmocs.moc.cpp;\
299 list='$(QTUIMOC_HEADER)'; for header in $$list; do \
300 echo "Making mocfile for $$header"; \
301 target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
302 $(MOC) $(srcdir)/$$header -o $$target \
303 || eval $$failcom; \
304 echo "#include \"$$target\"" >> allmocs.moc.cpp; \
305 done;
306
307
[d5240d]308MOSTLYCLEANFILES = unity.cpp allmocs.moc.cpp
Note: See TracBrowser for help on using the repository browser.