3 # This file was automatically generated by the configure script in the
4 # top level directory. You may make changes to the settings in this
5 # file but be aware they will be overwritten each time you run configure.
6 # Ordinarily, it is necessary to run configure once, when the code is
9 # To permanently change options, change the settings for your platform
10 # in the file arch/configure.defaults, the preamble, and the postamble -
11 # then rerun configure.
14 .SUFFIXES: .F .f .c .o
18 NCARG_LIBS = -L$(NCARG_ROOT)/lib -lncarg -lncarg_gks -lncarg_c \
19 -lX11 -lXext -lpng -lz -lcairo -lfontconfig -lpixman-1 \
20 -lfreetype -lexpat -lpthread -lbz2 -lXrender -lgfortran -lgcc
22 NCARG_LIBS2 = # May be overridden by architecture specific value below
24 FDEFS = -DUSE_JPEG2000 -DUSE_PNG
26 # Listing of options that are usually independent of machine type.
27 # When necessary, these are over-ridden by each architecture.
36 # Look for compiled WRF code in one of several directories: WRF-4.0.2, WRF-4.0.1, WRF-4.0, WRF, and WRFV3.
37 # The need for complicated logic to do this arises from the various names that the WRF code may take
38 # on, depending on whether it was obtained through a GitHub archive file, as a clone of the GitHub
39 # repository, or an older WRF v3.x tar file.
40 # To override the path to the compiled WRF code, just set the WRF_DIR variable after the "endif" below
42 ifneq ($(wildcard $(DEV_TOP)/../WRF-4.0.2), ) # Check for WRF v4.0.2 directory (probably GitHub archive)
43 WRF_DIR = ../WRF-4.0.2
45 ifneq ($(wildcard $(DEV_TOP)/../WRF-4.0.1), ) # Check for WRF v4.0.1 directory (probably GitHub archive)
46 WRF_DIR = ../WRF-4.0.1
48 ifneq ($(wildcard $(DEV_TOP)/../WRF-4.0), ) # Check for WRF v4.0 directory (probably GitHub archive)
51 ifneq ($(wildcard $(DEV_TOP)/../WRF), ) # Check for clone of the WRF repository
53 else # Check for old WRF v3.x directory
61 WRF_INCLUDE = -I$(WRF_DIR)/external/io_netcdf \
62 -I$(WRF_DIR)/external/io_grib_share \
63 -I$(WRF_DIR)/external/io_grib1 \
64 -I$(WRF_DIR)/external/io_int \
68 WRF_LIB = -L$(WRF_DIR)/external/io_grib1 -lio_grib1 \
69 -L$(WRF_DIR)/external/io_grib_share -lio_grib_share \
70 -L$(WRF_DIR)/external/io_int -lwrfio_int \
71 -L$(WRF_DIR)/external/io_netcdf -lwrfio_nf \
72 -L$(NETCDF)/lib CONFIGURE_NETCDFF_LIB -lnetcdf
74 #### Architecture specific settings ####
76 COMPRESSION_LIBS = # intentionally left blank, fill in COMPRESSION_LIBS below
78 COMPRESSION_INC = # intentionally left blank, fill in COMPRESSION_INC below