From 7c6897ee95e4346e991185c014bcfce003809fd8 Mon Sep 17 00:00:00 2001 From: NotZed Date: Tue, 22 Feb 2000 10:09:07 +0000 Subject: New utility functions for working with the internal rule format. 2000-02-22 NotZed * filter-xml.c (filter_clone_optionrule): (filter_clone_optionrule_free): (filter_optionrule_new_from_rule): New utility functions for working with the internal rule format. * filter-arg.[ch]: Added new callbacks for editing a single value, and a new editor which shows all items in a list, and allows you to edit them via the single-edit method. This needs some cleanup for some unused/unusable virtual methods (edit_values, write_html?). * Makefile: Add the druid for build. * filter-druid.c: A 'druid' widget for editing a single filter rule. svn path=/trunk/; revision=1901 --- filter/Makefile | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'filter/Makefile') diff --git a/filter/Makefile b/filter/Makefile index 745574c108..04c6b33405 100644 --- a/filter/Makefile +++ b/filter/Makefile @@ -1,18 +1,22 @@ -OBJS = filter-arg-types.lo filter-arg.lo filter-xml.lo filter-driver.lo filter-format.lo -SRCS = filter-arg-types.c filter-arg.c filter-xml.c filter-driver.c filter-format.c +OBJS = filter-arg-types.lo filter-arg.lo filter-xml.lo filter-format.lo +SRCS = filter-arg-types.c filter-arg.c filter-xml.c filter-format.c LIBFILTEROBJS = filter-sexp.lo LIBFILTERSRCS = filter-sexp.c LIBTOOL=sh ../libtool +#CC=insure gcc CFLAGS = `gnome-config --cflags xml gnome gtk gtkhtml gnomeui` -g -I../camel -I .. -I../libibex LDFLAGS = `gnome-config --libs xml gnome gtk gtkhtml gnomeui` ../camel/libcamel.la -lpthread -all: libfilter.la filter-driver +all: libfilter.la filter-driver filter-druid -filter-driver: $(OBJS) libfilter.la +filter-druid: $(OBJS) filter-druid.lo libfilter.la + $(LIBTOOL) --mode link $(CC) $^ -o $@ $(LDFLAGS) + +filter-driver: $(OBJS) filter-driver.lo libfilter.la $(LIBTOOL) --mode link $(CC) $^ -o $@ $(LDFLAGS) libfilter.la: $(LIBFILTEROBJS) @@ -20,3 +24,6 @@ libfilter.la: $(LIBFILTEROBJS) %.lo: %.c $(LIBTOOL) --mode compile $(CC) $(CFLAGS) -c -o $@ $< + +clean: + -rm -rf *.o *.lo core .libs -- cgit v1.2.3