tecs version including redhat linux (M.Z.)
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
# Markus Zolliker, March 2000
|
# Markus Zolliker, March 2000
|
||||||
# may now be used on different system without change M.Z.01.2002
|
# may now be used on different system without change M.Z.01.2002
|
||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
#------------ for DigitalUnix (add -DFORTIFY to CFLAGS for fortified version)
|
#------------ for DigitalUnix (add -DFORTIFY to CC_... for fortified version)
|
||||||
CC_alpha_osf1=cc -std1 -g -warnprotos -I../ -I. -I../hardsup
|
CC_alpha_osf1=cc -std1 -g -warnprotos -I../ -I. -I../hardsup
|
||||||
FOR_alpha_osf1=f77 -u -g
|
FOR_alpha_osf1=f77 -u -g
|
||||||
TECS_PLOT_alpha_osf1=f90 -c -u -g tecs_plot.f90
|
TECS_PLOT_alpha_osf1=f90 -c -u -g tecs_plot.f90
|
||||||
@ -12,14 +12,12 @@ TECLI_LIB_alpha_osf1=-L/data/lnslib/lib -lpgplot -lX11 -lXm -so_archive
|
|||||||
SYS_FILE_alpha_osf1=sys_aunix
|
SYS_FILE_alpha_osf1=sys_aunix
|
||||||
#CFLAGS_alpha_osf1= -std1 -g -warnprotos -I../ -I. -I../hardsup -DFORTIFY
|
#CFLAGS_alpha_osf1= -std1 -g -warnprotos -I../ -I. -I../hardsup -DFORTIFY
|
||||||
|
|
||||||
#---------- for Redhat linux (change i386_linux to the corresponding $OSTYPE)
|
#---------- for Redhat linux
|
||||||
CC_i386_linux= gcc -I/usr/local/include -I. -I../ -I../hardsup -DLINUX -g
|
CC_i386_linux= gcc -I/usr/local/include -I. -I../ -I../hardsup -DLINUX -g
|
||||||
FOR_i386_linux= g77 -u -fvxt -g
|
FOR_i386_linux= g77 -u -fvxt -g
|
||||||
TECS_PLOT_i386_linux=g77 -c -u -g -ff90 -ffree-form tecs_plot.f
|
TECS_PLOT_i386_linux=g77 -c -u -g -ff90 -ffree-form tecs_plot.f
|
||||||
SYS_FILE_i386_linux=sys_linux
|
SYS_FILE_i386_linux=sys_linux
|
||||||
TECLI_LIB_i386_linux=/usr/users/tascom/zolliker/pgplot/libpgplot.a -L/usr/X11R6/lib -lX11
|
TECLI_LIB_i386_linux=pgplot/libpgplot.a -L/usr/X11R6/lib -lX11
|
||||||
#------------ for Linux (what type of Linux?)
|
|
||||||
CC_what_linux=gcc -fwritable-strings -DCYGNUS -DNONINTF -g -I../ -I. -I../hardsup
|
|
||||||
#------------
|
#------------
|
||||||
|
|
||||||
CC=$(CC_$(MACHTYPE)_$(OSTYPE))
|
CC=$(CC_$(MACHTYPE)_$(OSTYPE))
|
||||||
@ -53,8 +51,7 @@ tecs_plot.o: tecs_plot.f90 tecs_plot.f
|
|||||||
|
|
||||||
bin/TecsServer: $(SERV_OBJ)
|
bin/TecsServer: $(SERV_OBJ)
|
||||||
- rm bin/TecsServer
|
- rm bin/TecsServer
|
||||||
$(CC) -o bin/TecsServer $(SERV_OBJ) fortify1.c \
|
$(CC) -o bin/TecsServer $(SERV_OBJ) -lm -L../hardsup -lhlib
|
||||||
-lm -L../hardsup -lhlib
|
|
||||||
|
|
||||||
bin/TecsClient: $(TECLI_OBJ)
|
bin/TecsClient: $(TECLI_OBJ)
|
||||||
$(FOR) -o bin/TecsClient $(TECLI_OBJ) \
|
$(FOR) -o bin/TecsClient $(TECLI_OBJ) \
|
||||||
|
Reference in New Issue
Block a user