-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathconfig.mk.in
95 lines (84 loc) · 3.21 KB
/
config.mk.in
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#-----------------------------------------------------------------------
# @configure_input@
#
# Copyright (c) 2011-2025 Remko Scharroo
# See LICENSE.TXT file for copying and redistribution conditions.
#
# This program 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.
#
# This program 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 Lesser General Public License for more details.
#-----------------------------------------------------------------------
#-----------------------------------------------------------------------
# Package information
#-----------------------------------------------------------------------
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
#-----------------------------------------------------------------------
# Object locations: Library, Manuals, Binaries
#-----------------------------------------------------------------------
prefix = @prefix@
exec_prefix = @exec_prefix@
datarootdir = @datarootdir@
datadir = @datadir@
bindir = @bindir@
docdir = @docdir@
includedir = @includedir@
libdir = @libdir@
RADS_LIB = -L$(libdir) -lrads
RADS_INC = -I$(includedir)
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_DIR = @INSTALL_DIR@
#-----------------------------------------------------------------------
# Are we little endian?
#-----------------------------------------------------------------------
LITTLE_ENDIAN = @LITTLE_ENDIAN@
#-----------------------------------------------------------------------
# Environments for developers only
#-----------------------------------------------------------------------
ALTIM = @ALTIM@
DEVEL_DIRS = @DEVEL_DIRS@
DEVEL_OBJS = @DEVEL_OBJS@
LAPACK_LIB = @LAPACK_LIB@
#-----------------------------------------------------------------------
# Include and load option for NetCDF
#-----------------------------------------------------------------------
NETCDF_INC = @NETCDF_INC@
NETCDF_LIB = @NETCDF_LIB@
#-----------------------------------------------------------------------
# Fortran compiler settings
#-----------------------------------------------------------------------
FC = @FC@
FFLAGS = @FCFLAGS@ $(INCLUDES)
MOD_FLAG = @MOD_FLAG@
DEVEL_FLAGS = @DEVEL_FLAGS@
#-----------------------------------------------------------------------
# Additional tools
#-----------------------------------------------------------------------
LN_S = @LN_S@ -f
RANLIB = @RANLIB@
#-----------------------------------------------------------------------
# Special rules
#-----------------------------------------------------------------------
# .f90 rules
%.o: %.f90
$(COMPILE.f) $(OUTPUT_OPTION) $<
%: %.f90
$(LINK.f) $^ $(LOADLIBES) $(LDLIBS) -o $@
# Cancel default .mod rules
%: %.mod
%.o: %.mod
# Create new .mod rule
# Do not add %.f90 dependency because %.mod retains timestamp when not altered
%.mod:
$(COMPILE.f) -o $*.o $*.f90
# In case of Git only
GIT_INDEX = @GIT_INDEX@