vmailpasswd
[hcoop/domtool2.git] / Makefile
index f538e94..84b3623 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,7 @@
-all: mlton
+all: mlton bin/vmailpasswd
+
+bin/vmailpasswd: src/mail/vmailpasswd.c
+       $(CC) -lcrypt -o $@ $<
 
 COMMON_DEPS := configDefault/config.sig configDefault/configDefault.sml \
        openssl/openssl_sml.so config.sml
@@ -169,6 +172,7 @@ install:
        -cp bin/setsa /usr/local/bin/
        -cp bin/smtplog /usr/local/bin/
        -cp bin/mysql-fixperms /usr/local/bin/
+       -cp bin/vmailpasswd /usr/local/bin/
        cp src/plugins/domtool-postgres /usr/local/sbin/
        cp src/plugins/domtool-mysql /usr/local/sbin/