Fork me on GitHub

Changeset cdbca0d in git


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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rc473838 rcdbca0d  
    3232endif
    3333
    34 
    3534# check consistency
    3635ifneq ($(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   endif
    40 endif
    41 
     36ifneq ($(PROIO),)
     37$(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.)
     38endif
     39endif
    4240
    4341ifneq ($(PROMC),)
     
    5149HAS_PROIO = true
    5250$(info ProIO reader is requested)
    53        ifeq ($(PROTOBUF),)
    54        $(error but PROTOBUF variable is not set.)
    55        endif
    56 
    57        PROTOBUF_FILE=$(PROTOBUF)/lib/libprotobuf.a
    58        ifeq ("$(wildcard $(PROTOBUF_FILE))","")
    59           $(error PROTOBUF variable is set, but it does not point to valid $(PROTOBUF_FILE))
    60        endif
    61 
    62        ifeq ($(LZ4),)
    63             $(error but LZ4 variable is not set.)                       
    64        endif
    65        LZ4_FILE=$(LZ4)/lib/liblz4.so
    66        ifeq ("$(wildcard $(LZ4_FILE))","")
    67             $(error LZ4 variable is set,  but it  does not point to valid $(LZ4_FILE))
    68        endif
    69 
    70 
     51ifeq ($(PROTOBUF),)
     52$(error but PROTOBUF variable is not set.)
     53endif
     54PROTOBUF_FILE=$(PROTOBUF)/lib/libprotobuf.a
     55ifeq ("$(wildcard $(PROTOBUF_FILE))","")
     56$(error PROTOBUF variable is set, but it does not point to valid $(PROTOBUF_FILE))
     57endif
     58ifeq ($(LZ4),)
     59$(error but LZ4 variable is not set.)
     60endif
     61LZ4_FILE=$(LZ4)/lib/liblz4.so
     62ifeq ("$(wildcard $(LZ4_FILE))","")
     63$(error LZ4 variable is set,  but it does not point to valid $(LZ4_FILE))
     64endif
    7165CXXFLAGS += -I$(PROIO)/include -I$(PROTOBUF)/include -I$(LZ4)/include -I$(PROIO)/src
    72 OPT_LIBS += -L$(PROTOBUF)/lib -lprotobuf -L$(PROIO)/lib -lproio -lproio.pb -lz -L$(LZ4)/lib -llz4 
     66OPT_LIBS += -L$(PROTOBUF)/lib -lprotobuf -L$(PROIO)/lib -lproio -lproio.pb -lz -L$(LZ4)/lib -llz4
    7367endif
    7468
  • 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.