source: src/Makefile.am@ a5ddf0

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

All Qt...QueryPipe now have their own header file.

  • Query just include the QueryPipe they need.
  • old declarations moved out of QtDialog.hpp which became a lot slimmer in the process.
  • Property mode set to 100644
File size: 15.6 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4SUBDIRS = Actions Exceptions Helpers LinearAlgebra Parser UIElements
5
6ATOMSOURCE = \
7 atom.cpp \
8 AtomicInfo.cpp \
9 atom_atominfo.cpp \
10 atom_bondedparticle.cpp \
11 atom_bondedparticleinfo.cpp \
12 atom_graphnode.cpp \
13 atom_graphnodeinfo.cpp \
14 atom_particleinfo.cpp \
15 atom_trajectoryparticle.cpp \
16 atom_trajectoryparticleinfo.cpp
17ATOMHEADER = \
18 atom.hpp \
19 AtomicInfo.hpp \
20 atom_atominfo.hpp \
21 atom_bondedparticle.hpp \
22 atom_bondedparticleinfo.hpp \
23 atom_graphnode.hpp \
24 atom_graphnodeinfo.hpp \
25 atom_particleinfo.hpp \
26 atom_trajectoryparticle.hpp \
27 atom_trajectoryparticleinfo.hpp
28
29ANALYSISSOURCE = \
30 analysis_bonds.cpp \
31 analysis_correlation.cpp
32ANALYSISHEADER = \
33 analysis_bonds.hpp \
34 analysis_correlation.hpp
35
36ACTIONSSOURCE = \
37 Actions/Action.cpp \
38 Actions/ActionHistory.cpp \
39 Actions/ActionRegistry.cpp \
40 Actions/ActionSequence.cpp \
41 Actions/ActionTraits.cpp \
42 Actions/ErrorAction.cpp \
43 Actions/MakroAction.cpp \
44 Actions/ManipulateAtomsProcess.cpp \
45 Actions/MethodAction.cpp \
46 Actions/OptionRegistry.cpp \
47 Actions/OptionTrait.cpp \
48 Actions/Process.cpp
49
50ACTIONSHEADER = \
51 Actions/Action.hpp \
52 Actions/ActionHistory.hpp \
53 Actions/ActionRegistry.hpp \
54 Actions/ActionSequence.hpp \
55 Actions/ActionTraits.hpp \
56 Actions/Calculation.hpp \
57 Actions/Calculation_impl.hpp \
58 Actions/ErrorAction.hpp \
59 Actions/MakroAction.hpp \
60 Actions/ManipulateAtomsProcess.hpp \
61 Actions/MethodAction.hpp \
62 Actions/OptionRegistry.hpp \
63 Actions/OptionTrait.hpp \
64 Actions/Process.hpp
65
66
67PATTERNSOURCE = \
68 Patterns/Observer.cpp
69PATTERNHEADER = \
70 Patterns/Cacheable.hpp \
71 Patterns/Observer.hpp \
72 Patterns/Singleton.hpp
73
74SHAPESOURCE = \
75 Shapes/BaseShapes.cpp \
76 Shapes/Shape.cpp \
77 Shapes/ShapeOps.cpp
78SHAPEHEADER = \
79 Shapes/BaseShapes.hpp \
80 Shapes/Shape.hpp \
81 Shapes/ShapeOps.hpp
82
83
84DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \
85 Descriptors/AtomIdDescriptor.cpp \
86 Descriptors/AtomSelectionDescriptor.cpp \
87 Descriptors/AtomShapeDescriptor.cpp \
88 Descriptors/AtomTypeDescriptor.cpp \
89 Descriptors/MoleculeDescriptor.cpp \
90 Descriptors/MoleculeFormulaDescriptor.cpp \
91 Descriptors/MoleculeIdDescriptor.cpp \
92 Descriptors/MoleculeNameDescriptor.cpp \
93 Descriptors/MoleculePtrDescriptor.cpp \
94 Descriptors/MoleculeSelectionDescriptor.cpp
95
96
97DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp \
98 Descriptors/AtomIdDescriptor.hpp \
99 Descriptors/AtomSelectionDescriptor.hpp \
100 Descriptors/AtomShapeDescriptor.hpp \
101 Descriptors/AtomTypeDescriptor.hpp \
102 Descriptors/MoleculeDescriptor.hpp \
103 Descriptors/MoleculeFormulaDescriptor.hpp \
104 Descriptors/MoleculeIdDescriptor.hpp \
105 Descriptors/MoleculeNameDescriptor.hpp \
106 Descriptors/MoleculePtrDescriptor.hpp \
107 Descriptors/MoleculeSelectionDescriptor.cpp
108
109THERMOSTATSOURCE = \
110 Thermostats/Berendsen.cpp \
111 Thermostats/GaussianThermostat.cpp \
112 Thermostats/Langevin.cpp \
113 Thermostats/NoseHoover.cpp \
114 Thermostats/NoThermostat.cpp \
115 Thermostats/Thermostat.cpp \
116 Thermostats/Woodcock.cpp
117
118THERMOSTATHEADER = \
119 Thermostats/Berendsen.hpp \
120 Thermostats/GaussianThermostat.hpp \
121 Thermostats/Langevin.hpp \
122 Thermostats/NoseHoover.hpp \
123 Thermostats/NoThermostat.hpp \
124 Thermostats/Thermostat.hpp \
125 Thermostats/Woodcock.hpp
126
127QTUIMOC_HEADER = UIElements/Qt4/QtDialog.hpp \
128 UIElements/Qt4/QtMainWindow.hpp \
129 UIElements/Qt4/Pipe/AtomQtQueryPipe.hpp \
130 UIElements/Qt4/Pipe/AtomsQtQueryPipe.hpp \
131 UIElements/Qt4/Pipe/BooleanQtQueryPipe.hpp \
132 UIElements/Qt4/Pipe/BoxQtQueryPipe.hpp \
133 UIElements/Qt4/Pipe/DoubleQtQueryPipe.hpp \
134 UIElements/Qt4/Pipe/ElementsQtQueryPipe.hpp \
135 UIElements/Qt4/Pipe/EmptyQtQueryPipe.hpp \
136 UIElements/Qt4/Pipe/ElementQtQueryPipe.hpp \
137 UIElements/Qt4/Pipe/FileQtQueryPipe.hpp \
138 UIElements/Qt4/Pipe/IntQtQueryPipe.hpp \
139 UIElements/Qt4/Pipe/MoleculeQtQueryPipe.hpp \
140 UIElements/Qt4/Pipe/MoleculesQtQueryPipe.hpp \
141 UIElements/Qt4/Pipe/StringQtQueryPipe.hpp \
142 UIElements/Qt4/Pipe/VectorQtQueryPipe.hpp \
143 UIElements/Qt4/Pipe/VectorsQtQueryPipe.hpp \
144 UIElements/Menu/Qt4/QtMenuPipe.hpp \
145 UIElements/Views/Qt4/QtWorldView.hpp \
146 UIElements/Views/Qt4/GLMoleculeView.hpp \
147 UIElements/Views/Qt4/QtMoleculeView.hpp \
148 UIElements/Views/Qt4/QtStatusBar.hpp
149
150QTUISOURCE = allmocs.moc.cpp \
151 UIElements/Qt4/Pipe/AtomQtQueryPipe.cpp \
152 UIElements/Qt4/Pipe/AtomsQtQueryPipe.cpp \
153 UIElements/Qt4/Pipe/BooleanQtQueryPipe.cpp \
154 UIElements/Qt4/Pipe/BoxQtQueryPipe.cpp \
155 UIElements/Qt4/Pipe/DoubleQtQueryPipe.cpp \
156 UIElements/Qt4/Pipe/ElementsQtQueryPipe.cpp \
157 UIElements/Qt4/Pipe/EmptyQtQueryPipe.cpp \
158 UIElements/Qt4/Pipe/ElementQtQueryPipe.cpp \
159 UIElements/Qt4/Pipe/FileQtQueryPipe.cpp \
160 UIElements/Qt4/Pipe/IntQtQueryPipe.cpp \
161 UIElements/Qt4/Pipe/MoleculeQtQueryPipe.cpp \
162 UIElements/Qt4/Pipe/MoleculesQtQueryPipe.cpp \
163 UIElements/Qt4/Pipe/StringQtQueryPipe.cpp \
164 UIElements/Qt4/Pipe/VectorQtQueryPipe.cpp \
165 UIElements/Qt4/Pipe/VectorsQtQueryPipe.cpp \
166 UIElements/Qt4/Query/AtomQtQuery.cpp \
167 UIElements/Qt4/Query/AtomsQtQuery.cpp \
168 UIElements/Qt4/Query/BooleanQtQuery.cpp \
169 UIElements/Qt4/Query/BoxQtQuery.cpp \
170 UIElements/Qt4/Query/DoubleQtQuery.cpp \
171 UIElements/Qt4/Query/DoublesQtQuery.cpp \
172 UIElements/Qt4/Query/ElementQtQuery.cpp \
173 UIElements/Qt4/Query/ElementsQtQuery.cpp \
174 UIElements/Qt4/Query/EmptyQtQuery.cpp \
175 UIElements/Qt4/Query/FileQtQuery.cpp \
176 UIElements/Qt4/Query/IntQtQuery.cpp \
177 UIElements/Qt4/Query/IntsQtQuery.cpp \
178 UIElements/Qt4/Query/MoleculeQtQuery.cpp \
179 UIElements/Qt4/Query/MoleculesQtQuery.cpp \
180 UIElements/Qt4/Query/StringQtQuery.cpp \
181 UIElements/Qt4/Query/StringsQtQuery.cpp \
182 UIElements/Qt4/Query/VectorQtQuery.cpp \
183 UIElements/Qt4/Query/VectorsQtQuery.cpp \
184 UIElements/Qt4/QtMainWindow.cpp \
185 UIElements/Qt4/QtDialog.cpp \
186 UIElements/Qt4/QtUIFactory.cpp \
187 UIElements/Menu/Qt4/QtMenuPipe.cpp \
188 UIElements/Views/Qt4/QtWorldView.cpp \
189 UIElements/Views/Qt4/GLMoleculeView.cpp \
190 UIElements/Views/Qt4/QtMoleculeView.cpp \
191 UIElements/Views/Qt4/QtStatusBar.cpp
192
193QTUIHEADER = \
194 ${QTUIMOC_HEADER} \
195 UIElements/Menu/Qt4/QtDialog.hpp \
196 UIElements/Menu/Qt4/QtMenu.hpp \
197 UIElements/Menu/Qt4/Query/QtQuery.hpp \
198 UIElements/Qt4/QtUIFactory.hpp \
199 UIElements/Qt4/Pipe/QtQueryListPipe.hpp
200
201QTUI_DEFS =
202
203TESSELATIONSOURCE = \
204 BoundaryLineSet.cpp \
205 BoundaryPointSet.cpp \
206 BoundaryPolygonSet.cpp \
207 BoundaryTriangleSet.cpp \
208 CandidateForTesselation.cpp \
209 PointCloud.cpp \
210 tesselation.cpp \
211 tesselationhelpers.cpp \
212 TesselPoint.cpp
213
214TESSELATIONHEADER = \
215 BoundaryLineSet.hpp \
216 BoundaryPointSet.hpp \
217 BoundaryPolygonSet.hpp \
218 BoundaryTriangleSet.hpp \
219 CandidateForTesselation.hpp \
220 PointCloud.hpp \
221 tesselation.hpp \
222 tesselationhelpers.hpp \
223 TesselPoint.hpp
224
225MOLECUILDERSOURCE = \
226 ${ANALYSISSOURCE} \
227 ${ACTIONSSOURCE} \
228 ${ATOMSOURCE} \
229 ${PATTERNSOURCE} \
230 ${SHAPESOURCE} \
231 ${DESCRIPTORSOURCE} \
232 ${THERMOSTATSOURCE} \
233 ${TESSELATIONSOURCE} \
234 bond.cpp \
235 bondgraph.cpp \
236 boundary.cpp \
237 Box.cpp \
238 config.cpp \
239 ConfigFileBuffer.cpp \
240 defs.cpp \
241 element.cpp \
242 elements_db.cpp \
243 ellipsoid.cpp \
244 Formula.cpp \
245 graph.cpp \
246 leastsquaremin.cpp \
247 linkedcell.cpp \
248 moleculelist.cpp \
249 molecule.cpp \
250 molecule_dynamics.cpp \
251 molecule_fragmentation.cpp \
252 molecule_geometry.cpp \
253 molecule_graph.cpp \
254 molecule_pointcloud.cpp \
255 parser.cpp \
256 periodentafel.cpp \
257 ThermoStatContainer.cpp \
258 triangleintersectionlist.cpp \
259 UIElements/UIFactory.cpp \
260 World.cpp
261
262MOLECUILDERHEADER = \
263 ${ANALYSISHEADER} \
264 ${ACTIONSHEADER} \
265 ${ATOMHEADER} \
266 ${PATTERNHEADER} \
267 ${SHAPEHEADER} \
268 ${DESCRIPTORHEADER} \
269 ${THERMOSTATHEADER} \
270 ${TESSELATIONHEADER} \
271 bond.hpp \
272 bondgraph.hpp \
273 boundary.hpp \
274 Box.hpp \
275 config.hpp \
276 ConfigFileBuffer.hpp \
277 defs.hpp \
278 element.hpp \
279 elements_db.hpp \
280 ellipsoid.hpp \
281 Formula.hpp \
282 graph.hpp \
283 leastsquaremin.hpp \
284 linkedcell.hpp \
285 lists.hpp \
286 molecule.hpp \
287 parser.hpp \
288 periodentafel.hpp \
289 stackclass.hpp \
290 ThermoStatContainer.hpp \
291 triangleintersectionlist.hpp \
292 UIElements/UIFactory.hpp \
293 World.hpp
294
295lib_LTLIBRARIES = libMolecuilder-@MOLECUILDER_API_VERSION@.la
296libMolecuilder_includedir = $(includedir)/molecuilder-$(MOLECUILDER_API_VERSION)/Actions/
297libMolecuilder_LIBS = \
298 LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
299 ${BOOST_PROGRAM_OPTIONS_LIB}
300
301# UIElements/libMolecuilderUI.a \
302 Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
303 Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
304 Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
305 Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
306 $(BOOST_LIB) \
307 ${BOOST_THREAD_LIB}
308
309nobase_libMolecuilder_include_HEADERS = ${MOLECUILDERHEADER}
310
311## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
312## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
313## will therefore be treated as if it were literally part of the target name,
314## and the variable name derived from that.
315## The file extension .cc is recognized by Automake, and makes it produce
316## rules which invoke the C++ compiler to produce a libtool object file (.lo)
317## from each source file. Note that it is not necessary to list header files
318## which are already listed elsewhere in a _HEADERS variable assignment.
319libMolecuilder_@MOLECUILDER_API_VERSION@_la_SOURCES = ${MOLECUILDERSOURCE} $(srcdir)/version.c
320
321## Instruct libtool to include ABI version information in the generated shared
322## library file (.so). The library ABI version is defined in configure.ac, so
323## that all version information is kept in one place.
324libMolecuilder_@MOLECUILDER_API_VERSION@_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
325
326## The generated configuration header is installed in its own subdirectory of
327## $(libdir). The reason for this is that the configuration information put
328## into this header file describes the target platform the installed library
329## has been built for. Thus the file must not be installed into a location
330## intended for architecture-independent files, as defined by the Filesystem
331## Hierarchy Standard (FHS).
332## The nodist_ prefix instructs Automake to not generate rules for including
333## the listed files in the distribution on 'make dist'. Files that are listed
334## in _HEADERS variables are normally included in the distribution, but the
335## configuration header file is generated at configure time and should not be
336## shipped with the source tarball.
337libMolecuilder_libincludedir = $(libdir)/molecuilder-$(MOLECUILDER_API_VERSION)/include
338nodist_libMolecuilder_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
339
340## Install the generated pkg-config file (.pc) into the expected location for
341## architecture-dependent package configuration information. Occasionally,
342## pkg-config files are also used for architecture-independent data packages,
343## in which case the correct install location would be $(datadir)/pkgconfig.
344pkgconfigdir = $(libdir)/pkgconfig
345pkgconfig_DATA = $(top_builddir)/molecuilder-$(MOLECUILDER_API_VERSION).pc
346
347
348BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_THREAD_LIB)
349GUI_LIBS = ${QT_LDADD} ${QT_LIB_GUI} -lQtOpenGL ${GLU_LIBS}
350INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements
351
352noinst_LIBRARIES = libmenu.a
353bin_PROGRAMS = molecuilder molecuildergui joiner analyzer
354EXTRA_PROGRAMS = unity
355
356molecuilderdir = ${bindir}
357
358libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
359
360molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
361
362molecuilder_CXXFLAGS = $(BOOST_CPPFLAGS)
363#molecuilder_CXXFLAGS += -DNO_CACHING
364molecuilder_LDFLAGS = $(BOOST_LIB)
365molecuilder_SOURCES = builder.cpp
366molecuilder_LDADD = \
367 UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
368 Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
369 libMolecuilder-@MOLECUILDER_API_VERSION@.la \
370 Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
371 LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
372 Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
373 Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
374 $(BOOST_LIB)
375
376#Stuff for building the GUI using Qt
377molecuildergui_SOURCES = ${QTUISOURCE} builder.cpp
378molecuildergui_CXXFLAGS = ${QT_CXXFLAGS} ${GLU_CXXFLAGS} -DUSE_GUI_QT
379molecuildergui_LDFLAGS = $(BOOST_LIB) ${QT_LDFLAGS} ${GLU_LDFLAGS}
380
381unity_SOURCES = unity.cpp
382unity_LDADD = $(BOOST_LIB)
383
384molecuildergui_LDADD = \
385 UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
386 Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
387 libMolecuilder-@MOLECUILDER_API_VERSION@.la \
388 Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
389 LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
390 Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
391 Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
392 $(BOOST_LIB) \
393 ${GUI_LIBS}
394
395joiner_SOURCES = joiner.cpp datacreator.cpp datacreator.hpp periodentafel.hpp
396joiner_LDADD = \
397 UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
398 Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
399 libMolecuilder-@MOLECUILDER_API_VERSION@.la \
400 Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
401 LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
402 Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
403 Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
404 $(BOOST_LIB)
405
406analyzer_SOURCES = analyzer.cpp datacreator.cpp periodentafel.hpp datacreator.hpp
407analyzer_LDADD = \
408 UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
409 Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
410 libMolecuilder-@MOLECUILDER_API_VERSION@.la \
411 Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
412 LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
413 Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
414 Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
415 $(BOOST_LIB)
416
417#Rules needed for Qt4
418# UI-Files are scattered throughout several subdirectories
419# Therfore `%'-rules do not seem to work
420#Quick fix to get it done otherwise
421allmocs.moc.cpp: ${QTUIMOC_HEADER}
422 echo "" > allmocs.moc.cpp;\
423 list='$(QTUIMOC_HEADER)'; for header in $$list; do \
424 echo "Making mocfile for $$header"; \
425 target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
426 $(MOC) $(srcdir)/$$header -o $$target \
427 || eval $$failcom; \
428 echo "#include \"$$target\"" >> allmocs.moc.cpp; \
429 done;
430
431#EXTRA_DIST = ${molecuilder_DATA}
432
433FORCE:
434$(srcdir)/.git-version: FORCE
435 @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
436 && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
437 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
438 mv -f .git-version-t $(srcdir)/.git-version; \
439 else \
440 rm -f .git-version-t; \
441 fi
442
443EXTRA_DIST = $(srcdir)/.git-version
444
445$(srcdir)/version.c: $(srcdir)/.git-version
446 echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
447
448
449unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
450 echo "#include \"$(srcdir)/Helpers/MemDebug.cpp\"" > unity.cpp; \
451 list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
452 echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
453 done; \
454 subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
455 olddir=$$PWD;\
456 cd $$directory && make unity.cpp;\
457 cd $$olddir;\
458 echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
459 done;\
460 echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
461 echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
462
463MOSTLYCLEANFILES = allmocs.moc.cpp unity.cpp
464
Note: See TracBrowser for help on using the repository browser.