# COMPILER, LIBRARY, AND MACHINE MAKE VARIABLES
SRCDIR= @abs_srcdir@
VPATH=$(SRCDIR)
# FORTRAN COMPILER VARIABLES #

FC		= @FC@
MPIFC          = @MPIFC@
FFLAGS		= @BIT64@ @REAL8@ @ENDIAN@ @FFLAGS@ @FCFLAGS@ 

FOPTS           = @OPT@
FCLIBS = @FCLIBS@
LD = @LD@
LDFLAGS = @LDFLAGS@

INCLUDES        = @INCLUDEPATH@ 

# INCLUDE FLAG FOR LOCATING MODULES (-I, -M, or -p)
MODINC         = @MODINC@


#VDC2 compression enabling
USE_COMPRESSION = @USE_COMPRESSION@

# PREPROCESSOR COMMAND

CPPDEFS	= @CPPDEFS@
# FORTRAN PREPROCESSOR FLAGS
FC_DEFINE = @FC_DEFINE@
FPPDEFS=$(patsubst -D%,$(FC_DEFINE)%,$(CPPDEFS)) $(patsubst -D%,$(FC_DEFINE)%,$(DEFS))

# C COMPILER VARIABLES #

# C COMPILER

CC		= @CC@
MPICC           = @MPICC@
CFLAGS          = @CFLAGS@

# Linking

LDLIBS = @NETCDF_LDFLAGS@ @NETCDF_LIBS@ @MPILIBS@ @LDLIBS@ 


# DIRECTORIES

PIO_PATH       = @PIO_PATH@

PREFIX         = @prefix@
INSTALL_INC    = @prefix@/include
INSTALL_LIB    = @prefix@/lib


# OTHER COMMANDS #
AR		= @AR@
ARFLAGS         = @ARFLAGS@
RM		= @RM@
AWK             = @AWK@
INSTALL = install -c

# Sizes (in C)

SIZEOF_CHAR     = @SIZEOF_CHAR@
SIZEOF_INT      = @SIZEOF_INT@
SIZEOF_FLOAT    = @SIZEOF_FLOAT@
SIZEOF_DOUBLE   = @SIZEOF_DOUBLE@
SIZEOF_VOID_P   = @SIZEOF_VOID_P@


#ifeq ($(TIMING),yes)
#  FOPTS:= $(FOPTS),-DTIMING
#  COPTS+= -DTIMING
#  INCLUDES += -I$(PIO_PATH)/../timing
#  LDLIBS += -L$(PIO_PATH)/../timing -ltiming
#endif
