Changes in src/Makefile.am [112f90:796aa6]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Makefile.am
r112f90 r796aa6 8 8 Helpers/Assert.cpp \ 9 9 Helpers/MemDebug.cpp 10 11 BASESOURCE = \ 12 ${HELPERSOURCE} \ 13 Space.cpp \ 14 vector.cpp 15 16 BASEHEADER = \ 17 ${HELPERHEADER} \ 18 Space.hpp \ 19 vector.hpp 10 20 11 21 ATOMSOURCE = \ … … 31 41 32 42 LINALGSOURCE = \ 33 ${HELPERSOURCE} \34 43 gslmatrix.cpp \ 35 44 gslvector.cpp \ 36 linearsystemofequations.cpp \ 37 Space.cpp \ 38 vector.cpp 45 linearsystemofequations.cpp 39 46 40 47 LINALGHEADER = \ 41 48 gslmatrix.hpp \ 42 49 gslvector.hpp \ 43 linearsystemofequations.hpp \ 44 Space.hpp \ 45 vector.hpp 50 linearsystemofequations.hpp 46 51 47 52 ANALYSISSOURCE = \ … … 132 137 Shapes/Shape.hpp \ 133 138 Shapes/ShapeOps.hpp 139 134 140 135 136 QTUIMOC_HEADER = UIElements/QT4/QTDialog.hpp \137 UIElements/QT4/QTMainWindow.hpp \138 UIElements/Menu/QT4/QTMenu.hpp \139 UIElements/Views/QT4/QTWorldView.hpp \140 UIElements/Views/QT4/GLMoleculeView.hpp \141 UIElements/Views/QT4/QTMoleculeView.hpp \142 UIElements/Views/QT4/QTStatusBar.hpp143 144 QTUIMOC_TARGETS = QTMainWindow.moc.cpp \145 QTMenu.moc.cpp\146 QTDialog.moc.cpp \147 QTWorldView.moc.cpp \148 GLMoleculeView.moc.cpp \149 QTMoleculeView.moc.cpp \150 QTStatusBar.moc.cpp151 152 141 DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \ 153 142 Descriptors/AtomIdDescriptor.cpp \ … … 172 161 Descriptors/MoleculePtrDescriptor.hpp \ 173 162 Descriptors/MoleculeSelectionDescriptor.cpp 163 164 165 QTUIMOC_HEADER = UIElements/QT4/QTDialog.hpp \ 166 UIElements/QT4/QTMainWindow.hpp \ 167 UIElements/Menu/QT4/QTMenu.hpp \ 168 UIElements/Views/QT4/QTWorldView.hpp \ 169 UIElements/Views/QT4/GLMoleculeView.hpp \ 170 UIElements/Views/QT4/QTMoleculeView.hpp \ 171 UIElements/Views/QT4/QTStatusBar.hpp 174 172 175 QTUISOURCE = ${QTUIMOC_TARGETS}\173 QTUISOURCE = allmocs.moc.cpp \ 176 174 UIElements/QT4/QTMainWindow.cpp \ 177 175 UIElements/QT4/QTDialog.cpp \ … … 196 194 ${SHAPESOURCE} \ 197 195 ${DESCRIPTORSOURCE} \ 198 ${HELPERSOURCE} \199 196 bond.cpp \ 200 197 bondgraph.cpp \ … … 228 225 periodentafel.cpp \ 229 226 Plane.cpp \ 230 Space.cpp \231 227 tesselation.cpp \ 232 228 tesselationhelpers.cpp \ … … 234 230 triangleintersectionlist.cpp \ 235 231 UIElements/UIFactory.cpp \ 236 vector.cpp \237 232 vector_ops.cpp \ 238 233 verbose.cpp \ … … 296 291 INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements 297 292 298 noinst_LIBRARIES = libmolecuilder .a libgslwrapper.a libmenu.a libparser.a293 noinst_LIBRARIES = libmolecuilderbase.a libmolecuilder.a libgslwrapper.a libmenu.a libparser.a 299 294 bin_PROGRAMS = molecuilder molecuildergui joiner analyzer 295 EXTRA_PROGRAMS = unity 300 296 301 297 molecuilderdir = ${bindir} 302 298 299 libmolecuilderbase_a_SOURCES = ${BASESOURCE} ${BASEHEADER} 303 300 libmolecuilder_a_SOURCES = ${SOURCE} ${HEADER} 304 305 301 libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER} 306 302 libparser_a_SOURCES = ${PARSERSOURCE} ${PARSERHEADER} … … 314 310 molecuilder_SOURCES = ${LEGACYSOURCE} builder.cpp 315 311 molecuilder_SOURCES += $(srcdir)/version.c 316 molecuilder_LDADD = UIElements/libMolecuilderUI.a Actions/libMolecuilderActions.a libmolecuilder .a libparser.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB}312 molecuilder_LDADD = UIElements/libMolecuilderUI.a Actions/libMolecuilderActions.a libmolecuilderbase.a libmolecuilder.a libparser.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB} 317 313 318 314 #Stuff for building the GUI using QT … … 321 317 molecuildergui_CXXFLAGS = ${QT_CXXFLAGS} ${GLU_CXXFLAGS} -DUSE_GUI_QT 322 318 molecuildergui_LDFLAGS = $(BOOST_LIB) ${QT_LDFLAGS} ${GLU_LDFLAGS} 323 molecuildergui_LDADD = UIElements/libMolecuilderUI.a Actions/libMolecuilderActions.a libmolecuilder .a libparser.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB} ${GUI_LIBS}319 molecuildergui_LDADD = UIElements/libMolecuilderUI.a Actions/libMolecuilderActions.a libmolecuilderbase.a libmolecuilder.a libparser.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB} ${GUI_LIBS} 324 320 325 321 joiner_SOURCES = joiner.cpp datacreator.cpp parser.cpp datacreator.hpp helpers.hpp parser.hpp periodentafel.hpp 326 joiner_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}322 joiner_LDADD = libmolecuilder.a libmolecuilderbase.a $(BOOST_LIB) ${BOOST_THREAD_LIB} 327 323 328 324 analyzer_SOURCES = analyzer.cpp datacreator.cpp parser.cpp helpers.hpp periodentafel.hpp parser.hpp datacreator.hpp 329 analyzer_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB} 325 analyzer_LDADD = libmolecuilder.a libmolecuilderbase.a $(BOOST_LIB) ${BOOST_THREAD_LIB} 326 327 unity_SOURCES = unity.cpp $(srcdir)/version.c 328 unity_LDADD = $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB} 330 329 331 330 #Rules needed for QT4 … … 333 332 # Therfore `%'-rules do not seem to work 334 333 #Quick fix to get it done otherwise 335 ${QTUIMOC_TARGETS}: ${QTUIMOC_HEADER} 334 allmocs.moc.cpp: ${QTUIMOC_HEADER} 335 echo "" > allmocs.moc.cpp;\ 336 336 list='$(QTUIMOC_HEADER)'; for header in $$list; do \ 337 337 echo "Making mocfile for $$header"; \ … … 339 339 $(MOC) $(srcdir)/$$header -o $$target \ 340 340 || eval $$failcom; \ 341 echo "#include \"$$target\"" >> allmocs.moc.cpp; \ 341 342 done; 342 343 343 MOSTLYCLEANFILES = ${QTUIMOC_TARGETS} 344 unity.cpp: ${LINALGSOURCE} ${LINALGHEADER} ${SOURCE} ${HEADER} 345 echo "" > unity.cpp; \ 346 list='$(BASESOURCE)'; for file in $$list; do \ 347 echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \ 348 done; \ 349 list='$(LINALGSOURCE)'; for file in $$list; do \ 350 echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \ 351 done; \ 352 list='$(SOURCE)'; for file in $$list; do \ 353 echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \ 354 done; \ 355 subdirs='$(SUBDIRS)';for directory in $$subdirs; do\ 356 olddir=$$PWD;\ 357 cd $$directory && make unity.cpp;\ 358 cd $$olddir;\ 359 echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\ 360 done;\ 361 echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp; 362 363 MOSTLYCLEANFILES = allmocs.moc.cpp unity.cpp 344 364 345 365 #EXTRA_DIST = ${molecuilder_DATA}
Note:
See TracChangeset
for help on using the changeset viewer.