Fork me on GitHub

Changes in Makefile [5b5a56b:6427420] in git


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r5b5a56b r6427420  
    1717CXXFLAGS += $(ROOTCFLAGS) -Wno-write-strings -D_FILE_OFFSET_BITS=64 -DDROP_CGAL -I. -Iexternal -Iexternal/tcl
    1818DELPHES_LIBS = $(shell $(RC) --libs) -lEG $(SYSLIBS)
    19 DISPLAY_LIBS = $(shell $(RC) --evelibs) $(SYSLIBS)
     19DISPLAY_LIBS = $(shell $(RC) --evelibs) -lGuiHtml  $(SYSLIBS)
    2020
    2121ifneq ($(CMSSW_FWLITE_INCLUDE_PATH),)
    2222HAS_CMSSW = true
    2323CXXFLAGS += -std=c++0x -I$(subst :, -I,$(CMSSW_FWLITE_INCLUDE_PATH))
    24 DELPHES_LIBS += -L$(subst include,lib,$(subst :, -L,$(CMSSW_FWLITE_INCLUDE_PATH)))
     24OPT_LIBS += -L$(subst include,lib,$(subst :, -L,$(CMSSW_FWLITE_INCLUDE_PATH)))
    2525ifneq ($(CMSSW_RELEASE_BASE),)
    2626CXXFLAGS += -I$(CMSSW_RELEASE_BASE)/src
    2727endif
    2828ifneq ($(LD_LIBRARY_PATH),)
    29 DELPHES_LIBS += -L$(subst include,lib,$(subst :, -L,$(LD_LIBRARY_PATH)))
    30 endif
    31 DELPHES_LIBS += -lGenVector -lFWCoreFWLite -lDataFormatsFWLite -lDataFormatsPatCandidates -lDataFormatsLuminosity -lSimDataFormatsGeneratorProducts -lCommonToolsUtils
     29OPT_LIBS += -L$(subst include,lib,$(subst :, -L,$(LD_LIBRARY_PATH)))
     30endif
     31OPT_LIBS += -lGenVector -lFWCoreFWLite -lDataFormatsFWLite -lDataFormatsPatCandidates -lDataFormatsLuminosity -lSimDataFormatsGeneratorProducts -lCommonToolsUtils
    3232endif
    3333
    3434ifneq ($(PROMC),)
    3535HAS_PROMC = true
    36 CXXFLAGS += -I$(PROMC)/include
    37 DELPHES_LIBS += -L$(PROMC)/lib -lprotoc -lprotobuf -lprotobuf-lite -lcbook -lz
     36CXXFLAGS += -I$(PROMC)/include -I$(PROMC)/src
     37OPT_LIBS += -L$(PROMC)/lib -lpromc -lprotoc -lprotobuf -lprotobuf-lite -lcbook -lz
    3838endif
    3939
     
    4141HAS_PYTHIA8 = true
    4242CXXFLAGS += -I$(PYTHIA8)/include
    43 DELPHES_LIBS += -L$(PYTHIA8)/lib -lpythia8 -lLHAPDF -lgfortran -lz
     43OPT_LIBS += -L$(PYTHIA8)/lib -lpythia8 -lLHAPDF -lgfortran -lz
    4444else
    4545ifneq ($(PYTHIA8DATA),)
    4646HAS_PYTHIA8 = true
    4747CXXFLAGS += -I$(PYTHIA8DATA)/../include
    48 DELPHES_LIBS += -L$(PYTHIA8DATA)/../lib -lpythia8 -lLHAPDF -lgfortran -lz
    49 endif
    50 endif
     48OPT_LIBS += -L$(PYTHIA8DATA)/../lib -lpythia8 -lLHAPDF -lgfortran -lz
     49endif
     50endif
     51
     52DELPHES_LIBS += $(OPT_LIBS)
     53DISPLAY_LIBS += $(OPT_LIBS)
    5154
    5255###
     
    238241        external/ExRootAnalysis/ExRootTreeWriter.h \
    239242        external/ExRootAnalysis/ExRootTreeBranch.h \
    240         external/ExRootAnalysis/ExRootProgressBar.h \
    241         external/ProMC/ProMCBook.h
     243        external/ExRootAnalysis/ExRootProgressBar.h
    242244EXECUTABLE +=  \
    243245        DelphesProMC$(ExeSuf)
     
    245247EXECUTABLE_OBJ +=  \
    246248        tmp/readers/DelphesProMC.$(ObjSuf)
    247 
    248 tmp/external/ProMC/ProMCBook.$(ObjSuf): \
    249         external/ProMC/ProMCBook.$(SrcSuf)
    250 tmp/external/ProMC/ProMC.pb.$(ObjSuf): \
    251         external/ProMC/ProMC.pb.$(SrcSuf)
    252 tmp/external/ProMC/ProMCStat.pb.$(ObjSuf): \
    253         external/ProMC/ProMCStat.pb.$(SrcSuf)
    254 tmp/external/ProMC/ProMCHeader.pb.$(ObjSuf): \
    255         external/ProMC/ProMCHeader.pb.$(SrcSuf)
    256 tmp/external/ProMC/ProMCDescription.pb.$(ObjSuf): \
    257         external/ProMC/ProMCDescription.pb.$(SrcSuf)
    258 DELPHES_OBJ +=  \
    259         tmp/external/ProMC/ProMCBook.$(ObjSuf) \
    260         tmp/external/ProMC/ProMC.pb.$(ObjSuf) \
    261         tmp/external/ProMC/ProMCStat.pb.$(ObjSuf) \
    262         tmp/external/ProMC/ProMCHeader.pb.$(ObjSuf) \
    263         tmp/external/ProMC/ProMCDescription.pb.$(ObjSuf)
    264 
    265 ifeq ($(HAS_PYTHIA8),true)
    266 DELPHES_OBJ +=  \
    267        
    268 endif
    269249
    270250endif
     
    381361        display/DisplayLinkDef.h \
    382362        display/DelphesDisplay.h \
    383         display/DelphesCaloData.h
     363        display/DelphesCaloData.h \
     364        display/DelphesBranchElement.h \
     365        display/Delphes3DGeometry.h \
     366        display/DelphesEventDisplay.h \
     367        display/DelphesHtmlSummary.h \
     368        display/DelphesPlotSummary.h
    384369DisplayDict$(PcmSuf): \
    385370        tmp/display/DisplayDict$(PcmSuf) \
     
    12351220        display/DelphesDisplay.$(SrcSuf) \
    12361221        display/DelphesDisplay.h
     1222tmp/display/DelphesPlotSummary.$(ObjSuf): \
     1223        display/DelphesPlotSummary.$(SrcSuf) \
     1224        display/DelphesPlotSummary.h
     1225tmp/display/DelphesBranchElement.$(ObjSuf): \
     1226        display/DelphesBranchElement.$(SrcSuf) \
     1227        display/DelphesBranchElement.h \
     1228        classes/DelphesClasses.h
     1229tmp/display/DelphesEventDisplay.$(ObjSuf): \
     1230        display/DelphesEventDisplay.$(SrcSuf) \
     1231        external/ExRootAnalysis/ExRootConfReader.h \
     1232        external/ExRootAnalysis/ExRootTreeReader.h \
     1233        display/DelphesCaloData.h \
     1234        display/DelphesBranchElement.h \
     1235        display/Delphes3DGeometry.h \
     1236        display/DelphesEventDisplay.h \
     1237        classes/DelphesClasses.h
     1238tmp/display/DelphesHtmlSummary.$(ObjSuf): \
     1239        display/DelphesHtmlSummary.$(SrcSuf) \
     1240        display/DelphesHtmlSummary.h
     1241tmp/display/Delphes3DGeometry.$(ObjSuf): \
     1242        display/Delphes3DGeometry.$(SrcSuf) \
     1243        display/Delphes3DGeometry.h \
     1244        external/ExRootAnalysis/ExRootConfReader.h \
     1245        classes/DelphesClasses.h
    12371246tmp/display/DelphesCaloData.$(ObjSuf): \
    12381247        display/DelphesCaloData.$(SrcSuf) \
     
    12401249DISPLAY_OBJ +=  \
    12411250        tmp/display/DelphesDisplay.$(ObjSuf) \
     1251        tmp/display/DelphesPlotSummary.$(ObjSuf) \
     1252        tmp/display/DelphesBranchElement.$(ObjSuf) \
     1253        tmp/display/DelphesEventDisplay.$(ObjSuf) \
     1254        tmp/display/DelphesHtmlSummary.$(ObjSuf) \
     1255        tmp/display/Delphes3DGeometry.$(ObjSuf) \
    12421256        tmp/display/DelphesCaloData.$(ObjSuf)
    12431257
     
    14611475        @touch $@
    14621476
     1477display/DelphesBranchElement.h: \
     1478        display/DelphesCaloData.h
     1479        @touch $@
     1480
    14631481external/fastjet/internal/DynamicNearestNeighbours.hh: \
    14641482        external/fastjet/internal/numconsts.hh
     
    15001518        @touch $@
    15011519
     1520display/DelphesEventDisplay.h: \
     1521        external/ExRootAnalysis/ExRootTreeReader.h \
     1522        display/DelphesDisplay.h \
     1523        display/Delphes3DGeometry.h \
     1524        display/DelphesHtmlSummary.h \
     1525        display/DelphesPlotSummary.h
     1526        @touch $@
     1527
    15021528modules/TauTagging.h: \
    15031529        classes/DelphesModule.h
     
    15841610modules/Hector.h: \
    15851611        classes/DelphesModule.h
     1612        @touch $@
     1613
     1614display/DelphesPlotSummary.h: \
     1615        external/ExRootAnalysis/ExRootTreeReader.h
    15861616        @touch $@
    15871617
Note: See TracChangeset for help on using the changeset viewer.