source: python/Makefile.am@ de51d2

Action_Thermostats Add_AtomRandomPerturbation Add_RotateAroundBondAction Add_SelectAtomByNameAction Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests AutomationFragmentation_failures Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph_documentation Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_ChronosMutex Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion GeometryObjects Gui_displays_atomic_force_velocity IndependentFragmentGrids_IntegrationTest JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool PartialCharges_OrthogonalSummation PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks RotateToPrincipalAxisSystem_UndoRedo StoppableMakroAction TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps Ubuntu_1604_changes stable
Last change on this file since de51d2 was 7672284, checked in by Frederik Heber <heber@…>, 8 years ago

FIX: install target now works with multiple threads.

  • the problem when using "make -j8 install" was that automake's dependency tracking for pyMoleCuilder did not work. It works when it is given under lib_LTLIBRARIES but not with pyexec_LTLIBRARIES, although the other libs are given under LIBADD. I never got an answer to my mail on the forum.
  • therefore, I now circumvent the problem by building the pyMolecuilder module in a different folder that makes enters after it is down with compiling everything in src.
  • Note that somehow I cannot use $(top_srcdir) for the paths of the source modules but must give the path explicitly.
  • Also, this should now allow to use debuild with multiple threads.
  • Property mode set to 100644
File size: 976 bytes
Line 
1AM_LDFLAGS = -ldl ${BOOST_LDFLAGS} ${CodePatterns_LDFLAGS} ${JobMarket_LDFLAGS}
2AM_CPPFLAGS = \
3 -I$(top_srcdir)/src \
4 -I$(top_srcdir)/src/unittests \
5 -I$(top_srcdir)/src/Actions \
6 -I$(top_srcdir)/src/UIElements \
7 -I$(top_srcdir)/ThirdParty/LinearAlgebra/src \
8 ${BOOST_CPPFLAGS} \
9 ${CodePatterns_CFLAGS}
10
11
12if CONDPYTHON
13pyexec_LTLIBRARIES = pyMoleCuilder.la
14pyMoleCuilder_la_SOURCES = \
15 ../src/cleanUp.cpp \
16 ../src/cleanUp.hpp \
17 ../src/Actions/Action_impl_python.hpp \
18 ../src/Actions/GlobalListOfActions.hpp \
19 ../src/Actions/ActionHistory.hpp
20pyMoleCuilder_la_CPPFLAGS = $(AM_CPPFLAGS) ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} $(JobMarket_CFLAGS) -I$(PYTHON_INCLUDE_DIR)
21pyMoleCuilder_la_LDFLAGS = $(AM_LDFLAGS) -module -version-info $(MOLECUILDER_SO_VERSION) -shared $(BOOST_PYTHON_LDFLAGS)
22pyMoleCuilder_la_LIBADD = \
23 $(top_builddir)/src/libMolecuilderUI.la
24pyMoleCuilder_la_LIBADD += \
25 $(BOOST_PYTHON_LIBS) \
26 ${CodePatterns_LIBS} \
27 -l$(PYTHON_LIB)
28endif
29
30
31
Note: See TracBrowser for help on using the repository browser.