Commit a04e8a95 authored by uqchw's avatar uqchw Committed by thomas.forbriger
Browse files

added list-libraries rule

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.
checked dependency comments in README files


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 5460
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 811f6e1b
......@@ -111,6 +111,14 @@ gaborx phadix: %x: %.o
-ltime -lfapidxx -ldatrwxx -lsffxx -lgsexx -laff -ltime++ \
$(PGPLOTLIB) $(LDFLAGS)
.PHONY: list-libraries
list-libraries:
grep ' -l' Makefile | tr ' ' '\n' | egrep '^-l' |sort | uniq
grep ' -l' Makefile | tr ' ' '\n' | egrep 'PGP' |sort | uniq
#======================================================================
# create package
# --------------
......
......@@ -41,24 +41,27 @@ libraries and library header files are expected:
libraries/packages needed to compile the code
liblapack: linear algebra package
libblas: basic linear algebra functions
libgsl: GNU scientific library
libsff: package containing libsff.a
libtime: package containing libtime.a
libtf: package containing libtf.a
libts: package containing libts.a
libsffu: package containing libsffu.a
you can obtain the latter packages from where you obtained the present code
extern libraries/packages needed to compile the code
PGPLOT
liblapack: linear algebra package
libblas: basic linear algebra functions
libgsl: GNU scientific library
TFSoftware libraries required to compile the code:
libsff: package containing libsff.a
libtime: package containing libtime.a
libtf: package containing libtf.a
libts: package containing libts.a
libsffu: package containing libsffu.a
you can obtain the latter packages from where you obtained the present code
to link binaries able to read SU data additional libraries are required:
libfapidxx.a
libdatrwxx.a
libsffxx.a
libgsexx.a
libtime++.a
libaff.a
libfapidxx.a
libdatrwxx.a
libsffxx.a
libgsexx.a
libtime++.a
libaff.a
......
......@@ -131,6 +131,11 @@ gredim_comments.xxx: libs/glq_dimstd.inc
gredim: gredim.o gredim_comments.xxx
$(FC) -o gredim gredim.o $(GFLAG) $(F2CLIB) $(LDFLAGS)
.PHONY: list-libraries
list-libraries:
grep ' -l' Makefile | tr ' ' '\n' | egrep '^-l' |sort | uniq
grep ' -l' Makefile | tr ' ' '\n' | egrep 'PGP' |sort | uniq
#======================================================================
# documentation
......
......@@ -42,7 +42,7 @@ Dependencies:
TFSoftware libraries required to compile the code:
libsff provides libsff.a
libtf provides libtf.a
libaff
============================================================================
The home of this software suite is
......
......@@ -115,7 +115,9 @@ modeinterference: modeinterference.o
.PHONY: list-libraries
list-libraries:
grep ' -l' Makefile | tr ' ' '\n' | egrep '^-l' | sort | uniq
grep ' -l' Makefile | tr ' ' '\n' | egrep '^-l' |sort | uniq
grep ' -l' Makefile | tr ' ' '\n' | egrep 'PGP' |sort | uniq
#======================================================================
# test cases
......
......@@ -102,7 +102,7 @@ Dependencies:
============================================================================
The home of this software suite is
http://gpitrsvn.gpi.uni-karlsruhe.de:8000/TFSoftware/wiki/trunk/src/ts/wf
http://gpitrsvn.gpi.uni-karlsruhe.de:8000/TFSoftware/wiki/trunk/src/synt/misc
Please send bug reports and suggestions to
Thomas.Forbriger@kit.edu
......
......@@ -148,6 +148,11 @@ librefread.a: $(LIBREFMETOBS)
ar rcv librefread.a $(LIBREFMETOBS)
ranlib librefread.a
.PHONY: list-libraries
list-libraries:
grep ' -l' Makefile | tr ' ' '\n' | egrep '^-l' | sort | uniq
#======================================================================
# create package
# --------------
......
......@@ -50,8 +50,59 @@ Joachim Ungerer. Currently supported binary executables:
convolves the data of each receiver with gaussian noise
all receivers will be stacked immediatly
You will need the following packages to successfully create the binaries:
============================================================================
nstallation
------------
For compilation instructions see README.1st in the root directory of the
tar-ball or
http://gpitrsvn.gpi.uni-karlsruhe.de:8000/TFSoftware/wiki/docs/installation
The Makefile supports program compilation and linking. Some binary libraries
are required.
The command
make all
will compile and install the binary executables.
Environment variables control where the results are stored and where
libraries and library header files are expected:
LOCLIBDIR defines location of binary libraries
LOCINCLUDEDIR defines location of C/C++ header files (prototypes)
LOCBINDIR defines location of binary executables
Dependencies:
Compilers required to build the programs:
Fortran compiler
C++ compiler
C/C++ preprocessor
extern libraries/packages needed to compile the code
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
libdatrwxx
libfapidxx
libgsexx
libsff
libsffxx
libtf
libtime (libtime, libtime++)
libemod
librefread (Part of refmet)
============================================================================
The home of this software suite is
http://gpitrsvn.gpi.uni-karlsruhe.de:8000/TFSoftware/wiki/trunk/src/synt/ref/refmet
libtf, libemod, libsff
Please send bug reports and suggestions to
Thomas.Forbriger@kit.edu
----- END OF README -----
......@@ -107,6 +107,11 @@ fidasex: $(FIDAOBS)
$(PGPLOTLIB) $(LINLIB) -lstdc++\
$(LDFLAGS) -L$(LOCLIBDIR)
.PHONY: list-libraries
list-libraries:
grep ' -l' Makefile | tr ' ' '\n' | egrep '^-l' |sort | uniq
grep ' -l' Makefile | tr ' ' '\n' | egrep 'PGP' |sort | uniq
#
#======================================================================
# create package
......
......@@ -45,7 +45,10 @@ Dependencies:
extern libraries/packages needed to compile the code
PGPLOT
liblapack
liblas
libstdc++
TFSoftware libraries required to compile the code:
libtf provides libtf.a
libsffu provides libsffu.a
......@@ -56,7 +59,8 @@ Dependencies:
libfapidxx provides libfapidxx.a libfapidxx.so
libdatrwxx provides libdatrwxx.a libdatrwxx.so
libsff provides libsff.a
libsffxx
============================================================================
The home of this software suite is
......
......@@ -101,6 +101,13 @@ sousoux: $(OBS)
$(TF_LINK_PGPLOT) -llapack -lblas \
$(LDFLAGS) -L$(LOCLIBDIR)
.PHONY: list-libraries
list-libraries:
grep ' -l' Makefile | tr ' ' '\n' | egrep '^-l' |sort | uniq
grep ' -l' Makefile | tr ' ' '\n' | egrep 'PGP' |sort | uniq
#======================================================================
# 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