source: src/UIElements/Makefile.am@ 1d5a871

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 1d5a871 was e5bf2b, checked in by Frederik Heber <heber@…>, 14 years ago

removed CPPUNIT_LIBS/FLAGS from most Makefile.am and LIBS/libs -> LIBADD.

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