# Used by configure to create makefile.inc 
# 
#
INSTALLROOT=@prefix@
DATAROOT=@dataroot@
CC=icc

DEFS=-Daltix -DDEC -DBIT32 -DFORTRANUNDERSCORE -DDYNAMIC
CFLAGS= -w -O2  $(DEFS)
DBCFLAGS=-g $(DEFS)


FC       = ifort
#
# NCAR graphics is used by lapsplot only.
#
NCARGFC  = ifort

FFLAGS =  -ftz -tpp2 -w -convert big_endian -O3 $(INC) 
DBFLAGS = -convert big_endian -g $(INC)
FIXED=-fixed
FREE=-free
LDFLAGS=
# Define pre-processor command line options for .F files.

CPP = /lib/cpp -C -P -traditional
CPPFLAGS = $(DEFS) $(INC)

MACHTYPE = altix

# Define include paths.
NETCDF=@NETCDF@
INC = -I$(SRCROOT)/src/include -I$(NETCDF)/include -I$(SRCROOT)/src/mod -I$(SRCROOT)/src/io_netcdf

AR  = ar
RANLIB   = ranlib
INSTALL=$(SRCROOT)/util/install-sh
PERL = @PERL@
LIBPATHFLAG=-L

# LIBGCC=/usr/bin/gcc

LAPSLIB=$(LIBPATHFLAG)$(SRCROOT)/src/lib -llaps
DBLAPSLIB=$(LIBPATHFLAG)$(SRCROOT)/src/lib -ldebuglaps

BGDATALIB=$(LIBPATHFLAG)$(SRCROOT)/src/lib/bgdata -lbgdata
DBBGDATALIB=$(LIBPATHFLAG)$(SRCROOT)/src/lib/bgdata -ldebugbgdata

MTHERMOLIB=$(LIBPATHFLAG)$(SRCROOT)/src/lib/mthermo -lmthermo
DBMTHERMOLIB=$(LIBPATHFLAG)$(SRCROOT)/src/lib/mthermo -ldebugmthermo

UTILLIB=$(LIBPATHFLAG)$(SRCROOT)/src/lib/util -lutil
DBUTILLIB=$(LIBPATHFLAG)$(SRCROOT)/src/lib/util -ldebugutil

MODULELIB=$(LIBPATHFLAG)$(SRCROOT)/src/mod -lwrfmodules
MODULELIBDEBUG=$(LIBPATHFLAG)$(SRCROOT)/src/mod -lwrfmodulesdebug
IOAPI=$(LIBPATHFLAG)$(SRCROOT)/src/io_netcdf -lwrfio_nf
# OTHERLIBS=$(LIBPATHFLAG)$(NETCDF)/lib -lnetcdf $(LIBPATHFLAG)$(LIBGCC) -lgcc
OTHERLIBS=$(LIBPATHFLAG)$(NETCDF)/lib -lnetcdf 
W3LIB=$(LIBPATHFLAG)$(SRCROOT)/src/lib/w3lib -lw3
W3LIBDEBUG=$(LIBPATHFLAG)$(SRCROOT)/src/lib/w3lib -lw3debug
