[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/GLMoleculeView.cpp \
|
---|
| 192 | UIElements/Views/Qt4/QtMoleculeView.cpp \
|
---|
| 193 | UIElements/Views/Qt4/QtStatusBar.cpp
|
---|
[455573] | 194 |
|
---|
[1e0861] | 195 | QTUIMOC_HEADER = \
|
---|
[4cf35ac] | 196 | UIElements/Qt4/QtDialog.hpp \
|
---|
| 197 | UIElements/Qt4/QtMainWindow.hpp \
|
---|
[455573] | 198 | UIElements/Qt4/Pipe/AtomQtQueryPipe.hpp \
|
---|
| 199 | UIElements/Qt4/Pipe/AtomsQtQueryPipe.hpp \
|
---|
| 200 | UIElements/Qt4/Pipe/BooleanQtQueryPipe.hpp \
|
---|
| 201 | UIElements/Qt4/Pipe/BoxQtQueryPipe.hpp \
|
---|
| 202 | UIElements/Qt4/Pipe/DoubleQtQueryPipe.hpp \
|
---|
[4cf35ac] | 203 | UIElements/Qt4/Pipe/ElementQtQueryPipe.hpp \
|
---|
[455573] | 204 | UIElements/Qt4/Pipe/ElementsQtQueryPipe.hpp \
|
---|
| 205 | UIElements/Qt4/Pipe/EmptyQtQueryPipe.hpp \
|
---|
| 206 | UIElements/Qt4/Pipe/FileQtQueryPipe.hpp \
|
---|
| 207 | UIElements/Qt4/Pipe/IntQtQueryPipe.hpp \
|
---|
| 208 | UIElements/Qt4/Pipe/MoleculeQtQueryPipe.hpp \
|
---|
| 209 | UIElements/Qt4/Pipe/MoleculesQtQueryPipe.hpp \
|
---|
[4cf35ac] | 210 | UIElements/Qt4/Pipe/RandomNumberDistribution_ParametersQtQueryPipe.hpp \
|
---|
[455573] | 211 | UIElements/Qt4/Pipe/StringQtQueryPipe.hpp \
|
---|
| 212 | UIElements/Qt4/Pipe/VectorQtQueryPipe.hpp \
|
---|
| 213 | UIElements/Qt4/Pipe/VectorsQtQueryPipe.hpp \
|
---|
[4cf35ac] | 214 | UIElements/Menu/Qt4/QtMenuPipe.hpp \
|
---|
| 215 | UIElements/Views/Qt4/QtWorldView.hpp \
|
---|
| 216 | UIElements/Views/Qt4/GLMoleculeView.hpp \
|
---|
| 217 | UIElements/Views/Qt4/QtMoleculeView.hpp \
|
---|
| 218 | UIElements/Views/Qt4/QtStatusBar.hpp
|
---|
[1e0861] | 219 |
|
---|
| 220 | QTUIHEADER = \
|
---|
| 221 | ${QTUIMOC_HEADER} \
|
---|
[4cf35ac] | 222 | UIElements/Menu/Qt4/QtMenu.hpp \
|
---|
| 223 | UIElements/Qt4/Query/QtQuery.hpp \
|
---|
[455573] | 224 | UIElements/Qt4/QtUIFactory.hpp \
|
---|
[4cf35ac] | 225 | UIElements/Qt4/Pipe/QtQueryPipe.hpp \
|
---|
[455573] | 226 | UIElements/Qt4/Pipe/QtQueryListPipe.hpp
|
---|
[1e0861] | 227 |
|
---|
[455573] | 228 | lib_LTLIBRARIES += libMolecuilderUI.la \
|
---|
[4cf35ac] | 229 | libMolecuilderQtUI.la
|
---|
[e5bf2b] | 230 | libMolecuilderUI_la_includedir = $(includedir)/MoleCuilder/UIElements/
|
---|
[455573] | 231 | libMolecuilderQtUI_la_includedir = $(includedir)/MoleCuilder/UIElements/
|
---|
| 232 | libMolecuilderUI_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${QT_CXXFLAGS}
|
---|
| 233 | libMolecuilderQtUI_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${QT_CXXFLAGS}
|
---|
| 234 | # NOTE: ActionPrototypes BEFORE Actions!
|
---|
| 235 | # this is to ensure that static Action prototypes are instantiated after
|
---|
| 236 | # ActionRegistry is present.
|
---|
[e5bf2b] | 237 | libMolecuilderUI_la_LIBADD = \
|
---|
[455573] | 238 | libMolecuilderActionPrototypes.la \
|
---|
| 239 | libMolecuilderActions.la \
|
---|
| 240 | libMolecuilderGraph.la \
|
---|
| 241 | libMolecuilder.la \
|
---|
| 242 | libMolecuilderParser.la \
|
---|
| 243 | libMolecuilderShapes.la \
|
---|
| 244 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
| 245 | libMolecuilderRandomNumbers.la \
|
---|
| 246 | ${CodePatterns_LIBS} \
|
---|
| 247 | $(BOOST_LIB)
|
---|
[e5bf2b] | 248 | libMolecuilderQtUI_la_LIBADD = \
|
---|
[455573] | 249 | ${QT_LIB_GUI} \
|
---|
| 250 | -lQtOpenGL \
|
---|
| 251 | ${GLU_LIBS} \
|
---|
| 252 | ${QT_LDADD}
|
---|
| 253 |
|
---|
[b37436] | 254 |
|
---|
[e5bf2b] | 255 | nobase_libMolecuilderUI_la_include_HEADERS = ${UIHEADER}
|
---|
| 256 | nobase_libMolecuilderQtUI_la_include_HEADERS = ${QTUIHEADER}
|
---|
[b37436] | 257 |
|
---|
| 258 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
---|
| 259 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
---|
| 260 | ## will therefore be treated as if it were literally part of the target name,
|
---|
| 261 | ## and the variable name derived from that.
|
---|
| 262 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
| 263 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
| 264 | ## from each source file. Note that it is not necessary to list header files
|
---|
| 265 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
[acbe1b] | 266 | libMolecuilderUI_la_SOURCES = ${UISOURCE}
|
---|
| 267 | libMolecuilderQtUI_la_SOURCES = ${QTUISOURCE}
|
---|
[4cf35ac] | 268 | nodist_libMolecuilderQtUI_la_SOURCES = allmocs.moc.cpp
|
---|
[b37436] | 269 |
|
---|
| 270 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
| 271 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
| 272 | ## that all version information is kept in one place.
|
---|
[acbe1b] | 273 | libMolecuilderUI_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
|
---|
[455573] | 274 | #libMolecuilderQtUI_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
|
---|
[b37436] | 275 |
|
---|
| 276 | ## The generated configuration header is installed in its own subdirectory of
|
---|
| 277 | ## $(libdir). The reason for this is that the configuration information put
|
---|
| 278 | ## into this header file describes the target platform the installed library
|
---|
| 279 | ## has been built for. Thus the file must not be installed into a location
|
---|
| 280 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
| 281 | ## Hierarchy Standard (FHS).
|
---|
| 282 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
| 283 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
| 284 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
| 285 | ## configuration header file is generated at configure time and should not be
|
---|
| 286 | ## shipped with the source tarball.
|
---|
[acbe1b] | 287 | #libMolecuilderUI_libincludedir = $(libdir)/MoleCuilder/include
|
---|
| 288 | #libMolecuilderQtUI_libincludedir = $(libdir)/MoleCuilder/include
|
---|
| 289 | #nodist_libMolecuilderUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
---|
| 290 | #nodist_libMolecuilderQtUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
---|
[b37436] | 291 |
|
---|
| 292 | ## Install the generated pkg-config file (.pc) into the expected location for
|
---|
| 293 | ## architecture-dependent package configuration information. Occasionally,
|
---|
| 294 | ## pkg-config files are also used for architecture-independent data packages,
|
---|
| 295 | ## in which case the correct install location would be $(datadir)/pkgconfig.
|
---|
[acbe1b] | 296 | #pkgconfigdir = $(libdir)/pkgconfig
|
---|
| 297 | #pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
|
---|
[5079a0] | 298 |
|
---|
[1e0861] | 299 | #Rules needed for Qt4
|
---|
| 300 | # UI-Files are scattered throughout several subdirectories
|
---|
| 301 | # Therfore `%'-rules do not seem to work
|
---|
| 302 | #Quick fix to get it done otherwise
|
---|
| 303 | allmocs.moc.cpp: ${QTUIMOC_HEADER}
|
---|
| 304 | echo "" > allmocs.moc.cpp;\
|
---|
| 305 | list='$(QTUIMOC_HEADER)'; for header in $$list; do \
|
---|
| 306 | echo "Making mocfile for $$header"; \
|
---|
| 307 | target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
|
---|
| 308 | $(MOC) $(srcdir)/$$header -o $$target \
|
---|
| 309 | || eval $$failcom; \
|
---|
| 310 | echo "#include \"$$target\"" >> allmocs.moc.cpp; \
|
---|
| 311 | done;
|
---|
| 312 |
|
---|
| 313 |
|
---|
[455573] | 314 | MOSTLYCLEANFILES += allmocs.moc.cpp
|
---|