# Generated automatically from Makeconf.in by configure.
#
# ${R_HOME}/etc/Makeconf

BLAS_LIBS = -latlas
CC = cc
CFLAGS = -no-cpp-precomp
CPICFLAGS = -fPIC
CPPFLAGS = -I/usr/local/include
CXX = c++
CXXCPP = c++ -E
CXXFLAGS =  -no-cpp-precomp
CXXPICFLAGS = -fPIC
ECHO_C = 
ECHO_N = -n
ECHO_T = 
FC = g77
FFLAGS = -g
FLIBS =  /usr/local/lib/libf2c.a
FPICFLAGS = -dynamic
F2C = 
F2CFLAGS = 
LIBM = -lm
LIBR = 
LIBS =  -L/usr/local/lib  -lz -lreadline -ldl -lncurses -lm
LIBPATHS =  -L/usr/local/lib
LIBTOOL = $(SHELL) $(R_HOME)/bin/libtool
SHELL = /bin/sh
SHLIB_CFLAGS = 
SHLIB_CXXFLAGS = 
SHLIB_CXXLD = c++
SHLIB_CXXLDFLAGS = -shared
SHLIB_EXT = .so
SHLIB_FFLAGS = 
SHLIB_LD = cc
SHLIB_LDFLAGS = -shared
SHLIB_LIBADD = 
SHLIB_LINK = $(SHLIB_LD) $(SHLIB_LDFLAGS) $(LDFLAGS)
#SHLIB_LINK = $(LIBTOOL) --mode=link $(SHLIB_LD) -avoid-version -module $(SHLIB_LDFLAGS) $(LDFLAGS)

R_XTRA_CFLAGS = 
R_XTRA_CPPFLAGS = -I$(R_HOME)/include
R_XTRA_CXXFLAGS = 
R_XTRA_FFLAGS = 

ALL_CFLAGS = $(R_XTRA_CFLAGS) $(PKG_CFLAGS) $(CPICFLAGS) $(SHLIB_CFLAGS) $(CFLAGS)
ALL_CPPFLAGS = $(R_XTRA_CPPFLAGS) $(PKG_CPPFLAGS) $(CPPFLAGS)
ALL_CXXFLAGS = $(R_XTRA_CXXFLAGS) $(PKG_CXXFLAGS) $(CXXPICFLAGS) $(SHLIB_CXXFLAGS) $(CXXFLAGS)
ALL_FFLAGS = $(R_XTRA_FFLAGS) $(PKG_FFLAGS) $(FPICFLAGS) $(SHLIB_FFLAGS) $(FFLAGS)
ALL_LIBS = $(PKG_LIBS) $(LIBPATHS) $(SHLIB_LIBADD) $(LIBR)

ALL_CFLAGS_LO = $(ALL_CFLAGS)
ALL_CXXFLAGS_LO = $(ALL_CXXLAGS)
ALL_FFLAGS_LO = $(ALL_FFLAGS)

.SUFFIXES:
.SUFFIXES: .c .cc .cpp .C .d .f .lo .o


.c.d:
	@echo "making $@ from $<"
	@$(CC) -M $(ALL_CPPFLAGS) $< | \
	  sed -e 's/^\([^:]*\)\.o\([ 	]\)*:/\1.o \1.lo\2:/' > $@
.cc.d:
	@echo "making $@ from $<"
	@$(CXX) -M $(ALL_CPPFLAGS) $< | \
	  sed -e 's/^\([^:]*\)\.o\([ 	]\)*:/\1.o \1.lo\2:/' > $@
.cpp.d:
	@echo "making $@ from $<"
	@$(CXX) -M $(ALL_CPPFLAGS) $< | \
	  sed -e 's/^\([^:]*\)\.o\([ 	]\)*:/\1.o \1.lo\2:/' > $@
.C.d:
	@echo "making $@ from $<"
	@$(CXX) -M $(ALL_CPPFLAGS) $< | \
	  sed -e 's/^\([^:]*\)\.o\([ 	]\)*:/\1.o \1.lo\2:/' > $@
.c.o:
	$(CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) -c $< -o $@

.c.lo:
	$(CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS_LO) -c $< -o $@
.cc.o:
	$(CXX) $(ALL_CPPFLAGS) $(ALL_CXXFLAGS) -c $< -o $@
.cpp.o:
	$(CXX) $(ALL_CPPFLAGS) $(ALL_CXXFLAGS) -c $< -o $@
.C.o:
	$(CXX) $(ALL_CPPFLAGS) $(ALL_CXXFLAGS) -c $< -o $@

.cc.lo:
	$(CXX) $(ALL_CPPFLAGS) $(ALL_CXXFLAGS_LO) -c $< -o $@
.cpp.lo:
	$(CXX) $(ALL_CPPFLAGS) $(ALL_CXXFLAGS_LO) -c $< -o $@
.C.lo:
	$(CXX) $(ALL_CPPFLAGS) $(ALL_CXXFLAGS_LO) -c $< -o $@

.f.c:
.f.o:
	$(FC) $(ALL_FFLAGS) -c $< -o $@
.f.lo:
	$(FC) $(ALL_FFLAGS_LO) -c $< -o $@
