Commit 5a33cfb4 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

package creation

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: 4526
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 653469fa
......@@ -77,8 +77,9 @@ FFLAGS += -ff2c -Wall -ffixed-line-length-none $(FLAGS)
# use STATIC=-static to produce statically linked binaries
STATIC=
LDFLAGS=-L$(LOCLIBDIR) $(STATIC)
CPPFLAGS=-I$(LOCINCLUDEDIR) $(FLAGS)
LDFLAGS=$(addprefix -L,$(LOCLIBDIR) $(subst :, ,$(SERVERLIBDIR))) $(STATIC)
CPPFLAGS=$(addprefix -I,$(LOCINCLUDEDIR) $(subst :, ,$(SERVERINCLUDEDIR))) \
$(FLAGS)
#----------------------------------------------------------------------
# standard edit targets
......@@ -110,4 +111,25 @@ grepg: $(GREBOBS)
$(FC) $(FFLAGS) $^ -o $@ \
-ltf $(TF_LINK_PGPLOT) $(LDFLAGS)
#======================================================================
# create package
# --------------
# is delegated to Makefile.packages
ifdef TF_MAKEPKG
.PHONY: package
package: $(TF_MAKEPKG)
$(MAKE) -f $< \
PACKAGE=grepg \
PACKAGEEXPORT="trunk/src/green/grepg:src" \
PACKAGETARGETS="src:all" \
PACKAGELIBS="-"
.PHONY: fullpackage
fullpackage: $(TF_MAKEPKG)
$(MAKE) -f $< \
PACKAGE=grepgwithlibs \
PACKAGEEXPORT="trunk/src/green/grepg:src" \
PACKAGETARGETS="src:all" \
PACKAGELIBS="libtf"
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