Initial commit

This commit is contained in:
2022-08-19 15:22:33 +02:00
commit d682fae506
545 changed files with 48172 additions and 0 deletions

60
makefile_sl5 Normal file
View File

@ -0,0 +1,60 @@
# Linux with AFS at PSI
# only debugger version works
DEB=D
# type of library to be used (LIB_TYPE=a or LIB_TYPE=so)
LIB_TYPE=a
# c-compiler to be used, flags for different options
CC=gcc
C_FLAGS=-g -D__unix -MMD
#C_FLAGS=-g -D__unix -MMD -DF_UNDERSCORE=1
C_STRICT=-Wall
C_RELAXED=
# fortran compiler to be used, flags for different options
FC=g77
F_FLAGS=-Wimplicit -fbounds-check -I. -Wall
#F_FLAGS=-w
F_STRICT=
F_RELAXED=-Wno-globals
#F_RELAXED=$(F_FLAGS)
F_OPT=-O
F_DEB=-g
# macros for prerequisites (for GNU make)
# Q=all, F/C=Fortran/C source with path
Q=$^
F=$<
C=$<
# linker flags for readline library
RDLIB=-lreadline -ltermcap
SINQ=/afs/psi.ch/project/sinq/sl5
SL=$(SINQ)/lib/lib
# directories for installing the binaries are $(INSTDIR)/bin and $(INSTDIR)/lib
INSTDIR=$(SINQ)/stow/fit
# linker flags for pgplot
PGLIB=$(SL)pgplot.a -L/usr/X11R6/lib -lX11
# link NeXus file input routines ? (comment out if not needed)
NXFLAG=Y
# linker flags for NeXus
NXLIB=$(SL)NeXus77.a $(SL)NeXus.a $(SL)hdf5.a $(SL)mfhdf.a $(SL)mxml.a $(SL)df.a $(SL)jpeg.a -lz $(SL)sz.a
# directory for the HDF include files
NXHDF=$(SINQ)/include
# directory for the NeXus include files
#NXINC=$(SINQ)/include
NXINC=$(PWD)/../gen
ADD_ALL = myfit
-include make_deb
include src/make_gen