- Timestamp:
- Aug 10, 2018, 9:31:31 AM (6 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 01f9722
- Parents:
- c473838
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
rc473838 rcdbca0d 32 32 endif 33 33 34 35 34 # check consistency 36 35 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 endif 40 endif 41 36 ifneq ($(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.) 38 endif 39 endif 42 40 43 41 ifneq ($(PROMC),) … … 51 49 HAS_PROIO = true 52 50 $(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 51 ifeq ($(PROTOBUF),) 52 $(error but PROTOBUF variable is not set.) 53 endif 54 PROTOBUF_FILE=$(PROTOBUF)/lib/libprotobuf.a 55 ifeq ("$(wildcard $(PROTOBUF_FILE))","") 56 $(error PROTOBUF variable is set, but it does not point to valid $(PROTOBUF_FILE)) 57 endif 58 ifeq ($(LZ4),) 59 $(error but LZ4 variable is not set.) 60 endif 61 LZ4_FILE=$(LZ4)/lib/liblz4.so 62 ifeq ("$(wildcard $(LZ4_FILE))","") 63 $(error LZ4 variable is set, but it does not point to valid $(LZ4_FILE)) 64 endif 71 65 CXXFLAGS += -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 66 OPT_LIBS += -L$(PROTOBUF)/lib -lprotobuf -L$(PROIO)/lib -lproio -lproio.pb -lz -L$(LZ4)/lib -llz4 73 67 endif 74 68
Note:
See TracChangeset
for help on using the changeset viewer.