SKIPPED: psi/makefile_linux psi/sinqhmdriv.i psi/sinqhmdriv.w psi/swmotor.c psi/hardsup/makefile_linux psi/tecs/makefile_linux
43 lines
1.5 KiB
Plaintext
43 lines
1.5 KiB
Plaintext
#---------------------------------------------------------------------------
|
|
# Makefile for SICS
|
|
# machine-dependent part for Redhat Linux with AFS at PSI
|
|
#
|
|
# Mark Koennecke 1996-2001
|
|
# Markus Zolliker, March 2003
|
|
#==========================================================================
|
|
# the following lines only for fortified version
|
|
DFORTIFY=-DFORTIFY
|
|
FORTIFYOBJ=strdup.o fortify.o
|
|
#==========================================================================
|
|
# assign if the National Instrument GPIB driver is available
|
|
#NI= -DHAVENI
|
|
#NIOBJ= nigpib.o
|
|
#NILIB=-lgpibenet
|
|
#==========================================================================
|
|
# comment or uncomment if a difrac version is required
|
|
# Do not forget to remove or add comments to ofac.c as well if changes
|
|
# were made here.
|
|
|
|
#DIFOBJ=difrac.o -Ldifrac -ldif
|
|
#DIFIL= difrac.o
|
|
#==========================================================================
|
|
|
|
#----------------select proper Makefile
|
|
MFLAGS= -f makefile_linux
|
|
|
|
CC = gcc
|
|
CFLAGS = -I$(HDFROOT)/include -DHDF4 -DHDF5 $(NI) -Ipsi/hardsup -I.y \
|
|
-fwritable-strings -DCYGNUS -DNONINTF -g $(DFORTIFY)
|
|
|
|
BINTARGET = bin
|
|
HDFROOT=/afs/psi.ch/project/sinq/linux
|
|
EXTRA=nintf.o
|
|
SUBLIBS = psi/libpsi.a psi/hardsup/libhlib.a matrix/libmatrix.a \
|
|
psi/tecs/libtecsl.a
|
|
LIBS = -L$(HDFROOT)/lib $(SUBLIBS) \
|
|
-ltcl8.3 $(HDFROOT)/lib/libhdf5.a \
|
|
$(HDFROOT)/lib/libmfhdf.a $(HDFROOT)/lib/libdf.a \
|
|
$(HDFROOT)/lib/libjpeg.a -lz -lm -ll -lc
|
|
|
|
include $(SRC)make_gen
|