chore: remove outdated am4 ci workflow (#1639)
[FMS.git] / topography / Makefile.am
blob14a2249b8cb1648467c00bbd44ccf2413f7ccf88
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 topography 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)/topography/include
28 AM_FCFLAGS = $(FC_MODINC). $(FC_MODOUT)$(MODDIR)
30 # Build these uninstalled convenience libraries.
31 noinst_LTLIBRARIES = libtopography.la
33 # Each convenience library depends on its source.
34 libtopography_la_SOURCES = \
35     topography.F90 \
36     include/topography_r4.fh \
37     include/topography_r8.fh \
38     include/topography.inc \
39     gaussian_topog.F90 \
40     include/gaussian_topog_r4.fh \
41     include/gaussian_topog_r8.fh \
42     include/gaussian_topog.inc
44 gaussian_topog_mod.$(FC_MODEXT): \
45     include/gaussian_topog_r4.fh \
46     include/gaussian_topog_r8.fh \
47     include/gaussian_topog.inc
49 topography_mod.$(FC_MODEXT): \
50     gaussian_topog_mod.$(FC_MODEXT) \
51     include/topography_r4.fh \
52     include/topography_r8.fh \
53     include/topography.inc
55 # Mod files are built and then installed as headers.
56 MODFILES = \
57   gaussian_topog_mod.$(FC_MODEXT) \
58   topography_mod.$(FC_MODEXT)
59 nodist_include_HEADERS = $(MODFILES)
60 BUILT_SOURCES = $(MODFILES)
62 include $(top_srcdir)/mkmods.mk