chore: change variables named `value` to other variable names (#1377)
[FMS.git] / horiz_interp / Makefile.am
blob55f8f1cbbd276895d625e1bb0fd8b39e64f84cd6
1 #***********************************************************************
2 #*                   GNU Lesser General Public License
3 #*
4 #* This file is part of the GFDL Flexible Modeling System (FMS).
5 #*
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
14 #* for more details.
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 horiz_interp directory of the FMS
21 # package.
23 # Ed Hartnett 2/22/19
25 # Include .h and .mod files.
26 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/horiz_interp/include
27 AM_FCFLAGS = $(FC_MODINC). $(FC_MODOUT)$(MODDIR)
29 # Build these uninstalled convenience libraries.
30 noinst_LTLIBRARIES = libhoriz_interp.la
32 # Each convenience library depends on its source.
33 libhoriz_interp_la_SOURCES = \
34   horiz_interp_bicubic.F90 \
35   horiz_interp_bilinear.F90 \
36   horiz_interp_conserve.F90 \
37   horiz_interp.F90 \
38   horiz_interp_spherical.F90 \
39   horiz_interp_type.F90 \
40   include/horiz_interp_bicubic.inc \
41   include/horiz_interp_bilinear.inc \
42   include/horiz_interp_conserve.inc \
43   include/horiz_interp.inc \
44   include/horiz_interp_spherical.inc \
45   include/horiz_interp_type.inc \
46   include/horiz_interp_bicubic_r4.fh \
47   include/horiz_interp_bilinear_r4.fh \
48   include/horiz_interp_conserve_r4.fh \
49   include/horiz_interp_r4.fh \
50   include/horiz_interp_spherical_r4.fh \
51   include/horiz_interp_type_r4.fh \
52   include/horiz_interp_bicubic_r8.fh \
53   include/horiz_interp_bilinear_r8.fh \
54   include/horiz_interp_conserve_r8.fh \
55   include/horiz_interp_r8.fh \
56   include/horiz_interp_spherical_r8.fh \
57   include/horiz_interp_type_r8.fh
59 # Some mods are dependant on other mods in this dir.
60 horiz_interp_bicubic_mod.$(FC_MODEXT): horiz_interp_type_mod.$(FC_MODEXT)
61 horiz_interp_bilinear_mod.$(FC_MODEXT): horiz_interp_type_mod.$(FC_MODEXT)
62 horiz_interp_conserve_mod.$(FC_MODEXT): horiz_interp_type_mod.$(FC_MODEXT)
63 horiz_interp_spherical_mod.$(FC_MODEXT): horiz_interp_type_mod.$(FC_MODEXT)
64 horiz_interp_mod.$(FC_MODEXT): horiz_interp_bicubic_mod.$(FC_MODEXT) horiz_interp_type_mod.$(FC_MODEXT) \
65                       horiz_interp_bilinear_mod.$(FC_MODEXT) horiz_interp_conserve_mod.$(FC_MODEXT) \
66                       horiz_interp_spherical_mod.$(FC_MODEXT)
68 # Mod files are built and then installed as headers.
69 MODFILES = \
70   horiz_interp_type_mod.$(FC_MODEXT) \
71   horiz_interp_bicubic_mod.$(FC_MODEXT) \
72   horiz_interp_bilinear_mod.$(FC_MODEXT) \
73   horiz_interp_conserve_mod.$(FC_MODEXT) \
74   horiz_interp_spherical_mod.$(FC_MODEXT) \
75   horiz_interp_mod.$(FC_MODEXT)
76 nodist_include_HEADERS = $(MODFILES)
77 BUILT_SOURCES = $(MODFILES)
79 include $(top_srcdir)/mkmods.mk