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