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 constants4 directory of the FMS
25 # Include .h and .mod files.
26 AM_CPPFLAGS = -I$(top_srcdir)/include
27 AM_FCFLAGS = $(FC_MODINC). $(FC_MODOUT)$(MODDIR)
29 # Build this uninstalled convenience library.
30 noinst_LTLIBRARIES = libconstants4.la
32 # The convenience library depends on its source.
33 libconstants4_la_SOURCES = \
40 fmsconstantsr4.$(FC_MODEXT): gfdl_constantsR4.fh gfs_constantsR4.fh geos_constantsR4.fh
41 constantsr4_mod.$(FC_MODEXT): fmsconstantsr4.$(FC_MODEXT)
43 # Mod files are built and then installed as headers
45 fmsconstantsr4.$(FC_MODEXT) \
46 constantsr4_mod.$(FC_MODEXT)
48 BUILT_SOURCES = $(MODFILES)
49 nodist_include_HEADERS = $(MODFILES)
51 include $(top_srcdir)/mkmods.mk