Changes in / [ef97f2a:edeb0f0] in git
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
ref97f2a redeb0f0 32 32 endif 33 33 34 35 # check consistency36 ifneq ($(PROMC),)37 ifneq ($(PROIO),)38 $(error Attention: PROMC and PROIO env. variables are set simultaneously. You cannot compile ProMC and ProIO readers in one compilation process due to an inconsistency in protocol buffers libraries. The suggestion is to compile these two readers in two steps. First unset PROIO variable and then \"configure; make\". After this, unset PROMC, set PROIO, and run \"configure; make\". During runs, make sure shared libraries are set correctly. )39 endif40 endif41 42 43 34 ifneq ($(PROMC),) 44 35 HAS_PROMC = true 45 $(info ProMC event reader is requested)46 36 CXXFLAGS += -I$(PROMC)/include -I$(PROMC)/src 47 37 OPT_LIBS += -L$(PROMC)/lib -lpromc -lprotoc -lprotobuf -lprotobuf-lite -lcbook -lz 48 endif49 50 ifneq ($(PROIO),)51 HAS_PROIO = true52 $(info ProIO reader is requested)53 ifeq ($(PROTOBUF),)54 $(error but PROTOBUF variable is not set.)55 endif56 57 PROTOBUF_FILE=$(PROTOBUF)/lib/libprotobuf.a58 ifeq ("$(wildcard $(PROTOBUF_FILE))","")59 $(error PROTOBUF variable is set, but it does not point to valid $(PROTOBUF_FILE))60 endif61 62 ifeq ($(LZ4),)63 $(error but LZ4 variable is not set.)64 endif65 LZ4_FILE=$(LZ4)/lib/liblz4.so66 ifeq ("$(wildcard $(LZ4_FILE))","")67 $(error LZ4 variable is set, but it does not point to valid $(LZ4_FILE))68 endif69 70 71 CXXFLAGS += -I$(PROIO)/include -I$(PROTOBUF)/include -I$(LZ4)/include -I$(PROIO)/src72 OPT_LIBS += -L$(PROTOBUF)/lib -lprotobuf -L$(PROIO)/lib -lproio -lproio.pb -lz -L$(LZ4)/lib -llz473 38 endif 74 39 … … 319 284 EXECUTABLE_OBJ += \ 320 285 tmp/readers/DelphesProMC.$(ObjSuf) 321 322 endif323 324 ifeq ($(HAS_PROIO),true)325 DelphesProIO$(ExeSuf): \326 tmp/readers/DelphesProIO.$(ObjSuf)327 328 tmp/readers/DelphesProIO.$(ObjSuf): \329 readers/DelphesProIO.cpp \330 modules/Delphes.h \331 classes/DelphesStream.h \332 classes/DelphesClasses.h \333 classes/DelphesFactory.h \334 external/ExRootAnalysis/ExRootTreeWriter.h \335 external/ExRootAnalysis/ExRootTreeBranch.h \336 external/ExRootAnalysis/ExRootProgressBar.h337 EXECUTABLE += \338 DelphesProIO$(ExeSuf)339 340 EXECUTABLE_OBJ += \341 tmp/readers/DelphesProIO.$(ObjSuf)342 286 343 287 endif -
doc/genMakefile.tcl
ref97f2a redeb0f0 225 225 endif 226 226 227 228 # check consistency229 ifneq ($(PROMC),)230 ifneq ($(PROIO),)231 $(error Attention: PROMC and PROIO env. variables are set simultaneously. You cannot compile ProMC and ProIO readers in one compilation process due to an inconsistency in protocol buffers libraries. The suggestion is to compile these two readers in two steps. First unset PROIO variable and then \"configure; make\". After this, unset PROMC, set PROIO, and run \"configure; make\". During runs, make sure shared libraries are set correctly. )232 endif233 endif234 235 236 227 ifneq ($(PROMC),) 237 228 HAS_PROMC = true 238 $(info ProMC event reader is requested)239 229 CXXFLAGS += -I$(PROMC)/include -I$(PROMC)/src 240 230 OPT_LIBS += -L$(PROMC)/lib -lpromc -lprotoc -lprotobuf -lprotobuf-lite -lcbook -lz 241 endif242 243 ifneq ($(PROIO),)244 HAS_PROIO = true245 $(info ProIO reader is requested)246 ifeq ($(PROTOBUF),)247 $(error but PROTOBUF variable is not set.)248 endif249 250 PROTOBUF_FILE=$(PROTOBUF)/lib/libprotobuf.a251 ifeq ("$(wildcard $(PROTOBUF_FILE))","")252 $(error PROTOBUF variable is set, but it does not point to valid $(PROTOBUF_FILE))253 endif254 255 ifeq ($(LZ4),)256 $(error but LZ4 variable is not set.)257 endif258 LZ4_FILE=$(LZ4)/lib/liblz4.so259 ifeq ("$(wildcard $(LZ4_FILE))","")260 $(error LZ4 variable is set, but it does not point to valid $(LZ4_FILE))261 endif262 263 264 CXXFLAGS += -I$(PROIO)/include -I$(PROTOBUF)/include -I$(LZ4)/include -I$(PROIO)/src265 OPT_LIBS += -L$(PROTOBUF)/lib -lprotobuf -L$(PROIO)/lib -lproio -lproio.pb -lz -L$(LZ4)/lib -llz4266 231 endif 267 232 … … 307 272 puts {ifeq ($(HAS_PROMC),true)} 308 273 executableDeps {readers/DelphesProMC.cpp} 309 puts {endif}310 puts {}311 312 puts {ifeq ($(HAS_PROIO),true)}313 executableDeps {readers/DelphesProIO.cpp}314 274 puts {endif} 315 275 puts {}
Note:
See TracChangeset
for help on using the changeset viewer.