# Makefile.in generated by automake 1.10.1 from Makefile.am.
# src/Makefile.  Generated from Makefile.in by configure.

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.



#
#    Makefile for CRM114
#



pkgdatadir = $(datadir)/crm114
pkglibdir = $(libdir)/crm114
pkgincludedir = $(includedir)/crm114
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = x86_64-unknown-linux-gnu
host_triplet = x86_64-unknown-linux-gnu
TESTS =
bin_PROGRAMS = crm114$(EXEEXT) cssutil$(EXEEXT) osbf-util$(EXEEXT) \
	cssdiff$(EXEEXT) cssmerge$(EXEEXT) crm_bmp_prof$(EXEEXT)
noinst_PROGRAMS = testvectok$(EXEEXT)
subdir = src
DIST_COMMON = README $(dist_lisp_LISP) $(srcdir)/Makefile.am \
	$(srcdir)/Makefile.in $(srcdir)/config.h.in \
	$(srcdir)/config_vanilla_UNIX_sys_defaults.h.in \
	$(srcdir)/diff_em.sh.in $(srcdir)/indent.sh.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps =  \
	$(top_srcdir)/m4/ac___function___c99_vpredef_vars.m4 \
	$(top_srcdir)/m4/ac_environ.m4 \
	$(top_srcdir)/m4/ac_func_memmem.m4 \
	$(top_srcdir)/m4/ac_func_memmove.m4 \
	$(top_srcdir)/m4/ac_func_snprintf.m4 \
	$(top_srcdir)/m4/ac_nsec_stat_fields.m4 \
	$(top_srcdir)/m4/ax_arg_enable.m4 \
	$(top_srcdir)/m4/ax_cc_pragma_pack.m4 \
	$(top_srcdir)/m4/ax_cflags_gcc_option.m4 \
	$(top_srcdir)/m4/ax_cflags_warn_all.m4 \
	$(top_srcdir)/m4/ax_cxxflags_gcc_option.m4 \
	$(top_srcdir)/m4/ax_cxxflags_warn_all.m4 \
	$(top_srcdir)/m4/ax_diff_option.m4 \
	$(top_srcdir)/m4/ax_gnu_time.m4 \
	$(top_srcdir)/m4/vl_lib_readline.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
	$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES = diff_em.sh indent.sh \
	config_vanilla_UNIX_sys_defaults.h
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(lispdir)"
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
am__objects_1 = crm_compiler.$(OBJEXT) crm_errorhandlers.$(OBJEXT) \
	crm_math_exec.$(OBJEXT) crm_var_hash_table.$(OBJEXT) \
	crm_expandvar.$(OBJEXT) crm_stmt_parser.$(OBJEXT) \
	crm_vector_tokenize.$(OBJEXT) crm_expr_alter.$(OBJEXT) \
	crm_expr_match.$(OBJEXT) crm_css_maintenance.$(OBJEXT) \
	crm_markovian.$(OBJEXT) crm_osb_bayes.$(OBJEXT) \
	crm_osb_hyperspace.$(OBJEXT) crm_correlate.$(OBJEXT) \
	crm_osb_winnow.$(OBJEXT) crm_winnow_maintenance.$(OBJEXT) \
	crm_osbf_bayes.$(OBJEXT) crm_osbf_maintenance.$(OBJEXT) \
	crm_bit_entropy.$(OBJEXT) crm_neural_net.$(OBJEXT) \
	crm_expr_clump.$(OBJEXT) crm_expr_window.$(OBJEXT) \
	crm_expr_isolate.$(OBJEXT) crm_expr_file_io.$(OBJEXT) \
	crm_expr_syscall.$(OBJEXT) crm_expr_classify.$(OBJEXT) \
	crm_expr_translate.$(OBJEXT) crm_exec_engine.$(OBJEXT) \
	crm_debugger.$(OBJEXT) crm_str_funcs.$(OBJEXT) \
	crm_preprocessor.$(OBJEXT) crmregex_gnu.$(OBJEXT) \
	crmregex_tre.$(OBJEXT) crm_stats.$(OBJEXT) \
	crm_expr_sks.$(OBJEXT) crm_expr_svm.$(OBJEXT) \
	crm_fast_substring_compression.$(OBJEXT) \
	crm_generic_port.$(OBJEXT) crm_stdio_port.$(OBJEXT) \
	crm_versioning.$(OBJEXT) crm_core_profiling.$(OBJEXT) \
	crm_osb_markovian_alt.$(OBJEXT) crm_osb_bayes_alt.$(OBJEXT) \
	crm_osb_hyperspace_alt.$(OBJEXT) crm_osb_winnow_alt.$(OBJEXT) \
	crm_osbf_bayes_alt.$(OBJEXT)
am__objects_2 =
am_crm114_OBJECTS = $(am__objects_1) $(am__objects_2) $(am__objects_2) \
	crm_main.$(OBJEXT)
crm114_OBJECTS = $(am_crm114_OBJECTS)
crm114_LDADD = $(LDADD)
am__objects_3 = crm_bmp_image_io.$(OBJEXT) \
	crm_bmp_prof_collect.$(OBJEXT) crm_bmp_prof_report.$(OBJEXT) \
	crm_bmp_prof_scan.$(OBJEXT) crm_bmp_prof_utils.$(OBJEXT)
am_crm_bmp_prof_OBJECTS = crm_bmp_prof_main.$(OBJEXT) $(am__objects_3) \
	$(am__objects_1) $(am__objects_2) $(am__objects_2)
crm_bmp_prof_OBJECTS = $(am_crm_bmp_prof_OBJECTS)
crm_bmp_prof_LDADD = $(LDADD)
am_cssdiff_OBJECTS = cssdiff.$(OBJEXT) $(am__objects_1) \
	$(am__objects_2) $(am__objects_2)
cssdiff_OBJECTS = $(am_cssdiff_OBJECTS)
cssdiff_LDADD = $(LDADD)
am_cssmerge_OBJECTS = cssmerge.$(OBJEXT) $(am__objects_1) \
	$(am__objects_2) $(am__objects_2)
cssmerge_OBJECTS = $(am_cssmerge_OBJECTS)
cssmerge_LDADD = $(LDADD)
am_cssutil_OBJECTS = cssutil.$(OBJEXT) $(am__objects_1) \
	$(am__objects_2) $(am__objects_2)
cssutil_OBJECTS = $(am_cssutil_OBJECTS)
cssutil_LDADD = $(LDADD)
am_osbf_util_OBJECTS = osbf-util.$(OBJEXT) $(am__objects_1) \
	$(am__objects_2) $(am__objects_2)
osbf_util_OBJECTS = $(am_osbf_util_OBJECTS)
osbf_util_LDADD = $(LDADD)
am_testvectok_OBJECTS = $(am__objects_1) $(am__objects_2) \
	$(am__objects_2) testvectok.$(OBJEXT)
testvectok_OBJECTS = $(am_testvectok_OBJECTS)
testvectok_LDADD = $(LDADD)
DEFAULT_INCLUDES = -I.
depcomp = $(SHELL) $(top_srcdir)/m4/depcomp
am__depfiles_maybe = depfiles
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
CXXLD = $(CXX)
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
	-o $@
SOURCES = $(crm114_SOURCES) $(crm_bmp_prof_SOURCES) $(cssdiff_SOURCES) \
	$(cssmerge_SOURCES) $(cssutil_SOURCES) $(osbf_util_SOURCES) \
	$(testvectok_SOURCES)
