source: src/UIElements/Makefile.am@ 53c1ff

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 53c1ff was 6d1e0a, checked in by Frederik Heber <heber@…>, 10 years ago

Added a slew of specific QtMoleculeItem for each of the COLUMNs.

  • all are produced solely by the factory and are very specific.
  • Property mode set to 100644
File size: 16.1 KB
RevLine 
[5079a0]1# Below is all for the User Interface
2
[35302b]3include UIElements/Views/Qt4/Plotting/Makefile.am
4
[455573]5COMMANDLINEUISOURCE = \
[4cf35ac]6 UIElements/CommandLineUI/Query/AtomCommandLineQuery.cpp \
7 UIElements/CommandLineUI/Query/AtomsCommandLineQuery.cpp \
[455573]8 UIElements/CommandLineUI/Query/BooleanCommandLineQuery.cpp \
9 UIElements/CommandLineUI/Query/DoubleCommandLineQuery.cpp \
10 UIElements/CommandLineUI/Query/DoublesCommandLineQuery.cpp \
11 UIElements/CommandLineUI/Query/ElementCommandLineQuery.cpp \
12 UIElements/CommandLineUI/Query/ElementsCommandLineQuery.cpp \
13 UIElements/CommandLineUI/Query/EmptyCommandLineQuery.cpp \
14 UIElements/CommandLineUI/Query/FileCommandLineQuery.cpp \
[2c5765]15 UIElements/CommandLineUI/Query/FilesCommandLineQuery.cpp \
[455573]16 UIElements/CommandLineUI/Query/IntCommandLineQuery.cpp \
17 UIElements/CommandLineUI/Query/IntsCommandLineQuery.cpp \
18 UIElements/CommandLineUI/Query/MoleculeCommandLineQuery.cpp \
19 UIElements/CommandLineUI/Query/MoleculesCommandLineQuery.cpp \
[7d9416]20 UIElements/CommandLineUI/Query/RealSpaceMatrixCommandLineQuery.cpp \
[455573]21 UIElements/CommandLineUI/Query/StringCommandLineQuery.cpp \
22 UIElements/CommandLineUI/Query/StringsCommandLineQuery.cpp \
[838cd0]23 UIElements/CommandLineUI/Query/UnsignedIntCommandLineQuery.cpp \
[12948c]24 UIElements/CommandLineUI/Query/UnsignedIntsCommandLineQuery.cpp \
[455573]25 UIElements/CommandLineUI/Query/VectorCommandLineQuery.cpp \
26 UIElements/CommandLineUI/Query/VectorsCommandLineQuery.cpp \
27 UIElements/CommandLineUI/Query/RandomNumberDistribution_ParametersCommandLineQuery.cpp \
28 UIElements/CommandLineUI/CommandLineDialog.cpp \
29 UIElements/CommandLineUI/CommandLineParser.cpp \
30 UIElements/CommandLineUI/CommandLineParser_validate.cpp \
31 UIElements/CommandLineUI/CommandLineStatusIndicator.cpp \
32 UIElements/CommandLineUI/CommandLineUIFactory.cpp \
33 UIElements/CommandLineUI/CommandLineWindow.cpp \
34 UIElements/CommandLineUI/TypeEnumContainer.cpp
35
36COMMANDLINEUIHEADER = \
37 UIElements/CommandLineUI/Query/CommandLineQuery.hpp \
38 UIElements/CommandLineUI/CommandLineDialog.hpp \
39 UIElements/CommandLineUI/CommandLineParser.hpp \
40 UIElements/CommandLineUI/CommandLineParser_validate.hpp \
41 UIElements/CommandLineUI/CommandLineStatusIndicator.hpp \
42 UIElements/CommandLineUI/CommandLineUIFactory.hpp \
43 UIElements/CommandLineUI/CommandLineWindow.hpp \
44 UIElements/CommandLineUI/TypeEnumContainer.hpp
[5079a0]45
46MENUSOURCE = \
[d649b7]47 UIElements/Menu/getLastPosition.cpp \
[455573]48 UIElements/Menu/Menu.cpp \
49 UIElements/Menu/MenuDescription.cpp \
50 UIElements/Menu/MenuInterface.cpp
[b59da6]51
[5079a0]52MENUHEADER = \
[d649b7]53 UIElements/Menu/getLastPosition.hpp \
[455573]54 UIElements/Menu/Menu.hpp \
55 UIElements/Menu/MenuDescription.hpp \
56 UIElements/Menu/MenuInterface.hpp
[b59da6]57
58TEXTMENUSOURCE = \
[455573]59 UIElements/Menu/TextMenu/ActionMenuItem.cpp \
[4cf35ac]60 UIElements/Menu/TextMenu/DisplayMenuItem.cpp \
61 UIElements/Menu/TextMenu/MenuItem.cpp \
[455573]62 UIElements/Menu/TextMenu/SeparatorMenuItem.cpp \
[4cf35ac]63 UIElements/Menu/TextMenu/SubMenuItem.cpp \
64 UIElements/Menu/TextMenu/TxMenu.cpp \
65 UIElements/Menu/TextMenu/TxMenuLeaveAction.cpp
[b59da6]66
67TEXTMENUHEADER = \
[455573]68 UIElements/Menu/TextMenu/ActionMenuItem.hpp \
[4cf35ac]69 UIElements/Menu/TextMenu/DisplayMenuItem.hpp \
70 UIElements/Menu/TextMenu/MenuItem.hpp \
[455573]71 UIElements/Menu/TextMenu/SeparatorMenuItem.hpp \
[4cf35ac]72 UIElements/Menu/TextMenu/SubMenuItem.hpp \
73 UIElements/Menu/TextMenu/TextMenu.hpp \
74 UIElements/Menu/TextMenu/TxMenu.hpp \
75 UIElements/Menu/TextMenu/TxMenuLeaveAction.hpp
[455573]76
77TEXTUISOURCE = \
78 UIElements/TextUI/Query/AtomsTextQuery.cpp \
79 UIElements/TextUI/Query/AtomTextQuery.cpp \
80 UIElements/TextUI/Query/BooleanTextQuery.cpp \
81 UIElements/TextUI/Query/DoubleTextQuery.cpp \
82 UIElements/TextUI/Query/DoublesTextQuery.cpp \
83 UIElements/TextUI/Query/ElementTextQuery.cpp \
84 UIElements/TextUI/Query/ElementsTextQuery.cpp \
85 UIElements/TextUI/Query/EmptyTextQuery.cpp \
86 UIElements/TextUI/Query/FileTextQuery.cpp \
[2c5765]87 UIElements/TextUI/Query/FilesTextQuery.cpp \
[455573]88 UIElements/TextUI/Query/IntTextQuery.cpp \
89 UIElements/TextUI/Query/IntsTextQuery.cpp \
90 UIElements/TextUI/Query/MoleculesTextQuery.cpp \
91 UIElements/TextUI/Query/MoleculeTextQuery.cpp \
[7d9416]92 UIElements/TextUI/Query/RealSpaceMatrixTextQuery.cpp \
[455573]93 UIElements/TextUI/Query/StringTextQuery.cpp \
94 UIElements/TextUI/Query/StringsTextQuery.cpp \
[838cd0]95 UIElements/TextUI/Query/UnsignedIntTextQuery.cpp \
[12948c]96 UIElements/TextUI/Query/UnsignedIntsTextQuery.cpp \
[455573]97 UIElements/TextUI/Query/VectorTextQuery.cpp \
98 UIElements/TextUI/Query/VectorsTextQuery.cpp \
99 UIElements/TextUI/Query/RandomNumberDistribution_ParametersTextQuery.cpp \
100 UIElements/TextUI/TextDialog.cpp \
101 UIElements/TextUI/TextStatusIndicator.cpp \
102 UIElements/TextUI/TextUIFactory.cpp \
103 UIElements/TextUI/TextWindow.cpp
104TEXTUIHEADER = \
105 UIElements/TextUI/Query/TextQuery.hpp \
106 UIElements/TextUI/TextDialog.hpp \
107 UIElements/TextUI/TextStatusIndicator.hpp \
108 UIElements/TextUI/TextUIFactory.hpp \
109 UIElements/TextUI/TextWindow.hpp
110
111VIEWSOURCE = \
112 UIElements/Views/View.cpp \
113 UIElements/Views/StringView.cpp \
114 UIElements/Views/MethodStringView.cpp \
115 UIElements/Views/StreamStringView.cpp
116VIEWHEADER = \
117 UIElements/Views/View.hpp \
118 UIElements/Views/StringView.hpp \
119 UIElements/Views/MethodStringView.hpp \
120 UIElements/Views/StreamStringView.hpp
[5079a0]121
122UISOURCE = \
123 ${COMMANDLINEUISOURCE} \
124 ${MENUSOURCE} \
[b59da6]125 ${TEXTMENUSOURCE} \
[5079a0]126 ${TEXTUISOURCE} \
127 ${VIEWSOURCE} \
[455573]128 UIElements/Query/EmptyQuery.cpp \
129 UIElements/Query/Query.cpp \
130 UIElements/Dialog.cpp \
131 UIElements/MainWindow.cpp
[5079a0]132
133UIHEADER = \
134 ${COMMANDLINEUIHEADER} \
135 ${MENUHEADER} \
[b59da6]136 ${TEXTMENUHEADER} \
[5079a0]137 ${TEXTUIHEADER} \
138 ${VIEWHEADER} \
[455573]139 UIElements/Dialog.hpp \
140 UIElements/MainWindow.hpp
[5079a0]141
[455573]142QTUISOURCE = \
143 UIElements/Qt4/Query/AtomQtQuery.cpp \
144 UIElements/Qt4/Query/AtomsQtQuery.cpp \
145 UIElements/Qt4/Query/BooleanQtQuery.cpp \
146 UIElements/Qt4/Query/DoubleQtQuery.cpp \
147 UIElements/Qt4/Query/DoublesQtQuery.cpp \
148 UIElements/Qt4/Query/ElementQtQuery.cpp \
149 UIElements/Qt4/Query/ElementsQtQuery.cpp \
150 UIElements/Qt4/Query/EmptyQtQuery.cpp \
151 UIElements/Qt4/Query/FileQtQuery.cpp \
[2c5765]152 UIElements/Qt4/Query/FilesQtQuery.cpp \
[455573]153 UIElements/Qt4/Query/IntQtQuery.cpp \
154 UIElements/Qt4/Query/IntsQtQuery.cpp \
155 UIElements/Qt4/Query/MoleculeQtQuery.cpp \
156 UIElements/Qt4/Query/MoleculesQtQuery.cpp \
[7b8a8e]157 UIElements/Qt4/Query/QtQueryList.cpp \
[7d9416]158 UIElements/Qt4/Query/RealSpaceMatrixQtQuery.cpp \
[455573]159 UIElements/Qt4/Query/StringQtQuery.cpp \
160 UIElements/Qt4/Query/StringsQtQuery.cpp \
[838cd0]161 UIElements/Qt4/Query/UnsignedIntQtQuery.cpp \
[12948c]162 UIElements/Qt4/Query/UnsignedIntsQtQuery.cpp \
[455573]163 UIElements/Qt4/Query/VectorQtQuery.cpp \
164 UIElements/Qt4/Query/VectorsQtQuery.cpp \
[4cf35ac]165 UIElements/Qt4/Query/RandomNumberDistribution_ParametersQtQuery.cpp \
166 UIElements/Qt4/QtMainWindow.cpp \
167 UIElements/Qt4/QtDialog.cpp \
168 UIElements/Qt4/QtUIFactory.cpp \
[bed759]169 UIElements/Views/Qt4/MoleculeList/QtMoleculeItem.cpp \
170 UIElements/Views/Qt4/MoleculeList/QtMoleculeItemFactory.cpp \
[f62e60]171 UIElements/Views/Qt4/MoleculeList/QtMoleculeList.cpp \
172 UIElements/Views/Qt4/MoleculeList/QtMoleculeListView.cpp \
[4cf35ac]173 UIElements/Menu/Qt4/QtMenuPipe.cpp \
[0e6156]174 UIElements/Views/Qt4/QtElementList.cpp \
[d20ded]175 UIElements/Views/Qt4/QtFragmentList.cpp \
[1e1098]176 UIElements/Views/Qt4/QtHomologyList.cpp \
[3c53fa]177 UIElements/Views/Qt4/QtInfoBox.cpp \
[e0b5f0]178 UIElements/Views/Qt4/QtLogBox.cpp \
[301bc2]179 UIElements/Views/Qt4/QtShapeController.cpp \
[4458b0]180 UIElements/Views/Qt4/QtShapeList.cpp \
[d238e7]181 UIElements/Views/Qt4/QtStatusBar.cpp \
[d7e931]182 UIElements/Views/Qt4/QtTimeLine.cpp \
[7641d4]183 UIElements/Views/Qt4/QtToolBar.cpp \
[8859b5]184 UIElements/Views/Qt4/QtToolBar_QtFavoriteActions.cpp \
[907636]185 UIElements/Views/Qt4/Qt3D/GLWorldView.cpp \
186 UIElements/Views/Qt4/Qt3D/GLWorldScene.cpp \
187 UIElements/Views/Qt4/Qt3D/GLMoleculeObject.cpp \
188 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_atom.cpp \
[c67518]189 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_bond.cpp \
[afd3d2]190 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_molecule.cpp \
191 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_shape.cpp
[29daad]192# UIElements/Views/Qt4/dialoglight.cpp
[455573]193
[1e0861]194QTUIMOC_HEADER = \
[4cf35ac]195 UIElements/Qt4/QtDialog.hpp \
196 UIElements/Qt4/QtMainWindow.hpp \
[7c9921]197 UIElements/Qt4/Query/QtQuery.hpp \
[86c013]198 UIElements/Menu/Qt4/QMenu_tooltip.hpp \
[4cf35ac]199 UIElements/Menu/Qt4/QtMenuPipe.hpp \
[f62e60]200 UIElements/Views/Qt4/MoleculeList/QtMoleculeList.hpp \
201 UIElements/Views/Qt4/MoleculeList/QtMoleculeListView.hpp \
[0e6156]202 UIElements/Views/Qt4/QtElementList.hpp \
[d20ded]203 UIElements/Views/Qt4/QtFragmentList.hpp \
[1e1098]204 UIElements/Views/Qt4/QtHomologyList.hpp \
[3c53fa]205 UIElements/Views/Qt4/QtInfoBox.hpp \
[e0b5f0]206 UIElements/Views/Qt4/QtLogBox.hpp \
[301bc2]207 UIElements/Views/Qt4/QtShapeController.hpp \
[4458b0]208 UIElements/Views/Qt4/QtShapeList.hpp \
[d238e7]209 UIElements/Views/Qt4/QtStatusBar.hpp \
[d7e931]210 UIElements/Views/Qt4/QtTimeLine.hpp \
[7641d4]211 UIElements/Views/Qt4/QtToolBar.hpp \
[907636]212 UIElements/Views/Qt4/Qt3D/GLWorldView.hpp \
213 UIElements/Views/Qt4/Qt3D/GLWorldScene.hpp \
[a08d3c0]214 UIElements/Views/Qt4/Qt3D/GLMoleculeObject.hpp \
[907636]215 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_atom.hpp \
[c67518]216 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_bond.hpp \
[afd3d2]217 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_molecule.hpp \
218 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_shape.hpp
[29daad]219
[bcedf7]220QTUIUI_UIFILES = \
221 UIElements/Views/Qt4/changeposition.ui \
222 UIElements/Views/Qt4/dialoglight.ui \
223 UIElements/Views/Qt4/dialoglight.ui.h
[29daad]224
[1e0861]225QTUIHEADER = \
226 ${QTUIMOC_HEADER} \
[4cf35ac]227 UIElements/Menu/Qt4/QtMenu.hpp \
[7b8a8e]228 UIElements/Qt4/Query/QtQueryList.hpp \
[f62e60]229 UIElements/Qt4/QtUIFactory.hpp \
[bed759]230 UIElements/Views/Qt4/MoleculeList/QtMoleculeItem.hpp \
231 UIElements/Views/Qt4/MoleculeList/QtMoleculeItemFactory.hpp \
[6d1e0a]232 UIElements/Views/Qt4/MoleculeList/SpecificItems/QtMoleculeItem_atomcount.hpp \
233 UIElements/Views/Qt4/MoleculeList/SpecificItems/QtMoleculeItem_formula.hpp \
234 UIElements/Views/Qt4/MoleculeList/SpecificItems/QtMoleculeItem_name.hpp \
235 UIElements/Views/Qt4/MoleculeList/SpecificItems/QtMoleculeItem_occurrence.hpp \
236 UIElements/Views/Qt4/MoleculeList/SpecificItems/QtMoleculeItem_visibility.hpp \
[f62e60]237 UIElements/Views/Qt4/QDebugStream.hpp
[1e0861]238
[c015b3]239lib_LTLIBRARIES += libMolecuilderUI.la
[214240]240libMolecuilderUI_la_includedir = $(includedir)/MoleCuilder/
[3b35e7]241libMolecuilderUI_la_CPPFLAGS = $(AM_CPPFLAGS) ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
[004d5c]242if CONDJOBMARKET
243libMolecuilderUI_la_CPPFLAGS += ${JobMarket_CFLAGS}
244endif
245libMolecuilderUI_la_LDFLAGS = \
246 $(AM_LDFLAGS) \
247 $(BOOST_FILESYSTEM_LDFLAGS) \
248 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \
249 $(BOOST_RANDOM_LDFLAGS) \
[8a4b88]250 $(BOOST_SERIALIZATION_LDFLAGS) \
[004d5c]251 $(BOOST_SYSTEM_LDFLAGS) \
252 $(BOOST_THREAD_LDFLAGS)
[c015b3]253
[24ac59]254if CONDJOBMARKET
255libMolecuilderUI_la_LDFLAGS += $(LEVMAR_LDFLAGS)
256endif
257
[455573]258# NOTE: ActionPrototypes BEFORE Actions!
259# this is to ensure that static Action prototypes are instantiated after
260# ActionRegistry is present.
[8a4b88]261libMolecuilderUI_la_LIBADD =
262
263libMolecuilderUI_la_LIBADD += \
[455573]264 libMolecuilderActionPrototypes.la \
265 libMolecuilderActions.la \
[9b5a2c]266 libMolecuilderAnalysis.la \
[455573]267 libMolecuilderGraph.la \
[a88452]268 libMolecuilderFilling.la \
[a42fee]269 libMolecuilder.la \
[786d28]270 libMolecuilderFragmentationAutomation.la \
[fe0355]271 libMolecuilderFragmentation_getFromKeyset.la \
[786d28]272 libMolecuilderFragmentation.la \
273 libMolecuilderJobs.la
[049d4a]274if CONDJOBMARKET
275libMolecuilderUI_la_LIBADD += \
276 ${JobMarket_Controller_LIBS}
277endif
278libMolecuilderUI_la_LIBADD += \
279 libMolecuilderFragmentationSummation.la \
280 libMolecuilderFragmentation_KeysetsContainer.la \
[455573]281 libMolecuilderParser.la \
[8453b3]282 libMolecuilderParameters.la \
[455573]283 libMolecuilderShapes.la \
[91f592]284 libMolecuilderLinkedCell.la \
[6f0841]285 libMolecuilderAtom.la \
[2fadb6f]286 libMolecuilderHelpers.la \
[3bdb6d]287 libMolecuilderElement.la \
[938e62]288 libMolecuilderRandomNumbers.la \
[24ac59]289 libMolecuilderPotentials.la \
[7e3f11a]290 libMolecuilderFunctionApproximation.la
291
292if CONDPYTHON
293libMolecuilderUI_la_LIBADD += \
294 libMolecuilderPython.la
295endif
296
297libMolecuilderUI_la_LIBADD += \
[8a4b88]298 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[f08ae7]299 ${CodePatterns_LIBS} \
[785218]300 $(BOOST_SERIALIZATION_LIBS) \
301 $(BOOST_PROGRAM_OPTIONS_LIBS) \
302 $(BOOST_FILESYSTEM_LIBS) \
303 $(BOOST_SYSTEM_LIBS) \
304 $(BOOST_THREAD_LIBS)
[79de12]305
[7e3f11a]306
[24ac59]307if CONDLEVMAR
308libMolecuilderUI_la_LIBADD += \
309 $(LEVMAR_LIBS) \
310 $(LAPACK_LIBS) $(BLAS_LIBS) $(LIBS) $(FLIBS)
311endif
312
313
[e5bf2b]314nobase_libMolecuilderUI_la_include_HEADERS = ${UIHEADER}
[b37436]315
316## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
317## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
318## will therefore be treated as if it were literally part of the target name,
319## and the variable name derived from that.
320## The file extension .cc is recognized by Automake, and makes it produce
321## rules which invoke the C++ compiler to produce a libtool object file (.lo)
322## from each source file. Note that it is not necessary to list header files
323## which are already listed elsewhere in a _HEADERS variable assignment.
[353326]324libMolecuilderUI_la_SOURCES = \
325 ${UISOURCE} \
326 cleanUp.cpp \
327 cleanUp.hpp
[b37436]328
329## Instruct libtool to include ABI version information in the generated shared
330## library file (.so). The library ABI version is defined in configure.ac, so
331## that all version information is kept in one place.
[79de12]332libMolecuilderUI_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
[b37436]333
334## The generated configuration header is installed in its own subdirectory of
335## $(libdir). The reason for this is that the configuration information put
336## into this header file describes the target platform the installed library
337## has been built for. Thus the file must not be installed into a location
338## intended for architecture-independent files, as defined by the Filesystem
339## Hierarchy Standard (FHS).
340## The nodist_ prefix instructs Automake to not generate rules for including
341## the listed files in the distribution on 'make dist'. Files that are listed
342## in _HEADERS variables are normally included in the distribution, but the
343## configuration header file is generated at configure time and should not be
344## shipped with the source tarball.
[acbe1b]345#libMolecuilderUI_libincludedir = $(libdir)/MoleCuilder/include
346#nodist_libMolecuilderUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
[b37436]347
348## Install the generated pkg-config file (.pc) into the expected location for
349## architecture-dependent package configuration information. Occasionally,
350## pkg-config files are also used for architecture-independent data packages,
351## in which case the correct install location would be $(datadir)/pkgconfig.
[acbe1b]352#pkgconfigdir = $(libdir)/pkgconfig
353#pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
[5079a0]354
[c015b3]355if CONDQTGUI
356lib_LTLIBRARIES += libMolecuilderQtUI.la
[29daad]357
[214240]358libMolecuilderQtUI_la_includedir = $(includedir)/MoleCuilder/
[3b35e7]359libMolecuilderQtUI_la_CPPFLAGS = $(AM_CPPFLAGS) ${QT_CFLAGS} ${GLU_CXXFLAGS} ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} $(mol_ac_qwt_cxxflags)
[35302b]360libMolecuilderQtUI_la_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) $(mol_ac_qwt_ldflags)
361
362libMolecuilderQtUI_la_LIBADD =
363if CONDQWT
364libMolecuilderQtUI_la_LIBADD += \
365 libMolecuilderQwtUI.la
366endif
[c015b3]367
[35302b]368libMolecuilderQtUI_la_LIBADD += \
[d5307b]369 ../data/icons/libicons.la \
[c015b3]370 ${QT_LIBS} \
371 -lQtOpenGL \
372 ${GLU_LIBS}
[29daad]373
[5b991a]374##libMolecuilderQtUI_la_LDADD = \
[d5307b]375## ../data/icons/libicons.a
[5b991a]376
[c015b3]377nobase_libMolecuilderQtUI_la_include_HEADERS = ${QTUIHEADER} $(QTUIUI_UIFILES)
378libMolecuilderQtUI_la_SOURCES = ${QTUISOURCE}
379nodist_libMolecuilderQtUI_la_SOURCES =
380libMolecuilderQtUI_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
381#libMolecuilderQtUI_libincludedir = $(libdir)/MoleCuilder/include
382#nodist_libMolecuilderQtUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
383
384BUILT_SOURCES += ui_dialoglight.h ui_changeposition.h
[29daad]385
386nodist_libMolecuilderQtUI_la_SOURCES += moc_dialoglight.cpp moc_changeposition.cpp
387
[c015b3]388MOSTLYCLEANFILES += \
389 *.moc.cpp \
390 moc_*.cpp \
391 ui_*.h
[29daad]392
393ui_dialoglight.h: UIElements/Views/Qt4/dialoglight.ui
[060ba4]394 $(QT_UIC) -o $@ $<
[29daad]395
396ui_changeposition.h: UIElements/Views/Qt4/changeposition.ui
[060ba4]397 $(QT_UIC) -o $@ $<
[29daad]398
399moc_dialoglight.cpp: ui_dialoglight.h
[060ba4]400 $(QT_MOC) -o $@ $<
[29daad]401
402moc_changeposition.cpp: ui_changeposition.h
[060ba4]403 $(QT_MOC) -o $@ $<
404
405nodist_libMolecuilderQtUI_la_SOURCES += allmocs.moc.cpp
[29daad]406
[1e0861]407#Rules needed for Qt4
408# UI-Files are scattered throughout several subdirectories
409# Therfore `%'-rules do not seem to work
410#Quick fix to get it done otherwise
411allmocs.moc.cpp: ${QTUIMOC_HEADER}
412 echo "" > allmocs.moc.cpp;\
[35302b]413 list='${QTUIMOC_HEADER}'; for header in $$list; do \
[1e0861]414 echo "Making mocfile for $$header"; \
415 target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
[060ba4]416 $(QT_MOC) $(srcdir)/$$header -o $$target \
[1e0861]417 || eval $$failcom; \
418 echo "#include \"$$target\"" >> allmocs.moc.cpp; \
419 done;
420
[c015b3]421endif
Note: See TracBrowser for help on using the repository browser.