Commit 653469fa authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

use SERVERLIBDIR

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 4525
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 93c787d0
......@@ -110,6 +110,9 @@ GFLAG=
# setting binary markers to 4 for gfortran 4.1 prevents reading the PGPLOT
# FONT file
FFLAGS += -ff2c -Wall -ffixed-line-length-none $(FLAGS)
LDFLAGS=$(addprefix -L,$(LOCLIBDIR) $(subst :, ,$(SERVERLIBDIR)))
CPPFLAGS=$(addprefix -I,$(LOCINCLUDEDIR) $(subst :, ,$(SERVERINCLUDEDIR))) \
$(FLAGS)
%.o: %.f; $(FC) -c -o $@ $< $(FFLAGS)
......@@ -121,31 +124,26 @@ FFLAGS += -ff2c -Wall -ffixed-line-length-none $(FLAGS)
greda: greda.o greda_phasor.o
$(FC) -o $@ $^ -lsffu -lts -ltf $(LINLIB) \
-lgsl -lgslcblas -ltime -lsff\
-L$(LOCLIBDIR) -L$(SERVERLIBDIR)
-lgsl -lgslcblas -ltime -lsff $(LDFLAGS)
grereso: grereso.o
$(FC) -o $@ $^ -lsffu -lts -ltf $(LINLIB) \
-lgsl -lgslcblas -ltime -lsff\
-L$(LOCLIBDIR) -L$(SERVERLIBDIR)
-lgsl -lgslcblas -ltime -lsff $(LDFLAGS)
hivexpanco hivgabor gabor phadi: %: %.o
$(FC) -o $@ $< -lsffu -lts -ltf $(LINLIB) \
-ltime -lsff $(PGPLOTLIB) \
-L$(LOCLIBDIR) -L$(SERVERLIBDIR)
-ltime -lsff $(PGPLOTLIB) $(LDFLAGS)
# binaries linked against libfapidxx and colleagues, being able to read SU
# data and other formats:
gredax: greda.o greda_phasor.o
$(FC) -o $@ $^ -lsffu -lts -ltf $(LINLIB) \
-lgsl -lgslcblas -ltime -lfapidxx -ldatrwxx -lsffxx -lgsexx\
-ltime++ -laff \
-L$(LOCLIBDIR) -L$(SERVERLIBDIR)
-ltime++ -laff $(LDFLAGS)
gaborx phadix: %x: %.o
$(FC) -o $@ $< -lsffu -lts -ltf $(LINLIB) \
-ltime -lfapidxx -ldatrwxx -lsffxx -lgsexx -laff -ltime++ \
$(PGPLOTLIB) \
-L$(LOCLIBDIR) -L$(SERVERLIBDIR)
$(PGPLOTLIB) $(LDFLAGS)
#======================================================================
# create package
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment