-
Notifications
You must be signed in to change notification settings - Fork 140
/
Copy pathMakefile.am
66 lines (55 loc) · 2.21 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#***********************************************************************
#* GNU Lesser General Public License
#*
#* This file is part of the GFDL Flexible Modeling System (FMS).
#*
#* FMS is free software: you can redistribute it and/or modify it under
#* the terms of the GNU Lesser General Public License as published by
#* the Free Software Foundation, either version 3 of the License, or (at
#* your option) any later version.
#*
#* FMS is distributed in the hope that it will be useful, but WITHOUT
#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
#* for more details.
#*
#* You should have received a copy of the GNU Lesser General Public
#* License along with FMS. If not, see <http://www.gnu.org/licenses/>.
#***********************************************************************
# This is an automake file for the drifters directory of the FMS
# package.
# Ed Hartnett 2/22/19
# Turn off parallel builds in this directory.
.NOTPARALLEL:
# Include .h and .mod files.
AM_CPPFLAGS = -I$(top_srcdir)/include
AM_FCFLAGS = $(FC_MODINC). $(FC_MODOUT)$(MODDIR)
# Build these uninstalled convenience libraries.
noinst_LTLIBRARIES = libdrifters.la
# Each convenience library depends on its source.
libdrifters_la_SOURCES = drifters.F90 \
drifters_core.F90 \
drifters_comm.F90 \
drifters_input.F90 \
drifters_io.F90 \
cloud_interpolator.F90 \
quicksort.F90 \
drifters_compute_k.fh \
drifters_push.fh \
drifters_set_field.fh \
fms_switches.h
drifters_mod.$(FC_MODEXT): drifters_core_mod.$(FC_MODEXT) drifters_input_mod.$(FC_MODEXT) drifters_io_mod.$(FC_MODEXT) \
drifters_comm_mod.$(FC_MODEXT) cloud_interpolator_mod.$(FC_MODEXT)
drifters_comm_mod.$(FC_MODEXT): drifters_core_mod.$(FC_MODEXT)
# Mod files are built and then installed as headers.
MODFILES = \
drifters_core_mod.$(FC_MODEXT) \
drifters_input_mod.$(FC_MODEXT) \
drifters_comm_mod.$(FC_MODEXT) \
drifters_io_mod.$(FC_MODEXT) \
cloud_interpolator_mod.$(FC_MODEXT) \
drifters_mod.$(FC_MODEXT)
nodist_include_HEADERS = $(MODFILES) $(DRIFTERS_HDRS)
BUILT_SOURCES = $(MODFILES)
EXTRA_DIST = README.md
include $(top_srcdir)/mkmods.mk