Commit b77f6a17 authored by thomas.forbriger's avatar thomas.forbriger
Browse files

[WP] (librefpar): adjust refmet

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.

refmet has lost part of its source code and must now import this code from
librefpar
parent 488b55fd
......@@ -31,6 +31,8 @@
# check environment
# discard package creation
# 14/01/2011 V1.4 implemented refmetx with libfapidxx interface
# 24/09/2014 thof: part of the code in librefread is moved to librefpar,
# a dedicated library in the collection of libraries
#
# ============================================================================
#
......@@ -90,22 +92,16 @@ LDFLAGS=$(addprefix -L,$(LOCLIBDIR) $(subst :, ,$(SERVERLIBDIR))) $(STATIC)
CPPFLAGS=$(addprefix -I,$(LOCINCLUDEDIR) $(subst :, ,$(SERVERINCLUDEDIR))) \
$(FLAGS)
REAMPOBS=refmet_basinf.o refmet_rmod.o refmet_rmain.o refmet_rsource.o refmet_rrcv.o
REAMPOBS=refmet_basinf.o
REFMETOBS=refmet_output.o refmet_preptrace.o refmet_wtrace.o lmath.o\
refmet_basinf.o refmet_rmain.o refmet_rmod.o refmet_rsource.o refmet_rrcv.o\
refmet_intro.o refmet_comments.o
refmet_basinf.o refmet_rmain.o
REFMUOBS=main/ref2mu.o
REFMATOBS=refmat_basinf.o refmet_rmain.o refmet_rmod.o\
refmet_rsource.o refmet_intro.o refmet_comments.o
REFMATOBS=refmat_basinf.o refmet_rmain.o
RESUSOBS=refmet_output.o refmet_preptrace.o refmet_wtrace.o lmath.o\
resus_basinf.o refmet_rmain.o refmet_rsource.o refmet_rrcv.o\
refmet_intro.o refmet_comments.o
resus_basinf.o refmet_rmain.o
RESUSNOBS=refmet_output.o refmet_preptrace.o refmet_wtrace.o lmath.o\
resusnoise_basinf.o refmet_rmain.o refmet_rsource.o refmet_rrcv.o\
refmet_intro.o refmet_comments.o
GRESYSUB=main/gresy.o sub/refmet_rrcv.o
LIBREFMETOBS=$(addprefix sub/,refmet_basinf.o refmet_rmain.o refmet_rmod.o \
refmet_rsource.o refmet_rrcv.o refmet_intro.o refmet_comments.o)
resusnoise_basinf.o refmet_rmain.o
LIBREFMETOBS=$(addprefix sub/,refmet_basinf.o refmet_rmain.o)
.PHONY: install-include
install-include:
......@@ -121,20 +117,20 @@ matbau: %: main/%.o
$(FC) $< -o $@ $(LDFLAGS)
grema: %: main/%.o sub/refmet_rrcv.o
$(FC) $(FFLAGS) $^ -o $@ -lrefread -ltf -lsff \
$(FC) $(FFLAGS) $^ -o $@ -lrefpar -lrefread -ltf -lsff \
$(LDFLAGS)
refmatsh refmat resus refmet:
$(FC) $^ -o $@ -lsff -lemod -ltf \
$(FC) $^ -o $@ -lrefpar -lsff -lemod -ltf \
$(LDFLAGS) $(FFLAGS)
refmetx:
$(FC) $^ -o $@ -lemod -ltf \
$(FC) $^ -o $@ -lrefpar -lemod -ltf \
-lfapidxx -ldatrwxx -lsffxx -lgsexx -ltime++ -laff \
$(LDFLAGS) $(FFLAGS)
resusnoise:
$(FC) $^ -o $@ -lsff -lemod -ltf -lgsl -lgslcblas \
$(FC) $^ -o $@ -lrefpar -lsff -lemod -ltf -lgsl -lgslcblas \
$(LDFLAGS) $(FFLAGS)
librefread.a: $(LIBREFMETOBS)
......@@ -164,7 +160,7 @@ fullpackage: $(TF_MAKEPKG)
PACKAGE=refmetwithlibs \
PACKAGEEXPORT="trunk/src/synt/ref/refmet:src" \
PACKAGETARGETS="src:all" \
PACKAGELIBS="libemod libsff libtf libsffu libts libaff libtime libgsexx libsffxx libdatrwxx libfapidxx"
PACKAGELIBS="librefpar libemod libsff libtf libsffu libts libaff libtime libgsexx libsffxx libdatrwxx libfapidxx"
endif
# ----- END OF Makefile -----
......@@ -95,6 +95,7 @@ Dependencies:
libtf
libtime (libtime, libtime++)
libemod
librefpar
librefread (Part of refmet)
============================================================================
......
......@@ -25,6 +25,7 @@
# REVISIONS and CHANGES
# 15/09/2008 V1.0 Thomas Forbriger
# use gfortran
# 24/09/2014 thof: move part of the source code to librefpar
#
# ============================================================================
#
......@@ -77,9 +78,7 @@ install-include:
#----------------------------------------------------------------------
LIBREFMETOBS=refmet_basinf.o refmet_rmain.o refmet_rmod.o refmet_rsource.o\
refmet_rrcv.o\
refmet_intro.o refmet_comments.o
LIBREFMETOBS=refmet_basinf.o refmet_rmain.o
librefread.a: $(LIBREFMETOBS)
ar rcv librefread.a $(LIBREFMETOBS)
......
......@@ -16,8 +16,8 @@ Source code in this subdirectory:
usage texts for main programs
sub/refmat_basinf.f
sub/refmet_basinf.f
sub/refmet_comments.f
sub/refmet_intro.f
sub/refmet_comments.f (included from librefpar)
sub/refmet_intro.f (included from librefpar)
sub/refmet_preptrace.f
sub/resus_basinf.f
sub/resusnoise_basinf.f
......@@ -31,9 +31,13 @@ Time series output functions
Functions to read configuration files
sub/refmet_rmain.f
sub/refmet_rmod.f
sub/refmet_rrcv.f
sub/refmet_rsource.f
sub/refmet_rmod.f (included from librefpar)
sub/refmet_rrcv.f (included from librefpar)
sub/refmet_rsource.f (included from librefpar)
On 24/09/2014 some of the source files (as indicated above) were moved to a
dedicated library package called librefpar.
============================================================================
......
Supports Markdown
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