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 # -w Disables all warning messages
37 # -c Prevents linking.
38 # -g Produces symbolic debug information in the object
40 # -ftz Flushes denormal results to zero when the application
41 # is in the gradual underflow mode.
42 # -align all Tells the compiler to add padding bytes whenever
43 # possible to obtain the natural alignment of data
44 # items in common blocks, derived types, and record
46 # -fno-alias Specifies that aliasing should not be assumed in
48 # -fp-model precise Enables value-safe optimizations on floating-
49 # point data and rounds intermediate results to
50 # source-defined precision.
51 # -FR Specifies source files are in free format
52 # -convert big_endian Specifies that the format will be big endian for
53 # INTEGER*1, INTEGER*2, INTEGER*4, or INTEGER*8,
54 # and big endian IEEE floating-point for REAL*4,
55 # REAL*8, REAL*16, COMPLEX*8, COMPLEX*16, or COM-
57 # -u Sets the default type of a variable to undefined
59 # -traceback Tells the compiler to generate extra information in
60 # the object file to allow the display of source file
61 # traceback information at run time when a severe
63 # -fpe0 Floating-point invalid, divide-by-zero, and
64 # overflow exceptions are enabled
65 # -nomixed_str_len_arg The hidden length passed for a character argument
66 # is to be placed in sequential order at the end of
67 # the argument list. [default]
68 # -names lowercase Causes the compiler to ignore case differences in
69 # identifiers and to convert external names to
70 # lowercase. [default]
71 # -convert big_endian Specifies that the format will be big endian for
72 # INTEGER*1, INTEGER*2, INTEGER*4, or INTEGER*8,
73 # and big endian IEEE floating-point for REAL*4,
74 # REAL*8, REAL*16, COMPLEX*8, COMPLEX*16, or COM-
76 # -assume byterecl Specifies that the units for the OPEN statement
77 # RECL specifier (record length) value are in bytes
78 # for unformatted data files, not longwords (four-
80 DEBUGFLAGS = -DHYDRO_D -g -traceback -debug all -check all
81 MODFLAG = -I./ -I../../MPP -I../MPP -I../mod
84 CPPFLAGS = -P -traditional -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