DIST_SOURCES = $(crm114_SOURCES) $(crm_bmp_prof_SOURCES) \
	$(cssdiff_SOURCES) $(cssmerge_SOURCES) $(cssutil_SOURCES) \
	$(osbf_util_SOURCES) $(testvectok_SOURCES)
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
    *) f=$$p;; \
  esac;
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
dist_lispLISP_INSTALL = $(INSTALL_DATA)
LISP = $(dist_lisp_LISP)
am__ELFILES = crm114-mode.el
am__ELCFILES = $(am__ELFILES:.el=.elc)
elisp_comp = $(top_srcdir)/m4/elisp-comp
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = ${SHELL} /home/ger/prj/3actual/crm114/m4/missing --run aclocal-1.10
AMTAR = ${SHELL} /home/ger/prj/3actual/crm114/m4/missing --run tar
AUTOCONF = ${SHELL} /home/ger/prj/3actual/crm114/m4/missing --run autoconf
AUTOHEADER = ${SHELL} /home/ger/prj/3actual/crm114/m4/missing --run autoheader
AUTOMAKE = ${SHELL} /home/ger/prj/3actual/crm114/m4/missing --run automake-1.10
AWK = gawk
BIN_PATH = /usr/local/bin
BZIP2 = /usr/bin/bzip2
CC = gcc -std=gnu99
CCDEPMODE = depmode=gcc3
CFLAGS =    -O0 -g3 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers 
COL = /usr/bin/col
COMPRESS = 
CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/src/config_vanilla_UNIX_sys_defaults.h.in $(top_srcdir)/win32/config_win32.h.in
CPP = gcc -std=gnu99 -E
CPPFLAGS = 
CVS2CL = 
CXX = g++
CXXDEPMODE = depmode=gcc3
CXXFLAGS =    -O0 -g3 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers 
CYGPATH_W = echo
DB2X_MANXML = /usr/local/bin/db2x_manxml
DB2X_TEXIXML = /usr/local/bin/db2x_texixml
DB2X_XSLTPROC = /usr/local/bin/db2x_xsltproc
DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
DIFF = /usr/bin/diff
DIFF_FLAGS =  -E -b -w -B -d --strip-trailing-cr
ECHO_C = 
ECHO_N = -n
ECHO_T = 
EGREP = /usr/bin/grep -E
EMACS = emacs
EMACSLOADPATH = 
EXEEXT = 
GNU_TIME = /usr/bin/time
GREP = /usr/bin/grep
GZIP = /usr/bin/gzip
HTMLTIDY = /usr/bin/tidy
INSTALL = /usr/bin/install -c
#PREV_VERSION=20080923-BlameVT
#PREV_VERSION=20080630-BlameVT
#PREV_VERSION=20080618-BlameBadGlasses
#PREV_VERSION=20080502-BlameJason
#PREV_VERSION=20080326-BlameSentansoken
#PREV_VERSION=20080325-BlameSentansoken
#PREV_VERSION=20080317-BlameJoeLangeway_VT
#PREV_VERSION=20080217-BlameJoeLangeway_VT
#PREV_VERSION=20071201-BlameLittleStevie_VT
#PREV_VERSION=20071126-BlameGerHobbelt
#PREV_VERSION=20071015-BlameGerHobbelt
#PREV_VERSION=20070917-BlameGerHobbelt
#PREV_VERSION=20070830-BlameGerHobbelt
#PREV_VERSION=20070828-BlameGerHobbelt
#PREV_VERSION=20070827-BlameGerHobbelt
#PREV_VERSION=20070826-BlameGerHobbelt
#PREV_VERSION = 20070815-BlameBadData
#PREV_VERSION = 20070810-BlameTheSegfault
#PREV_VERSION = 20070807-BlameTheInterns
#PREV_VERSION = 20070505-BlameIdiocy
#PREV_VERSION = 20070428-BlameSpamConf
#PREV_VERSION = 20061103-BlameDalkey
#PREV_VERSION = 20061010-BlameBratko
#PREV_VERSION = 20060920-BlameNico
#PREV_VERSION = 20060704a-BlameRobert
#PREV_VERSION = 20060619-MargarineBeast
#PREV_VERSION = 20060611-ButterBeast
#PREV_VERSION = 20060611-SomewhatTamedBeast
#PREV_VERSION = 20060606-VersionOfTheBeast
#PREV_VERSION = 20060429-ReaverReturn
#PREV_VERSION = 20060118-BlameTheReavers
#PREV_VERSION = 20051231a-BlameBarryAndPaolo
#PREV_VERSION = 20051001-BlameRaulMiller
#PREV_VERSION = crm114-20050721-BlameNeilArmstrong
# VERSION += [$(TRE_TARFILE)]

#
#
#      Are we compiling on a POSIX system or a Windows system?  NOTE:
#       WINDOWS IS UNSUPPORTED BY THE AUTHOR.  THE AUTHOR WILL
#	ACCEPT REASONABLE-LOOKING PATCHES BUT WINDOWS-ONLY 
#       BUG REPORTS THAT DO NOT REPRODUCE UNDER LINUX ET AL 
#       SIMPLY _CANNOT_ BE WORKED AS I HAVE NO WINDOWS MACHINES.  
#       SO, IF YOU FIND A WINDOWS-ONLY BUG, PLEASE PUT IT ON THE 
#       MAILING LIST SO WINDOWS PEOPLE CAN WORK THE BUG.
#
#SYSTEMTYPE = POSIX
#SYSTEMTYPE = WIN32
#
#
#  Tell the compiler full optimization "-O3", add debugging info "-g", 
#  and warn on all warnable things "-Wall".  Someday add -Wextra for
#  really picayune stuff.
#
# CFLAGS += -g -O3
#     turn this one on for no optimization, but debugging and time profiling.
# CFLAGS += -g -O0 -Wall -pg
#     turn this one on for really picayune debugging.

# CPPFLAGS += -Wall
# CPPFLAGS += -Wextra 
# CPPFLAGS += -pedantic

#
#   Choose between static and dynamic linking (we recommend static linking)
#   Comment this out if you want dynamic linking
#
#    BSD users - do NOT use -static-libgcc!!!
#
#    use this one if you want program profiling.
# LDFLAGS += -static -static-libgcc -pg
#
#   Any standard install flags?  We nominally use protection 755
INSTALLFLAGS = -m 755
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
ISODATE = 2009-02-15
LDFLAGS =  
LIBOBJS = 
LIBS = -ltre -lrt -lm  -lreadline
LN_S = ln -s
LTLIBOBJS = 
LZMA = 
MAINT = #
MAKEINFO = ${SHELL} /home/ger/prj/3actual/crm114/m4/missing --run makeinfo
MKDIR_P = /bin/mkdir -p
OBJEXT = o
ORIGINAL_BILLY_DISTRO_DIR = /home/ger/prj/1original/crm114/src/crm114.sourceforge.net/src
PACKAGE = crm114
PACKAGE_BUGREPORT = crm114-general@lists.sourceforge.net
PACKAGE_NAME = CRM114
PACKAGE_STRING = CRM114 20081111-BlameBarack
PACKAGE_TARNAME = crm114
PACKAGE_VERSION = 20081111-BlameBarack
PATH_SEPARATOR = :
PCRE_CONFIG = 
POW_LIB = 
RANLIB = ranlib
REVISION = 4560
RMAN = /usr/bin/rman
SED = /usr/bin/sed
SET_MAKE = 
SEVEN_ZIP = /usr/bin/7z
SHAR = /usr/bin/shar
SHELL = /bin/sh
SILENT = @
STRIP = 
TAR = /bin/tar
TAR_FILENAME_POSTFIX = Ger-4560
TIME = /usr/bin/time
TRE_CONFIG = no
TROFF = /usr/bin/groff
UNCRUSTIFY = /usr/local/bin/uncrustify
VERSION = 20081111-BlameBarack
# VER_SUFFIX defines a version suffix for our installed executables, 
# handy when you want many versions of CRM114 coexisting.
#
# e.g.: VER_SUFFIX=27B-6, then if you make install, you get crm-27b-6
# 
VER_SUFFIX =  
ZIP = /usr/bin/zip
ZOEM = 
abs_builddir = /home/ger/prj/3actual/crm114/src
abs_srcdir = /home/ger/prj/3actual/crm114/src
abs_top_builddir = /home/ger/prj/3actual/crm114
abs_top_srcdir = /home/ger/prj/3actual/crm114
ac_ct_CC = gcc
ac_ct_CXX = g++
am__include = include
am__leading_dot = .
am__quote = 
am__tar = ${AMTAR} chof - "$$tardir"
am__untar = ${AMTAR} xf -
bindir = ${exec_prefix}/bin
build = x86_64-unknown-linux-gnu
build_alias = 
build_cpu = x86_64
build_os = linux-gnu
build_vendor = unknown
builddir = .
datadir = ${datarootdir}
datarootdir = ${prefix}/share
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
dvidir = ${docdir}
exec_prefix = ${prefix}
host = x86_64-unknown-linux-gnu
host_alias = 
host_cpu = x86_64
host_os = linux-gnu
host_vendor = unknown
htmldir = ${docdir}
includedir = ${prefix}/include
infodir = ${datarootdir}/info
install_sh = $(SHELL) /home/ger/prj/3actual/crm114/m4/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
lispdir = ${datarootdir}/emacs/site-lisp
localedir = ${datarootdir}/locale
localstatedir = ${prefix}/var
mandir = ${datarootdir}/man
mkdir_p = /bin/mkdir -p
oldincludedir = /usr/include
pdfdir = ${docdir}
prefix = /usr/local
program_transform_name = s,x,x,
psdir = ${docdir}
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
srcdir = .
sysconfdir = ${prefix}/etc
target_alias = 
top_build_prefix = ../
top_builddir = ..
top_srcdir = ..
DISTCLEANFILES = diff/
CLEANFILES = *.o *~ *.bak
TAR_CMDLINE = ${TAR} cf - "$$tardir"
ARCHIVE_BASE_NAME = crm114-20081111-BlameBarack-Ger-4560
DATE = `date +%Y_%m_%d_%H_%M_%S`

