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 monin_obukhov directory of the FMS
25 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/monin_obukhov/include
26 AM_FCFLAGS = $(FC_MODINC). $(FC_MODOUT)$(MODDIR)
28 noinst_LTLIBRARIES = libmonin_obukhov.la
30 libmonin_obukhov_la_SOURCES = \
32 monin_obukhov_inter.F90 \
33 include/monin_obukhov_r4.fh \
34 include/monin_obukhov_r8.fh \
35 include/monin_obukhov.inc \
36 include/monin_obukhov_inter_r4.fh \
37 include/monin_obukhov_inter_r8.fh \
38 include/monin_obukhov_inter.inc
40 monin_obukhov_inter.$(FC_MODEXT): \
41 include/monin_obukhov_inter_r4.fh \
42 include/monin_obukhov_inter_r8.fh \
43 include/monin_obukhov_inter.inc
45 monin_obukhov_mod.$(FC_MODEXT): \
46 monin_obukhov_inter.$(FC_MODEXT) \
47 include/monin_obukhov_r4.fh \
48 include/monin_obukhov_r8.fh \
49 include/monin_obukhov.inc
51 # Mod files are built and then installed as headers.
53 monin_obukhov_mod.$(FC_MODEXT) \
54 monin_obukhov_inter.$(FC_MODEXT)
55 nodist_include_HEADERS = $(MODFILES)
56 BUILT_SOURCES = $(MODFILES)
58 EXTRA_DIST = monin_obukhov.tech.ps
60 include $(top_srcdir)/mkmods.mk