Fork me on GitHub

Changeset cdbca0d in git for doc


Ignore:
Timestamp:
Aug 10, 2018, 9:31:31 AM (6 years ago)
Author:
Pavel Demin <pavel-demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
01f9722
Parents:
c473838
Message:

fix formatting in genMakefile.tcl and Makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/genMakefile.tcl

    rc473838 rcdbca0d  
    225225endif
    226226
    227 
    228227# check consistency
    229228ifneq ($(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 
     229ifneq ($(PROIO),)
     230$(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.)
     231endif
     232endif
    235233
    236234ifneq ($(PROMC),)
     
    244242HAS_PROIO = true
    245243$(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 
     244ifeq ($(PROTOBUF),)
     245$(error but PROTOBUF variable is not set.)
     246endif
     247PROTOBUF_FILE=$(PROTOBUF)/lib/libprotobuf.a
     248ifeq ("$(wildcard $(PROTOBUF_FILE))","")
     249$(error PROTOBUF variable is set, but it does not point to valid $(PROTOBUF_FILE))
     250endif
     251ifeq ($(LZ4),)
     252$(error but LZ4 variable is not set.)
     253endif
     254LZ4_FILE=$(LZ4)/lib/liblz4.so
     255ifeq ("$(wildcard $(LZ4_FILE))","")
     256$(error LZ4 variable is set,  but it does not point to valid $(LZ4_FILE))
     257endif
    264258CXXFLAGS += -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 
     259OPT_LIBS += -L$(PROTOBUF)/lib -lprotobuf -L$(PROIO)/lib -lproio -lproio.pb -lz -L$(LZ4)/lib -llz4
    266260endif
    267261
     
    329323sourceDeps {DELPHES} {classes/*.cc} {modules/*.cc} {external/ExRootAnalysis/*.cc} {external/Hector/*.cc}
    330324
    331 sourceDeps {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} 
     325sourceDeps {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}
    332326
    333327sourceDeps {DISPLAY} {display/*.cc}
Note: See TracChangeset for help on using the changeset viewer.