
## Makeconf is automatically generated from Makeconf.base and Makeconf.add
## in the various subdirectories.  To regenerate, use ./autogen.sh to
## create a new ./Makeconf.in, then use ./configure to generate a new
## Makeconf.

OCTAVE_FORGE = 1

SHELL = /bin/sh

canonical_host_type = i386-portbld-freebsd6.4
prefix = /usr/local
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
mandir = /usr/local/man
libdir = ${exec_prefix}/lib
datadir = ${datarootdir}
infodir = /usr/local/info/
includedir = ${prefix}/include
datarootdir = ${prefix}/share
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_DATA = @INSTALL_DATA@
INSTALLOCT=octinst.sh

DESTDIR =

RANLIB = ranlib
STRIP = strip
LN_S = ln -s

AWK = @AWK@

# Most octave programs will be compiled with $(MKOCTFILE).  Those which
# cannot use mkoctfile directly can request the flags that mkoctfile 
# would use as follows:
#    FLAG = $(shell $(MKOCTFILE) -p FLAG)
# The following flags are for compiling programs that are independent
# of Octave.  How confusing.
CC = cc
CFLAGS = -O2 -fno-strict-aliasing -pipe
CPPFLAGS = -I/usr/local/include -I/usr/local/include/metis
CPICFLAG = -fPIC
CXX = c++
CXXFLAGS = -O2 -fno-strict-aliasing -pipe
CXXPICFLAG = -fPIC
F77 = gfortran42
FFLAGS = -O -mieee-fp
FPICFLAG = -fPIC

OCTAVE = octave
OCTAVE_VERSION = 3.0.2
MKOCTFILE = mkoctfile -DHAVE_OCTAVE_$(ver) -v
SHLEXT = so

MKOCTFILE_FORTRAN_90=yes
OPTIMINTERP_LIBS=-L/usr/local/lib -pthread
OPTIMINTERP_CFLAGS=-I/usr/local/include -I/usr/local/include/metis

%.o: %.c ; $(MKOCTFILE) -c $<
%.o: %.f ; $(MKOCTFILE) -c $<
%.o: %.cc ; $(MKOCTFILE) -c $<
%.oct: %.cc ; $(MKOCTFILE) $<
