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