1 #***********************************************************************
2 #* GNU Lesser General Public License
4 #* This file is part of the GFDL Flexible Modeling System (FMS).
6 #* FMS is free software: you can redistribute it and/or modify it under
7 #* the terms of the GNU Lesser General Public License as published by
8 #* the Free Software Foundation, either version 3 of the License, or (at
9 #* your option) any later version.
11 #* FMS is distributed in the hope that it will be useful, but WITHOUT
12 #* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 #* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 #* You should have received a copy of the GNU Lesser General Public
17 #* License along with FMS. If not, see <http://www.gnu.org/licenses/>.
18 #***********************************************************************
20 # This is an automake file for the time_interp directory of the FMS
25 # Include .h and .mod files.
26 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/time_interp/include
27 AM_FCFLAGS = $(FC_MODINC). $(FC_MODOUT)$(MODDIR)
29 # Build these uninstalled convenience libraries.
30 noinst_LTLIBRARIES = libtime_interp.la
32 # Each convenience library depends on its source.
33 libtime_interp_la_SOURCES = \
35 time_interp_external.F90 \
36 time_interp_external2.F90 \
37 include/time_interp_r4.fh \
38 include/time_interp_r8.fh \
39 include/time_interp.inc \
40 include/time_interp_external2_bridge_r4.fh \
41 include/time_interp_external2_bridge_r8.fh \
42 include/time_interp_external2_bridge.inc \
43 include/time_interp_external2_r4.fh \
44 include/time_interp_external2_r8.fh \
45 include/time_interp_external2.inc
47 # Some mods are dependant on other mods in this dir.
48 time_interp_external_mod.$(FC_MODEXT): time_interp_mod.$(FC_MODEXT)
49 time_interp_external2_mod.$(FC_MODEXT): time_interp_mod.$(FC_MODEXT)
51 # Mod files are built and then installed as headers.
53 time_interp_mod.$(FC_MODEXT) \
54 time_interp_external_mod.$(FC_MODEXT) \
55 time_interp_external2_mod.$(FC_MODEXT)
56 nodist_include_HEADERS = $(MODFILES)
57 BUILT_SOURCES = $(MODFILES)
59 include $(top_srcdir)/mkmods.mk