Changes in Makefile [6427420:5b5a56b] in git
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r6427420 r5b5a56b 17 17 CXXFLAGS += $(ROOTCFLAGS) -Wno-write-strings -D_FILE_OFFSET_BITS=64 -DDROP_CGAL -I. -Iexternal -Iexternal/tcl 18 18 DELPHES_LIBS = $(shell $(RC) --libs) -lEG $(SYSLIBS) 19 DISPLAY_LIBS = $(shell $(RC) --evelibs) -lGuiHtml$(SYSLIBS)19 DISPLAY_LIBS = $(shell $(RC) --evelibs) $(SYSLIBS) 20 20 21 21 ifneq ($(CMSSW_FWLITE_INCLUDE_PATH),) 22 22 HAS_CMSSW = true 23 23 CXXFLAGS += -std=c++0x -I$(subst :, -I,$(CMSSW_FWLITE_INCLUDE_PATH)) 24 OPT_LIBS += -L$(subst include,lib,$(subst :, -L,$(CMSSW_FWLITE_INCLUDE_PATH)))24 DELPHES_LIBS += -L$(subst include,lib,$(subst :, -L,$(CMSSW_FWLITE_INCLUDE_PATH))) 25 25 ifneq ($(CMSSW_RELEASE_BASE),) 26 26 CXXFLAGS += -I$(CMSSW_RELEASE_BASE)/src 27 27 endif 28 28 ifneq ($(LD_LIBRARY_PATH),) 29 OPT_LIBS += -L$(subst include,lib,$(subst :, -L,$(LD_LIBRARY_PATH)))30 endif 31 OPT_LIBS += -lGenVector -lFWCoreFWLite -lDataFormatsFWLite -lDataFormatsPatCandidates -lDataFormatsLuminosity -lSimDataFormatsGeneratorProducts -lCommonToolsUtils29 DELPHES_LIBS += -L$(subst include,lib,$(subst :, -L,$(LD_LIBRARY_PATH))) 30 endif 31 DELPHES_LIBS += -lGenVector -lFWCoreFWLite -lDataFormatsFWLite -lDataFormatsPatCandidates -lDataFormatsLuminosity -lSimDataFormatsGeneratorProducts -lCommonToolsUtils 32 32 endif 33 33 34 34 ifneq ($(PROMC),) 35 35 HAS_PROMC = true 36 CXXFLAGS += -I$(PROMC)/include -I$(PROMC)/src37 OPT_LIBS += -L$(PROMC)/lib -lpromc-lprotoc -lprotobuf -lprotobuf-lite -lcbook -lz36 CXXFLAGS += -I$(PROMC)/include 37 DELPHES_LIBS += -L$(PROMC)/lib -lprotoc -lprotobuf -lprotobuf-lite -lcbook -lz 38 38 endif 39 39 … … 41 41 HAS_PYTHIA8 = true 42 42 CXXFLAGS += -I$(PYTHIA8)/include 43 OPT_LIBS += -L$(PYTHIA8)/lib -lpythia8 -lLHAPDF -lgfortran -lz43 DELPHES_LIBS += -L$(PYTHIA8)/lib -lpythia8 -lLHAPDF -lgfortran -lz 44 44 else 45 45 ifneq ($(PYTHIA8DATA),) 46 46 HAS_PYTHIA8 = true 47 47 CXXFLAGS += -I$(PYTHIA8DATA)/../include 48 OPT_LIBS += -L$(PYTHIA8DATA)/../lib -lpythia8 -lLHAPDF -lgfortran -lz 49 endif 50 endif 51 52 DELPHES_LIBS += $(OPT_LIBS) 53 DISPLAY_LIBS += $(OPT_LIBS) 48 DELPHES_LIBS += -L$(PYTHIA8DATA)/../lib -lpythia8 -lLHAPDF -lgfortran -lz 49 endif 50 endif 54 51 55 52 ### … … 241 238 external/ExRootAnalysis/ExRootTreeWriter.h \ 242 239 external/ExRootAnalysis/ExRootTreeBranch.h \ 243 external/ExRootAnalysis/ExRootProgressBar.h 240 external/ExRootAnalysis/ExRootProgressBar.h \ 241 external/ProMC/ProMCBook.h 244 242 EXECUTABLE += \ 245 243 DelphesProMC$(ExeSuf) … … 247 245 EXECUTABLE_OBJ += \ 248 246 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 249 269 250 270 endif … … 361 381 display/DisplayLinkDef.h \ 362 382 display/DelphesDisplay.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 383 display/DelphesCaloData.h 369 384 DisplayDict$(PcmSuf): \ 370 385 tmp/display/DisplayDict$(PcmSuf) \ … … 1220 1235 display/DelphesDisplay.$(SrcSuf) \ 1221 1236 display/DelphesDisplay.h 1222 tmp/display/DelphesPlotSummary.$(ObjSuf): \1223 display/DelphesPlotSummary.$(SrcSuf) \1224 display/DelphesPlotSummary.h1225 tmp/display/DelphesBranchElement.$(ObjSuf): \1226 display/DelphesBranchElement.$(SrcSuf) \1227 display/DelphesBranchElement.h \1228 classes/DelphesClasses.h1229 tmp/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.h1238 tmp/display/DelphesHtmlSummary.$(ObjSuf): \1239 display/DelphesHtmlSummary.$(SrcSuf) \1240 display/DelphesHtmlSummary.h1241 tmp/display/Delphes3DGeometry.$(ObjSuf): \1242 display/Delphes3DGeometry.$(SrcSuf) \1243 display/Delphes3DGeometry.h \1244 external/ExRootAnalysis/ExRootConfReader.h \1245 classes/DelphesClasses.h1246 1237 tmp/display/DelphesCaloData.$(ObjSuf): \ 1247 1238 display/DelphesCaloData.$(SrcSuf) \ … … 1249 1240 DISPLAY_OBJ += \ 1250 1241 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) \1256 1242 tmp/display/DelphesCaloData.$(ObjSuf) 1257 1243 … … 1475 1461 @touch $@ 1476 1462 1477 display/DelphesBranchElement.h: \1478 display/DelphesCaloData.h1479 @touch $@1480 1481 1463 external/fastjet/internal/DynamicNearestNeighbours.hh: \ 1482 1464 external/fastjet/internal/numconsts.hh … … 1518 1500 @touch $@ 1519 1501 1520 display/DelphesEventDisplay.h: \1521 external/ExRootAnalysis/ExRootTreeReader.h \1522 display/DelphesDisplay.h \1523 display/Delphes3DGeometry.h \1524 display/DelphesHtmlSummary.h \1525 display/DelphesPlotSummary.h1526 @touch $@1527 1528 1502 modules/TauTagging.h: \ 1529 1503 classes/DelphesModule.h … … 1610 1584 modules/Hector.h: \ 1611 1585 classes/DelphesModule.h 1612 @touch $@1613 1614 display/DelphesPlotSummary.h: \1615 external/ExRootAnalysis/ExRootTreeReader.h1616 1586 @touch $@ 1617 1587
Note:
See TracChangeset
for help on using the changeset viewer.