aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-09-30 18:24:28 +0200
committerJohannes Berg <johannes@sipsolutions.net>2007-09-30 18:24:28 +0200
commit94e5e07c847768a15157c183aaa3bcb914e1afc2 (patch)
treeb4c51e1193472297d48cc3bc39053e9fe9f8d408 /Makefile
parent79a2ad5cb09df93f150c1afa231554eb9b37dc6b (diff)
downloaddovecot-antispam-94e5e07c847768a15157c183aaa3bcb914e1afc2.tar.gz
dovecot-antispam-94e5e07c847768a15157c183aaa3bcb914e1afc2.tar.xz
dovecot-antispam-94e5e07c847768a15157c183aaa3bcb914e1afc2.zip
Make it build against dovecot 1.1
Untested, use at your own risk, mostly consisted of copying changes from the cmd-copy.c implementation into plugin.c.
Diffstat (limited to '')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ba032ab..a2620de 100644
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,8 @@ CFLAGS += -DCONFIG_DEBUG -DDEBUG_SYSLOG
objs += debug.o
endif
+# dovecot version rules
+CFLAGS += -DDOVECOT_VER=$(DOVECOT_VERSION)
# main make rules
CFLAGS += -fPIC -shared -Wall