moving towards c++ api

This commit is contained in:
Dhanya Maliakal 2016-12-12 14:24:39 +01:00
parent d9016c95de
commit aba3319427
2 changed files with 16 additions and 2 deletions

View File

@ -34,7 +34,7 @@ $(info )
.PHONY: all nonstatic static lib libreceiver textclient receiver gui stextclient sreceiver .PHONY: all nonstatic static lib libreceiver textclient receiver gui stextclient sreceiver
all: lib textclient receiver gui all: lib textclient receiver #gui
nonstatic: lib libreceiver textclient receiver gui nonstatic: lib libreceiver textclient receiver gui

View File

@ -7,7 +7,7 @@ CXX = $(CC)
ASM=$(shell echo "/lib/modules/`uname -r`/build/include") ASM=$(shell echo "/lib/modules/`uname -r`/build/include")
LDFLAGDET = -L$(LIBDIR) -Wl,-rpath=$(LIBDIR) -lSlsDetector -L/usr/lib64/ -lpthread LDFLAGDET = -L$(LIBDIR) -Wl,-rpath=$(LIBDIR) -lSlsDetector -L/usr/lib64/ -lpthread
LDFLAGRXR = -L$(LIBDIR) -Wl,-rpath=$(LIBDIR) -lSlsReceiver -L/usr/lib64/ -lpthread LDFLAGRXR = -L$(LIBDIR) -Wl,-rpath=$(LIBDIR) -lSlsReceiver -L/usr/lib64/ -lpthread
FLAGS= -Wall #-DEIGER_DEBUG2 -DEIGER_DEBUG -DEIGER_DEBUG3 #-DFIFO_DEBUG FLAGS= -Wall -DHDF5C #-DEIGER_DEBUG2
# -DVERBOSE # -DVERBOSE
# Setting up the verbose flags # Setting up the verbose flags
@ -18,6 +18,20 @@ ifeq ($(DEBUG),2)
FLAGS = -Wall -DVERYVERBOSE FLAGS = -Wall -DVERYVERBOSE
endif endif
##############################################################
# HDF5 specific. Set this to yes, if you want to compile
# HDF5 code: in this case, you need HDF5 libraries
##############################################################
HDF5 = yes
HDF5_DIR = /opt/hdf5v1.10.0
ifeq ($(HDF5),yes)
LDFLAGRXR = -L$(LIBDIR) -Wl,-rpath=$(LIBDIR) -lSlsReceiver -L$(HDF5_DIR)/lib -lhdf5 -lsz -lz -DHDF5C -L/usr/lib64/ -lpthread
INCLUDESRXR = -I$(HDF5_DIR)/include
endif
############################################################## ##############################################################
# EigerSLS specific. Set this to yes, if you want to compile # EigerSLS specific. Set this to yes, if you want to compile
# EigerSLS code: in this case, you need also POCO and JsonBox # EigerSLS code: in this case, you need also POCO and JsonBox