#
#      The following forces the compiler to be GCC.  If you have trouble
#      with your default compiler, and you want to force GCC, uncomment it.
# CC=gcc
#
#     What version is this software (PLEASE don't change this just 
#     to mess with my brain. - wsy)
#
#VERSION = 20081111-BlameBarack
PREV_VERSION = 20081023-BlameMaxwell
#INSTALLFLAGS += -m 755
#
#        uncomment the next line if you want to "strip" the debugger info 
#        from the binaries when installing.  This speeds up load, but 
#        you won't be able to submit meaningful CRM114 engine bug reports.
#        Default is don't strip.
# INSTALLFLAGS += -s
#
#   Define the TRE directory (used only for building distributions- note that
#   this must be HAND-UPDATED when new versions of TRE come out  )
TRE_TARFILE = tre-0.7.5
#
# ---------   If you're compiling under *BSD, check these out:
#
#    Simson Garfinkel suggests that you
#    uncomment the following to get a BSD-sane environment.  Leave them
#    untouched (commented out) for Linux builds.
# Add for FreeBSD
#CFLAGS += -I/usr/local/include
#LDFLAGS += -L/usr/local/lib
#LIBS += -lintl -liconv
#LDFLAGS += -dynamic-libgcc
#
#             Jeff Rice suggests the following for FreeBSD:
#CFLAGS += -I/usr/local/include -I${HOME}/include
#LDFLAGS += -L/usr/local/lib -L${HOME}/lib
#LIBS += -lintl -liconv
# ------------------ end of *BSD stuff
#
# ------------------For Mac OSX, try this---------------
#
#    Yimin Wu (of the SVMx classifiers) suggests that to get
#    a good compile on the Mac OSX machines, try:
#
#   COMMENT OUT all the above "LDFLAGS += -static -static-libgcc -pg"
#
#    and add
#
#CFLAGS += -I/usr/local/include
#LDFLAGS += -l/usr/local/lib
#
#  and change final options on the main link line from:
#
#   "-lm -ltre -o crm114" to "-ltre -o crm114"
#
# --------------End of Mac OSX stuff -----------------------
#
#
#    End of user-configurable options... if you modify anything below
#    this line, you risk early insanity and blindness.
#
#
ECHO = echo
E = $(SILENT) $(ECHO)
MEGATESTFILES = \
	mt_ng_Bit_Entropy_2.input \
	mt_ng_OSB_Markov_Chisquared_Unique_2.input \
	mt_ng_OSB_Markovian_1.input \
	mt_ng_OSB_Markov_Chisquared_Unique_1.input \
	mt_ng_String_Unigram_Hyperspace_2.input \
	mt_ng_String_Kernel_SVM_SKS_Unique_1.input \
	mt_ng_Support_Vector_Machine_SVM_1.input \
	mt_ng_Bit_Entropy_1.input \
	mt_ng_unigram_Winnow_1.input \
	mt_ng_Bytewise_Correlation_2.input \
	mt_ng_OSB_Winnow_1.input \
	mt_ng_Bit_Entropy_Toroid_1.input \
	mt_ng_Neural_Network_1.input \
	mt_ng_String_Kernel_SVM_SKS_1.input \
	mt_ng_OSB_3_letter_Hyperspace_1.input \
	mt_ng_Support_Vector_Machine_SVM_2.input \
	windowtest_fromvar_mt_ng_1.input \
	mt_ng_Neural_Network_2.input \
	mt_ng_Fast_Substring_Compression_Match_1.input \
	backwardstest_mt_ng_1.input \
	mt_ng_Unigram_Bayesian_2.input \
	mt_ng_Support_Vector_Machine_SVM_unigram_2.input \
	mt_ng_String_Hyperspace_2.input \
	mt_ng_SBPH_Markovian_1.input \
	mt_ng_OSB_Markov_Unique_2.input \
	mt_ng_Unigram_Hyperspace_1.input \
	mt_ng_Unigram_Bayesian_1.input \
	mt_ng_OSBF_Local_Confidence_Fidelis_2.input \
	mt_ng_String_Kernel_SVM_SKS_2.input \
	matchtest_mt_ng_1.input \
	mt_ng_OSB_Markovian_2.input \
	mt_ng_String_Unigram_Hyperspace_1.input \
	mt_ng_Unigram_Hyperspace_2.input \
	mt_ng_Vector_3_word_bag_Hyperspace_1.input \
	mt_ng_String_Hyperspace_1.input \
	approxtest_mt_ng_1.input \
	mt_ng_Clump_Pmulc_3.input \
	approxtest_mt_ng_2.input \
	mt_ng_OSB_Hyperspace_1.input \
	mt_ng_OSB_3_letter_Hyperspace_2.input \
	mt_ng_OSB_Hyperspace_2.input \
	mt_ng_Vector_3_word_bag_Hyperspace_2.input \
	mt_ng_Bit_Entropy_Toroid_2.input \
	windowtest_mt_ng_1.input \
	mt_ng_OSB_Markov_Unique_1.input \
	mt_ng_OSBF_Local_Confidence_Fidelis_1.input \
	mt_ng_unigram_Winnow_2.input \
	mt_ng_Fast_Substring_Compression_Match_2.input \
	backwardstest_mt_ng_2.input \
	mt_ng_Bytewise_Correlation_1.input \
	mt_ng_String_Kernel_SVM_SKS_Unique_2.input \
	mt_ng_Clump_Pmulc_1.input \
	mt_ng_OSB_Winnow_2.input \
	mt_ng_Clump_Pmulc_2.input \
	mt_ng_SBPH_Markovian_2.input \
	mt_ng_Support_Vector_Machine_SVM_unigram_1.input \
	COLOPHON_mt_ng_reference_3.input \
	FAQ_mt_ng_reference_4.input \
	INTRO_mt_ng_reference_2.input \
	QUICKREF_mt_ng_reference_1.input


#
#   These are the files needed to build the CRM114 engine; they don't
#   include the side utilities
#
CFILES = crm_compiler.c crm_errorhandlers.c \
	crm_math_exec.c crm_var_hash_table.c crm_expandvar.c \
	crm_stmt_parser.c crm_vector_tokenize.c \
	crm_expr_alter.c crm_expr_match.c crm_css_maintenance.c \
	crm_markovian.c crm_osb_bayes.c crm_osb_hyperspace.c \
	crm_correlate.c crm_osb_winnow.c crm_winnow_maintenance.c \
	crm_osbf_bayes.c crm_osbf_maintenance.c crm_bit_entropy.c \
	crm_neural_net.c crm_expr_clump.c \
	crm_expr_window.c crm_expr_isolate.c crm_expr_file_io.c \
	crm_expr_syscall.c crm_expr_classify.c crm_expr_translate.c \
	crm_exec_engine.c crm_debugger.c crm_str_funcs.c \
	crm_preprocessor.c crmregex_gnu.c crmregex_tre.c \
	crm_stats.c crm_expr_sks.c \
	crm_expr_svm.c crm_fast_substring_compression.c \
	crm_generic_port.c crm_stdio_port.c \
	crm_versioning.c crm_core_profiling.c \
	crm_osb_markovian_alt.c crm_osb_bayes_alt.c crm_osb_hyperspace_alt.c \
	crm_osb_winnow_alt.c crm_osbf_bayes_alt.c

CFILES_4_BMP_PROF = \
	crm_bmp_image_io.cpp crm_bmp_prof_collect.cpp \
	crm_bmp_prof_report.cpp \
	crm_bmp_prof_scan.cpp crm_bmp_prof_utils.cpp

CFILES_4_LIBCRM114 = \
	libcrm114/if_kiss_bill.c \
	libcrm114/interface.c \
	libcrm114/hashtable_base.c \
	libcrm114/bayesian_base.c \
	libcrm114/hash_base.c \
	libcrm114/diag_base.c \
	libcrm114/bio_base.c \
	libcrm114/mmap_bio_base.c \
	libcrm114/socket_bio_base.c \
	libcrm114/memory_bio_base.c

HFILES_4_LIBCRM114 = \
	libcrm114/libcrm_statuscodes.h \
	libcrm114/libcrm_kiss_bill.h \
	libcrm114/libcrm_bio.h \
	libcrm114/libcrm_diag.h \
	libcrm114/libcrm114.h

HFILES = crm114_sysincludes.h crm114_structs.h crm114_config.h \
	crm114.h crm114_osbf.h config.h \
	config_vanilla_UNIX_sys_defaults.h crm_mjt_qsort.h \
	crm_pshpack2.h crm_pshpack1.h crm_pshpack4.h crm_poppack.h \
	crm_bmp_prof.h \
	../win32/config_win32.h

EXTRA_DEPS = Makefile
OFILES = crm_compiler.o crm_errorhandlers.o \
	crm_math_exec.o crm_var_hash_table.o crm_expandvar.o \
	crm_stmt_parser.o crm_vector_tokenize.o \
	crm_expr_alter.o crm_expr_match.o crm_css_maintenance.o \
	crm_markovian.o crm_osb_bayes.o crm_osb_hyperspace.o \
	crm_correlate.o crm_osb_winnow.o crm_winnow_maintenance.o \
	crm_osbf_bayes.o crm_osbf_maintenance.o crm_bit_entropy.o \
	crm_neural_net.o crm_expr_clump.o \
	crm_expr_window.o crm_expr_isolate.o crm_expr_file_io.o \
	crm_expr_syscall.o crm_expr_classify.o crm_expr_translate.o \
	crm_exec_engine.o crm_debugger.o crm_str_funcs.o \
	crm_preprocessor.o crmregex_gnu.o crmregex_tre.o \
	crm_expr_sks.o crm_stats.o crm_expr_svm.o \
	crm_fast_substring_compression.o \
	crm_generic_port.o crm_stdio_port.o \
	crm_versioning.o crm_core_profiling.o \
	crm_osb_markovian_alt.o crm_osb_bayes_alt.o crm_osb_hyperspace_alt.o \
	crm_osb_winnow_alt.o crm_osbf_bayes_alt.o 

