- Timestamp:
- Jul 30, 2018, 5:37:15 PM (6 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- ef97f2a
- Parents:
- ba45abf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/genMakefile.tcl
rba45abf r71efbfe 225 225 endif 226 226 227 228 # check consistency 229 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 endif 233 endif 234 235 227 236 ifneq ($(PROMC),) 228 237 HAS_PROMC = true 238 $(info ProMC event reader is requested) 229 239 CXXFLAGS += -I$(PROMC)/include -I$(PROMC)/src 230 240 OPT_LIBS += -L$(PROMC)/lib -lpromc -lprotoc -lprotobuf -lprotobuf-lite -lcbook -lz 241 endif 242 243 ifneq ($(PROIO),) 244 HAS_PROIO = true 245 $(info ProIO reader is requested) 246 ifeq ($(PROTOBUF),) 247 $(error but PROTOBUF variable is not set.) 248 endif 249 250 PROTOBUF_FILE=$(PROTOBUF)/lib/libprotobuf.a 251 ifeq ("$(wildcard $(PROTOBUF_FILE))","") 252 $(error PROTOBUF variable is set, but it does not point to valid $(PROTOBUF_FILE)) 253 endif 254 255 ifeq ($(LZ4),) 256 $(error but LZ4 variable is not set.) 257 endif 258 LZ4_FILE=$(LZ4)/lib/liblz4.so 259 ifeq ("$(wildcard $(LZ4_FILE))","") 260 $(error LZ4 variable is set, but it does not point to valid $(LZ4_FILE)) 261 endif 262 263 264 CXXFLAGS += -I$(PROIO)/include -I$(PROTOBUF)/include -I$(LZ4)/include -I$(PROIO)/src 265 OPT_LIBS += -L$(PROTOBUF)/lib -lprotobuf -L$(PROIO)/lib -lproio -lproio.pb -lz -L$(LZ4)/lib -llz4 231 266 endif 232 267 … … 272 307 puts {ifeq ($(HAS_PROMC),true)} 273 308 executableDeps {readers/DelphesProMC.cpp} 309 puts {endif} 310 puts {} 311 312 puts {ifeq ($(HAS_PROIO),true)} 313 executableDeps {readers/DelphesProIO.cpp} 274 314 puts {endif} 275 315 puts {}
Note:
See TracChangeset
for help on using the changeset viewer.