]> code.citadel.org Git - citadel.git/blobdiff - citadel/Makefile
Experimental utility ctdl3264 for database conversion (not finished)
[citadel.git] / citadel / Makefile
index c89f92cc0aa6d115a38e8ffef2d8962b5edd6228..a5747326430f97cfeb68da3ed60532bb8619b30d 100644 (file)
@@ -11,7 +11,7 @@
 # config.mk is generated by ./configure
 include config.mk
 
-all := citserver setup ctdlmigrate sendcommand citmail chkpw chkpwd
+all := citserver setup ctdlmigrate sendcommand citmail chkpw chkpwd ctdl3264
 all: $(all)
 
 citserver: server/*.c server/modules/*/*.c config.mk server/*.h
@@ -38,6 +38,12 @@ chkpw: utils/chkpw.c utils/*.h server/*.h
 chkpwd: utils/chkpwd.c utils/auth.c utils/*.h server/*.h
        cc ${CFLAGS} ${LDFLAGS} utils/chkpwd.c utils/auth.c -lcrypt -o chkpwd
 
+ctdl3264: utils/ctdl3264.c utils/*.h server/*.h utils/ctdl3264_structs.h
+       cc ${CFLAGS} ${LDFLAGS} utils/ctdl3264.c -ldb -o ctdl3264
+
+utils/ctdl3264_structs.h: server/server.h utils/ctdl3264_prep.sh
+       utils/ctdl3264_prep.sh
+
 config.mk: configure
        ./configure