UTIL_C_FILES = crm_main.c osbf-util.c cssutil.c cssdiff.c cssmerge.c \
	testvectok.c crm_bmp_prof_main.cpp

CRMFILES = mailfilter.crm mailfilter.cf \
	mailreaver.crm mailtrainer.crm \
	mkcss.crm \
	maillib.crm shuffle.crm \
	rewriteutil.crm \
	matchtest.crm windowtest.crm overalterisolatedtest.crm exectest.crm \
	learntest.crm classifytest.crm \
	escapetest.crm argtest.crm beeptest.crm skudtest.crm aliustest.crm \
	nestaliustest.crm eval_infiniteloop.crm \
	traptest.crm fataltraptest.crm uncaughttraptest.crm \
	inserttest_a.crm inserttest_b.crm inserttest_c.crm \
	backwardstest.crm approxtest.crm \
	mathalgtest.crm mathrpntest.crm \
	indirecttest.crm translate_tr.crm zz_translate_test.crm \
	rewritetest.crm test_rewrites.mfp \
	randomiotest.crm isolate_reclaim_test.crm \
	match_isolate_test.crm match_isolate_reclaim.crm \
	call_return_test.crm defaulttest.crm alternating_example_neural.crm \
	shroud.crm quine.crm \
	bracktest.crm unionintersecttest.crm \
	statustest.crm windowtest_fromvar.crm paolo_overvars.crm \
	paolo_ov2.crm paolo_ov3.crm paolo_ov4.crm paolo_ov5.crm \
	pad.crm calc.crm \
	gatlingsort.crm tenfold_validate.crm \
	test_svm.crm \
	classifymail.crm \
	tokendelimiterbugtest.crm bracesbugtest.crm \
	blowuptrapbugtest.crm trapseqbugtest.crm slashbugtest.crm \
	alius_w_comment.crm \
	userdirtest.crm \
	print_binary2decimal_int32.crm \
	match_re_fringe1.crm

TEXTFILES = COLOPHON.txt pad.dat \
	QUICKREF.txt INTRO.txt knownbugs.txt FAQ.txt things_to_do.txt \
	classify_details.txt README CRM114_Mailfilter_HOWTO.txt \
	procmailrc.recipe reto_procmail_recipe.recipe \
	priolist.mfp blacklist.mfp whitelist.mfp rewrites.mfp \
	priolist.mfp.example blacklist.mfp.example whitelist.mfp.example \
	crm114.spec \
	inoc_passwd.txt \
	GPL-License.txt \
	rename-gz \
	megatest.sh megatest_knowngood.log \
	make_vanilla_UNIX.sh Makefile.vanilla \
	exectest_s1.sh \
	$(MEGATESTFILES) megatest_ng.sh 

EXTRA_DIST = indent.sh.in diff_em.sh.in \
	$(CRMFILES) \
	$(TEXTFILES) \
	config_vanilla_UNIX_sys_defaults.h.in \
	../win32/config_win32.h.in

crm114_SOURCES = $(CFILES) $(HFILES) $(EXTRA_DEPS) crm_main.c
cssutil_SOURCES = cssutil.c $(CFILES) $(HFILES) $(EXTRA_DEPS)
osbf_util_SOURCES = osbf-util.c $(CFILES) $(HFILES) $(EXTRA_DEPS)
cssdiff_SOURCES = cssdiff.c $(CFILES) $(HFILES) $(EXTRA_DEPS)
cssmerge_SOURCES = cssmerge.c $(CFILES) $(HFILES) $(EXTRA_DEPS)
testvectok_SOURCES = $(CFILES) $(HFILES) $(EXTRA_DEPS) testvectok.c
crm_bmp_prof_SOURCES = crm_bmp_prof_main.cpp $(CFILES_4_BMP_PROF) $(CFILES) $(HFILES) $(EXTRA_DEPS)
libcrm114_SOURCES = $(CFILES_4_LIBCRM114) $(HFILES) $(HFILES_4_LIBCRM114) $(EXTRA_DEPS)

# see for 'ELCFILES=' the documentation at http://www.gnu.org/software/automake/manual/automake.html#Emacs-Lisp
dist_lisp_LISP = crm114-mode.el
ELCFILES = 
all: config.h
	$(MAKE) $(AM_MAKEFLAGS) all-am

.SUFFIXES:
.SUFFIXES: .c .cpp .o .obj
$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am  $(am__configure_deps)
	@for dep in $?; do \
	  case '$(am__configure_deps)' in \
	    *$$dep*) \
	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
		&& exit 0; \
	      exit 1;; \
	  esac; \
	done; \
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/Makefile'; \
	cd $(top_srcdir) && \
	  $(AUTOMAKE) --gnu  src/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	@case '$?' in \
	  *config.status*) \
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
	  *) \
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
	esac;

$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh

$(top_srcdir)/configure: # $(am__configure_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): # $(am__aclocal_m4_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh

config.h: stamp-h1
	@if test ! -f $@; then \
	  rm -f stamp-h1; \
	  $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
	else :; fi

stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
	@rm -f stamp-h1
	cd $(top_builddir) && $(SHELL) ./config.status src/config.h
$(srcdir)/config.h.in: # $(am__configure_deps) 
	cd $(top_srcdir) && $(AUTOHEADER)
	rm -f stamp-h1
	touch $@

distclean-hdr:
	-rm -f config.h stamp-h1
diff_em.sh: $(top_builddir)/config.status $(srcdir)/diff_em.sh.in
	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
indent.sh: $(top_builddir)/config.status $(srcdir)/indent.sh.in
	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
config_vanilla_UNIX_sys_defaults.h: $(top_builddir)/config.status $(srcdir)/config_vanilla_UNIX_sys_defaults.h.in
	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
install-binPROGRAMS: $(bin_PROGRAMS)
	@$(NORMAL_INSTALL)
	test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
	  if test -f $$p \
	  ; then \
	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
	   echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
	   $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
	  else :; fi; \
	done

uninstall-binPROGRAMS:
	@$(NORMAL_UNINSTALL)
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
	done

clean-binPROGRAMS:
	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)

clean-noinstPROGRAMS:
	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
crm114$(EXEEXT): $(crm114_OBJECTS) $(crm114_DEPENDENCIES) 
	@rm -f crm114$(EXEEXT)
	$(LINK) $(crm114_OBJECTS) $(crm114_LDADD) $(LIBS)
crm_bmp_prof$(EXEEXT): $(crm_bmp_prof_OBJECTS) $(crm_bmp_prof_DEPENDENCIES) 
	@rm -f crm_bmp_prof$(EXEEXT)
	$(CXXLINK) $(crm_bmp_prof_OBJECTS) $(crm_bmp_prof_LDADD) $(LIBS)
cssdiff$(EXEEXT): $(cssdiff_OBJECTS) $(cssdiff_DEPENDENCIES) 
	@rm -f cssdiff$(EXEEXT)
	$(LINK) $(cssdiff_OBJECTS) $(cssdiff_LDADD) $(LIBS)
cssmerge$(EXEEXT): $(cssmerge_OBJECTS) $(cssmerge_DEPENDENCIES) 
	@rm -f cssmerge$(EXEEXT)
	$(LINK) $(cssmerge_OBJECTS) $(cssmerge_LDADD) $(LIBS)
cssutil$(EXEEXT): $(cssutil_OBJECTS) $(cssutil_DEPENDENCIES) 
	@rm -f cssutil$(EXEEXT)
	$(LINK) $(cssutil_OBJECTS) $(cssutil_LDADD) $(LIBS)
osbf-util$(EXEEXT): $(osbf_util_OBJECTS) $(osbf_util_DEPENDENCIES) 
	@rm -f osbf-util$(EXEEXT)
	$(LINK) $(osbf_util_OBJECTS) $(osbf_util_LDADD) $(LIBS)
testvectok$(EXEEXT): $(testvectok_OBJECTS) $(testvectok_DEPENDENCIES) 
	@rm -f testvectok$(EXEEXT)
	$(LINK) $(testvectok_OBJECTS) $(testvectok_LDADD) $(LIBS)

mostlyclean-compile:
	-rm -f *.$(OBJEXT)

distclean-compile:
	-rm -f *.tab.c

