M.Z.
This commit is contained in:
7
tecs/make_auto_gnumake
Normal file
7
tecs/make_auto_gnumake
Normal 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
7
tecs/make_auto_gnumakeno
Normal 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
27
tecs/make_opt_llc
Normal 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
27
tecs/make_opt_tru64
Normal 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
|
@ -6,7 +6,14 @@
|
|||||||
# included in a machine-specific makefile
|
# 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 \
|
LIBR_OBJ =coc_util.o myc_err.o myc_str.o myc_buf.o myc_time.o \
|
||||||
$(FORTIFYOBJ)
|
$(FORTIFYOBJ)
|
||||||
|
6
tecs/make_tecs_no
Normal file
6
tecs/make_tecs_no
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
default:
|
||||||
|
|
||||||
|
%:
|
||||||
|
@echo "define the environment variable MACHINE to one of:"
|
||||||
|
@ls make_opt_* | cut -b 10-99
|
||||||
|
|
@ -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_)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user