<commit_before># Module.mk for RooStats/HistFactory module
# Copyright (c) 2008 <NAME> and <NAME>
#
# Author: <NAME>

MODNAME      := histfactory
MODDIR       := $(ROOT_SRCDIR)/roofit/$(MODNAME)
MODDIRS      := $(MODDIR)/src
MODDIRI      := $(MODDIR)/inc
MODDIRC      := $(MODDIR)/config

HISTFACTORYDIR  := $(MODDIR)
HISTFACTORYDIRS := $(HISTFACTORYDIR)/src
HISTFACTORYDIRI := $(HISTFACTORYDIR)/inc

### prepareHIstFactory script
HF_PREPAREHISTFACTORY := bin/prepareHistFactory


##### tf_makeworkspace.exe #####
HF_MAKEWORKSPACEEXES   := $(MODDIRS)/MakeModelAndMeasurements.cxx
HF_MAKEWORKSPACEEXEO   := $(HF_MAKEWORKSPACEEXES:.cxx=.o)
HF_MAKEWORKSPACEEXEDEP := $(HF_MAKEWORKSPACEEXEO:.o=.d)
ifeq ($(ARCH),win32gcc)
HF_MAKEWORKSPACEEXE    := bin/hist2workspace.exe
else
HF_MAKEWORKSPACEEXE    := bin/hist2workspace
endif
ifeq ($(PLATFORM),win32)
HF_MAKEWORKSPACEEXE    := bin/hist2workspace.exe
endif


HF_LIBS = 

ifeq ($(PLATFORM),win32)
HF_LIBS = $(HISTFACTORYLIBEXTRA) "$(ROOTSYS)/lib/libHistFactory.lib" 
else
#for other platforms HISTFACTORYLIBEXTRA is not defined 
#need to copy from config/Makefile.depend
HF_LIBS = -Llib -lRooFit -lRooFitCore -lTree -lRIO -lMatrix \
          -lHist -lMathCore -lGraf -lGpad -lMinuit -lFoam \
          -lRooStats -lXMLParser
HF_LIBS += -lHistFactory 
endif


HF_LIBSDEP := $(HISTFACTORYLIBDEP)


##### libHistFactory #####
HISTFACTORYL    := $(MODDIRI)/LinkDef.h
HISTFACTORYDS   := $(call stripsrc,$(MODDIRS)/G__HistFactory.cxx)
HISTFACTORYDO   := $(HISTFACTORYDS:.cxx=.o)
HISTFACTORYDH   := $(HISTFACTORYDS:.cxx=.h)

HISTFACTORYH    := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
HISTFACTORYS    := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
HISTFACTORYO    := $(call stripsrc,$(HISTFACTORYS:.cxx=.o))<commit_msg>add optional MathMore dependency<commit_after># Module.mk for RooStats/HistFactory module
# Copyright (c) 2008 <NAME> and <NAME>
#
# Author: <NAME>

MODNAME      := histfactory
MODDIR       := $(ROOT_SRCDIR)/roofit/$(MODNAME)
MODDIRS      := $(MODDIR)/src
MODDIRI      := $(MODDIR)/inc
MODDIRC      := $(MODDIR)/config

HISTFACTORYDIR  := $(MODDIR)
HISTFACTORYDIRS := $(HISTFACTORYDIR)/src
HISTFACTORYDIRI := $(HISTFACTORYDIR)/inc

### prepareHIstFactory script
HF_PREPAREHISTFACTORY := bin/prepareHistFactory


##### tf_makeworkspace.exe #####
HF_MAKEWORKSPACEEXES   := $(MODDIRS)/MakeModelAndMeasurements.cxx
HF_MAKEWORKSPACEEXEO   := $(HF_MAKEWORKSPACEEXES:.cxx=.o)
HF_MAKEWORKSPACEEXEDEP := $(HF_MAKEWORKSPACEEXEO:.o=.d)
ifeq ($(ARCH),win32gcc)
HF_MAKEWORKSPACEEXE    := bin/hist2workspace.exe
else
HF_MAKEWORKSPACEEXE    := bin/hist2workspace
endif
ifeq ($(PLATFORM),win32)
HF_MAKEWORKSPACEEXE    := bin/hist2workspace.exe
endif


HF_LIBS = 

ifeq ($(PLATFORM),win32)
HF_LIBS = $(HISTFACTORYLIBEXTRA) "$(ROOTSYS)/lib/libHistFactory.lib" 
ifeq ($(BUILDMATHMORE),yes)
HF_LIBS += "$(ROOTSYS)/lib/libMathMore.lib" 
endif
else
#for other platforms HISTFACTORYLIBEXTRA is not defined 
#need to copy from config/Makefile.depend
HF_LIBS = -Llib -lRooFit -lRooFitCore -lTree -lRIO -lMatrix \
          -lHist -lMathCore -lGraf -lGpad -lMinuit -lFoam \
          -lRooStats -lXMLParser
HF_LIBS += -lHistFactory 
ifeq ($(BUILDMATHMORE),yes)
HF_LIBS += -lMathMore
endif
endif


HF_LIBSDEP := $(HISTFACTORYLIBDEP)


##### libHistFactory #####
HISTFACTORYL    := $(MODDIRI)/LinkDef.h
HISTFACTORYDS   := $(call stripsrc,$(MODDIRS)/G__HistFactory.cxx)
HISTFACTORYDO   := $(HISTFACTORYDS:.cxx=.o)
HISTFACTORYDH   := $(HISTFACTORYDS:.cxx=.h)

HISTFACTORYH    := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
HISTFACTORYS    := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
HISTFACTORYO    := $(call stripsrc,$(HISTFACTORYS:.cxx=.o))
{'fraction_non_alphanumeric': 0.15588235294117647, 'fraction_numerical': 0.006951871657754011, 'mean_word_length': 4.909952606635071, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7031200', 'n_tokens_mistral': 1611, 'n_tokens_neox': 1491, 'n_words': 238}