include ./$(DEPDIR)/crm_bit_entropy.Po
include ./$(DEPDIR)/crm_bmp_image_io.Po
include ./$(DEPDIR)/crm_bmp_prof_collect.Po
include ./$(DEPDIR)/crm_bmp_prof_main.Po
include ./$(DEPDIR)/crm_bmp_prof_report.Po
include ./$(DEPDIR)/crm_bmp_prof_scan.Po
include ./$(DEPDIR)/crm_bmp_prof_utils.Po
include ./$(DEPDIR)/crm_compiler.Po
include ./$(DEPDIR)/crm_core_profiling.Po
include ./$(DEPDIR)/crm_correlate.Po
include ./$(DEPDIR)/crm_css_maintenance.Po
include ./$(DEPDIR)/crm_debugger.Po
include ./$(DEPDIR)/crm_errorhandlers.Po
include ./$(DEPDIR)/crm_exec_engine.Po
include ./$(DEPDIR)/crm_expandvar.Po
include ./$(DEPDIR)/crm_expr_alter.Po
include ./$(DEPDIR)/crm_expr_classify.Po
include ./$(DEPDIR)/crm_expr_clump.Po
include ./$(DEPDIR)/crm_expr_file_io.Po
include ./$(DEPDIR)/crm_expr_isolate.Po
include ./$(DEPDIR)/crm_expr_match.Po
include ./$(DEPDIR)/crm_expr_sks.Po
include ./$(DEPDIR)/crm_expr_svm.Po
include ./$(DEPDIR)/crm_expr_syscall.Po
include ./$(DEPDIR)/crm_expr_translate.Po
include ./$(DEPDIR)/crm_expr_window.Po
include ./$(DEPDIR)/crm_fast_substring_compression.Po
include ./$(DEPDIR)/crm_generic_port.Po
include ./$(DEPDIR)/crm_main.Po
include ./$(DEPDIR)/crm_markovian.Po
include ./$(DEPDIR)/crm_math_exec.Po
include ./$(DEPDIR)/crm_neural_net.Po
include ./$(DEPDIR)/crm_osb_bayes.Po
include ./$(DEPDIR)/crm_osb_bayes_alt.Po
include ./$(DEPDIR)/crm_osb_hyperspace.Po
include ./$(DEPDIR)/crm_osb_hyperspace_alt.Po
include ./$(DEPDIR)/crm_osb_markovian_alt.Po
include ./$(DEPDIR)/crm_osb_winnow.Po
include ./$(DEPDIR)/crm_osb_winnow_alt.Po
include ./$(DEPDIR)/crm_osbf_bayes.Po
include ./$(DEPDIR)/crm_osbf_bayes_alt.Po
include ./$(DEPDIR)/crm_osbf_maintenance.Po
include ./$(DEPDIR)/crm_preprocessor.Po
include ./$(DEPDIR)/crm_stats.Po
include ./$(DEPDIR)/crm_stdio_port.Po
include ./$(DEPDIR)/crm_stmt_parser.Po
include ./$(DEPDIR)/crm_str_funcs.Po
include ./$(DEPDIR)/crm_var_hash_table.Po
include ./$(DEPDIR)/crm_vector_tokenize.Po
include ./$(DEPDIR)/crm_versioning.Po
include ./$(DEPDIR)/crm_winnow_maintenance.Po
include ./$(DEPDIR)/crmregex_gnu.Po
include ./$(DEPDIR)/crmregex_tre.Po
include ./$(DEPDIR)/cssdiff.Po
include ./$(DEPDIR)/cssmerge.Po
include ./$(DEPDIR)/cssutil.Po
include ./$(DEPDIR)/osbf-util.Po
include ./$(DEPDIR)/testvectok.Po

.c.o:
	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
	mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
#	source='$<' object='$@' libtool=no \
#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
#	$(COMPILE) -c $<

.c.obj:
	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
	mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
#	source='$<' object='$@' libtool=no \
#	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
#	$(COMPILE) -c `$(CYGPATH_W) '$<'`

.cpp.o:
	$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
	mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
#	source='$<' object='$@' libtool=no \
#	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
#	$(CXXCOMPILE) -c -o $@ $<

.cpp.obj:
	$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
	mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
#	source='$<' object='$@' libtool=no \
#	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
#	$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`

elc-stamp: $(LISP)
	@echo 'WARNING: Warnings can be ignored. :-)'
	@rm -f elc-temp && touch elc-temp
	if test "$(EMACS)" != no; then \
	  set x; \
	  list='$(LISP)'; for p in $$list; do \
	    if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	    set x "$$@" "$$d$$p"; shift; \
	  done; \
	  shift; \
	  EMACS="$(EMACS)" $(SHELL) $(elisp_comp) "$$@" || exit 1; \
	else : ; fi
	@mv -f elc-temp $@
$(am__ELCFILES): elc-stamp
	@if test "$(EMACS)" != no && test ! -f $@; then \
	  trap 'rm -rf elc-lock elc-stamp' 1 2 13 15; \
	  if mkdir elc-lock 2>/dev/null; then \
	    rm -f elc-stamp; \
	    $(MAKE) $(AM_MAKEFLAGS) elc-stamp; \
	    rmdir elc-lock; \
	  else \
	    while test -d elc-lock; do sleep 1; done; \
	    test -f elc-stamp; exit $$?; \
	  fi; \
	else : ; fi
install-dist_lispLISP: $(dist_lisp_LISP) $(ELCFILES)
	@$(NORMAL_INSTALL)
	@if test "$(EMACS)" != no; then \
	  test -z "$(lispdir)" || $(MKDIR_P) "$(DESTDIR)$(lispdir)"; \
	  list='$(dist_lisp_LISP)'; for p in $$list; do \
	    if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	    f=$(am__strip_dir) \
	    echo " $(dist_lispLISP_INSTALL) '$$d$$p' '$(DESTDIR)$(lispdir)/$$f'"; \
	    $(dist_lispLISP_INSTALL) "$$d$$p" "$(DESTDIR)$(lispdir)/$$f"; \
	    if test -f $${p}c; then \
	      echo " $(dist_lispLISP_INSTALL) '$${p}c' '$(DESTDIR)$(lispdir)/$${f}c'"; \
	      $(dist_lispLISP_INSTALL) "$${p}c" "$(DESTDIR)$(lispdir)/$${f}c"; \
	    else : ; fi; \
	  done; \
	else : ; fi

uninstall-dist_lispLISP:
	@$(NORMAL_UNINSTALL)
	@if test "$(EMACS)" != no; then \
	  list='$(dist_lisp_LISP)'; for p in $$list; do \
	    f=$(am__strip_dir) \
	    echo " rm -f '$(DESTDIR)$(lispdir)/$$f' '$(DESTDIR)$(lispdir)/$${f}c'"; \
	    rm -f "$(DESTDIR)$(lispdir)/$$f" "$(DESTDIR)$(lispdir)/$${f}c"; \
	  done; \
	else : ; fi

clean-lisp:
	-rm -f elc-stamp $(ELCFILES)

ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	mkid -fID $$unique
tags: TAGS

TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
	  test -n "$$unique" || unique=$$empty_fix; \
	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	    $$tags $$unique; \
	fi
ctags: CTAGS
CTAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	tags=; \
	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	test -z "$(CTAGS_ARGS)$$tags$$unique" \
	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
	     $$tags $$unique

GTAGS:
	here=`$(am__cd) $(top_builddir) && pwd` \
	  && cd $(top_srcdir) \
	  && gtags -i $(GTAGS_ARGS) $$here

distclean-tags:
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags

check-TESTS: $(TESTS)
	@failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[	 ]'; \
	srcdir=$(srcdir); export srcdir; \
	list=' $(TESTS) '; \
	if test -n "$$list"; then \
	  for tst in $$list; do \
	    if test -f ./$$tst; then dir=./; \
	    elif test -f $$tst; then dir=; \
	    else dir="$(srcdir)/"; fi; \
	    if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
	      all=`expr $$all + 1`; \
	      case " $(XFAIL_TESTS) " in \
	      *$$ws$$tst$$ws*) \
		xpass=`expr $$xpass + 1`; \
		failed=`expr $$failed + 1`; \
		echo "XPASS: $$tst"; \
	      ;; \
	      *) \
		echo "PASS: $$tst"; \
	      ;; \
	      esac; \
	    elif test $$? -ne 77; then \
	      all=`expr $$all + 1`; \
	      case " $(XFAIL_TESTS) " in \
	      *$$ws$$tst$$ws*) \
		xfail=`expr $$xfail + 1`; \
		echo "XFAIL: $$tst"; \
	      ;; \
	      *) \
		failed=`expr $$failed + 1`; \
		echo "FAIL: $$tst"; \
	      ;; \
	      esac; \
	    else \
	      skip=`expr $$skip + 1`; \
	      echo "SKIP: $$tst"; \
	    fi; \
	  done; \
	  if test "$$failed" -eq 0; then \
	    if test "$$xfail" -eq 0; then \
	      banner="All $$all tests passed"; \
	    else \
	      banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
	    fi; \
	  else \
	    if test "$$xpass" -eq 0; then \
	      banner="$$failed of $$all tests failed"; \
	    else \
	      banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
	    fi; \
	  fi; \
	  dashes="$$banner"; \
	  skipped=""; \
	  if test "$$skip" -ne 0; then \
	    skipped="($$skip tests were not run)"; \
	    test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
	      dashes="$$skipped"; \
	  fi; \
	  report=""; \
	  if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
	    report="Please report to $(PACKAGE_BUGREPORT)"; \
	    test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
	      dashes="$$report"; \
	  fi; \
	  dashes=`echo "$$dashes" | sed s/./=/g`; \
	  echo "$$dashes"; \
	  echo "$$banner"; \
	  test -z "$$skipped" || echo "$$skipped"; \
	  test -z "$$report" || echo "$$report"; \
	  echo "$$dashes"; \
	  test "$$failed" -eq 0; \
	else :; fi

