# Tru64 Unix with lnslib

DEB$(NODEB)=D

SINQ=/afs/psi.ch/project/sinq/tru64

# directories for installing the binaries are $(INSTDIR)/bin and $(INSTDIR)/lib
INSTDIR=$(SINQ)/stow/fit

# type of library to be used (LIB_TYPE=a or LIB_TYPE=so)
LIB_TYPE=so

# c-compiler to be used, flags for different options
CC=cc
C_FLAGS=-I. -MD -g
C_STRICT=-std1 -warnprotos
C_RELAXED=

# fortran compiler to be used, flags for different options
FC=f77
F_FLAGS=-vms -u -check bounds -assume source_include
F_STRICT=-warn decl -warn arg
F_RELAXED=-warn decl
F_OPT=
F_DEB=-g

# macros for prerequisites (different make versions)
# Q=all, F/C=Fortran/C source with path      
Q=$>
F=$*.f
C=$*.c
# C-dependencies are not automatic on this make version
CDEP=make_cdep

#LNL=/data/lnslib/lib/lib
LNL=$(SINQ)/lib/lib

# linker flags for readline library
RDLIB=$(LNL)readline.a -ltermcap

# linker flags for pgplot
PGLIB=$(LNL)pgplot.so -lX11 -lXm -lm

# path for tru64 specific routines
SPECPATH=:src/unix/tru64/

# link NeXus file input routines ? (comment out if not needed)
NXFLAG=Y

# linker flags for NeXus
NXLIB=$(LNL)NeXusf77.a $(LNL)hdf5.a $(LNL)mfhdf.a $(LNL)df.a $(LNL)jpeg.a $(LNL)z.a
#NXLIB=/data/zolliker/lib/libNeXus45.a $(LNL)hdf5.a $(LNL)mfhdf.a $(LNL)df.a $(LNL)jpeg.a $(LNL)z.a

# directory for the HDF include files
NXHDF=$(SINQ)/include

# directory for the NeXus include files
NXINC=$(SINQ)/include

# add to 'all' list
ADD_ALL=fitvers

-include make_deb
include make_gen

