This commit is contained in:
cvs
2003-03-13 16:15:48 +00:00
parent 731e48d920
commit a3c061dde9
7 changed files with 92 additions and 2 deletions

7
tecs/make_auto_gnumake Normal file
View File

@ -0,0 +1,7 @@
# list of prerequisites including paths for VPATH
Q=$^
# Fortran/C source file name
F=$<
C=$<

7
tecs/make_auto_gnumakeno Normal file
View File

@ -0,0 +1,7 @@
# list of prerequisites including paths for VPATH
Q=$>
# Fortran/C source file name
F=$*.f
C=$*.c

27
tecs/make_opt_llc Normal file
View File

@ -0,0 +1,27 @@
#---------------------------------------------------------------------------
# Makefile options for the TECS Client library and TecsServer
# for Redhat linux on llc3 or llc4
#
# Markus Zolliker, March 2003
#--------------------------------------------------------------------------
SINQ=/afs/psi.ch/project/sinq/linux
SICS=..
CC = gcc
FC = g77
CFLAGS = -DLINUX -g
FFLAGS = -u -fvxt -g
ARFLAGS = cr
# -- system dependent routines
SYS_FILE =sys_linux
# -- PGPLOT library
PGLIB =$(SINQ)/pgplot/libpgplot.a -L/usr/X11R6/lib -lX11
# -- library for ASYNSRV
HARDSUPLIB=$(SICS)/hardsup/libhlib.a
# -- readline library
RDLIB =-lreadline -ltermcap

27
tecs/make_opt_tru64 Normal file
View File

@ -0,0 +1,27 @@
#---------------------------------------------------------------------------
# Makefile options for the TECS Client library and TecsServer
# for Redhat linux on llc3 or llc4
#
# Markus Zolliker, March 2003
#--------------------------------------------------------------------------
SINQ=/afs/psi.ch/project/sinq/linux
SICS=..
CC = cc
FC = f77
CFLAGS = -std1 -g -warnprotos
FFLAGS = -u -g
#ARFLAGS = cr
# -- system dependent routines
SYS_FILE =sys_linux
# -- PGPLOT library
PGLIB =$(PGPLOT_DIR)/libpgplot.a -L/usr/X11R6/lib -lX11
# -- library for ASYNSRV
HARDSUPLIB=$(SICS)/hardsup/libhlib.a
# -- readline library
RDLIB =-lreadline -ltermcap

View File

@ -6,7 +6,14 @@
# included in a machine-specific makefile
#--------------------------------------------------------------------------
include make_opt
include $(MAKE_OPT)
VPATH=$(SRCPATH)
# make replacements for some automatic variables
# (define $Q $C and $F)
GNUMAKE_$(MAKE_VERSION)=no
include $(SRCPATH)make_auto_gnumake$(GNUMAKE_)
LIBR_OBJ =coc_util.o myc_err.o myc_str.o myc_buf.o myc_time.o \
$(FORTIFYOBJ)

6
tecs/make_tecs_no Normal file
View File

@ -0,0 +1,6 @@
default:
%:
@echo "define the environment variable MACHINE to one of:"
@ls make_opt_* | cut -b 10-99

View File

@ -1 +1,10 @@
include make_tecs
# if MACHINE is defined, include make_tecs
# else include make_tecs_no, printing out a comment
T_$(MACHINE)=_no
MAKE_OPT=make_opt_$(MACHINE)
include make_tecs$(T_)