# $Id$ # $Log: Makefile.am,v $ # Revision 1.18 2003/09/14 14:00:06 crosser # begin introduction of lhash... # # Revision 1.17 2003/09/14 11:31:44 crosser # code cleanup to silence -Wall warnings. Actually, some of them where bugs. # Still cannot figure how to initialize `union' without warning # # Revision 1.16 2003/09/13 11:41:16 crosser # make new header parsing actually work # # Revision 1.15 2003/09/12 15:22:41 crosser # break parsing to separate modules (just placeholders for now) # # Revision 1.14 2003/09/12 14:18:34 crosser # placeholders for header processors # # Revision 1.13 2003/09/09 17:02:01 crosser # dispatch_ct introduced to invoke appropriate content processors # depending on content-type of the body(part) # # Revision 1.12 2003/09/09 07:57:38 crosser # do not install libplugins # # Revision 1.11 2003/09/08 12:55:55 crosser # make static and dynamic plugins syntactically identical # # Revision 1.10 2003/09/05 17:43:27 crosser # placeholders for body decoders # # Revision 1.9 2003/09/05 15:25:11 crosser # ceck_ct plugin finally works. # # Revision 1.8 2003/09/04 21:23:21 crosser # use strlcpy; # check_ct: regex matching works # # Revision 1.7 2003/09/03 21:09:22 crosser # completed switch from (start,len) pairs to slab_t descriptors # pass opaque attribute block between stages - so could separate # breakrfc822 into two stages (multibody is separate now) # # Revision 1.6 2003/09/02 08:05:01 crosser # make dynamic loading work on Solaris # # Revision 1.5 2003/09/01 22:39:00 crosser # scan interesting headers # FIXME: skip processing of last header # # Revision 1.4 2003/08/31 21:18:37 crosser # made plugin framework # # Revision 1.3 2003/08/31 11:29:16 crosser # make lib and inc subdirs # # Revision 1.2 2003/08/21 18:06:15 crosser # populate directories # # Revision 1.1 2003/08/21 17:41:49 crosser # moving things to dirs # AUTOMAKE_OPTIONS = foreign ../lib/ansi2knr INCLUDES = -I$(top_srcdir)/inc CFLAGS = -DSTATICMODULE=init_$* noinst_LTLIBRARIES = libplugins.la EXTRA_libplugins_la_SOURCES = breakzmsg.c breakrfc822.c breakbody.c \ breakzhdr.c breakhdr.c breakhdr_ct.c \ breakhdr_cte.c decode_qp.c decode_b64.c \ check_ct.c dispatch_ct.c dispatch_body.c libplugins_la_SOURCES = pluglist.c libplugins_la_LDFLAGS = -static libplugins_la_LIBADD = -L../lib -lzmscanner @PLUG_OBJ@ libplugins_la_DEPENDENCIES = @PLUG_OBJ@ EXTRA_DIST = check_ct.conf CLEANFILES = pluglist.c pluglist.c: Makefile ( \ echo "/* generated source, do not edit */"; \ echo ""; \ for f in @PLUGINS@; do \ echo "extern void init_$${f}();"; \ done; \ echo ""; \ echo "void init_plugins(void) {"; \ for f in @PLUGINS@; do \ echo " init_$${f}();"; \ done; \ echo "}"; \ ) >pluglist.c