SICS compiles under RHEL7
This commit is contained in:
41
makefile_rhel7
Normal file
41
makefile_rhel7
Normal file
@ -0,0 +1,41 @@
|
||||
#---------------------------------------------------------------------------
|
||||
# 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$(HDFROOT)/include -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 -lhdf5 \
|
||||
$(EXTRAROOT)/lib/libjson-c.a \
|
||||
-ldl -lz -lmxml $(EXTRAROOT)/lib/libghttp.a -lm -lc -lpthread -lsqlite3 -lbson-1.0 -lmongoc-1.0
|
||||
|
||||
include make_gen
|
||||
|
||||
-include $(OBJ:.o=.d)
|
||||
|
Reference in New Issue
Block a user