3 ifeq ($(HYDRO_REALTIME),1)
4 HYDRO_REALTIME = -DHYDRO_REALTIME
10 WRF_HYDRO = -DWRF_HYDRO $(HYDRO_REALTIME)
15 ifeq ($(WRF_HYDRO_RAPID),1)
16 WRF_HYDRO = -DWRF_HYDRO -DWRF_HYDRO_RAPID $(HYDRO_REALTIME)
20 HYDRO_D = -DHYDRO_D $(WRF_HYDRO)
22 HYDRO_D = $(WRF_HYDRO)
26 ifneq ($(origin ESMFMKFILE), environment)
27 $(error Environment variable ESMFMKFILE was not set.)
32 COMPILER90 = $(ESMF_F90COMPILER)
34 BYTESWAPIO = -convert big_endian
35 F90FLAGS = -w -c -ftz -align all -fno-alias -fp-model precise $(FORMAT_FREE) $(BYTESWAPIO)
36 F90FLAGS += -g -traceback
37 # -w Disables all warning messages
38 # -c Prevents linking.
39 # -g Produces symbolic debug information in the object
41 # -ftz Flushes denormal results to zero when the application
42 # is in the gradual underflow mode.
43 # -align all Tells the compiler to add padding bytes whenever
44 # possible to obtain the natural alignment of data
45 # items in common blocks, derived types, and record
47 # -fno-alias Specifies that aliasing should not be assumed in
49 # -fp-model precise Enables value-safe optimizations on floating-
50 # point data and rounds intermediate results to
51 # source-defined precision.
52 # -FR Specifies source files are in free format
53 # -convert big_endian Specifies that the format will be big endian for
54 # INTEGER*1, INTEGER*2, INTEGER*4, or INTEGER*8,
55 # and big endian IEEE floating-point for REAL*4,
56 # REAL*8, REAL*16, COMPLEX*8, COMPLEX*16, or COM-
58 # -u Sets the default type of a variable to undefined
60 # -traceback Tells the compiler to generate extra information in
61 # the object file to allow the display of source file
62 # traceback information at run time when a severe
64 # -fpe0 Floating-point invalid, divide-by-zero, and
65 # overflow exceptions are enabled
66 # -nomixed_str_len_arg The hidden length passed for a character argument
67 # is to be placed in sequential order at the end of
68 # the argument list. [default]
69 # -names lowercase Causes the compiler to ignore case differences in
70 # identifiers and to convert external names to
71 # lowercase. [default]
72 # -convert big_endian Specifies that the format will be big endian for
73 # INTEGER*1, INTEGER*2, INTEGER*4, or INTEGER*8,
74 # and big endian IEEE floating-point for REAL*4,
75 # REAL*8, REAL*16, COMPLEX*8, COMPLEX*16, or COM-
77 # -assume byterecl Specifies that the units for the OPEN statement
78 # RECL specifier (record length) value are in bytes
79 # for unformatted data files, not longwords (four-
81 MODFLAG = -I./ -I../../MPP -I../MPP -I../mod
84 CPPFLAGS = -DMPP_LAND -I../Data_Rec $(HYDRO_D)
85 # -C: Do not discard comments.
86 # -P: Inhibit generation of linemarkers in the output
87 # from the preprocessor.
88 # -traditional: Try to imitate the behavior of old-fashioned C
89 # preprocessors, as opposed to ISO C preprocessors.
91 NETCDFINC = $(NETCDF)/include
92 NETCDFLIB = -L$(NETCDF)/lib -lnetcdff -lnetcdf