summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile67
1 files changed, 57 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 9230887..15a0e54 100644
--- a/Makefile
+++ b/Makefile
@@ -136,6 +136,10 @@ auto_usera.o: \
136compile auto_usera.c 136compile auto_usera.c
137 ./compile auto_usera.c 137 ./compile auto_usera.c
138 138
139base64.o: \
140compile base64.c base64.h stralloc.h substdio.h str.h
141 ./compile base64.c
142
139binm1: \ 143binm1: \
140binm1.sh conf-qmail 144binm1.sh conf-qmail
141 cat binm1.sh \ 145 cat binm1.sh \
@@ -808,7 +812,7 @@ dnsptr dnsip dnsmxip dnsfq hostname ipmeprint qreceipt qsmhook qbiff \
808forward preline condredirect bouncesaying except maildirmake \ 812forward preline condredirect bouncesaying except maildirmake \
809maildir2mbox maildirwatch qail elq pinq idedit install-big install \ 813maildir2mbox maildirwatch qail elq pinq idedit install-big install \
810instcheck home home+df proc proc+df binm1 binm1+df binm2 binm2+df \ 814instcheck home home+df proc proc+df binm1 binm1+df binm2 binm2+df \
811binm3 binm3+df 815binm3 binm3+df update_tmprsadh
812 816
813load: \ 817load: \
814make-load warn-auto.sh systype 818make-load warn-auto.sh systype
@@ -1441,12 +1445,13 @@ qmail-remote: \
1441load qmail-remote.o control.o constmap.o timeoutread.o timeoutwrite.o \ 1445load qmail-remote.o control.o constmap.o timeoutread.o timeoutwrite.o \
1442timeoutconn.o tcpto.o now.o dns.o ip.o ipalloc.o ipme.o quote.o \ 1446timeoutconn.o tcpto.o now.o dns.o ip.o ipalloc.o ipme.o quote.o \
1443ndelay.a case.a sig.a open.a lock.a seek.a getln.a stralloc.a alloc.a \ 1447ndelay.a case.a sig.a open.a lock.a seek.a getln.a stralloc.a alloc.a \
1444substdio.a error.a str.a fs.a auto_qmail.o dns.lib socket.lib 1448substdio.a error.a str.a fs.a auto_qmail.o base64.o dns.lib socket.lib
1445 ./load qmail-remote control.o constmap.o timeoutread.o \ 1449 ./load qmail-remote control.o constmap.o timeoutread.o \
1446 timeoutwrite.o timeoutconn.o tcpto.o now.o dns.o ip.o \ 1450 timeoutwrite.o timeoutconn.o tcpto.o now.o dns.o ip.o \
1451 tls.o ssl_timeoutio.o -L/usr/local/ssl/lib -lssl -lcrypto \
1447 ipalloc.o ipme.o quote.o ndelay.a case.a sig.a open.a \ 1452 ipalloc.o ipme.o quote.o ndelay.a case.a sig.a open.a \
1448 lock.a seek.a getln.a stralloc.a alloc.a substdio.a error.a \ 1453 lock.a seek.a getln.a stralloc.a alloc.a substdio.a error.a \
1449 str.a fs.a auto_qmail.o `cat dns.lib` `cat socket.lib` 1454 str.a fs.a auto_qmail.o base64.o `cat dns.lib` `cat socket.lib`
1450 1455
1451qmail-remote.0: \ 1456qmail-remote.0: \
1452qmail-remote.8 1457qmail-remote.8
@@ -1532,16 +1537,17 @@ auto_split.h
1532 ./compile qmail-showctl.c 1537 ./compile qmail-showctl.c
1533 1538
1534qmail-smtpd: \ 1539qmail-smtpd: \
1535load qmail-smtpd.o rcpthosts.o commands.o timeoutread.o \ 1540load qmail-smtpd.o rcpthosts.o qregex.o commands.o timeoutread.o \
1536timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o received.o \ 1541timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o received.o \
1537date822fmt.o now.o qmail.o cdb.a fd.a wait.a datetime.a getln.a \ 1542date822fmt.o now.o qmail.o cdb.a fd.a wait.a datetime.a getln.a \
1538open.a sig.a case.a env.a stralloc.a alloc.a substdio.a error.a str.a \ 1543open.a sig.a case.a env.a stralloc.a alloc.a strerr.a substdio.a error.a str.a \
1539fs.a auto_qmail.o socket.lib 1544fs.a auto_qmail.o base64.o socket.lib
1540 ./load qmail-smtpd rcpthosts.o commands.o timeoutread.o \ 1545 ./load qmail-smtpd qregex.o rcpthosts.o commands.o timeoutread.o \
1541 timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o \ 1546 timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o \
1547 tls.o ssl_timeoutio.o ndelay.a -L/usr/local/ssl/lib -lssl -lcrypto \
1542 received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \ 1548 received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \
1543 datetime.a getln.a open.a sig.a case.a env.a stralloc.a \ 1549 datetime.a getln.a open.a sig.a case.a env.a stralloc.a \
1544 alloc.a substdio.a error.a str.a fs.a auto_qmail.o `cat \ 1550 alloc.a strerr.a substdio.a error.a str.a fs.a auto_qmail.o base64.o `cat \
1545 socket.lib` 1551 socket.lib`
1546 1552
1547qmail-smtpd.0: \ 1553qmail-smtpd.0: \
@@ -1553,7 +1559,7 @@ compile qmail-smtpd.c sig.h readwrite.h stralloc.h gen_alloc.h \
1553substdio.h alloc.h auto_qmail.h control.h received.h constmap.h \ 1559substdio.h alloc.h auto_qmail.h control.h received.h constmap.h \
1554error.h ipme.h ip.h ipalloc.h ip.h gen_alloc.h ip.h qmail.h \ 1560error.h ipme.h ip.h ipalloc.h ip.h gen_alloc.h ip.h qmail.h \
1555substdio.h str.h fmt.h scan.h byte.h case.h env.h now.h datetime.h \ 1561substdio.h str.h fmt.h scan.h byte.h case.h env.h now.h datetime.h \
1556exit.h rcpthosts.h timeoutread.h timeoutwrite.h commands.h 1562exit.h rcpthosts.h timeoutread.h timeoutwrite.h commands.h base64.h
1557 ./compile qmail-smtpd.c 1563 ./compile qmail-smtpd.c
1558 1564
1559qmail-start: \ 1565qmail-start: \
@@ -1681,6 +1687,10 @@ compile rcpthosts.c cdb.h uint32.h byte.h open.h error.h control.h \
1681constmap.h stralloc.h gen_alloc.h rcpthosts.h 1687constmap.h stralloc.h gen_alloc.h rcpthosts.h
1682 ./compile rcpthosts.c 1688 ./compile rcpthosts.c
1683 1689
1690qregex.o: \
1691compile qregex.c qregex.h
1692 ./compile qregex.c
1693
1684readsubdir.o: \ 1694readsubdir.o: \
1685compile readsubdir.c readsubdir.h direntry.h fmt.h scan.h str.h \ 1695compile readsubdir.c readsubdir.h direntry.h fmt.h scan.h str.h \
1686auto_split.h 1696auto_split.h
@@ -1827,7 +1837,8 @@ date822fmt.h date822fmt.c dns.h dns.c trylsock.c tryrsolv.c ip.h ip.c \
1827ipalloc.h ipalloc.c select.h1 select.h2 trysysel.c ndelay.h ndelay.c \ 1837ipalloc.h ipalloc.c select.h1 select.h2 trysysel.c ndelay.h ndelay.c \
1828ndelay_off.c direntry.3 direntry.h1 direntry.h2 trydrent.c prot.h \ 1838ndelay_off.c direntry.3 direntry.h1 direntry.h2 trydrent.c prot.h \
1829prot.c chkshsgr.c warn-shsgr tryshsgr.c ipme.h ipme.c trysalen.c \ 1839prot.c chkshsgr.c warn-shsgr tryshsgr.c ipme.h ipme.c trysalen.c \
1830maildir.5 maildir.h maildir.c tcp-environ.5 constmap.h constmap.c 1840maildir.5 maildir.h maildir.c tcp-environ.5 constmap.h constmap.c \
1841update_tmprsadh
1831 shar -m `cat FILES` > shar 1842 shar -m `cat FILES` > shar
1832 chmod 400 shar 1843 chmod 400 shar
1833 1844
@@ -2108,6 +2119,19 @@ timeoutwrite.o: \
2108compile timeoutwrite.c timeoutwrite.h select.h error.h readwrite.h 2119compile timeoutwrite.c timeoutwrite.h select.h error.h readwrite.h
2109 ./compile timeoutwrite.c 2120 ./compile timeoutwrite.c
2110 2121
2122qmail-smtpd: tls.o ssl_timeoutio.o ndelay.a
2123qmail-remote: tls.o ssl_timeoutio.o
2124qmail-smtpd.o: tls.h ssl_timeoutio.h
2125qmail-remote.o: tls.h ssl_timeoutio.h
2126
2127tls.o: \
2128compile tls.c exit.h error.h
2129 ./compile tls.c
2130
2131ssl_timeoutio.o: \
2132compile ssl_timeoutio.c ssl_timeoutio.h select.h error.h ndelay.h
2133 ./compile ssl_timeoutio.c
2134
2111token822.o: \ 2135token822.o: \
2112compile token822.c stralloc.h gen_alloc.h alloc.h str.h token822.h \ 2136compile token822.c stralloc.h gen_alloc.h alloc.h str.h token822.h \
2113gen_alloc.h gen_allocdefs.h 2137gen_alloc.h gen_allocdefs.h
@@ -2139,3 +2163,26 @@ compile wait_nohang.c haswaitp.h
2139wait_pid.o: \ 2163wait_pid.o: \
2140compile wait_pid.c error.h haswaitp.h 2164compile wait_pid.c error.h haswaitp.h
2141 ./compile wait_pid.c 2165 ./compile wait_pid.c
2166
2167cert cert-req: \
2168Makefile-cert
2169 @$(MAKE) -sf $< $@
2170
2171Makefile-cert: \
2172conf-qmail conf-users conf-groups Makefile-cert.mk
2173 @cat Makefile-cert.mk \
2174 | sed s}QMAIL}"`head -1 conf-qmail`"}g \
2175 > $@
2176
2177update_tmprsadh: \
2178conf-qmail conf-users conf-groups update_tmprsadh.sh
2179 @cat update_tmprsadh.sh\
2180 | sed s}UGQMAILD}"`head -2 conf-users|tail -1`:`head -1 conf-groups`"}g \
2181 | sed s}QMAIL}"`head -1 conf-qmail`"}g \
2182 > $@
2183 chmod 755 update_tmprsadh
2184
2185tmprsadh: \
2186update_tmprsadh
2187 echo "Creating new temporary RSA and DH parameters"
2188 ./update_tmprsadh