distdir: $(DISTFILES)
	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
	list='$(DISTFILES)'; \
	  dist_files=`for file in $$list; do echo $$file; done | \
	  sed -e "s|^$$srcdirstrip/||;t" \
	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
	case $$dist_files in \
	  */*) $(MKDIR_P) `echo "$$dist_files" | \
			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
			   sort -u` ;; \
	esac; \
	for file in $$dist_files; do \
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
	  if test -d $$d/$$file; then \
	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
	    fi; \
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
	  else \
	    test -f $(distdir)/$$file \
	    || cp -p $$d/$$file $(distdir)/$$file \
	    || exit 1; \
	  fi; \
	done
check-am: all-am
	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
check: check-am
all-am: Makefile $(PROGRAMS) $(LISP) $(ELCFILES) config.h
installdirs:
	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(lispdir)"; do \
	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
	done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	  `test -z '$(STRIP)' || \
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
clean: clean-am

clean-am: clean-binPROGRAMS clean-generic clean-lisp clean-local \
	clean-noinstPROGRAMS mostlyclean-am

distclean: distclean-am
	-rm -rf ./$(DEPDIR)
	-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
	distclean-hdr distclean-tags

dvi: dvi-am

dvi-am:

html: html-am

info: info-am

info-am:

install-data-am: install-dist_lispLISP

install-dvi: install-dvi-am

install-exec-am: install-binPROGRAMS install-exec-local
	@$(NORMAL_INSTALL)
	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook

install-html: install-html-am

install-info: install-info-am

install-man:

install-pdf: install-pdf-am

install-ps: install-ps-am

installcheck-am:

maintainer-clean: maintainer-clean-am
	-rm -rf ./$(DEPDIR)
	-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-am

mostlyclean-am: mostlyclean-compile mostlyclean-generic

pdf: pdf-am

pdf-am:

ps: ps-am

ps-am:

uninstall-am: uninstall-binPROGRAMS uninstall-dist_lispLISP \
	uninstall-local
	@$(NORMAL_INSTALL)
	$(MAKE) $(AM_MAKEFLAGS) uninstall-hook

.MAKE: install-am install-exec-am install-strip uninstall-am

.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
	clean-binPROGRAMS clean-generic clean-lisp clean-local \
	clean-noinstPROGRAMS ctags distclean distclean-compile \
	distclean-generic distclean-hdr distclean-tags distdir dvi \
	dvi-am html html-am info info-am install install-am \
	install-binPROGRAMS install-data install-data-am \
	install-dist_lispLISP install-dvi install-dvi-am install-exec \
	install-exec-am install-exec-hook install-exec-local \
	install-html install-html-am install-info install-info-am \
	install-man install-pdf install-pdf-am install-ps \
	install-ps-am install-strip installcheck installcheck-am \
	installdirs maintainer-clean maintainer-clean-generic \
	mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
	ps ps-am tags uninstall uninstall-am uninstall-binPROGRAMS \
	uninstall-dist_lispLISP uninstall-hook uninstall-local


#
#

done_all: 
	$(E) ""
	$(E) "   Done."
	$(E) ""
	$(E) "   ***  Type \"make help\" to see what else you can make."
	$(E) ""

help:
	$(E) ""
	$(E) "    You can make the following things:"
	$(E) ""
	$(E) "    make   -or-   make all   - builds the binaries.  This uses the"
	$(E) "                               TRE regex library"
	$(E) "    make install             - builds and installs the binaries."
	$(E) "                               You must be root to do this."
	$(E) "    make uninstall           - uninstalls the binaries.  You must"
	$(E) "                               be root to do this."
	$(E) "    make megatest            - runs the full test suite ( takes"
	$(E) "                               about ~1 minute, TRE version _ONLY_! )"
	$(E) "    make clean               - deletes all .o and executables."
	$(E) "                               Don't do this on a binary kit!"
	$(E) "    make cssfiles            - builds a set of .css files from data"
	$(E) "                               in ./good.dir/* and ./spam.dir/*"
	$(E) "    make distribution        - builds the .gzballs for distribution"
	$(E) "                               of with your mods built in."

# #   
# #   Now building the TRE regex version of CRM114.  If you don't have
# #   TRE already, you will need to fetch it from the website and
# #   then ./configure --enable-static to get the static TRE libs,
# #   then build TRE, add /usr/local/lib to /etc/ld.so.conf, then 
# #   to set the library up.  Then you can build CRM114 itself.
# #
# crm114$(EXEEXT): $(OFILES) crm_main.o
# 	$(E) ""
# 	$(E) "   Now building the TRE regex version of CRM114.  If you don't have"
# 	$(E) "   TRE already, you will need to fetch it from the website and"
# 	$(E) "   then ./configure --enable-static to get the static TRE libs,"
# 	$(E) "   then build TRE, add /usr/local/lib to /etc/ld.so.conf, then"
# 	$(E) "   to set the library up.  Then you can build CRM114 itself."
# 	$(E) ""
# 	$(CC) $(LDFLAGS) $(LIBS) crm_main.o $(OFILES) \
# 	  -o crm114$(EXEEXT)
# 	$(E) ""
# 	$(E) "   Done.  Type \"make help\" to see what else you can make."
# 	$(E) ""
# 

#
#     Note To The Reader:  I'd really _love_ to have all of these
#     stanzas for each of the .c code modules be taken care of by
#     something that uses $(CFILE), but it isn't.  Maybe the autoconf
#     version would have that- but one change at a time, eh?
#

crm_main.o: crm_main.c \
	$(HFILES) $(EXTRA_DEPS)

crm_compiler.o: crm_compiler.c \
	$(HFILES) $(EXTRA_DEPS)

crm_errorhandlers.o: crm_errorhandlers.c \
	$(HFILES) $(EXTRA_DEPS)

crm_exec_engine.o: crm_exec_engine.c \
	$(HFILES) $(EXTRA_DEPS)

crm_preprocessor.o: crm_preprocessor.c \
	$(HFILES) $(EXTRA_DEPS)

crm_var_hash_table.o: crm_var_hash_table.c \
	$(HFILES) $(EXTRA_DEPS)

crm_math_exec.o: crm_math_exec.c \
	$(HFILES) $(EXTRA_DEPS)

crm_expandvar.o: crm_expandvar.c \
	$(HFILES) $(EXTRA_DEPS)

crm_stmt_parser.o: crm_stmt_parser.c \
	$(HFILES) $(EXTRA_DEPS)

crm_expr_alter.o: crm_expr_alter.c \
	$(HFILES) $(EXTRA_DEPS)

crm_expr_match.o: crm_expr_match.c \
	$(HFILES) $(EXTRA_DEPS)

crm_expr_file_io.o: crm_expr_file_io.c \
	$(HFILES) $(EXTRA_DEPS)

crm_expr_syscall.o: crm_expr_syscall.c \
	$(HFILES) $(EXTRA_DEPS)

crm_expr_classify.o: crm_expr_classify.c \
	$(HFILES) $(EXTRA_DEPS)

crm_expr_translate.o: crm_expr_translate.c \
	$(HFILES) $(EXTRA_DEPS)

crm_expr_window.o: crm_expr_window.c \
	$(HFILES) $(EXTRA_DEPS)

crm_expr_isolate.o: crm_expr_isolate.c \
	$(HFILES) $(EXTRA_DEPS)

crm_css_maintenance.o: crm_css_maintenance.c \
	$(HFILES) $(EXTRA_DEPS)

crm_winnow_maintenance.o: crm_winnow_maintenance.c \
	$(HFILES) $(EXTRA_DEPS)

crm_osbf_maintenance.o: crm_osbf_maintenance.c \
	$(HFILES) $(EXTRA_DEPS)

crm_markovian.o: crm_markovian.c \
	$(HFILES) $(EXTRA_DEPS)

crm_osb_bayes.o: crm_osb_bayes.c \
	$(HFILES) $(EXTRA_DEPS)

crm_osbf_bayes.o: crm_osbf_bayes.c \
	$(HFILES) $(EXTRA_DEPS)

crm_osb_hyperspace.o: crm_osb_hyperspace.c \
	$(HFILES) $(EXTRA_DEPS)

