-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.am
66 lines (55 loc) · 2.47 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
#***********************************************************************
#* 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 the main automake file for FMS.
# Ed Hartnett 2/21/2019
# This directory stores libtool macros, put there by aclocal.
ACLOCAL_AMFLAGS = -I m4
# Directory to place all .mod files. Convienient place to look for these
# files.
#include $(top_srcdir)/mkmods.mk
# Does the user want to build documentation?
if BUILD_DOCS
DOCS = docs
endif
# Make targets will be run in each subdirectory. Order is significant.
SUBDIRS = cfms \
libcFMS \
test_cfms
## Build libFMS module
AM_CPPFLAGS = -I${top_srcdir}/include
AM_FCFLAGS = $(FC_MODINC). $(FC_MODOUT)$(MODDIR)
include $(top_srcdir)/mkmods.mk
#clean-local:
# -rm -f FMSConfig.cmake FMSConfigVersion.cmake
EXTRA_DIST = README.md #_package_init_cmake
install-data-hook:
@echo ''
@echo '+-------------------------------------------------------------+'
@echo '| Congratulations! You have successfully installed the FMS |'
@echo '| Fortran library. |'
@echo '| |'
@echo '| After the installed include and link paths have been |'
@echo '| specified, code using FMS should be compiled using the |'
@echo '| "-lFMS" flag. |'
@echo '| |'
@echo '| FMS is developed and maintained at the GFDL publicly on |'
@echo '| Github. To report an issue or view available documentation, |'
@echo '| please see our page: https://www.github.com/NOAA-GFDL/FMS |'
@echo '+-------------------------------------------------------------+'
@echo ''