aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2011-03-12 12:27:23 +0100
committerJohannes Berg <johannes@sipsolutions.net>2011-03-12 12:49:02 +0100
commit27d016eeb4536fdebd89882133fc5daa614ecf17 (patch)
tree3ec1f1411c1b24020ae852a43787d161ac326431 /Makefile
parent5ee29e4f74209bb8c5a85ae8c10763d0f7a50963 (diff)
downloaddovecot-antispam-27d016eeb4536fdebd89882133fc5daa614ecf17.tar.gz
dovecot-antispam-27d016eeb4536fdebd89882133fc5daa614ecf17.tar.xz
dovecot-antispam-27d016eeb4536fdebd89882133fc5daa614ecf17.zip
make debugging dynamic
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 1 insertions, 17 deletions
diff --git a/Makefile b/Makefile
index 9e56245..68c30a3 100644
--- a/Makefile
+++ b/Makefile
@@ -21,23 +21,7 @@ INCS += -I$(DOVECOT)/src/imap/
# output name
LIBRARY_NAME ?= lib90_$(PLUGINNAME)_plugin.so
-objs = antispam-storage.o antispam-plugin.o
-
-# debug rules
-ifeq ("$(DEBUG)", "stderr")
-LOCALCFLAGS += -DCONFIG_DEBUG -DDEBUG_STDERR
-objs += debug.o
-else
-ifeq ("$(DEBUG)", "syslog")
-LOCALCFLAGS += -DCONFIG_DEBUG -DDEBUG_SYSLOG
-objs += debug.o
-endif
-endif
-
-ifeq ("$(DEBUG_VERBOSE)", "1")
-LOCALCFLAGS += -DCONFIG_DEBUG_VERBOSE
-endif
-
+objs = antispam-storage.o antispam-plugin.o debug.o
objs += dspam-exec.o signature-log.o crm114-exec.o pipe.o spool2dir.o signature.o
# main make rules