source: Makefile.am

Last change on this file was 2db0d31, checked in by www-data <www-data@…>, 4 weeks ago

ticket:000 - update version to 9.5

  • Property mode set to 100644
File size: 2.6 KB
Line 
1#
2# MAKEFILE FOR: 
3#
4# This file is part of rasdaman community.
5#
6# Rasdaman community is free software: you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation, either version 3 of the License, or
9# (at your option) any later version.
10#
11# Rasdaman community is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with rasdaman community.  If not, see <http://www.gnu.org/licenses/>.
18#
19# Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
20# rasdaman GmbH.
21#
22# For more information please see <http://www.rasdaman.org>
23# or contact Peter Baumann via <baumann@rasdaman.com>.
24# Top Level makefile. This points to the various modules that have to be build
25# and/or deployed
26#
27#
28# COMMENTS:
29#
30##################################################################
31AUTOMAKE_OPTIONS = foreign
32RASMGR_PORT=@RASMGR_PORT@
33RMANBASE=@abs_top_srcdir@
34
35CHECKLIMITS=@CHECKLIMITS@
36
37ACLOCAL_AMFLAGS = -I m4
38
39if ENABLE_JAVA
40    JAVA_DIR = java
41endif
42
43nobase_include_HEADERS=raslib/*.h raslib/*.hh raslib/*.icc raslib/*.cc \
44                rasodmg/*.hh rasodmg/*.cc rasodmg/*.icc conversion/*.hh \
45                clientcomm/*.h clientcomm/*.hh commline/*.hh commline/*.cc debug/*.hh config.h
46
47SUBDIRS = third_party relblobif relindexif relmddif relcatalogif reladminif relstorageif \
48          commline indexmgr catalogmgr tilemgr storagemgr network \
49          common rasnet rasmgr_x rascontrol_x clientcomm rasserver_x rasnetprotocol \
50          raslib servercomm rasodmg qlparser conversion \
51          mddmgr httpserver mymalloc server rasmgr rascontrol rasdl lockmgr \
52          bin manuals_and_examples include \
53          systemtest $(JAVA_DIR) applications
54
55dist_log_DATA=empty
56           
57# excluded for the moment, contains nothing that is delivered:
58# exportutils
59
60
61#
62# generate version header from git repo information
63#
64BUILT_SOURCES = version
65version:
66        version=`((which git > /dev/null 2>&1 && git describe --tags HEAD | sed 's/-[0-9]*-/-/1') || echo v9.5.0)`; \
67        echo '#define RMANVERSION "'$$version'"' > version.h.tmp
68        echo '#define GCCVERSION "'`$(CC) --version | head -n 1`'"' >> version.h.tmp
69        echo '#define GCCTARGET "'`$(CC) -v 2>&1 | grep Target: | sed 's/Target: //'`'"' >> version.h.tmp
70        test -f version.h && cmp version.h.tmp version.h || mv version.h.tmp version.h
71        rm -f version.h.tmp 2>/dev/null   
Note: See TracBrowser for help on using the repository browser.