Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/genMakefile.tcl

    rcdbca0d r910bd98  
    282282DISPLAYLIB = libDelphesDisplay.lib
    283283
    284 VERSION = $(shell cat VERSION)
     284VERSION = x.y.z
    285285DISTDIR = Delphes-$(VERSION)
    286286DISTTAR = $(DISTDIR).tar.gz
     
    292292executableDeps {converters/*.cpp} {examples/*.cpp} {validation/*.cpp}
    293293
    294 executableDeps {readers/DelphesHepMC.cpp} {readers/DelphesLHEF.cpp} {readers/DelphesSTDHEP.cpp} {readers/DelphesROOT.cpp}
     294executableDeps {readers/DelphesHepMC2.cpp} {readers/DelphesHepMC3.cpp} {readers/DelphesLHEF.cpp} {readers/DelphesSTDHEP.cpp} {readers/DelphesROOT.cpp}
    295295
    296296puts {ifeq ($(HAS_CMSSW),true)}
     
    321321dictDeps {DISPLAY_DICT} {display/DisplayLinkDef.h}
    322322
    323 sourceDeps {DELPHES} {classes/*.cc} {modules/*.cc} {external/ExRootAnalysis/*.cc} {external/Hector/*.cc}
     323sourceDeps {DELPHES} {classes/*.cc} {modules/*.cc} {external/ExRootAnalysis/*.cc} {external/Hector/*.cc} {external/TrackCovariance/*.cc}
    324324
    325325sourceDeps {FASTJET} {modules/FastJet*.cc} {modules/RunPUPPI.cc} {external/PUPPI/*.cc} {external/fastjet/*.cc} {external/fastjet/tools/*.cc} {external/fastjet/plugins/*/*.cc} {external/fastjet/contribs/*/*.cc}
     
    346346        @mkdir -p $(@D)
    347347        @echo ">> Building $@"
    348 ifeq ($(ARCH),aix5)
    349         @$(MAKESHARED) $(OutPutOpt) $@ $(DELPHES_LIBS) -p 0 $^
    350 else
    351348ifeq ($(PLATFORM),macosx)
    352 # We need to make both the .dylib and the .so
    353349        @$(LD) $(SOFLAGS)$@ $(LDFLAGS) $^ $(OutPutOpt) $@ $(DELPHES_LIBS)
    354 ifneq ($(subst $(MACOSX_MINOR),,1234),1234)
    355 ifeq ($(MACOSX_MINOR),4)
    356         @ln -sf $@ $(subst .$(DllSuf),.so,$@)
    357 endif
    358 endif
    359350else
    360351ifeq ($(PLATFORM),win32)
     
    365356else
    366357        @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(DELPHES_LIBS)
    367         @$(MT_DLL)
    368 endif
    369358endif
    370359endif
     
    373362        @mkdir -p $(@D)
    374363        @echo ">> Building $@"
    375 ifeq ($(ARCH),aix5)
    376         @$(MAKESHARED) $(OutPutOpt) $@ $(DELPHES_LIBS) -p 0 $^
    377 else
    378364ifeq ($(PLATFORM),macosx)
    379 # We need to make both the .dylib and the .so
    380365        @$(LD) $(SOFLAGS)$@ $(LDFLAGS) $^ $(OutPutOpt) $@ $(DELPHES_LIBS)
    381 ifneq ($(subst $(MACOSX_MINOR),,1234),1234)
    382 ifeq ($(MACOSX_MINOR),4)
    383         @ln -sf $@ $(subst .$(DllSuf),.so,$@)
    384 endif
    385 endif
    386366else
    387367ifeq ($(PLATFORM),win32)
     
    392372else
    393373        @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(DELPHES_LIBS)
    394         @$(MT_DLL)
    395 endif
    396374endif
    397375endif
     
    400378        @mkdir -p $(@D)
    401379        @echo ">> Building $@"
    402 ifeq ($(ARCH),aix5)
    403         @$(MAKESHARED) $(OutPutOpt) $@ $(DISPLAY_LIBS) -p 0 $^
    404 else
    405380ifeq ($(PLATFORM),macosx)
    406 # We need to make both the .dylib and the .so
    407381        @$(LD) $(SOFLAGS)$@ $(LDFLAGS) $^ $(OutPutOpt) $@ $(DISPLAY_LIBS)
    408 ifneq ($(subst $(MACOSX_MINOR),,1234),1234)
    409 ifeq ($(MACOSX_MINOR),4)
    410         @ln -sf $@ $(subst .$(DllSuf),.so,$@)
    411 endif
    412 endif
    413382else
    414383ifeq ($(PLATFORM),win32)
     
    419388else
    420389        @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(DISPLAY_LIBS)
    421         @$(MT_DLL)
    422 endif
    423390endif
    424391endif
     
    434401        @echo ">> Building $(DISTTAR)"
    435402        @mkdir -p $(DISTDIR)
    436         @cp -a AUTHORS CHANGELOG CMakeLists.txt COPYING DelphesEnv.sh LICENSE NOTICE README README_4LHCb VERSION Makefile MinBias.pileup configure cards classes converters display doc examples external modules python readers validation $(DISTDIR)
     403        @cp -a AUTHORS CHANGELOG CMakeLists.txt COPYING DelphesEnv.sh LICENSE NOTICE README README_4LHCb Makefile MinBias.pileup configure cards classes cmake converters display doc examples external modules python readers validation $(DISTDIR)
    437404        @find $(DISTDIR) -depth -name .\* -exec rm -rf {} \;
    438405        @tar -czf $(DISTTAR) $(DISTDIR)
Note: See TracChangeset for help on using the changeset viewer.