# Emacs should use -*- Makefile -*- mode.

# this is usually overridden
TARGET_TO_MAKE = $(shell basename `pwd`)

ifndef SRCDIR
  SRCDIR = .
endif
SRCTOPDIR = $(SRCDIR)/$(TOPDIR)

host = @host@
host_cpu = @host_cpu@
host_vendor = @host_vendor@
host_os = @host_os@

target = @target@
target_cpu = @target_cpu@
target_vendor = @target_vendor@
target_os = @target_os@

LIBINT_VERSION = @LIBINT_VERSION@
LIBINT_SO_VERSION = @LIBINT_SO_VERSION@
BUILDID = @LIBINT_BUILDID@
LIBINT_MAJOR_VERSION = @LIBINT_MAJOR_VERSION@

DOXYGEN = @DOXYGEN@
PDFLATEX  = @PDFLATEX@
PSLATEX  = @PSLATEX@
DVIPS  = @DVIPS@
LATEX  = @LATEX@
LATEX2HTML  = @LATEX2HTML@
BIBTEX = @BIBTEX@
# The document suffix (pdf or ps)
# Preferentially make pdf manuals, only revert to ps if necessary
ifdef BIBTEX
 ifdef PSLATEX
  DOCSUF = ps
  LATEX = $(PSLATEX)
 endif
 ifdef PDFLATEX
  DOCSUF = pdf
  LATEX = $(PDFLATEX)
 endif
endif
TEXINPUTS = :$(SRCDIR):$(SRCDIR)/..:
BIBINPUTS = $(TEXINPUTS)
TEXGARBAGE = *.bbl *.blg *.aux *.log *.out

INSTALL = @INSTALL@
INSTALLDIROPT = -d -m 0755
INSTALLDOCOPT = -m 0644

prefix=@prefix@
exec_prefix=@exec_prefix@
docdir=$(prefix)/doc
includedir=@libintincludedir@

