1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
# Copyright (C) 2008-2010 D. V. Wiebe
#
##########################################################################
#
# This file is part of the GetData project.
#
# GetData is free software; you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the
# Free Software Foundation; either version 2.1 of the License, or (at your
# option) any later version.
#
# GetData 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 Lesser General Public
# License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with GetData; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
AUTOMAKE_OPTIONS = foreign
if FC_WALL
FC_WALL=-Wall
endif
if F77_WALL
F77_WALL=-Wall
endif
if INTEL_F77_COMPILER
F77_ASSUME=-assume byterecl
endif
if INTEL_FC_COMPILER
FC_ASSUME=-assume byterecl
endif
if MAKE_F95BINDINGS
F95TESTS=big_test95
endif
FFLAGS += -I.. $(F77_WALL) $(F77_WEXTRA) $(F77_ASSUME)
FCFLAGS += -I.. $(F77_WALL) $(FC_WEXTRA) $(FC_ASSUME)
F95LDADD=../libf95getdata.la $(F77LDADD)
F77LDADD=../libfgetdata.la
AM_LDFLAGS = -L..
TESTS=gdcopn big_test $(F95TESTS)
gdcopn_SOURCES=gdcopn.f
gdcopn_LDADD=$(F77LDADD)
big_test_SOURCES=big_test.f
big_test_LDADD=$(F77LDADD)
big_test95_SOURCES=big_test95.f90
nodist_big_test95_SOURCES=../getdata.mod
big_test95_LDADD=$(F95LDADD)
check_PROGRAMS=$(TESTS)
clean-local:
rm -rf test_dirfile
rm -rf *~
|