# Generic Makedef for Debian
RANLIB=ranlib
# the base directory:
VSTREEBASEDIR=${DIRVSTREE}
# we redefine it and later remove the next line in other directories
VSTREEBASEDIR=..
# the include directory path
INCLUDEOPT=-I${VSTREEBASEDIR}/include
# the following should be used to define the CFLAGS
DEFINECFLAGS:=${CFLAGS} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wstrict-prototypes -O3 -Wundef -Wshadow -Wstrict-prototypes -Wcast-align -Wsign-compare -Wnested-externs -Wall -Wcast-qual -Wpointer-arith -Winline -Werror -Wno-unused-but-set-variable -Wno-cast-qual -Wno-error=maybe-uninitialized -fno-stack-protector -D_GNU_SOURCE -Wno-error=format-overflow
# the following should be used to define the LDFLAGS
DEFINELDFLAGS:=${LDFLAGS}
# this is used to define the flags for the preprocessor
DEFINECPPFLAGS:=${CPPFLAGS} ${INCLUDEOPT}
# this is used to trigger the use of pointers in Mkvtree
DEFINESUFFIXPTR=-DSUFFIXPTR
# use the sysconf command
WITHSYSCONF=-DWITHSYSCONF
# the following defines the libraries usually used
DEFINELDLIBS=-lm -ldl -lpthread
# the following is defined to properly compile shared libraries
SHARED=-shared
SHAREDSUFFIX=so
# the following defines the flags for splint
DEFINESPLINTFLAGS=${DEFINECPPFLAGS} -DDEBUG -f ../Splintoptions
# the loader is the same as the compiler
LD=${CC}
# the libraries implemented in the vstree package
PATHEND=libfiles
LIBBASEDIR=lib/${PATHEND}
COMPILEDIRPREFIX=../${LIBBASEDIR}
EXECDIRPREFIX=../${LIBBASEDIR}
LIBDIR=${VSTREEBASEDIR}/${LIBBASEDIR}
LIBKURTZBASIC=${LIBDIR}/libkurtz-basic.a
LIBKURTZBASICDBG=${LIBDIR}/libkurtz-basic.dbg.a
LIBKURTZ=${LIBDIR}/libkurtz.a
LIBKURTZDBG=${LIBDIR}/libkurtz.dbg.a
LIBKURTZEXTRA=${LIBDIR}/libkurtzextra.a
LIBKURTZEXTRADBG=${LIBDIR}/libkurtzextra.dbg.a
LIBMKVTREE=${LIBDIR}/libmkvtree.a
LIBMKVTREEDBG=${LIBDIR}/libmkvtree.dbg.a
LIBVMENGINE=${LIBDIR}/libvmengine.a
LIBVMENGINEDBG=${LIBDIR}/libvmengine.dbg.a
LIBVMATCH=${LIBDIR}/libvmatch.a
LIBVMATCHDBG=${LIBDIR}/libvmatch.dbg.a
LIBCHAIN=${LIBDIR}/libchain.a
LIBCHAINDBG=${LIBDIR}/libchain.dbg.a
LIBAUTOMATA=${LIBDIR}/libautomata.a
LIBAUTOMATADBG=${LIBDIR}/libautomata.dbg.a
LIBMULTIMAT=${LIBDIR}/libmultimat.a
LIBMULTIMATDBG=${LIBDIR}/libmultimat.dbg.a