# ============================================================================= package GaudiProfiling version v1r0 # ============== structure ==================================================== branches GaudiProfiling src cmt doc data python scripts # ============== dependencies ================================================= use GaudiKernel v* # Replacement for libz use ROOT v* LCG_Interfaces use Boost v* LCG_Interfaces # Boost also used to bind cpp to python # ============== constituents ================================================= library GaudiProfiling component/*.cpp -no_static application GaudiGenProfilingHtml app/pfm_gen_analysis.cpp # ============== patterns ===================================================== apply_pattern component_library library="GaudiProfiling" apply_pattern install_python_modules apply_pattern install_scripts macro_append GaudiProfiling_linkopts " -ldl " target-winxp "" # ============== private ====================================================== private use libunwind v* LCG_Interfaces # Not using the libunwind library, only the headers macro libunwind_linkopts '' macro_append GaudiProfiling_use_linkopts " -lz " target-winxp "" macro_append GaudiGenProfilingHtml_use_linkopts " -lz " target-winxp "" apply_pattern disable_package_on platform=target-winxp apply_pattern disable_package_on platform=target-i686 apply_pattern disable_package_on platform=target-slc4 apply_pattern install_more_includes more=GaudiProfiling #------------------------------------------------------------------------------ # Create a python binary module # ----------------------------- use Python v* LCG_Interfaces -no_auto_imports apply_pattern pyd_boost_module module=PyCPUFamily files=python/CPUFamily.cpp # we do not need/want to link the module against the package library macro_remove PyCPUFamily_use_linkopts '$(GaudiProfiling_linkopts)' #------------------------------------------------------------------------------ end_private