[5079a0] | 1 | # Below is all for the User Interface
|
---|
| 2 |
|
---|
[35302b] | 3 | include UIElements/Views/Qt4/Plotting/Makefile.am
|
---|
| 4 |
|
---|
[455573] | 5 | COMMANDLINEUISOURCE = \
|
---|
[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 |
|
---|
| 36 | COMMANDLINEUIHEADER = \
|
---|
| 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 |
|
---|
| 46 | MENUSOURCE = \
|
---|
[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] | 52 | MENUHEADER = \
|
---|
[d649b7] | 53 | UIElements/Menu/getLastPosition.hpp \
|
---|
[455573] | 54 | UIElements/Menu/Menu.hpp \
|
---|
| 55 | UIElements/Menu/MenuDescription.hpp \
|
---|
| 56 | UIElements/Menu/MenuInterface.hpp
|
---|
[b59da6] | 57 |
|
---|
| 58 | TEXTMENUSOURCE = \
|
---|
[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 |
|
---|
| 67 | TEXTMENUHEADER = \
|
---|
[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 |
|
---|
| 77 | TEXTUISOURCE = \
|
---|
| 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
|
---|
| 104 | TEXTUIHEADER = \
|
---|
| 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 |
|
---|
| 111 | VIEWSOURCE = \
|
---|
| 112 | UIElements/Views/View.cpp \
|
---|
| 113 | UIElements/Views/StringView.cpp \
|
---|
| 114 | UIElements/Views/MethodStringView.cpp \
|
---|
| 115 | UIElements/Views/StreamStringView.cpp
|
---|
| 116 | VIEWHEADER = \
|
---|
| 117 | UIElements/Views/View.hpp \
|
---|
| 118 | UIElements/Views/StringView.hpp \
|
---|
| 119 | UIElements/Views/MethodStringView.hpp \
|
---|
| 120 | UIElements/Views/StreamStringView.hpp
|
---|
[5079a0] | 121 |
|
---|
| 122 | UISOURCE = \
|
---|
| 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 |
|
---|
| 133 | UIHEADER = \
|
---|
| 134 | ${COMMANDLINEUIHEADER} \
|
---|
| 135 | ${MENUHEADER} \
|
---|
[b59da6] | 136 | ${TEXTMENUHEADER} \
|
---|
[5079a0] | 137 | ${TEXTUIHEADER} \
|
---|
| 138 | ${VIEWHEADER} \
|
---|
[455573] | 139 | UIElements/Dialog.hpp \
|
---|
| 140 | UIElements/MainWindow.hpp
|
---|
[5079a0] | 141 |
|
---|
[455573] | 142 | QTUISOURCE = \
|
---|
| 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 \
|
---|
| 169 | UIElements/Menu/Qt4/QtMenuPipe.cpp \
|
---|
[0e6156] | 170 | UIElements/Views/Qt4/QtElementList.cpp \
|
---|
[d20ded] | 171 | UIElements/Views/Qt4/QtFragmentList.cpp \
|
---|
[1e1098] | 172 | UIElements/Views/Qt4/QtHomologyList.cpp \
|
---|
[3c53fa] | 173 | UIElements/Views/Qt4/QtInfoBox.cpp \
|
---|
| 174 | UIElements/Views/Qt4/QtMoleculeList.cpp \
|
---|
[301bc2] | 175 | UIElements/Views/Qt4/QtShapeController.cpp \
|
---|
[4458b0] | 176 | UIElements/Views/Qt4/QtShapeList.cpp \
|
---|
[d238e7] | 177 | UIElements/Views/Qt4/QtStatusBar.cpp \
|
---|
[d7e931] | 178 | UIElements/Views/Qt4/QtTimeLine.cpp \
|
---|
[7641d4] | 179 | UIElements/Views/Qt4/QtToolBar.cpp \
|
---|
[907636] | 180 | UIElements/Views/Qt4/Qt3D/GLWorldView.cpp \
|
---|
| 181 | UIElements/Views/Qt4/Qt3D/GLWorldScene.cpp \
|
---|
| 182 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject.cpp \
|
---|
| 183 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject_atom.cpp \
|
---|
[c67518] | 184 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject_bond.cpp \
|
---|
[afd3d2] | 185 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject_molecule.cpp \
|
---|
| 186 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject_shape.cpp
|
---|
[29daad] | 187 | # UIElements/Views/Qt4/dialoglight.cpp
|
---|
[455573] | 188 |
|
---|
[1e0861] | 189 | QTUIMOC_HEADER = \
|
---|
[4cf35ac] | 190 | UIElements/Qt4/QtDialog.hpp \
|
---|
| 191 | UIElements/Qt4/QtMainWindow.hpp \
|
---|
[7c9921] | 192 | UIElements/Qt4/Query/QtQuery.hpp \
|
---|
[4cf35ac] | 193 | UIElements/Menu/Qt4/QtMenuPipe.hpp \
|
---|
[0e6156] | 194 | UIElements/Views/Qt4/QtElementList.hpp \
|
---|
[d20ded] | 195 | UIElements/Views/Qt4/QtFragmentList.hpp \
|
---|
[1e1098] | 196 | UIElements/Views/Qt4/QtHomologyList.hpp \
|
---|
[3c53fa] | 197 | UIElements/Views/Qt4/QtInfoBox.hpp \
|
---|
| 198 | UIElements/Views/Qt4/QtMoleculeList.hpp \
|
---|
[301bc2] | 199 | UIElements/Views/Qt4/QtShapeController.hpp \
|
---|
[4458b0] | 200 | UIElements/Views/Qt4/QtShapeList.hpp \
|
---|
[d238e7] | 201 | UIElements/Views/Qt4/QtStatusBar.hpp \
|
---|
[d7e931] | 202 | UIElements/Views/Qt4/QtTimeLine.hpp \
|
---|
[7641d4] | 203 | UIElements/Views/Qt4/QtToolBar.hpp \
|
---|
[907636] | 204 | UIElements/Views/Qt4/Qt3D/GLWorldView.hpp \
|
---|
| 205 | UIElements/Views/Qt4/Qt3D/GLWorldScene.hpp \
|
---|
[a08d3c0] | 206 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject.hpp \
|
---|
[907636] | 207 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject_atom.hpp \
|
---|
[c67518] | 208 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject_bond.hpp \
|
---|
[afd3d2] | 209 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject_molecule.hpp \
|
---|
| 210 | UIElements/Views/Qt4/Qt3D/GLMoleculeObject_shape.hpp
|
---|
[29daad] | 211 |
|
---|
[bcedf7] | 212 | QTUIUI_UIFILES = \
|
---|
| 213 | UIElements/Views/Qt4/changeposition.ui \
|
---|
| 214 | UIElements/Views/Qt4/dialoglight.ui \
|
---|
| 215 | UIElements/Views/Qt4/dialoglight.ui.h
|
---|
[29daad] | 216 |
|
---|
[1e0861] | 217 | QTUIHEADER = \
|
---|
| 218 | ${QTUIMOC_HEADER} \
|
---|
[4cf35ac] | 219 | UIElements/Menu/Qt4/QtMenu.hpp \
|
---|
[7b8a8e] | 220 | UIElements/Qt4/Query/QtQueryList.hpp \
|
---|
[08e137] | 221 | UIElements/Qt4/QtUIFactory.hpp
|
---|
[1e0861] | 222 |
|
---|
[c015b3] | 223 | lib_LTLIBRARIES += libMolecuilderUI.la
|
---|
[214240] | 224 | libMolecuilderUI_la_includedir = $(includedir)/MoleCuilder/
|
---|
[004d5c] | 225 | libMolecuilderUI_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
|
---|
| 226 | if CONDJOBMARKET
|
---|
| 227 | libMolecuilderUI_la_CPPFLAGS += ${JobMarket_CFLAGS}
|
---|
| 228 | endif
|
---|
| 229 | libMolecuilderUI_la_LDFLAGS = \
|
---|
| 230 | $(AM_LDFLAGS) \
|
---|
| 231 | $(BOOST_FILESYSTEM_LDFLAGS) \
|
---|
| 232 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \
|
---|
| 233 | $(BOOST_RANDOM_LDFLAGS) \
|
---|
[8a4b88] | 234 | $(BOOST_SERIALIZATION_LDFLAGS) \
|
---|
[004d5c] | 235 | $(BOOST_SYSTEM_LDFLAGS) \
|
---|
| 236 | $(BOOST_THREAD_LDFLAGS)
|
---|
[c015b3] | 237 |
|
---|
[24ac59] | 238 | if CONDJOBMARKET
|
---|
| 239 | libMolecuilderUI_la_LDFLAGS += $(LEVMAR_LDFLAGS)
|
---|
| 240 | endif
|
---|
| 241 |
|
---|
[455573] | 242 | # NOTE: ActionPrototypes BEFORE Actions!
|
---|
| 243 | # this is to ensure that static Action prototypes are instantiated after
|
---|
| 244 | # ActionRegistry is present.
|
---|
[8a4b88] | 245 | libMolecuilderUI_la_LIBADD =
|
---|
| 246 |
|
---|
| 247 | libMolecuilderUI_la_LIBADD += \
|
---|
[455573] | 248 | libMolecuilderActionPrototypes.la \
|
---|
| 249 | libMolecuilderActions.la \
|
---|
[9b5a2c] | 250 | libMolecuilderAnalysis.la \
|
---|
[455573] | 251 | libMolecuilderGraph.la \
|
---|
[a88452] | 252 | libMolecuilderFilling.la \
|
---|
[455573] | 253 | libMolecuilder.la \
|
---|
[049d4a] | 254 | libMolecuilderFragmentationAutomation.la \
|
---|
[fe0355] | 255 | libMolecuilderFragmentation_getFromKeyset.la \
|
---|
[049d4a] | 256 | libMolecuilderFragmentation.la
|
---|
| 257 | if CONDJOBMARKET
|
---|
| 258 | libMolecuilderUI_la_LIBADD += \
|
---|
| 259 | libMolecuilderJobs.la \
|
---|
| 260 | ${JobMarket_Controller_LIBS}
|
---|
| 261 | endif
|
---|
| 262 | libMolecuilderUI_la_LIBADD += \
|
---|
| 263 | libMolecuilderFragmentationSummation.la \
|
---|
| 264 | libMolecuilderFragmentation_KeysetsContainer.la \
|
---|
[455573] | 265 | libMolecuilderParser.la \
|
---|
[8453b3] | 266 | libMolecuilderParameters.la \
|
---|
[455573] | 267 | libMolecuilderShapes.la \
|
---|
[91f592] | 268 | libMolecuilderLinkedCell.la \
|
---|
[6f0841] | 269 | libMolecuilderAtom.la \
|
---|
[2fadb6f] | 270 | libMolecuilderHelpers.la \
|
---|
[3bdb6d] | 271 | libMolecuilderElement.la \
|
---|
[938e62] | 272 | libMolecuilderRandomNumbers.la \
|
---|
[24ac59] | 273 | libMolecuilderPotentials.la \
|
---|
[7e3f11a] | 274 | libMolecuilderFunctionApproximation.la
|
---|
| 275 |
|
---|
| 276 | if CONDPYTHON
|
---|
| 277 | libMolecuilderUI_la_LIBADD += \
|
---|
| 278 | libMolecuilderPython.la
|
---|
| 279 | endif
|
---|
| 280 |
|
---|
| 281 | libMolecuilderUI_la_LIBADD += \
|
---|
[8a4b88] | 282 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
[f08ae7] | 283 | ${CodePatterns_LIBS} \
|
---|
[785218] | 284 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
| 285 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
| 286 | $(BOOST_FILESYSTEM_LIBS) \
|
---|
| 287 | $(BOOST_SYSTEM_LIBS) \
|
---|
| 288 | $(BOOST_THREAD_LIBS)
|
---|
[79de12] | 289 |
|
---|
[7e3f11a] | 290 |
|
---|
[24ac59] | 291 | if CONDLEVMAR
|
---|
| 292 | libMolecuilderUI_la_LIBADD += \
|
---|
| 293 | $(LEVMAR_LIBS) \
|
---|
| 294 | $(LAPACK_LIBS) $(BLAS_LIBS) $(LIBS) $(FLIBS)
|
---|
| 295 | endif
|
---|
| 296 |
|
---|
| 297 |
|
---|
[e5bf2b] | 298 | nobase_libMolecuilderUI_la_include_HEADERS = ${UIHEADER}
|
---|
[b37436] | 299 |
|
---|
| 300 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
---|
| 301 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
---|
| 302 | ## will therefore be treated as if it were literally part of the target name,
|
---|
| 303 | ## and the variable name derived from that.
|
---|
| 304 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
| 305 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
| 306 | ## from each source file. Note that it is not necessary to list header files
|
---|
| 307 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
[353326] | 308 | libMolecuilderUI_la_SOURCES = \
|
---|
| 309 | ${UISOURCE} \
|
---|
| 310 | cleanUp.cpp \
|
---|
| 311 | cleanUp.hpp
|
---|
[b37436] | 312 |
|
---|
| 313 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
| 314 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
| 315 | ## that all version information is kept in one place.
|
---|
[79de12] | 316 | libMolecuilderUI_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
|
---|
[b37436] | 317 |
|
---|
| 318 | ## The generated configuration header is installed in its own subdirectory of
|
---|
| 319 | ## $(libdir). The reason for this is that the configuration information put
|
---|
| 320 | ## into this header file describes the target platform the installed library
|
---|
| 321 | ## has been built for. Thus the file must not be installed into a location
|
---|
| 322 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
| 323 | ## Hierarchy Standard (FHS).
|
---|
| 324 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
| 325 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
| 326 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
| 327 | ## configuration header file is generated at configure time and should not be
|
---|
| 328 | ## shipped with the source tarball.
|
---|
[acbe1b] | 329 | #libMolecuilderUI_libincludedir = $(libdir)/MoleCuilder/include
|
---|
| 330 | #nodist_libMolecuilderUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
---|
[b37436] | 331 |
|
---|
| 332 | ## Install the generated pkg-config file (.pc) into the expected location for
|
---|
| 333 | ## architecture-dependent package configuration information. Occasionally,
|
---|
| 334 | ## pkg-config files are also used for architecture-independent data packages,
|
---|
| 335 | ## in which case the correct install location would be $(datadir)/pkgconfig.
|
---|
[acbe1b] | 336 | #pkgconfigdir = $(libdir)/pkgconfig
|
---|
| 337 | #pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
|
---|
[5079a0] | 338 |
|
---|
[c015b3] | 339 | if CONDQTGUI
|
---|
| 340 | lib_LTLIBRARIES += libMolecuilderQtUI.la
|
---|
[29daad] | 341 |
|
---|
[214240] | 342 | libMolecuilderQtUI_la_includedir = $(includedir)/MoleCuilder/
|
---|
[35302b] | 343 | libMolecuilderQtUI_la_CPPFLAGS = ${QT_CFLAGS} ${GLU_CXXFLAGS} ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} $(mol_ac_qwt_cxxflags)
|
---|
| 344 | libMolecuilderQtUI_la_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) $(mol_ac_qwt_ldflags)
|
---|
| 345 |
|
---|
| 346 | libMolecuilderQtUI_la_LIBADD =
|
---|
| 347 | if CONDQWT
|
---|
| 348 | libMolecuilderQtUI_la_LIBADD += \
|
---|
| 349 | libMolecuilderQwtUI.la
|
---|
| 350 | endif
|
---|
[c015b3] | 351 |
|
---|
[35302b] | 352 | libMolecuilderQtUI_la_LIBADD += \
|
---|
[d5307b] | 353 | ../data/icons/libicons.la \
|
---|
[c015b3] | 354 | ${QT_LIBS} \
|
---|
| 355 | -lQtOpenGL \
|
---|
| 356 | ${GLU_LIBS}
|
---|
[29daad] | 357 |
|
---|
[5b991a] | 358 | ##libMolecuilderQtUI_la_LDADD = \
|
---|
[d5307b] | 359 | ## ../data/icons/libicons.a
|
---|
[5b991a] | 360 |
|
---|
[c015b3] | 361 | nobase_libMolecuilderQtUI_la_include_HEADERS = ${QTUIHEADER} $(QTUIUI_UIFILES)
|
---|
| 362 | libMolecuilderQtUI_la_SOURCES = ${QTUISOURCE}
|
---|
| 363 | nodist_libMolecuilderQtUI_la_SOURCES =
|
---|
| 364 | libMolecuilderQtUI_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
|
---|
| 365 | #libMolecuilderQtUI_libincludedir = $(libdir)/MoleCuilder/include
|
---|
| 366 | #nodist_libMolecuilderQtUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
---|
| 367 |
|
---|
| 368 | BUILT_SOURCES += ui_dialoglight.h ui_changeposition.h
|
---|
[29daad] | 369 |
|
---|
| 370 | nodist_libMolecuilderQtUI_la_SOURCES += moc_dialoglight.cpp moc_changeposition.cpp
|
---|
| 371 |
|
---|
[c015b3] | 372 | MOSTLYCLEANFILES += \
|
---|
| 373 | *.moc.cpp \
|
---|
| 374 | moc_*.cpp \
|
---|
| 375 | ui_*.h
|
---|
[29daad] | 376 |
|
---|
| 377 | ui_dialoglight.h: UIElements/Views/Qt4/dialoglight.ui
|
---|
[060ba4] | 378 | $(QT_UIC) -o $@ $<
|
---|
[29daad] | 379 |
|
---|
| 380 | ui_changeposition.h: UIElements/Views/Qt4/changeposition.ui
|
---|
[060ba4] | 381 | $(QT_UIC) -o $@ $<
|
---|
[29daad] | 382 |
|
---|
| 383 | moc_dialoglight.cpp: ui_dialoglight.h
|
---|
[060ba4] | 384 | $(QT_MOC) -o $@ $<
|
---|
[29daad] | 385 |
|
---|
| 386 | moc_changeposition.cpp: ui_changeposition.h
|
---|
[060ba4] | 387 | $(QT_MOC) -o $@ $<
|
---|
| 388 |
|
---|
| 389 | nodist_libMolecuilderQtUI_la_SOURCES += allmocs.moc.cpp
|
---|
[29daad] | 390 |
|
---|
[1e0861] | 391 | #Rules needed for Qt4
|
---|
| 392 | # UI-Files are scattered throughout several subdirectories
|
---|
| 393 | # Therfore `%'-rules do not seem to work
|
---|
| 394 | #Quick fix to get it done otherwise
|
---|
| 395 | allmocs.moc.cpp: ${QTUIMOC_HEADER}
|
---|
| 396 | echo "" > allmocs.moc.cpp;\
|
---|
[35302b] | 397 | list='${QTUIMOC_HEADER}'; for header in $$list; do \
|
---|
[1e0861] | 398 | echo "Making mocfile for $$header"; \
|
---|
| 399 | target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
|
---|
[060ba4] | 400 | $(QT_MOC) $(srcdir)/$$header -o $$target \
|
---|
[1e0861] | 401 | || eval $$failcom; \
|
---|
| 402 | echo "#include \"$$target\"" >> allmocs.moc.cpp; \
|
---|
| 403 | done;
|
---|
| 404 |
|
---|
[c015b3] | 405 | endif
|
---|