- use dig for resolving host names - ascon.c: fix terminator parsing - property callback: change property before callback - logger.c:default for logger period must be the old value instead of 1 - add frappy type history writing - increase max. logreader line length - HIPNONE returns "null" with json protocol - encode strings properly in formatNameValue - fix memory leak in json2tcl - scriptcontext: do not show debug messages when script starts with underscore or when the "send" property is empty - scriptcontext: remove args for action timestamp - scriptcontext: "que" function will replace an already queued action, e.g. for 'halt - introduced updatestatus script
47 lines
1.6 KiB
Plaintext
47 lines
1.6 KiB
Plaintext
#---------------------------------------------------------------------------
|
|
# Makefile for SICS
|
|
# machine-dependent part for Redhat Linux with AFS at PSI
|
|
#
|
|
# Mark Koennecke 1996-2001
|
|
# Markus Zolliker, March 2003
|
|
# Mark Koennecke, February 2014
|
|
#==========================================================================
|
|
# assign if the National Instrument GPIB driver is available
|
|
SINQDIR=/afs/psi.ch/project/sinq
|
|
#NI= -DHAVENI
|
|
#NIOBJ= nigpib.o
|
|
#NILIB=$(SINQDIR)/rhel7/lib/cib.o
|
|
EXTRAROOT=/afs/psi.ch/project/sinq/rhel7
|
|
|
|
#EPICSDIR=$(SINQDIR)/rhel7/lib/linux-x86_64-debug
|
|
#EPICSLIBS=$(EPICSDIR)/libezca.a $(EPICSDIR)/libca.a $(EPICSDIR)/libCom.a -lreadline -lhistory
|
|
#EPICSLIBS=-L$(EPICSDIR) -lezca -lca -lCom
|
|
|
|
include sllinux_def
|
|
|
|
CC = gcc
|
|
|
|
CFLAGS = -I$(EXTRAROOT)/include -DNXXML -DHDF5 $(NI) \
|
|
-I$(SICSROOT)/sicspsi -I$(SICSROOT) -I. -MMD \
|
|
-Werror -DCYGNUS -DNONINTF $(DBG) $(DFORTIFY) \
|
|
-Wall -Wno-unused -Wunused-value -Wno-comment -Wno-switch
|
|
|
|
BINTARGET = bin
|
|
EXTRA=nintf.o
|
|
SUBLIBS = $(SICSROOT)/sicspsi/libpsi.a $(SICSROOT)/sicspsi/hardsup/libhlib.a \
|
|
matrix/libmatrix.a
|
|
LIBS = -L$(EXTRAROOT)/lib -L$(EXTRAROOT)/lib $(SUBLIBS) $(NILIB) $(EPICSLIBS) \
|
|
-ltcl -lNeXus /usr/lib64/libhdf5.so \
|
|
$(EXTRAROOT)/lib/libjson-c.a \
|
|
-ldl -lz -lmxml $(EXTRAROOT)/lib/libghttp.a -lm -lc -lpthread -lsqlite3 -lbson-1.0 -lmongoc-1.0
|
|
SEASUBLIBS = $(SICSROOT)/sicspsi/libseapsi.a
|
|
SEALIBS = -L$(EXTRAROOT)/lib -L$(EXTRAROOT)/lib $(SEASUBLIBS) \
|
|
-ltcl \
|
|
$(EXTRAROOT)/lib/libjson-c.a \
|
|
-ldl -lz -lm -lc -lpthread
|
|
|
|
include make_gen
|
|
|
|
-include $(OBJ:.o=.d)
|
|
|