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

published

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: 2294
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent f9de4c15
# this is <Makefile>
# ----------------------------------------------------------------------------
# $Id: Makefile,v 1.5 2007-06-05 08:57:52 tforb Exp $
#
# Copyright (c) 2007 by Thomas Forbriger (BFO Schiltach)
#
# some small functions for time series analysis
#
# Makefile for work/src/libs/libts
# ----
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# ----
#
# REVISIONS and CHANGES
# 05/06/2007 V1.0 Thomas Forbriger
#
# ============================================================================
#
# check for cross compiler
all: install docs
install: libts.a libts77.a
flist: Makefile $(wildcard *.f)
echo $^ | tr ' ' '\n' | sort > $@
.PHONY: edit
edit: flist; vim $<
.PHONY: clean
clean: ;
-find . -name \*.bak | xargs --no-run-if-empty /bin/rm -v
-/bin/rm -vf flist
-/bin/rm *.o *.bak *.doc *.o77
ifdef CROSS_BASE
BINPREFIX=$(CROSS_BASE)/bin/dos-
else
......@@ -35,9 +73,6 @@ docs: $(DOCS)
%.o77: %.f
$(FC) $(FFLAGS) -c -o $@ $<
clean:
-/bin/rm *.o *.bak *.doc *.o77
libts.doc: libts.f
makefdoc.pl $@ $<
......@@ -49,3 +84,26 @@ libts.a: $(LIBTSOBS)
$(AR) rcv $@ $^
$(RANLIB) $@
newlib $@
#======================================================================
# create package
# --------------
VERSIONCODE=$(shell date +'%Y%m%d')
PACKAGE=libts$(VERSIONCODE)
PUBLICATIONPATH=$(HOME)/public_html/download/software
TMPPATH=$(HOME)/tmp/$(PACKAGE)
allpackage: all
package:
/bin/rm -rfv $(TMPPATH); mkdir -pv $(TMPPATH)
cd $(TMPPATH)/..; cvs export -r HEAD -d $(PACKAGE) thof/src/libs/libts
cd $(TMPPATH)/..; cvs export -r HEAD -d $(PACKAGE) thof/src/LICENSE.GPL
cd $(TMPPATH)/..; cvs export -r HEAD \
-d $(PACKAGE) thof/src/README.compile
/bin/bash -c 'cd $(TMPPATH); make allpackage; make clean'
cd $(TMPPATH)/..; tar cvf $(PUBLICATIONPATH)/$(PACKAGE).tar $(PACKAGE)
gzip --force -9 $(PUBLICATIONPATH)/$(PACKAGE).tar
cd $(TMPPATH)/..; tar cvf $(PUBLICATIONPATH)/$(PACKAGE).tar $(PACKAGE)
bzip2 -f $(PUBLICATIONPATH)/$(PACKAGE).tar
$(MAKE) install
# ----- END OF Makefile -----
......@@ -4,6 +4,22 @@ c======================================================================
c
c This library containes some usefull routines for time series handling.
c
c ----
c This program is free software; you can redistribute it and/or modify
c it under the terms of the GNU General Public License as published by
c the Free Software Foundation; either version 2 of the License, or
c (at your option) any later version.
c
c This program is distributed in the hope that it will be useful,
c but WITHOUT ANY WARRANTY; without even the implied warranty of
c MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
c GNU General Public License for more details.
c
c You should have received a copy of the GNU General Public License
c along with this program; if not, write to the Free Software
c Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
c ----
c
c REVISIONS and CHANGES
c
c 12/05/1997 V1.00 Thomas Forbriger (IfG Stuttgart)
......
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