1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545
|
# Makefile for CRM114
#
#
# If you want to install the executables somewhere else, change
# BINDIR here. Default is /usr/bin but you can change it to /usr/local/bin
# if you prefer that sort of thing.
#
prefix=/usr
BINDIR=${prefix}/bin
# VER_SUFFIX defines a version suffix for our installed executables,
# handy when you want many versions of CRM114 coexisting.
#
# e.g.: VER_SUFFIX=-927b, then if you make install, you get crm-927b
#
VER_SUFFIX ?=
#
# 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)
#
CRM114_ARCHIVE = /homes/crm114/archive
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-BlameBarryAndPaoloa
#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 BUG REPORTS _CANNOT_ BE WORKED.
SYSTEMTYPE = POSIX
#SYSTEMTYPE = WIN32
#
#
# Tell the compiler full optimization, allow debugging, and warn on every
# possible error
#
CFLAGS += -O3 -g -Wall
# turn this one on for no optimization debugging.
#CFLAGS += -O0 -g -Wall
# turn this one on for really picayune debugging.
# CFLAGS += -Wextra
#
# Choose between static and dynamic linking (we recommend static linking)
# Comment this out if you want dynamic linking
#
# 2005-04-22 Milan Zamazal <pdm@debian.org>: Do not link statically, to comply
# with Debian policies.
#LDFLAGS += -static
#
# Any standard install flags? We nominally use protection 755
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.4
#
# --------- 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
#
# 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
#
#
# End of user-configurable options... if you modify anything below
# this line, you risk early insanity and blindness.
#
#
# These are the files needed to build the CRM114 engine; they don't
# include the side utilities
#
CFILES = crm_main.c crm_compiler.c crm_errorhandlers.c \
crm_math_exec.c crm_var_hash_table.c crm_expandvar.c \
crm_stmt_parser.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_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_util_errorhandlers.c
# crm_osb_neural.c \
#
HFILES = Makefile crm114_sysincludes.h crm114_structs.h crm114_config.h \
crm114.h regex.h crm114_osbf.h
#
OFILES = crm_main.o crm_compiler.o crm_errorhandlers.o \
crm_exec_engine.o crm_preprocessor.o crm_var_hash_table.o \
crm_math_exec.o crm_expandvar.o crm_stmt_parser.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_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_debugger.o crm_str_funcs.o
# crm_osb_neural.o \
#
#
all: crm114 cssutil cssdiff cssmerge osbf-util
crm114: FORCE
$(MAKE) crm114_tre
# ./crm114 is used locally; make sure it's there too.
ln -f -s crm114_tre crm114
crm114_gnu: $(OFILES) crmregex_gnu.o
#
# Note: if you haven't installed TRElib, the next step
# will get an error.
# For TRElib, look in the TRE sub-directory of this kit.
# Remember to use ./configure --enable-static for static libs.
# You will also need to add "usr/local/lib/*" to /etc/ld.so.conf,
# and then run ldconfig (as root) to set the library up and make
# the library known to the static and runtime linkers.
#
$(CC) $(LDFLAGS) $(LIBS) $(OFILES) \
crmregex_gnu.o \
-lm -o crm114_gnu
crm114_tre: $(OFILES) crmregex_tre.o
#
# Note: if you haven't installed TRElib, the next step
# will get an error.
# For TRElib, look in the TRE sub-directory of this kit.
# Remember to use ./configure --enable-static for static libs.
# You will also need to add /usr/local/lib to /etc/ld.so.conf,
# and then run ldconfig (as root) to set the library up and make
# the library known to the static and runtime linkers.
#
$(CC) $(LDFLAGS) $(LIBS) $(OFILES) \
crmregex_tre.o \
-lm -ltre -o crm114_tre
#
# 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)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_main.c -o crm_main.o
crm_compiler.o: crm_compiler.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_compiler.c -o crm_compiler.o
crm_errorhandlers.o: crm_errorhandlers.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_errorhandlers.c -o crm_errorhandlers.o
crm_exec_engine.o: crm_exec_engine.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_exec_engine.c -o crm_exec_engine.o
crm_preprocessor.o: crm_preprocessor.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_preprocessor.c -o crm_preprocessor.o
crm_var_hash_table.o: crm_var_hash_table.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_var_hash_table.c -o crm_var_hash_table.o
crm_math_exec.o: crm_math_exec.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_math_exec.c -o crm_math_exec.o
crm_expandvar.o: crm_expandvar.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_expandvar.c -o crm_expandvar.o
crm_stmt_parser.o: crm_stmt_parser.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_stmt_parser.c -o crm_stmt_parser.o
crm_expr_alter.o: crm_expr_alter.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_expr_alter.c -o crm_expr_alter.o
crm_expr_match.o: crm_expr_match.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_expr_match.c -o crm_expr_match.o
crm_expr_file_io.o: crm_expr_file_io.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_expr_file_io.c -o crm_expr_file_io.o
crm_expr_syscall.o: crm_expr_syscall.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_expr_syscall.c -o crm_expr_syscall.o
crm_expr_classify.o: crm_expr_classify.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_expr_classify.c -o crm_expr_classify.o
crm_expr_translate.o: crm_expr_translate.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_expr_translate.c -o crm_expr_translate.o
crm_expr_window.o: crm_expr_window.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_expr_window.c -o crm_expr_window.o
crm_expr_isolate.o: crm_expr_isolate.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_expr_isolate.c -o crm_expr_isolate.o
crm_css_maintenance.o: crm_css_maintenance.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_css_maintenance.c -o crm_css_maintenance.o
crm_winnow_maintenance.o: crm_winnow_maintenance.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_winnow_maintenance.c -o crm_winnow_maintenance.o
crm_osbf_maintenance.o: crm_osbf_maintenance.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_osbf_maintenance.c -o crm_osbf_maintenance.o
crm_markovian.o: crm_markovian.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_markovian.c -o crm_markovian.o
crm_osb_bayes.o: crm_osb_bayes.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_osb_bayes.c -o crm_osb_bayes.o
crm_osbf_bayes.o: crm_osbf_bayes.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_osbf_bayes.c -o crm_osbf_bayes.o
crm_osb_hyperspace.o: crm_osb_hyperspace.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_osb_hyperspace.c -o crm_osb_hyperspace.o
#crm_osb_neural.o: crm_osb_neural.c \
# $(HFILES)
# $(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_osb_neural.c -o crm_osb_neural.o
crm_osb_winnow.o: crm_osb_winnow.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_osb_winnow.c -o crm_osb_winnow.o
crm_correlate.o: crm_correlate.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_correlate.c -o crm_correlate.o
crm_debugger.o: crm_debugger.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_debugger.c -o crm_debugger.o
crm_str_funcs.o: crm_str_funcs.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crm_str_funcs.c -o crm_str_funcs.o
crmregex_tre.o: crmregex_tre.c \
$(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c crmregex_tre.c -o crmregex_tre.o
crmregex_gnu.o: crmregex_gnu.c $(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -c crmregex_gnu.c -o crmregex_gnu.o
crm_util_errorhandlers.o: crm_util_errorhandlers.c $(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -c crm_util_errorhandlers.c \
-o crm_util_errorhandlers.o
cssutil: cssutil.c crm_css_maintenance.o crm_util_errorhandlers.o $(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c cssutil.c -o cssutil.o
$(CC) $(CFLAGS) $(LDFLAGS) cssutil.o \
crm_css_maintenance.o \
crm_util_errorhandlers.o \
crm_str_funcs.o -lm -ltre -o cssutil
osbf-util: osbf-util.c crm_osbf_maintenance.o crm_util_errorhandlers.o $(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c osbf-util.c -o osbf-util.o
$(CC) $(CFLAGS) $(LDFLAGS) osbf-util.o \
crm_str_funcs.o \
crm_util_errorhandlers.o \
crm_osbf_maintenance.o -lm -ltre -o osbf-util
cssdiff: cssdiff.c crm_util_errorhandlers.o $(HFILES)
$(CC) $(CFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' -c cssdiff.c -o cssdiff.o
$(CC) $(CFLAGS) $(LDFLAGS) \
crm_util_errorhandlers.o \
crm_str_funcs.o -ltre cssdiff.o -o cssdiff
cssmerge: cssmerge.c crm_util_errorhandlers.o $(HFILES)
$(CC) $(CFLAGS) $(LDFLAGS) -D$(SYSTEMTYPE) -DVERSION='"$(VERSION)"' \
crm_str_funcs.o \
crm_util_errorhandlers.o \
-ltre cssmerge.c -o cssmerge
clean:
-rm -f crm114
-rm -f cssutil
-rm -f osbf-util
-rm -f cssdiff
-rm -f cssmerge
-rm -f crm114
-rm -f crm114_gnu
-rm -f crm114_tre
-rm -f *.o
# if the next line doesn't work in your version of make,
# don't worry. cd down into the TRE directory and 'make clean' manually
# ( cd $(TRE_TARFILE) && make clean )
install: FORCE
$(MAKE) install_crm114 install_utils
install_crm114: crm114
#
# NOTE - the default CRM114 now uses the TRE regex lib, not GNU
# If you want the GNU one (not recommended) you should
# use 'install_gnu' as the make target.
#
$(MAKE) install_tre
install_utils:
$(MAKE) cssmerge cssutil cssdiff osbf-util
install $(INSTALLFLAGS) cssdiff $(BINDIR)/cssdiff$(VER_SUFFIX)
install $(INSTALLFLAGS) cssmerge $(BINDIR)/cssmerge$(VER_SUFFIX)
install $(INSTALLFLAGS) cssutil $(BINDIR)/cssutil$(VER_SUFFIX)
install $(INSTALLFLAGS) osbf-util $(BINDIR)/osbf-util$(VER_SUFFIX)
# if you don't have EMACS installed in the default place, you
# won't get the crm114-mode.el automatically.
-install $(INSTALLFLAGS) crm114-mode.el /usr/share/emacs/site-lisp/crm114-mode.el$(VER_SUFFIX)
install_tre: crm114_tre
install $(INSTALLFLAGS) crm114_tre $(BINDIR)/crm$(VER_SUFFIX)
# use different name so we can keep it around along with default one
# and same VER_SUFFIX postfix
install_gnu: crm114_gnu
install $(INSTALLFLAGS) crm114_gnu $(BINDIR)/crmg$(VER_SUFFIX)
install_binary_only: FORCE
install $(INSTALLFLAGS) crm114_tre $(BINDIR)/crm$(VER_SUFFIX)
install $(INSTALLFLAGS) cssdiff $(BINDIR)/cssdiff$(VER_SUFFIX)
install $(INSTALLFLAGS) cssmerge $(BINDIR)/cssmerge$(VER_SUFFIX)
install $(INSTALLFLAGS) cssutil $(BINDIR)/cssutil$(VER_SUFFIX)
install $(INSTALLFLAGS) osbf-util $(BINDIR)/osbf-util$(VER_SUFFIX)
-install $(INSTALLFLAGS) crm114-mode.el /usr/share/emacs/site-lisp/crm114-mode.el$(VER_SUFFIX)
uninstall: FORCE
-rm -rf $(BINDIR)/crm$(VER_SUFFIX)
-rm -rf $(BINDIR)/crmg$(VER_SUFFIX)
-rm -rf $(BINDIR)/crma$(VER_SUFFIX)
-rm -rf $(BINDIR)/cssdiff$(VER_SUFFIX)
-rm -rf $(BINDIR)/cssmerge$(VER_SUFFIX)
-rm -rf $(BINDIR)/cssutil$(VER_SUFFIX)
-rm -rf $(BINDIR)/osbf-util$(VER_SUFFIX)
-rm -rf /usr/share/emacs/site-lisp/crm114-mode.el$(VER_SUFFIX)
megatest: FORCE
#
# 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.sh > megatest_test.log
diff megatest_knowngood.log megatest_test.log & sleep 1
cssfiles: spam.dir good.dir
#
# This may take a LONG TIME to run, up to 10 minutes per megabyte
# of text. Please adjust your expectations accordingly.
#
# Also, be advised that relearning the same text more than once
# can be ill-advised. Remove the .css files first if you are
# relearning your entire corpus (new .css files will be created
# if they don't already exist)
#
# If your text corpi are very large, you may need to rebuild
# crm114 with a larger default window size - or alter the commands
# below to use a bigger -w than your default
#
# If you have NOT yet set up your mailfilter.cf and mailfilter.mfp
# files, hit ^C NOW. REALLY!!! Fix that, and rerun.
sleep 5
# Here we go...
#
export DATE $(date +%Y_%m_%d_%H_%M_%S)
# MUCH STUFF DEPRECATED!!! Use mailtrainer.crm instead...
# cp spamtext.txt saved_spamtext__$(DATE).txt
# cp nonspamtext.txt saved_nonspamtext__$(DATE).txt
cssutil -b -r spam.css
cssutil -b -r nonspam.css
cp spam.css spam__$(DATE).txt
cp nonspam.css nonspam__$(DATE).txt
# ./crm114 mailfilter.crm --learnspam --force < saved_spamtext__$(DATE).txt
# ./crm114 mailfilter.crm --learnnonspam --force < saved_nonspamtext__$(DATE).txt
#
# run mailtrainer.crm on the spam.dir and good.dir directories.
mailtrainer.crm \
--good=./good.dir/ \
--spam=./spam.dir/ \
--repeat=5 \
--random
# If all went well with the above, you will have backup copies of
# your spam and nonspam .css files.
# You may now delete these files with impunity, or you may
# choose to keep them around as backup.
tarfile: all
rm -rf crm114-$(VERSION).src
mkdir crm114-$(VERSION).src
cp $(CFILES) \
$(HFILES) \
osbf-util.c cssutil.c cssdiff.c cssmerge.c \
QUICKREF.txt INTRO.txt knownbugs.txt FAQ.txt things_to_do.txt \
classify_details.txt README CRM114_Mailfilter_HOWTO.txt \
rename-gz \
megatest.sh megatest_knowngood.log\
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\
rewritetest.crm test_rewrites.mfp \
randomiotest.crm isolate_reclaim_test.crm \
match_isolate_test.crm match_isolate_reclaim.crm \
call_return_test.crm \
shroud.crm \
userdirtest.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 pad.dat \
COLOPHON.txt \
mailfilter.crm mailfilter.cf \
mailreaver.crm mailtrainer.crm \
maillib.crm shuffle.crm \
rewriteutil.crm \
classifymail.crm \
procmailrc.recipe reto_procmail_recipe.recipe \
priolist.mfp blacklist.mfp whitelist.mfp rewrites.mfp \
priolist.mfp.example blacklist.mfp.example whitelist.mfp.example \
crm114-mode.el \
crm114.spec \
inoc_passwd.txt \
GPL-License.txt \
crm114-$(VERSION).src
cp -a $(TRE_TARFILE) crm114-$(VERSION).src
cp -a BSD_build_files crm114-$(VERSION).src
tar -cvf crm114-$(VERSION).src.tar crm114-$(VERSION).src
rm -rf crm114-$(VERSION).src
src_gzip: tarfile
rm -rf crm114-$(VERSION).src.tar.gz
gzip crm114-$(VERSION).src.tar
i386_tarfile: all
rm -rf crm114-$(VERSION).i386
mkdir crm114-$(VERSION).i386
cp crm114_tre cssutil cssdiff cssmerge osbf-util \
Makefile \
CRM114_Mailfilter_HOWTO.txt \
COLOPHON.txt \
QUICKREF.txt INTRO.txt knownbugs.txt FAQ.txt things_to_do.txt \
mailfilter.crm mailfilter.cf \
mailreaver.crm mailtrainer.crm \
maillib.crm shuffle.crm \
rewriteutil.crm rewrites.mfp \
whitelist.mfp blacklist.mfp priolist.mfp \
priolist.mfp.example blacklist.mfp.example whitelist.mfp.example \
crm114-mode.el \
GPL-License.txt \
crm114-$(VERSION).i386
tar -cvf crm114-$(VERSION).i386.tar crm114-$(VERSION).i386
rm -rf crm114-$(VERSION).i386
i386_gzip: i386_tarfile
rm -rf crm114-$(VERSION).i386.tar.gz
gzip crm114-$(VERSION).i386.tar
css_tarfile: spam.css nonspam.css
rm -rf crm114-$(VERSION).css
mkdir crm114-$(VERSION).css
cp spam.css nonspam.css \
crm114-$(VERSION).css
tar -cvf crm114-$(VERSION).css.tar crm114-$(VERSION).css
rm -rf crm114-$(VERSION).css
css_gzip: css_tarfile
rm -rf crm114-$(VERSION).css.tar.gz
gzip crm114-$(VERSION).css.tar
distribution: install src_gzip i386_gzip css_gzip
md5sum crm114-$(VERSION).*.tar.gz
FORCE:
|