source: src/UIElements/Makefile.am@ 50f418

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 50f418 was c67518, checked in by Frederik Heber <heber@…>, 13 years ago

GL: molecules show if they're selected (mostly dummy)

  • adden new GLMoleculeObject_molecule class (without mesh)
  • draws a cube if molecule is selected (does NOT use correct position/size yet!)
  • Property mode set to 100644
File size: 15.5 KB
RevLine 
[5079a0]1# Below is all for the User Interface
2
[455573]3COMMANDLINEUISOURCE = \
[4cf35ac]4 UIElements/CommandLineUI/Query/AtomCommandLineQuery.cpp \
5 UIElements/CommandLineUI/Query/AtomsCommandLineQuery.cpp \
[455573]6 UIElements/CommandLineUI/Query/BooleanCommandLineQuery.cpp \
7 UIElements/CommandLineUI/Query/BoxCommandLineQuery.cpp \
8 UIElements/CommandLineUI/Query/DoubleCommandLineQuery.cpp \
9 UIElements/CommandLineUI/Query/DoublesCommandLineQuery.cpp \
10 UIElements/CommandLineUI/Query/ElementCommandLineQuery.cpp \
11 UIElements/CommandLineUI/Query/ElementsCommandLineQuery.cpp \
12 UIElements/CommandLineUI/Query/EmptyCommandLineQuery.cpp \
13 UIElements/CommandLineUI/Query/FileCommandLineQuery.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/StringCommandLineQuery.cpp \
19 UIElements/CommandLineUI/Query/StringsCommandLineQuery.cpp \
[838cd0]20 UIElements/CommandLineUI/Query/UnsignedIntCommandLineQuery.cpp \
[12948c]21 UIElements/CommandLineUI/Query/UnsignedIntsCommandLineQuery.cpp \
[455573]22 UIElements/CommandLineUI/Query/VectorCommandLineQuery.cpp \
23 UIElements/CommandLineUI/Query/VectorsCommandLineQuery.cpp \
24 UIElements/CommandLineUI/Query/RandomNumberDistribution_ParametersCommandLineQuery.cpp \
25 UIElements/CommandLineUI/CommandLineDialog.cpp \
26 UIElements/CommandLineUI/CommandLineParser.cpp \
27 UIElements/CommandLineUI/CommandLineParser_validate.cpp \
28 UIElements/CommandLineUI/CommandLineStatusIndicator.cpp \
29 UIElements/CommandLineUI/CommandLineUIFactory.cpp \
30 UIElements/CommandLineUI/CommandLineWindow.cpp \
31 UIElements/CommandLineUI/TypeEnumContainer.cpp
32
33COMMANDLINEUIHEADER = \
34 UIElements/CommandLineUI/Query/CommandLineQuery.hpp \
35 UIElements/CommandLineUI/CommandLineDialog.hpp \
36 UIElements/CommandLineUI/CommandLineParser.hpp \
37 UIElements/CommandLineUI/CommandLineParser_validate.hpp \
38 UIElements/CommandLineUI/CommandLineStatusIndicator.hpp \
39 UIElements/CommandLineUI/CommandLineUIFactory.hpp \
40 UIElements/CommandLineUI/CommandLineWindow.hpp \
41 UIElements/CommandLineUI/TypeEnumContainer.hpp
[5079a0]42
43MENUSOURCE = \
[455573]44 UIElements/Menu/Menu.cpp \
45 UIElements/Menu/MenuDescription.cpp \
46 UIElements/Menu/MenuInterface.cpp
[b59da6]47
[5079a0]48MENUHEADER = \
[455573]49 UIElements/Menu/Menu.hpp \
50 UIElements/Menu/MenuDescription.hpp \
51 UIElements/Menu/MenuInterface.hpp
[b59da6]52
53TEXTMENUSOURCE = \
[455573]54 UIElements/Menu/TextMenu/ActionMenuItem.cpp \
[4cf35ac]55 UIElements/Menu/TextMenu/DisplayMenuItem.cpp \
56 UIElements/Menu/TextMenu/MenuItem.cpp \
[455573]57 UIElements/Menu/TextMenu/SeparatorMenuItem.cpp \
[4cf35ac]58 UIElements/Menu/TextMenu/SubMenuItem.cpp \
59 UIElements/Menu/TextMenu/TxMenu.cpp \
60 UIElements/Menu/TextMenu/TxMenuLeaveAction.cpp
[b59da6]61
62TEXTMENUHEADER = \
[455573]63 UIElements/Menu/TextMenu/ActionMenuItem.hpp \
[4cf35ac]64 UIElements/Menu/TextMenu/DisplayMenuItem.hpp \
65 UIElements/Menu/TextMenu/MenuItem.hpp \
[455573]66 UIElements/Menu/TextMenu/SeparatorMenuItem.hpp \
[4cf35ac]67 UIElements/Menu/TextMenu/SubMenuItem.hpp \
68 UIElements/Menu/TextMenu/TextMenu.hpp \
69 UIElements/Menu/TextMenu/TxMenu.hpp \
70 UIElements/Menu/TextMenu/TxMenuLeaveAction.hpp
[455573]71
72TEXTUISOURCE = \
73 UIElements/TextUI/Query/AtomsTextQuery.cpp \
74 UIElements/TextUI/Query/AtomTextQuery.cpp \
75 UIElements/TextUI/Query/BooleanTextQuery.cpp \
76 UIElements/TextUI/Query/BoxTextQuery.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/IntTextQuery.cpp \
84 UIElements/TextUI/Query/IntsTextQuery.cpp \
85 UIElements/TextUI/Query/MoleculesTextQuery.cpp \
86 UIElements/TextUI/Query/MoleculeTextQuery.cpp \
87 UIElements/TextUI/Query/StringTextQuery.cpp \
88 UIElements/TextUI/Query/StringsTextQuery.cpp \
[838cd0]89 UIElements/TextUI/Query/UnsignedIntTextQuery.cpp \
[12948c]90 UIElements/TextUI/Query/UnsignedIntsTextQuery.cpp \
[455573]91 UIElements/TextUI/Query/VectorTextQuery.cpp \
92 UIElements/TextUI/Query/VectorsTextQuery.cpp \
93 UIElements/TextUI/Query/RandomNumberDistribution_ParametersTextQuery.cpp \
94 UIElements/TextUI/TextDialog.cpp \
95 UIElements/TextUI/TextStatusIndicator.cpp \
96 UIElements/TextUI/TextUIFactory.cpp \
97 UIElements/TextUI/TextWindow.cpp
98TEXTUIHEADER = \
99 UIElements/TextUI/Query/TextQuery.hpp \
100 UIElements/TextUI/TextDialog.hpp \
101 UIElements/TextUI/TextStatusIndicator.hpp \
102 UIElements/TextUI/TextUIFactory.hpp \
103 UIElements/TextUI/TextWindow.hpp
104
105VIEWSOURCE = \
106 UIElements/Views/View.cpp \
107 UIElements/Views/StringView.cpp \
108 UIElements/Views/MethodStringView.cpp \
109 UIElements/Views/StreamStringView.cpp
110VIEWHEADER = \
111 UIElements/Views/View.hpp \
112 UIElements/Views/StringView.hpp \
113 UIElements/Views/MethodStringView.hpp \
114 UIElements/Views/StreamStringView.hpp
[5079a0]115
116UISOURCE = \
117 ${COMMANDLINEUISOURCE} \
118 ${MENUSOURCE} \
[b59da6]119 ${TEXTMENUSOURCE} \
[5079a0]120 ${TEXTUISOURCE} \
121 ${VIEWSOURCE} \
[455573]122 UIElements/Query/AtomQuery.cpp \
123 UIElements/Query/AtomsQuery.cpp \
124 UIElements/Query/BooleanQuery.cpp \
125 UIElements/Query/BoxQuery.cpp \
126 UIElements/Query/DoubleQuery.cpp \
127 UIElements/Query/DoublesQuery.cpp \
128 UIElements/Query/ElementQuery.cpp \
129 UIElements/Query/ElementsQuery.cpp \
130 UIElements/Query/EmptyQuery.cpp \
131 UIElements/Query/FileQuery.cpp \
132 UIElements/Query/IntQuery.cpp \
133 UIElements/Query/IntsQuery.cpp \
134 UIElements/Query/MoleculeQuery.cpp \
135 UIElements/Query/MoleculesQuery.cpp \
136 UIElements/Query/Query.cpp \
137 UIElements/Query/RandomNumberDistribution_ParametersQuery.cpp \
138 UIElements/Query/StringQuery.cpp \
139 UIElements/Query/StringsQuery.cpp \
[838cd0]140 UIElements/Query/UnsignedIntQuery.cpp \
[12948c]141 UIElements/Query/UnsignedIntsQuery.cpp \
[455573]142 UIElements/Query/VectorQuery.cpp \
143 UIElements/Query/VectorsQuery.cpp \
144 UIElements/Dialog.cpp \
145 UIElements/MainWindow.cpp
[5079a0]146
147UIHEADER = \
148 ${COMMANDLINEUIHEADER} \
149 ${MENUHEADER} \
[b59da6]150 ${TEXTMENUHEADER} \
[5079a0]151 ${TEXTUIHEADER} \
152 ${VIEWHEADER} \
[455573]153 UIElements/Dialog.hpp \
154 UIElements/MainWindow.hpp
[5079a0]155
[455573]156QTUISOURCE = \
157 UIElements/Qt4/Pipe/AtomQtQueryPipe.cpp \
158 UIElements/Qt4/Pipe/AtomsQtQueryPipe.cpp \
159 UIElements/Qt4/Pipe/BooleanQtQueryPipe.cpp \
160 UIElements/Qt4/Pipe/BoxQtQueryPipe.cpp \
161 UIElements/Qt4/Pipe/DoubleQtQueryPipe.cpp \
162 UIElements/Qt4/Pipe/ElementsQtQueryPipe.cpp \
163 UIElements/Qt4/Pipe/EmptyQtQueryPipe.cpp \
164 UIElements/Qt4/Pipe/ElementQtQueryPipe.cpp \
165 UIElements/Qt4/Pipe/FileQtQueryPipe.cpp \
166 UIElements/Qt4/Pipe/IntQtQueryPipe.cpp \
167 UIElements/Qt4/Pipe/MoleculeQtQueryPipe.cpp \
168 UIElements/Qt4/Pipe/MoleculesQtQueryPipe.cpp \
169 UIElements/Qt4/Pipe/StringQtQueryPipe.cpp \
[838cd0]170 UIElements/Qt4/Pipe/UnsignedIntQtQueryPipe.cpp \
[455573]171 UIElements/Qt4/Pipe/VectorQtQueryPipe.cpp \
172 UIElements/Qt4/Pipe/VectorsQtQueryPipe.cpp \
[4cf35ac]173 UIElements/Qt4/Pipe/RandomNumberDistribution_ParametersQtQueryPipe.cpp \
[455573]174 UIElements/Qt4/Query/AtomQtQuery.cpp \
175 UIElements/Qt4/Query/AtomsQtQuery.cpp \
176 UIElements/Qt4/Query/BooleanQtQuery.cpp \
177 UIElements/Qt4/Query/BoxQtQuery.cpp \
178 UIElements/Qt4/Query/DoubleQtQuery.cpp \
179 UIElements/Qt4/Query/DoublesQtQuery.cpp \
180 UIElements/Qt4/Query/ElementQtQuery.cpp \
181 UIElements/Qt4/Query/ElementsQtQuery.cpp \
182 UIElements/Qt4/Query/EmptyQtQuery.cpp \
183 UIElements/Qt4/Query/FileQtQuery.cpp \
184 UIElements/Qt4/Query/IntQtQuery.cpp \
185 UIElements/Qt4/Query/IntsQtQuery.cpp \
186 UIElements/Qt4/Query/MoleculeQtQuery.cpp \
187 UIElements/Qt4/Query/MoleculesQtQuery.cpp \
188 UIElements/Qt4/Query/StringQtQuery.cpp \
189 UIElements/Qt4/Query/StringsQtQuery.cpp \
[838cd0]190 UIElements/Qt4/Query/UnsignedIntQtQuery.cpp \
[12948c]191 UIElements/Qt4/Query/UnsignedIntsQtQuery.cpp \
[455573]192 UIElements/Qt4/Query/VectorQtQuery.cpp \
193 UIElements/Qt4/Query/VectorsQtQuery.cpp \
[4cf35ac]194 UIElements/Qt4/Query/RandomNumberDistribution_ParametersQtQuery.cpp \
195 UIElements/Qt4/QtMainWindow.cpp \
196 UIElements/Qt4/QtDialog.cpp \
197 UIElements/Qt4/QtUIFactory.cpp \
198 UIElements/Menu/Qt4/QtMenuPipe.cpp \
199 UIElements/Views/Qt4/QtWorldView.cpp \
200 UIElements/Views/Qt4/QtMoleculeView.cpp \
[0e6156]201 UIElements/Views/Qt4/QtElementList.cpp \
[d238e7]202 UIElements/Views/Qt4/QtStatusBar.cpp \
[907636]203 UIElements/Views/Qt4/Qt3D/GLWorldView.cpp \
204 UIElements/Views/Qt4/Qt3D/GLWorldScene.cpp \
205 UIElements/Views/Qt4/Qt3D/GLMoleculeObject.cpp \
206 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_atom.cpp \
[c67518]207 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_bond.cpp \
208 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_molecule.cpp
[29daad]209# UIElements/Views/Qt4/dialoglight.cpp
[455573]210
[1e0861]211QTUIMOC_HEADER = \
[4cf35ac]212 UIElements/Qt4/QtDialog.hpp \
213 UIElements/Qt4/QtMainWindow.hpp \
[455573]214 UIElements/Qt4/Pipe/AtomQtQueryPipe.hpp \
215 UIElements/Qt4/Pipe/AtomsQtQueryPipe.hpp \
216 UIElements/Qt4/Pipe/BooleanQtQueryPipe.hpp \
217 UIElements/Qt4/Pipe/BoxQtQueryPipe.hpp \
218 UIElements/Qt4/Pipe/DoubleQtQueryPipe.hpp \
[4cf35ac]219 UIElements/Qt4/Pipe/ElementQtQueryPipe.hpp \
[455573]220 UIElements/Qt4/Pipe/ElementsQtQueryPipe.hpp \
221 UIElements/Qt4/Pipe/EmptyQtQueryPipe.hpp \
222 UIElements/Qt4/Pipe/FileQtQueryPipe.hpp \
223 UIElements/Qt4/Pipe/IntQtQueryPipe.hpp \
224 UIElements/Qt4/Pipe/MoleculeQtQueryPipe.hpp \
225 UIElements/Qt4/Pipe/MoleculesQtQueryPipe.hpp \
[4cf35ac]226 UIElements/Qt4/Pipe/RandomNumberDistribution_ParametersQtQueryPipe.hpp \
[455573]227 UIElements/Qt4/Pipe/StringQtQueryPipe.hpp \
[838cd0]228 UIElements/Qt4/Pipe/UnsignedIntQtQueryPipe.hpp \
[455573]229 UIElements/Qt4/Pipe/VectorQtQueryPipe.hpp \
230 UIElements/Qt4/Pipe/VectorsQtQueryPipe.hpp \
[4cf35ac]231 UIElements/Menu/Qt4/QtMenuPipe.hpp \
232 UIElements/Views/Qt4/QtWorldView.hpp \
233 UIElements/Views/Qt4/QtMoleculeView.hpp \
[0e6156]234 UIElements/Views/Qt4/QtElementList.hpp \
[d238e7]235 UIElements/Views/Qt4/QtStatusBar.hpp \
[907636]236 UIElements/Views/Qt4/Qt3D/GLWorldView.hpp \
237 UIElements/Views/Qt4/Qt3D/GLWorldScene.hpp \
[a08d3c0]238 UIElements/Views/Qt4/Qt3D/GLMoleculeObject.hpp \
[907636]239 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_atom.hpp \
[c67518]240 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_bond.hpp \
241 UIElements/Views/Qt4/Qt3D/GLMoleculeObject_molecule.hpp
[29daad]242
[bcedf7]243QTUIUI_UIFILES = \
244 UIElements/Views/Qt4/changeposition.ui \
245 UIElements/Views/Qt4/dialoglight.ui \
246 UIElements/Views/Qt4/dialoglight.ui.h
[29daad]247
[1e0861]248QTUIHEADER = \
249 ${QTUIMOC_HEADER} \
[4cf35ac]250 UIElements/Menu/Qt4/QtMenu.hpp \
251 UIElements/Qt4/Query/QtQuery.hpp \
[455573]252 UIElements/Qt4/QtUIFactory.hpp \
[4cf35ac]253 UIElements/Qt4/Pipe/QtQueryPipe.hpp \
[455573]254 UIElements/Qt4/Pipe/QtQueryListPipe.hpp
[1e0861]255
[c015b3]256lib_LTLIBRARIES += libMolecuilderUI.la
[e5bf2b]257libMolecuilderUI_la_includedir = $(includedir)/MoleCuilder/UIElements/
[060ba4]258libMolecuilderUI_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
[79de12]259libMolecuilderUI_la_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
[c015b3]260
[455573]261# NOTE: ActionPrototypes BEFORE Actions!
262# this is to ensure that static Action prototypes are instantiated after
263# ActionRegistry is present.
[e5bf2b]264libMolecuilderUI_la_LIBADD = \
[455573]265 libMolecuilderActionPrototypes.la \
266 libMolecuilderActions.la \
[9b5a2c]267 libMolecuilderAnalysis.la \
[455573]268 libMolecuilderGraph.la \
[a88452]269 libMolecuilderFilling.la \
[455573]270 libMolecuilder.la \
[a9b86d]271 libMolecuilderFragmentation.la \
[455573]272 libMolecuilderParser.la \
273 libMolecuilderShapes.la \
[91f592]274 libMolecuilderLinkedCell.la \
[6f0841]275 libMolecuilderAtom.la \
[2fadb6f]276 libMolecuilderHelpers.la \
[3bdb6d]277 libMolecuilderElement.la \
[455573]278 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
279 libMolecuilderRandomNumbers.la \
[f08ae7]280 ${CodePatterns_LIBS} \
[d7d022]281 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \
[f08ae7]282 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
283 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
284 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS)
[79de12]285
[e5bf2b]286nobase_libMolecuilderUI_la_include_HEADERS = ${UIHEADER}
[b37436]287
288## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
289## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
290## will therefore be treated as if it were literally part of the target name,
291## and the variable name derived from that.
292## The file extension .cc is recognized by Automake, and makes it produce
293## rules which invoke the C++ compiler to produce a libtool object file (.lo)
294## from each source file. Note that it is not necessary to list header files
295## which are already listed elsewhere in a _HEADERS variable assignment.
[acbe1b]296libMolecuilderUI_la_SOURCES = ${UISOURCE}
[b37436]297
298## Instruct libtool to include ABI version information in the generated shared
299## library file (.so). The library ABI version is defined in configure.ac, so
300## that all version information is kept in one place.
[79de12]301libMolecuilderUI_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
[b37436]302
303## The generated configuration header is installed in its own subdirectory of
304## $(libdir). The reason for this is that the configuration information put
305## into this header file describes the target platform the installed library
306## has been built for. Thus the file must not be installed into a location
307## intended for architecture-independent files, as defined by the Filesystem
308## Hierarchy Standard (FHS).
309## The nodist_ prefix instructs Automake to not generate rules for including
310## the listed files in the distribution on 'make dist'. Files that are listed
311## in _HEADERS variables are normally included in the distribution, but the
312## configuration header file is generated at configure time and should not be
313## shipped with the source tarball.
[acbe1b]314#libMolecuilderUI_libincludedir = $(libdir)/MoleCuilder/include
315#nodist_libMolecuilderUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
[b37436]316
317## Install the generated pkg-config file (.pc) into the expected location for
318## architecture-dependent package configuration information. Occasionally,
319## pkg-config files are also used for architecture-independent data packages,
320## in which case the correct install location would be $(datadir)/pkgconfig.
[acbe1b]321#pkgconfigdir = $(libdir)/pkgconfig
322#pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
[5079a0]323
[c015b3]324if CONDQTGUI
325lib_LTLIBRARIES += libMolecuilderQtUI.la
[29daad]326
[c015b3]327libMolecuilderQtUI_la_includedir = $(includedir)/MoleCuilder/UIElements/
328libMolecuilderQtUI_la_CPPFLAGS = ${QT_CFLAGS} ${GLU_CXXFLAGS} ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
329libMolecuilderQtUI_la_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
330
331libMolecuilderQtUI_la_LIBADD = \
332 ${QT_LIBS} \
333 -lQtOpenGL \
334 ${GLU_LIBS}
[29daad]335
[c015b3]336nobase_libMolecuilderQtUI_la_include_HEADERS = ${QTUIHEADER} $(QTUIUI_UIFILES)
337libMolecuilderQtUI_la_SOURCES = ${QTUISOURCE}
338nodist_libMolecuilderQtUI_la_SOURCES =
339libMolecuilderQtUI_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
340#libMolecuilderQtUI_libincludedir = $(libdir)/MoleCuilder/include
341#nodist_libMolecuilderQtUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
342
343BUILT_SOURCES += ui_dialoglight.h ui_changeposition.h
[29daad]344
345nodist_libMolecuilderQtUI_la_SOURCES += moc_dialoglight.cpp moc_changeposition.cpp
346
[c015b3]347MOSTLYCLEANFILES += \
348 *.moc.cpp \
349 moc_*.cpp \
350 ui_*.h
[29daad]351
352ui_dialoglight.h: UIElements/Views/Qt4/dialoglight.ui
[060ba4]353 $(QT_UIC) -o $@ $<
[29daad]354
355ui_changeposition.h: UIElements/Views/Qt4/changeposition.ui
[060ba4]356 $(QT_UIC) -o $@ $<
[29daad]357
358moc_dialoglight.cpp: ui_dialoglight.h
[060ba4]359 $(QT_MOC) -o $@ $<
[29daad]360
361moc_changeposition.cpp: ui_changeposition.h
[060ba4]362 $(QT_MOC) -o $@ $<
363
364nodist_libMolecuilderQtUI_la_SOURCES += allmocs.moc.cpp
[29daad]365
[1e0861]366#Rules needed for Qt4
367# UI-Files are scattered throughout several subdirectories
368# Therfore `%'-rules do not seem to work
369#Quick fix to get it done otherwise
370allmocs.moc.cpp: ${QTUIMOC_HEADER}
371 echo "" > allmocs.moc.cpp;\
372 list='$(QTUIMOC_HEADER)'; for header in $$list; do \
373 echo "Making mocfile for $$header"; \
374 target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
[060ba4]375 $(QT_MOC) $(srcdir)/$$header -o $$target \
[1e0861]376 || eval $$failcom; \
377 echo "#include \"$$target\"" >> allmocs.moc.cpp; \
378 done;
379
[c015b3]380endif
Note: See TracBrowser for help on using the repository browser.