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

Makefile: package rules are prepared

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: 5412
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent b3ba9830
......@@ -46,11 +46,16 @@ $(LOCBINDIR)/%: %
mkdir -pv $(LOCBINDIR)
/bin/mv -fv $< $(LOCBINDIR)
.PHONY: list-programs
list-programs:
echo $(PROGRAMS) | tr ' ' '\n' | sort
#----------------------------------------------------------------------
TESTCASEMAKE=$(filter-out %.bak,$(wildcard testcases/Makefile*))
flist: Makefile COPYING README $(wildcard *.f *.cc) $(TESTCASEMAKE)
flist: Makefile COPYING README $(wildcard *.f *.cc) $(TESTCASEMAKE) \
$(TF_EDIT)
echo $^ | tr ' ' '\n' | sort > $@
.PHONY: edit
......@@ -105,8 +110,31 @@ sehefixx tijerasxx: %: %.o
$(CXX) -o $@ $^ -I$(LOCINCLUDEDIR) -ldatrwxx \
-lsffxx -ltime++ -lgsexx -laff -ltfxx \
-L$(LOCLIBDIR) $(CXXFLAGS) $(FLAGS) $(LDFLAGS)
.PHONY: list-libraries
list-libraries:
grep ' -l' Makefile | tr ' ' '\n' | egrep '^-l' | sort | uniq
#======================================================================
# create package
# --------------
# is delegated to Makefile.packages
ifdef TF_MAKEPKG
.PHONY: package
package: $(TF_MAKEPKG)
$(MAKE) -f $< \
PACKAGE=tshd \
PACKAGEEXPORT="trunk/src/ts/hd:src" \
PACKAGETARGETS="src:all" \
PACKAGELIBS="-"
.PHONY: fullpackage
fullpackage: $(TF_MAKEPKG)
$(MAKE) -f $< \
PACKAGE=tshd \
PACKAGEEXPORT="trunk/src/ts/hd:src" \
PACKAGETARGETS="src:all" \
PACKAGELIBS="libsff libtf libsffu libaff libtime libgsexx libsffxx libdatrwxx libfapidxx 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