crm_expr_sks.o: crm_expr_sks.c \
	$(HFILES) $(EXTRA_DEPS)

crm_expr_svm.o: crm_expr_svm.c \
	$(HFILES) $(EXTRA_DEPS)

crm_fast_substring_compression.o: crm_fast_substring_compression.c \
	$(HFILES) $(EXTRA_DEPS)

crm_expr_clump.o: crm_expr_clump.c \
	$(HFILES) $(EXTRA_DEPS)

crm_stats.o: crm_stats.c \
	$(HFILES) $(EXTRA_DEPS)

crm_neural_net.o: crm_neural_net.c \
	$(HFILES) $(EXTRA_DEPS)

crm_bit_entropy.o: crm_bit_entropy.c \
	$(HFILES) $(EXTRA_DEPS)

crm_osb_winnow.o: crm_osb_winnow.c \
	$(HFILES) $(EXTRA_DEPS)

crm_correlate.o: crm_correlate.c \
	$(HFILES) $(EXTRA_DEPS)

crm_debugger.o: crm_debugger.c \
	$(HFILES) $(EXTRA_DEPS)

crm_str_funcs.o: crm_str_funcs.c \
	$(HFILES) $(EXTRA_DEPS)

crm_vector_tokenize.o: crm_vector_tokenize.c \
	$(HFILES) $(EXTRA_DEPS)

crmregex_tre.o: crmregex_tre.c \
	$(HFILES) $(EXTRA_DEPS)

crmregex_gnu.o: crmregex_gnu.c \
	$(HFILES) $(EXTRA_DEPS)

cssutil.o: cssutil.c  \
	$(HFILES) $(EXTRA_DEPS)

osbf-util.o: osbf-util.c  \
	$(HFILES) $(EXTRA_DEPS)

cssdiff.o: cssdiff.c  \
	$(HFILES) $(EXTRA_DEPS)

cssmerge.o: cssmerge.c  \
	$(HFILES) $(EXTRA_DEPS)

testvectok.o: testvectok.c  \
	$(HFILES) $(EXTRA_DEPS)

crm_generic_port.o: crm_generic_port.c \
	$(HFILES) $(EXTRA_DEPS)

crm_stdio_port.o: crm_stdio_port.c \
	$(HFILES) $(EXTRA_DEPS)

crm_versioning.o: crm_versioning.c \
	$(HFILES) $(EXTRA_DEPS)

crm_core_profiling.o: crm_core_profiling.c \
	$(HFILES) $(EXTRA_DEPS)

crm_osb_markovian_alt.o: crm_osb_markovian_alt.c \
	$(HFILES) $(EXTRA_DEPS)

crm_osb_bayes_alt.o: crm_osb_bayes_alt.c \
	$(HFILES) $(EXTRA_DEPS)

crm_osb_hyperspace_alt.o: crm_osb_hyperspace_alt.c \
	$(HFILES) $(EXTRA_DEPS)

crm_osb_winnow_alt.o: crm_osb_winnow_alt.c \
	$(HFILES) $(EXTRA_DEPS)

crm_osbf_bayes_alt.o: crm_osbf_bayes_alt.c \
	$(HFILES) $(EXTRA_DEPS)

crm_bmp_prof_main.o: crm_bmp_prof_main.cpp \
	$(HFILES) $(EXTRA_DEPS)

crm_bmp_image_io.o: crm_bmp_image_io.cpp \
	$(HFILES) $(EXTRA_DEPS)

crm_bmp_prof_collect.o: crm_bmp_prof_collect.cpp \
	$(HFILES) $(EXTRA_DEPS)

crm_bmp_prof_report.o: crm_bmp_prof_report.cpp \
	$(HFILES) $(EXTRA_DEPS)

crm_bmp_prof_scan.o: crm_bmp_prof_scan.cpp \
	$(HFILES) $(EXTRA_DEPS)

crm_bmp_prof_utils.o: crm_bmp_prof_utils.cpp \
	$(HFILES) $(EXTRA_DEPS)

clean-local:
	-rm -f crm114$(EXEEXT)
	-rm -f cssutil$(EXEEXT)
	-rm -f osbf-util$(EXEEXT)
	-rm -f cssdiff$(EXEEXT)
	-rm -f cssmerge$(EXEEXT)
	-rm -f testvectok$(EXEEXT)
	-rm -f crm_test_hashes$(EXEEXT)
	-rm -f crm_bmp_prof$(EXEEXT)
	-rm -f crm114_gnu$(EXEEXT)
	-rm -f crm114_tre$(EXEEXT)
	-rm -f crm114
	-rm -f cssutil
	-rm -f osbf-util
	-rm -f cssdiff
	-rm -f cssmerge
	-rm -f testvectok
	-rm -f crm_test_hashes
	-rm -f crm_bmp_prof
	-rm -f crm114_gnu
	-rm -f crm114_tre
	-rm -f *.o
	-rm -rf diff/
	$(E) "   if the next line doesn't work in your version of make,"
	$(E) "    don't worry.  It just means you have TRE in another place."
	$(E) "    You can cd to the TRE directory and 'make clean' manually"
	-( [ "$(TRE_TARFILE)" ] && cd $(TRE_TARFILE) && make clean )

install-exec-local: install_engine install_utils
	$(E) ""
	$(E) "    Done.  Type "make help" to see what else you can make."
	$(E) ""

#
#    Installing Utilities
#	
install_utils: cssmerge$(EXEEXT) cssutil$(EXEEXT) cssdiff$(EXEEXT) osbf-util$(EXEEXT)
	$(E) ""
	$(E) "    Installing Utilities"
	$(E) ""
	$(mkinstalldirs) $(DESTDIR)$(bindir)
	install $(INSTALLFLAGS) cssdiff$(EXEEXT)   $(DESTDIR)$(bindir)/cssdiff$(VER_SUFFIX)$(EXEEXT)
	install $(INSTALLFLAGS) cssmerge$(EXEEXT)  $(DESTDIR)$(bindir)/cssmerge$(VER_SUFFIX)$(EXEEXT)
	install $(INSTALLFLAGS) cssutil$(EXEEXT)   $(DESTDIR)$(bindir)/cssutil$(VER_SUFFIX)$(EXEEXT)
	install $(INSTALLFLAGS) osbf-util$(EXEEXT) $(DESTDIR)$(bindir)/osbf-util$(VER_SUFFIX)$(EXEEXT)
	$(E) "   if you don't have EMACS installed in the default place, you"
	$(E) "   won't get the crm114-mode.el automatically."

#	-install $(INSTALLFLAGS) crm114-mode.el $(prefix)/share/emacs/site-lisp/crm114-mode.el$(VER_SUFFIX)

# use different name so we can keep it around along with default one
# and same VER_SUFFIX postfix 

install_engine: crm114$(EXEEXT)
	$(E) ""
	$(E) "    Installing engine"
	$(E) ""
	$(mkinstalldirs) $(DESTDIR)$(bindir)
	install $(INSTALLFLAGS) crm114$(EXEEXT) $(DESTDIR)$(bindir)/crm114$(VER_SUFFIX)$(EXEEXT)

install_binary_only: crm114$(EXEEXT) cssdiff$(EXEEXT) cssmerge$(EXEEXT) cssutil$(EXEEXT) osbf-util$(EXEEXT)
	$(mkinstalldirs) $(DESTDIR)$(bindir)
	install $(INSTALLFLAGS) crm114$(EXEEXT)    $(DESTDIR)$(bindir)/crm114$(VER_SUFFIX)$(EXEEXT)
	install $(INSTALLFLAGS) cssdiff$(EXEEXT)   $(DESTDIR)$(bindir)/cssdiff$(VER_SUFFIX)$(EXEEXT)
	install $(INSTALLFLAGS) cssmerge$(EXEEXT)  $(DESTDIR)$(bindir)/cssmerge$(VER_SUFFIX)$(EXEEXT)
	install $(INSTALLFLAGS) cssutil$(EXEEXT)   $(DESTDIR)$(bindir)/cssutil$(VER_SUFFIX)$(EXEEXT)
	install $(INSTALLFLAGS) osbf-util$(EXEEXT) $(DESTDIR)$(bindir)/osbf-util$(VER_SUFFIX)$(EXEEXT)

#	-install $(INSTALLFLAGS) crm114-mode.el $(prefix)/share/emacs/site-lisp/crm114-mode.el$(VER_SUFFIX)

install-exec-hook: crm114$(EXEEXT)
	cd $(DESTDIR)$(bindir) && $(LN_S) crm114$(VER_SUFFIX)$(EXEEXT) crm

uninstall-hook:
	-rm -f $(DESTDIR)$(bindir)/crm

uninstall-local:
	-rm -f $(DESTDIR)$(bindir)/crm114$(VER_SUFFIX)$(EXEEXT)
	-rm -f $(DESTDIR)$(bindir)/cssdiff$(VER_SUFFIX)$(EXEEXT)
	-rm -f $(DESTDIR)$(bindir)/cssmerge$(VER_SUFFIX)$(EXEEXT)
	-rm -f $(DESTDIR)$(bindir)/cssutil$(VER_SUFFIX)$(EXEEXT)
	-rm -f $(DESTDIR)$(bindir)/osbf-util$(VER_SUFFIX)$(EXEEXT)

