Commit 20713b22 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

completed dependencies

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: 5404
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 133e075b
......@@ -44,14 +44,19 @@
# libfapidxx, respectively)
# 11/01/2013 V1.8 added sigscale to program targets
# 17/04/2013 V1.9 lisousi has its own place now (moved source code)
# 28/10/2013 V.10 implemented libfapidxx-version of suseix
# 28/10/2013 V1.10 implemented libfapidxx-version of suseix
# 02/01/2014 V1.11 removed signal generators, added tisli suspect
#
# ============================================================================
PROGRAMS=tsfilt stufi rotate coro xyz2uvw susei evelo tesiff teswf \
phasedsignals hamres siggen smoos dise foutra teseco resaseda gatherdiff \
autocorr cross tidofi fredofi sigfit noisymize sigval fidasexx soutifu \
deconv geophone siggenx sigscale suseix
PROGRAMS=tsfilt stufi rotate coro xyz2uvw susei suseix evelo \
smoos dise foutra teseco resaseda gatherdiff \
autocorr cross tidofi sigfit noisymize sigval fidasexx soutifu \
deconv geophone sigscale tisli suspect
.PHONY: list-programs
list-programs:
echo $(PROGRAMS) | tr ' ' '\n' | sort
.PHONY: all
all: install doc
......@@ -148,31 +153,30 @@ include $(patsubst %.txt,%.d,$(wildcard *.txt))
include $(patsubst %.cc,%.d,$(wildcard *.cc))
#----------------------------------------------------------------------
# tagrets
# targets
tsfilt: %: %.o
$(FC) $(FFLAGS) $(LDFLAGS) $< -o $@ -lseife -ltf
stufi: %: %.o
$(FC) $(FFLAGS) $(LDFLAGS) $< -o $@ -lseife -ltf -lsff
susei evelo tesiff teswf rotate coro xyz2uvw: %: %.o
tisli susei evelo rotate coro xyz2uvw: %: %.o
$(FC) $(FFLAGS) $(LDFLAGS) $< -o $@ -ltf -lsff
suseix: %x: %.o
$(FC) $(FFLAGS) $(LDFLAGS) $< -o $@ -ltf \
-lfapidxx -ldatrwxx -lsffxx -lgsexx -ltime++ -laff
phasedsignals siggen hamres smoos dise: %: %.o
suspect smoos dise: %: %.o
$(FC) $(FFLAGS) $(LDFLAGS) $< -o $@ \
-ltf -lsffu -ltime -lsff -lgsl -lm -lgslcblas
siggenx: %x: %.o
$(FC) $(FFLAGS) $(LDFLAGS) $< -o $@ -ltf -lsffu -lfapidxx \
-ldatrwxx -lsffxx \
-lgsexx -ltime++ -laff -lgsl -lm -lgslcblas
deconv foutra sigval: \
%: %.o
$(CXX) -o $@ $^ -I$(LOCINCLUDEDIR) -lfourierxx -lfftw3 -lm \
-lsffxx -ldatrwxx -llinearxx \
-ltsxx -ltfxx -lsffxx -lgsexx -ltime++ -laff \
-llapack -lblas -lcseife -lsffxx $(FOTRANLIB) -lm\
-llapack -lblas -lcseife -lsffxx $(FOTRANLIB) -lm \
-L$(LOCLIBDIR) $(CXXFLAGS) $(FLAGS) $(LDFLAGS)
fregra: \
......@@ -182,7 +186,7 @@ fregra: \
-ltsxx -ltfxx -lsffxx -lgsexx -ltime++ -laff \
-L$(LOCLIBDIR) $(CXXFLAGS) $(FLAGS) $(LDFLAGS)
sigscale teseco resaseda gatherdiff autocorr cross tidofi fredofi sigfit: \
sigscale teseco resaseda gatherdiff autocorr cross tidofi sigfit: \
%: %.o
$(CXX) -o $@ $^ -I$(LOCINCLUDEDIR) -lsffxx -ldatrwxx -llinearxx \
-ltsxx -ltfxx -lsffxx -lgsexx -ltime++ -laff \
......@@ -194,8 +198,8 @@ noisymize: \
%: %.o
$(CXX) -o $@ $^ -I$(LOCINCLUDEDIR) -lsffxx -ldatrwxx -llinearxx \
-ltsxx -ltfxx -lsffxx -lgsexx -ltime++ -laff \
-lgsl -lgslcblas -llapack\
-lcseife -lsffxx $(FOTRANLIB) -lm\
-lgsl -lgslcblas -llapack \
-lcseife -lsffxx $(FOTRANLIB) -lm \
-L$(LOCLIBDIR) $(CXXFLAGS) $(FLAGS) $(LDFLAGS)
fidasexx: fidasexx.o
......@@ -215,6 +219,9 @@ soutifu: soutifu.o
geophone: %: %.o
$(LINK.cc) $^ -laff -lsffxx -lgsexx -ltime++ -ltfxx $(LDFLAGS) -o $@
.PHONY: list-libraries
list-libraries:
grep ' -l' Makefile | tr ' ' '\n' | egrep '^-l' | sort | uniq
#======================================================================
# documentation part
......
......@@ -101,27 +101,36 @@ libraries and library header files are expected:
Dependencies:
Compilers required to build the programs:
Fortran compiler
C++ compiler
C/C++ preprocessor
doxygen (required to process source code documentation)
extern libraries/packages needed to compile the code
PGPLOT
PGPLOT (libpgplot, libcpgplot)
liblapack: linear algebra package
libblas: basic linear algebra functions
libgsl: GNU scientific library (libgsl, libgslcblas)
The header files for these libraries are required as well. Under OpenSuSE
you have to install the respective devel packages.
TFSoftware libraries required to compile the code:
libaff
libtime
libseife
libfourier
liblinearxx
libgsexx
libdatrwxx
libfapidxx
libfourier (libfourier, libfourierxx)
libgsexx
liblinearxx
libpgplot++ (libpgplotCpp)
libseife (libcseife, libseife)
libsff
libsffu
libsffxx
libtsxx
libstfinv
libtf
libtfxx
libtime (libtime, libtime++)
libtsxx
============================================================================
......
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