EXTRA_ARGS=
PROFILE_ARGS=
-#to enable debugging: export DEB_BUILD_OPTIONS="debug profiling compression urldebug"
+#to enable debugging: export DEB_BUILD_OPTIONS="debug profiling compression urldebug iodbg"
ifneq (,$(findstring profiling,$(DEB_BUILD_OPTIONS)))
PROFILE_ARGS= --with-gprof
CFLAGS += -D DEBUG_URLSTRINGS
endif
+ifneq (,$(findstring iodbg,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -D SERV_TRACE
+endif
+
+
configure: patch configure-stamp
configure-stamp:
dh_testdir
--with-localedir=/usr/share/ \
--with-editordir=/usr/share/tinymce/www/ \
--with-rundir=/var/run/citadel \
- --with-ical --with-db --with-ldap \
--with-ssldir=/etc/ssl/webcit/ \
- --with-ssl --with-libiconf \
- --with-newt --with-included-gettext \
+ --with-ssl \
--with-datadir=/var/run/citadel \
--enable-debug $(EXTRA_ARGS) $(PROFILE_ARGS)