#	-rm -f $(DESTDIR)$(prefix)/share/emacs/site-lisp/crm114-mode.el$(VER_SUFFIX)

#
#        This runs a moderately interesting set of base tests 
#        to exercise much of CRM114 under TRE.  This takes about
#        1 minute to run on a 1.6 GHz Pentium-M laptop.  Please
#	 be patient; you (hopefully) won't see anything till the
#	 full set of tests complete.  If you didn't use TRE, all 
#        bets are off.
#
#	Lines of output that start with OK_IF_mumble are allowed
#       to change values.  No other lines should.  If other lines
#       do change, either your kit isn't quite right or your
#       install is broken (or you've found a bug).
#
megatest: crm114$(EXEEXT) megatest.sh megatest_knowngood.log $(MEGATESTFILES) 
	$(E) ""
	$(E) "   This runs a moderately interesting set of base tests"
	$(E) "   to exercise much of CRM114 under TRE.  This takes about"
	$(E) "   1 minute to run on a 1.6 GHz Pentium-M laptop.  Please"
	$(E) "   be patient; you (hopefully) won't see anything till the"
	$(E) "   full set of tests complete.  If you didn't use TRE, all"
	$(E) "   bets are off."
	$(E) ""
	$(E) "   Lines of output that start with OK_IF_mumble are allowed"
	$(E) "   to change values.  No other lines should.  If other lines"
	$(E) "   do change, either your kit isn't quite right or your"
	$(E) "   install is broken (or you've found a bug)."
	$(E) ""
	-( if [ ! -e ./inserttest_a.crm      ] ; then cp $(srcdir)/*.crm ./           ; fi )
	-( if [ ! -e ./rewrites.mfp          ] ; then cp $(srcdir)/*.mfp ./           ; fi )
	-( if [ ! -e ./blacklist.mfp.example ] ; then cp $(srcdir)/*.example ./       ; fi )
	$(srcdir)/megatest.sh 2 > megatest_test.log 2>&1
	$(E) "=============================================================="
	$(E) "=================== MEGATEST DIFF REPORT ====================="
	$(E) "===================      (unified)       ====================="
	$(E) "=============================================================="
	$(DIFF) -u $(DIFF_FLAGS) $(srcdir)/megatest_knowngood.log megatest_test.log & sleep 1
	$(E) "=============================================================="
	$(E) "=================== MEGATEST DIFF REPORT ====================="
	$(E) "===================      (regular)       ===================="
	$(E) "=============================================================="
	$(DIFF) $(DIFF_FLAGS) $(srcdir)/megatest_knowngood.log megatest_test.log & sleep 1

megatest_ng: crm114$(EXEEXT) megatest_ng.sh $(MEGATESTFILES) megatest_knowngood.log
	$(E) ""
	$(E) "   This runs a moderately interesting set of base tests"
	$(E) "   to exercise much of CRM114 under TRE.  This takes about"
	$(E) "   1 minute to run on a 1.6 GHz Pentium-M laptop.  Please"
	$(E) "   be patient; you (hopefully) won't see anything till the"
	$(E) "   full set of tests complete.  If you didn't use TRE, all"
	$(E) "   bets are off."
	$(E) ""
	$(E) "   Lines of output that start with OK_IF_mumble are allowed"
	$(E) "   to change values.  No other lines should.  If other lines"
	$(E) "   do change, either your kit isn't quite right or your"
	$(E) "   install is broken (or you've found a bug)."
	$(E) ""
	-( if [ ! -e ./inserttest_a.crm      ] ; then cp $(srcdir)/*.crm ./           ; fi )
	-( if [ ! -e ./rewrites.mfp          ] ; then cp $(srcdir)/*.mfp ./           ; fi )
	-( if [ ! -e ./blacklist.mfp.example ] ; then cp $(srcdir)/*.example ./       ; fi )
	$(srcdir)/megatest_ng.sh 2 > megatest_ng_test.log 2>&1
	$(E) "=============================================================="
	$(E) "=================== MEGATEST DIFF REPORT ====================="
	$(E) "===================      (unified)       ====================="
	$(E) "=============================================================="
	$(DIFF) -u $(DIFF_FLAGS) $(srcdir)/megatest_knowngood.log megatest_ng_test.log & sleep 1
	$(E) "=============================================================="
	$(E) "=================== MEGATEST DIFF REPORT ====================="
	$(E) "===================      (regular)       ===================="
	$(E) "=============================================================="
	$(DIFF) $(DIFF_FLAGS) $(srcdir)/megatest_knowngood.log megatest_ng_test.log & sleep 1

cssfiles: spam.dir good.dir
	$(E) ""
	$(E) "   This may take a LONG TIME to run, up to 10 minutes per megabyte"
	$(E) "   of text.  Please adjust your expectations accordingly."
	$(E) ""
	$(E) "   Also, be advised that relearning the same text more than once"
	$(E) "   can be ill-advised.  Remove the .css files first if you are"
	$(E) "   relearning your entire corpus (new .css files will be created"
	$(E) "   if they don't already exist)"
	$(E) ""
	$(E) "   If your text corpi are very large, you may need to rebuild"
	$(E) "   crm114 with a larger default window size - or alter the commands"
	$(E) "   below to use a bigger -w than your default"
	$(E) ""
	$(E) "   If you have NOT yet set up your mailfilter.cf and mailfilter.mfp"
	$(E) "   files, hit ^C NOW.  REALLY!!!  Fix that, and rerun."
	sleep 5
	$(E) "   Here we go..."
	$(E) ""
	$(E) "   MUCH STUFF DEPRECATED!!!  Use mailreaver.crm instead..."
	$(builddir)/cssutil -b -r spam.css
	$(builddir)/cssutil -b -r nonspam.css
	cp spam.css spam__$(DATE).txt
	cp nonspam.css nonspam__$(DATE).txt
	$(E) ""
	$(E) "   run mailtrainer.crm on the spam.dir and good.dir directories."
	$(srcdir)/mailtrainer.crm \
		--good=./good.dir/ \
		--spam=./spam.dir/ \
		--repeat=5 \
		--random
	$(E) "   If all went well with the above, you will have backup copies of"
	$(E) "   your spam and nonspam .css files."
	$(E) "   You may now delete these files with impunity, or you may "
	$(E) "   choose to keep them around as backup."

rsync: $(CFILES) $(HFILES) $(UTIL_C_FILES) $(CFILES_4_BMP_PROF) $(CRMFILES) $(TEXTFILES) $(EXTRA_DIST) \
		config.h.in \
		config_vanilla_UNIX_sys_defaults.h.in \
		../win32/config_win32.h.in
	rsync -zrltDv \
	  $(CFILES) $(HFILES) $(UTIL_C_FILES) $(CFILES_4_BMP_PROF) $(CRMFILES) $(TEXTFILES) $(EXTRA_DIST) \
		config.h.in \
		config_vanilla_UNIX_sys_defaults.h.in \
		../win32/config_win32.h.in
	  wsy@crm114.sourceforge.net:/home/groups/c/cr/crm114/htdocs/src/

diff: diff_em.sh $(CFILES) $(HFILES) $(UTIL_C_FILES) $(CFILES_4_BMP_PROF) $(CRMFILES) $(TEXTFILES) $(EXTRA_DIST)
	-( sh ./diff_em.sh );

# original: indent -npcs -nprs -npsl -nsaf -nsai -nsaw -nut -bli0 -nlp *.c *.h
# indent -bad -bap -bl -bli0 -bls -cbi4 -cdw -cli0 -di8 -hnl -i4 -l80 -lp -nbc -nce -ncs -npcs -nprs -npsl -nsaf -nsai -nsaw -nsob -nut -pi4 -sc -ss -T index_t -T hitcount_t -T regex_t -T regmatch_t -T regamatch_t -T regaparams_t -T Qitem_t -T regoff_t -T tre_char_t -T COOCCURRENCE_SCORE_TYPE *.c *.h
reindent: indent.sh $(CFILES) $(HFILES) $(UTIL_C_FILES) $(CFILES_4_BMP_PROF) \
		config.h.in \
		config_vanilla_UNIX_sys_defaults.h.in \
		../win32/config_win32.h.in
	-( sh ./indent.sh $(CFILES) $(HFILES) $(UTIL_C_FILES) $(CFILES_4_BMP_PROF) \
		config.h.in \
		config_vanilla_UNIX_sys_defaults.h.in \
		../win32/config_win32.h.in \
	 )

.PHONY: reindent depend rsync done_all megatest help clean install uninstall-hook uninstall test megatest_ng megatest

depend:
	makedepend -- $(CFLAGS) -- *.[ch]

# DO NOT DELETE THIS LINE -- make depend depends on it.
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
