aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-09-30 15:10:07 +0200
committerJohannes Berg <johannes@sipsolutions.net>2007-09-30 15:10:07 +0200
commit34ad5cf745e1a1c86243844433f9e2e202523a1e (patch)
tree21e57a8c54bacd21b483de0d500364f80f0ef9c4 /Makefile
parentd30cef3c11f07889c2f8e86340b013174d28fc5c (diff)
downloaddovecot-antispam-34ad5cf745e1a1c86243844433f9e2e202523a1e.tar.gz
dovecot-antispam-34ad5cf745e1a1c86243844433f9e2e202523a1e.tar.xz
dovecot-antispam-34ad5cf745e1a1c86243844433f9e2e202523a1e.zip
seems to work
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 717c58d..691835f 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ CFLAGS += -I$(DOVECOT)/src/imap/
# per-backend configuration
ifeq ("$(BACKEND)", "dspam-exec")
-CFLAGS += -DCONFIG_PLUGIN_WANT_SIGNATURE=1
+CFLAGS += -DBACKEND_WANT_SIGNATURE=1
# can take a while, check more often
CFLAGS += -DCOPY_CHECK_INTERVAL=10
endif
@@ -38,8 +38,11 @@ ALL = antispam
all: verify_config $(ALL)
+%.o: %.c .config
+ $(CC) -c $(CFLAGS) -o $@ $<
+
antispam: $(objs)
- $(CC) $(CFLAGS) $(INCLUDES) $(objs) -o $@.so $(LDFLAGS)
+ $(CC) $(CFLAGS) $(objs) -o $@.so $(LDFLAGS)
clean:
rm -f *.so *.o *~