Commit 161be0d5 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

include server path

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: 5015
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent f3b9a681
......@@ -55,14 +55,13 @@ $(call CHECKVARS,TF_LINK_FORTRAN)
FORTRANLIB=$(TF_LINK_FORTRAN)
FLAGS += $(MYFLAGS)
CFLAGS += -O2 $(FLAGS)
FFLAGS += -ff2c -Wall -ffixed-line-length-0 $(FLAGS)
CFLAGS += -O2 -I${SERVERINCLUDEDIR} -I${LOCINCLUDEDIR} $(FLAGS)
FFLAGS += -ff2c -Wall -ffixed-line-length-0 -fno-backslash $(FLAGS)
# use STATIC=-static to produce statically linked binaries
STATIC=
CXXFLAGS+=-Wall $(FLAGS)
CXXFLAGS+=-Wall $(FLAGS)
LDFLAGS+=-L$(LOCLIBDIR) $(STATIC)
LDFLAGS+=$(addprefix -L,$(LOCLIBDIR) $(subst :, ,$(SERVERLIBDIR)))
CPPFLAGS+=-I$(LOCINCLUDEDIR) $(FLAGS)
#----------------------------------------------------------------------
......@@ -137,7 +136,7 @@ fidasexx: fidasexx.o
$(CXX) -o $@ $^ -I$(LOCINCLUDEDIR) -lpgplotCpp -lcpgplot \
$(TF_LINK_PGPLOT) $(TF_LINK_FORTRAN) -llinearxx -llapack -lblas \
-ltfxx -ltsxx -ldatrwxx -lsffxx -lgsexx -ltime++ -laff \
-L$(LOCLIBDIR) $(CXXFLAGS) $(FLAGS)
-L$(LOCLIBDIR) $(CXXFLAGS) $(FLAGS) $(LDFLAGS)
soutifu: soutifu.o
$(CXX) -o $@ $^ -I$(LOCINCLUDEDIR) \
......@@ -145,7 +144,7 @@ soutifu: soutifu.o
-lfourierxx -lfftw3 \
-llinearxx -llapack -lblas \
-ltfxx -ltsxx -ldatrwxx -lsffxx -lgsexx -ltime++ -laff \
-L$(LOCLIBDIR) $(CXXFLAGS) $(FLAGS)
-L$(LOCLIBDIR) $(CXXFLAGS) $(FLAGS) $(LDFLAGS)
geophone: %: %.o
$(LINK.cc) $^ -laff -lsffxx -lgsexx -ltime++ -ltfxx $(LDFLAGS) -o $@
......@@ -198,4 +197,26 @@ doxydoc: $(DOXYWWWPATH)/html/index.html
doxyview: $(DOXYWWWPATH)/html/index.html
$(TF_BROWSER) file:$< &
#======================================================================
# create package
# --------------
# is delegated to Makefile.packages
# pass SRCONLY=yes for a source code package
ifdef TF_MAKEPKG
.PHONY: package
package: $(TF_MAKEPKG)
$(MAKE) -f $< \
PACKAGE=tswf \
PACKAGEEXPORT="trunk/src/ts/wf:src" \
PACKAGETARGETS="src:all" \
PACKAGELIBS="-"
.PHONY: fullpackage
#fullpackage: $(TF_MAKEPKG)
# $(MAKE) -f $< \
# PACKAGE=tswfwithlibs \
# PACKAGEEXPORT="trunk/src/ts/wf:src" \
# PACKAGETARGETS="src:all" \
# PACKAGELIBS="libtime:libaff:libgsexx:libsffxx:libdatrwxx:libtsxx:libtfxx"
endif
# ----- END OF Makefile -----
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