revision of TecsServer / treat "interest" correctly

This commit is contained in:
cvs
2000-06-02 07:27:19 +00:00
parent 9c093bc2ac
commit 82097034d5
13 changed files with 309 additions and 182 deletions

View File

@@ -1,11 +1,12 @@
#---------------------------------------------------------------------------
# Makefile for the TECS Client library
# Makefile for the TECS Client library and TecsServer
#
# Markus Zolliker, March 2000
#--------------------------------------------------------------------------
OBJ= tecs_cli.o coc_client.o coc_util.o err_handling.o \
str_util.o str_buf.o coc_server.o tecs_lsc.o tecs_serial.o \
coc_logfile.o tecs_dlog.o sys_util.o
LIBR_OBJ= coc_util.o err_handling.o str_util.o str_buf.o sys_util.o tecs_dlog.o
CLI_OBJ= tecs_cli.o coc_client.o
SERV_OBJ= tecs.o coc_server.o tecs_lsc.o tecs_serial.o coc_logfile.o
TCLI_OBJ= tecs_client.o tecs_plot.o tecs_for.o sys_aunix.o sys_aunix_c.o
#------------ for DigitalUnix (add -DFORTIFY to CFLAGS for fortified version)
CC=cc
@@ -19,12 +20,27 @@ CFLAGS= -std1 -g -warnprotos -I../ -I. -I../hardsup
.c.o:
$(CC) $(CFLAGS) -c $*.c
tecs: $(OBJ)
libtecsl.a: $(LIBR_OBJ) $(CLI_OBJ)
- rm libtecsl.a
ar cr libtecsl.a $(OBJ)
ar cr libtecsl.a $(LIBR_OBJ) $(CLI_OBJ)
ranlib libtecsl.a
- rm TecsServer
$(CC) $(CFLAGS) -o TecsServer -g tecs.c fortify1.c -lm -L. -ltecsl -L../hardsup -lhlib -lfor
all: libtecsl.a bin/TecsServer tecs
tecs_plot.o: tecs_plot.f90
f90 -c -g tecs_plot.f90
bin/TecsServer: $(LIBR_OBJ) $(SERV_OBJ)
- rm bin/TecsServer
$(CC) $(CFLAGS) -o bin/TecsServer -g $(LIBR_OBJ) $(SERV_OBJ) fortify1.c \
-lm -L../hardsup -lhlib -lfor
tecs: $(TCLI_OBJ) $(CLI_OBJ) $(LIBR_OBJ)
f77 -o tecs -g $(TCLI_OBJ) $(CLI_OBJ) $(LIBR_OBJ) \
-L/data/lnslib/lib -lpgplot -so_archive -lreadline -ltermcap -lX11 -lXm
clean:
rm *.o
rm *.a
- rm *.o
- rm *.a
- rm bin/TecsServer
- rm tecs