# If this file has the name "makefile.include.in" then it is a template for a
# file named makefile.include; to generate the actual makefile.include file,
# run "./configure", which is a configuration script generated by 
# the "autoconf" program.
#
# Copyright (c) 2000-2003, JYL Software Inc.
# 
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
# 
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE, EVEN IF
# JYL SOFTWARE INC. IS MADE AWARE OF THE POSSIBILITY OF SUCH DAMAGE.

SHELL		= /bin/sh

#---------- Autoconf settings, can be overriden as "make" args

DESTDIR		=

prefix		= @prefix@
exec_prefix	= @exec_prefix@
includedir	= ${DESTDIR}@includedir@
libdir		= ${DESTDIR}@libdir@
bindir		= ${DESTDIR}@exec_prefix@/bin
top_builddir	= @BUILD_DIR@

# Release related stuff:

release_file	= @RELEASE_FILE@
release_tmp_dir = @RELEASE_TMP_DIR@
release_tmp_dir_parent = @RELEASE_TMP_DIR_PARENT@

# Where will the output be:

PRODUCT_DIR	= @BUILD_DIR@/../builds/@host_alias@

# Compile flags:

LDFLAGS		= @LDFLAGS@
CPPFLAGS	= @CPPFLAGS@
SYSNAME		= $(shell uname -s)
ifeq ($(SYSNAME),Darwin)
SHLIB_LD	= @SHLIB_LD@
else
SHLIB_LD	= gcc -shared
endif
SHLIB_LD_FLAGS	= @SHLIB_LD_FLAGS@
SHLIB_CFLAGS	= @SHLIB_CFLAGS@
SHLIB_SUFFIX	= @SHLIB_SUFFIX@
CFLAGS_DFLT	= -DPIC
CFLAGS_DEBUG	= @CFLAGS_DEBUG@ ${CFLAGS_DFLT}
CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ ${CFLAGS_DFLT}
LIBS		= -lstdc++
AR		= @AR@
RANLIB		= @RANLIB@

# Programs used during make:

AUTOCONF	= autoconf
CXX		= @CXX@
CC		= @CC@
INSTALL		= @LIBTOOL@ @INSTALL@
INSTALL_DATA	= @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
LIBTOOL		= @LIBTOOL@

# Package version:

VERSION		= @VERSION@

# Where did we find depended-on packages:

TCL_INC		= @TCL_INC@
TCL_LIB		= @TCL_LIB@
TCL_STB		= @TCL_STB@
TCL_PKG		= @TCL_PKG@
PYTHON_INC	= @PYTHON_INC@
JAVA_DIR	= @JAVA_DIR@
JAVA_SYS_DIR	= @JAVA_SYS_DIR@
METAKIT_INC	= @METAKIT_INC@
METAKIT_LIB	= @METAKIT_LIB@
EXPAT_INC	= @EXPAT_INC@
EXPAT_LIB	= @EXPAT_LIB@

# Build targets:

E4GRAPH_TARGETS = @E4GRAPH_TARGETS@
E4GRAPH_INSTALL = @E4GRAPH_INSTALL@

# Build flags:

CXXFLAGS	= $(CFLAGS_OPTIMIZE) $(SHLIB_CFLAGS) -Dq4_INLINE
