CFLAGS = -Wall -g
-#ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0 -ggdb -pg
-#else
-# CFLAGS += -O2
-#endif
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0 -ggdb -rdynamic -D_GNU_SOURCE -MD -MP
+ LDFLAGS += -pg
+ SERVER_LDFLAGS += -lm
+# SERVER_LDFLAGS += -pg
+else
+ CFLAGS += -O2
+endif
configure: configure-stamp
configure-stamp:
--with-zlib \
--with-ldap \
--with-libical \
- --with-libsieve
+ --with-libsieve \
+ --enable-debug
touch configure-stamp