# Don't edit Makefile! Use ../conf-* for configuration. SHELL=/bin/sh default: \ it-analog it-base it-clients it-control it-dns \ it-forward it-log it-mbox it-pam it-pop it-queue \ it-user it-setup it-server it-srs it-dkim auto-ccld.sh: \ ../conf-cc ../conf-ld warn-auto.sh ( cat warn-auto.sh; \ echo CC=\'`head -1 ../conf-cc`\'; \ echo LD=\'`head -1 ../conf-ld`\' \ ) > auto-ccld.sh auto-gid: \ load auto-gid.o qlibs.lib ./load auto-gid `cat qlibs.lib` auto-gid.o: \ compile auto-gid.c ./compile auto-gid.c auto-int: \ load auto-int.o qlibs.lib ./load auto-int `cat qlibs.lib` auto-int.o: \ compile auto-int.c ./compile auto-int.c auto-int8: \ load auto-int8.o qlibs.lib ./load auto-int8 `cat qlibs.lib` auto-int8.o: \ compile auto-int8.c ./compile auto-int8.c auto-str: \ load auto-str.o qlibs.lib ./load auto-str `cat qlibs.lib` auto-str.o: \ compile auto-str.c ./compile auto-str.c auto-uid: \ load auto-uid.o qlibs.lib ./load auto-uid `cat qlibs.lib` auto-uid.o: \ compile auto-uid.c ./compile auto-uid.c auto_break.c: \ auto-str ../conf-break ./auto-str auto_break \ "`head -1 ../conf-break`" > auto_break.c auto_break.o: \ compile auto_break.c ./compile auto_break.c auto_patrn.c: \ auto-int8 ../conf-patrn ./auto-int8 auto_patrn `head -1 ../conf-patrn` > auto_patrn.c auto_patrn.o: \ compile auto_patrn.c ./compile auto_patrn.c auto_qmail.c: \ auto-str ../conf-home ./auto-str auto_qmail `head -1 ../conf-home` > auto_qmail.c auto_qmail.o: \ compile auto_qmail.c ./compile auto_qmail.c auto_spawn.c: \ auto-int ../conf-spawn ./auto-int auto_spawn `head -1 ../conf-spawn` > auto_spawn.c auto_spawn.o: \ compile auto_spawn.c ./compile auto_spawn.c auto_split.c: \ auto-int ../conf-split ./auto-int auto_split `head -1 ../conf-split` > auto_split.c auto_split.o: \ compile auto_split.c ./compile auto_split.c auto_uids.c: \ auto-uid auto-gid ../conf-users ../conf-groups ( ./auto-uid auto_uida `head -1 ../conf-users` \ &&./auto-uid auto_uidd `head -2 ../conf-users | tail -1` \ &&./auto-uid auto_uidl `head -3 ../conf-users | tail -1` \ &&./auto-uid auto_uido `head -4 ../conf-users | tail -1` \ &&./auto-uid auto_uidp `head -5 ../conf-users | tail -1` \ &&./auto-uid auto_uidq `head -6 ../conf-users | tail -1` \ &&./auto-uid auto_uidr `head -7 ../conf-users | tail -1` \ &&./auto-uid auto_uids `head -8 ../conf-users | tail -1` \ &&./auto-gid auto_gidq `head -1 ../conf-groups` \ &&./auto-gid auto_gidn `head -2 ../conf-groups | tail -1` \ ) > auto_uids.c.tmp && mv auto_uids.c.tmp auto_uids.c auto_uids.o: \ compile auto_uids.c ./compile auto_uids.c auto_usera.c: \ auto-str ../conf-users ./auto-str auto_usera `head -1 ../conf-users` > auto_usera.c auto_usera.o: \ compile auto_usera.c ./compile auto_usera.c base64.o: \ compile base64.c ./compile base64.c md5c.o : \ compile md5c.c ./compile md5c.c hmac_md5.o : \ compile hmac_md5.c ./compile hmac_md5.c bouncesaying: \ load bouncesaying.o qlibs.lib ./load bouncesaying `cat qlibs.lib` bouncesaying.o: \ compile bouncesaying.c ./compile bouncesaying.c chkshsgr: \ load chkshsgr.o ./load chkshsgr chkshsgr.o: \ compile chkshsgr.c ./compile chkshsgr.c chkspawn: \ load chkspawn.o auto_spawn.o qlibs.lib ./load chkspawn auto_spawn.o `cat qlibs.lib` chkspawn.o: \ compile chkspawn.c ./compile chkspawn.c clean: \ TARGETS rm -f `cat TARGETS` columnt: \ load columnt.o qlibs.lib ./load columnt `cat qlibs.lib` columnt.o: \ compile columnt.c ./compile columnt.c commands.o: \ compile commands.c ./compile commands.c compile: \ make-compile warn-auto.sh systype ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \ compile chmod 755 compile condredirect: \ load condredirect.o qmail.o auto_qmail.o qlibs.lib ./load condredirect qmail.o auto_qmail.o `cat qlibs.lib` condredirect.o: \ compile condredirect.c ./compile condredirect.c config: \ warn-auto.sh config.sh ../conf-home ../conf-break ../conf-split cat warn-auto.sh config.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ | sed s}BREAK}"`head -1 ../conf-break`"}g \ | sed s}SPLIT}"`head -1 ../conf-split`"}g \ > config chmod 755 config config-fast: \ warn-auto.sh config-fast.sh ../conf-home ../conf-break ../conf-split cat warn-auto.sh config-fast.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ | sed s}BREAK}"`head -1 ../conf-break`"}g \ | sed s}SPLIT}"`head -1 ../conf-split`"}g \ > config-fast chmod 755 config-fast constmap.o: \ compile constmap.c ./compile constmap.c control.o: \ compile control.c ./compile control.c date822fmt.o: \ compile date822fmt.c ./compile date822fmt.c datemail: \ warn-auto.sh datemail.sh ../conf-home ../conf-break ../conf-split cat warn-auto.sh datemail.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ | sed s}BREAK}"`head -1 ../conf-break`"}g \ | sed s}SPLIT}"`head -1 ../conf-split`"}g \ > datemail chmod 755 datemail datetime.a: \ makelib datetime.o datetime_un.o ./makelib datetime.a datetime.o datetime_un.o datetime.o: \ compile datetime.c ./compile datetime.c datetime_un.o: \ compile datetime_un.c ./compile datetime_un.c ddist: \ warn-auto.sh ddist.sh ../conf-home cat warn-auto.sh ddist.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > ddist chmod 755 ddist deferrals: \ warn-auto.sh deferrals.sh ../conf-home cat warn-auto.sh deferrals.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > deferrals chmod 755 deferrals direntry.h: \ compile trydrent.c direntry.h1 direntry.h2 ( ./compile trydrent.c >/dev/null 2>&1 \ && cat direntry.h2 || cat direntry.h1 ) > direntry.h rm -f trydrent.o dkim.o: \ compile dkim.cpp ./compile dkim.cpp dkimbase.o: \ compile dkimbase.cpp ./compile dkimbase.cpp dkimsign.o: \ compile dkimsign.cpp ./compile dkimsign.cpp dkimverify.o: \ compile dkimverify.cpp ./compile dkimverify.cpp dns.lib: \ tryrsolv.c compile load ( (./compile tryrsolv.c && \ ./load tryrsolv -L`head -1 ../conf-qlibs` -ldnsresolv ) \ && echo "-L`head -1 ../conf-qlibs` -ldnsresolv" || exit 0 ) > dns.lib rm -f tryrsolv.o tryrsolv dns.o: \ compile dns.c dns_tlsa.c ./compile dns.c dns_tlsa.c dnscname: \ load dnscname.o \ dns.lib socket.lib qlibs.lib dns.o ipalloc.o ./load dnscname dns.o ipalloc.o \ `cat dns.lib` `cat socket.lib` `cat qlibs.lib` dnscname.o: \ compile dnscname.c ./compile dnscname.c dnsfq: \ load dnsfq.o \ dns.lib socket.lib qlibs.lib dns.o ipalloc.o ./load dnsfq dns.o ipalloc.o \ `cat dns.lib` `cat socket.lib` `cat qlibs.lib` dnsfq.o: \ compile dnsfq.c ./compile dnsfq.c dnsip: \ load dnsip.o dns.o ipalloc.o \ dns.lib socket.lib qlibs.lib ./load dnsip dns.o ipalloc.o \ `cat dns.lib` `cat socket.lib` `cat qlibs.lib` dnsip.o: \ compile dnsip.c ./compile dnsip.c dnsmxip: \ load dnsmxip.o ipalloc.o dns.o dns.lib socket.lib ./load dnsmxip ipalloc.o dns.o \ `cat dns.lib` `cat socket.lib` `cat qlibs.lib` dnsmxip.o: \ compile dnsmxip.c ./compile dnsmxip.c dnsptr: \ load dnsptr.o dns.o ipalloc.o \ dns.lib socket.lib qlibs.lib ./load dnsptr dns.o ipalloc.o \ `cat dns.lib` `cat socket.lib` `cat qlibs.lib` dnsptr.o: \ compile dnsptr.c ./compile dnsptr.c dnstlsa: \ load dnstlsa.o dns_tlsa.o ipalloc.o dns.o \ dns.lib socket.lib qlibs.lib ./load dnstlsa dns_tlsa.o ipalloc.o dns.o \ `cat dns.lib` `cat socket.lib` `cat qlibs.lib` dnstlsa.o: \ compile dnstlsa.c dns_tlsa.c ./compile dnstlsa.c dns_tlsa.c dnstxt: \ load dnstxt.o ipalloc.o dns.o \ dns.lib socket.lib qlibs.lib ./load dnstxt ipalloc.o dns.o \ `cat dns.lib` `cat socket.lib` `cat qlibs.lib` dnstxt.o: \ compile dnstxt.c ./compile dnstxt.c except: \ load except.o qlibs.lib ./load except `cat qlibs.lib` except.o: \ compile except.c ./compile except.c failures: \ warn-auto.sh failures.sh ../conf-home cat warn-auto.sh failures.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > failures chmod 755 failures fastforward: \ load fastforward.o qmail.o auto_qmail.o strset.o qlibs.lib ./load fastforward qmail.o auto_qmail.o strset.o \ `cat qlibs.lib` fastforward.o: \ compile fastforward.c ./compile fastforward.c fifo.o: \ compile fifo.c ./compile fifo.c find-systype: \ find-systype.sh auto-ccld.sh cat auto-ccld.sh find-systype.sh > find-systype chmod 755 find-systype fmtqfn.o: \ compile fmtqfn.c ./compile fmtqfn.c forward: \ load forward.o qmail.o auto_qmail.o qlibs.lib ./load forward qmail.o auto_qmail.o \ `cat qlibs.lib` forward.o: \ compile forward.c ./compile forward.c gfrom.o: \ compile gfrom.c ./compile gfrom.c hasflock.h: \ tryflock.c compile load ( ( ./compile tryflock.c && ./load tryflock ) >/dev/null \ 2>&1 \ && echo \#define HASFLOCK 1 || exit 0 ) > hasflock.h rm -f tryflock.o tryflock hasmkffo.h: \ trymkffo.c compile load ( ( ./compile trymkffo.c && ./load trymkffo ) >/dev/null \ 2>&1 \ && echo \#define HASMKFIFO 1 || exit 0 ) > hasmkffo.h rm -f trymkffo.o trymkffo hasspnam.h: \ tryspnam.c compile load ( ( ./compile tryspnam.c && ./load tryspnam ) >/dev/null \ 2>&1 \ && echo \#define HASGETSPNAM 1 || exit 0 ) > hasspnam.h rm -f tryspnam.o tryspnam hasuserpw.h: \ tryuserpw.c s.lib compile load ( ( ./compile tryuserpw.c \ && ./load tryuserpw `cat s.lib` ) >/dev/null 2>&1 \ && echo \#define HASGETUSERPW 1 || exit 0 ) > hasuserpw.h rm -f tryuserpw.o tryuserpw hassalen.h: \ trysalen.c compile ( ./compile trysalen.c >/dev/null 2>&1 \ && echo \#define HASSALEN 1 || exit 0 ) > hassalen.h hassgact.h: \ trysgact.c compile load ( ( ./compile trysgact.c && ./load trysgact ) >/dev/null \ 2>&1 \ && echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h rm -f trysgact.o trysgact hassgprm.h: \ trysgprm.c compile load ( ( ./compile trysgprm.c && ./load trysgprm ) >/dev/null \ 2>&1 \ && echo \#define HASSIGPROCMASK 1 || exit 0 ) > hassgprm.h rm -f trysgprm.o trysgprm hasshsgr.h: \ chkshsgr warn-shsgr tryshsgr.c compile load ./chkshsgr || ( cat warn-shsgr; exit 1 ) ( ( ./compile tryshsgr.c \ && ./load tryshsgr && ./tryshsgr ) >/dev/null 2>&1 \ && echo \#define HASSHORTSETGROUPS 1 || exit 0 ) > \ hasshsgr.h rm -f tryshsgr.o tryshsgr hasutmp.h: \ tryutmp.c compile ( ./compile tryutmp.c >/dev/null 2>&1 \ && echo \#define HASUTMP 1 || exit 0 ) > hasutmp.h rm -f tryutmp.o haswaitp.h: \ trywaitp.c compile load ( ( ./compile trywaitp.c && ./load trywaitp ) >/dev/null \ 2>&1 \ && echo \#define HASWAITPID 1 || exit 0 ) > haswaitp.h rm -f trywaitp.o trywaitp headerbody.o: \ compile headerbody.c ./compile headerbody.c hfield.o: \ compile hfield.c ./compile hfield.c hier.o: \ compile hier.c ./compile hier.c hostname: \ load hostname.o dns.lib socket.lib ./load hostname `cat dns.lib` `cat socket.lib` `cat qlibs.lib` hostname.o: \ compile hostname.c ./compile hostname.c idn2.lib: \ tryidn2.c compile load ( (./compile tryidn2.c && \ ./load tryidn2 `head -1 ../conf-idn2` -lidn2 ) >/dev/null 2>&1 \ && echo "`head -1 ../conf-idn2` -lidn2" || exit 0 ) > idn2.lib rm -f tryind2.o tryidn2 install: \ load install.o hier.o auto_qmail.o auto_split.o auto_uids.o fifo.o qlibs.lib ./load install hier.o auto_qmail.o auto_split.o auto_uids.o fifo.o \ `cat qlibs.lib` install.o: \ compile install.c ./compile install.c instcheck: \ load instcheck.o hier.o auto_qmail.o auto_split.o auto_uids.o qlibs.lib ./load instcheck hier.o auto_qmail.o auto_split.o auto_uids.o \ `cat qlibs.lib` instcheck.o: \ compile instcheck.c ./compile instcheck.c ipalloc.o: \ compile ipalloc.c ./compile ipalloc.c ipme.o: \ compile ipme.c hassalen.h ./compile ipme.c ipmeprint: \ load ipmeprint.o ipme.o ipalloc.o auto_qmail.o \ dns.lib socket.lib qlibs.lib ./load ipmeprint ipme.o auto_qmail.o ipalloc.o \ `cat qlibs.lib` `cat socket.lib` `cat dns.lib` ipmeprint.o: \ compile ipmeprint.c ./compile ipmeprint.c it-analog: \ columnt matchup \ ddist deferrals failures senders successes suids \ recipients rhosts rhosts rxdelay \ xqp xrecipient xsender \ zddist zdeferrals zfailures zrecipients zrhosts \ zrxdelay zsenders zsendmail zsuccesses zsuids zoverall it-base: \ qmail-local qmail-rspawn qmail-lspawn qmail-send qmail-qmaint \ qmail-clean qmail-start qmail-queue qmail-inject qmail-todo it-mbox: \ forward predate preline condredirect bouncesaying except \ datemail maildirmake maildir2mbox maildirwatch qbiff qreceipt it-clients: \ mailsubj qmail-remote qmail-qmqpc sendmail it-dkim: \ qmail-dkim qmail-dksign qmail-dkverify it-dns: \ dnscname dnsptr dnsip dnsmxip dnsfq dnstlsa dnstxt \ hostname ipmeprint spfquery it-pop: \ qmail-popup qmail-pop3d it-forward: \ fastforward forward printforward setforward newaliases \ printmaillist setmaillist newinclude it-control: \ qmail-badmimetypes qmail-badloadertypes \ qmail-mfrules qmail-recipients qmail-showctl it-ldap: \ qmail-ldapam it-log: \ splogger qmail-mrtg qmail-mrtg-queue tai64nfrac it-pam: \ qmail-authuser qmail-smtpam qmail-vmailuser \ qmail-postgrey it-queue: \ qmail-qread qmail-qstat qmail-tcpto qmail-tcpok qmail-upq it-server: \ qmail-qmtpd qmail-qmqpd qmail-smtpd it-setup: \ config config-fast install instcheck it-srs: \ srsforward srsreverse it-user: \ qmail-getpw qmail-newu qmail-pw2u qmail-newmrh ldap.lib: \ tryldap.c compile load ( ( ./compile tryldap.c && \ ./load tryldap `head -2 ../conf-ldap | tail -1` ) >/dev/null 2>&1 \ && echo "`head -2 ../conf-ldap | tail -1` -lldap" || exit 0 ) > ldap.lib # rm -f tryldap.o tryldap load: \ make-load warn-auto.sh systype ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load chmod 755 load maildir.o: \ compile maildir.c ./compile maildir.c maildir2mbox: \ load maildir2mbox.o maildir.o prioq.o now.o myctime.o gfrom.o \ datetime.a ./load maildir2mbox maildir.o prioq.o now.o myctime.o \ gfrom.o datetime.a `cat qlibs.lib` maildir2mbox.o: \ compile maildir2mbox.c ./compile maildir2mbox.c maildirmake: \ load maildirmake.o ./load maildirmake `cat qlibs.lib` maildirmake.o: \ compile maildirmake.c ./compile maildirmake.c maildirwatch: \ load maildirwatch.o hfield.o headerbody.o maildir.o prioq.o now.o ./load maildirwatch hfield.o headerbody.o maildir.o \ prioq.o now.o `cat qlibs.lib` maildirwatch.o: \ compile maildirwatch.c ./compile maildirwatch.c mailsubj: \ warn-auto.sh mailsubj.sh ../conf-home ../conf-break ../conf-split cat warn-auto.sh mailsubj.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ | sed s}BREAK}"`head -1 ../conf-break`"}g \ | sed s}SPLIT}"`head -1 ../conf-split`"}g \ > mailsubj chmod 755 mailsubj make-compile: \ make-compile.sh auto-ccld.sh cat auto-ccld.sh make-compile.sh > make-compile chmod 755 make-compile make-load: \ make-load.sh auto-ccld.sh cat auto-ccld.sh make-load.sh > make-load chmod 755 make-load make-makelib: \ make-makelib.sh auto-ccld.sh cat auto-ccld.sh make-makelib.sh > make-makelib chmod 755 make-makelib makelib: \ make-makelib warn-auto.sh systype ( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > \ makelib chmod 755 makelib matchup: \ load matchup.o qlibs.lib ./load matchup `cat qlibs.lib` matchup.o: \ compile matchup.c ./compile matchup.c myctime.o: \ compile myctime.c ./compile myctime.c mfrules.o: \ compile mfrules.c ./compile mfrules.c newaliases: \ load newaliases.o auto_qmail.o token822.o control.o qlibs.lib ./load newaliases auto_qmail.o token822.o control.o \ `cat qlibs.lib` newaliases.o: \ compile newaliases.c ./compile newaliases.c newinclude: \ load newinclude.o auto_qmail.o token822.o control.o qlibs.lib ./load newinclude auto_qmail.o token822.o control.o \ `cat qlibs.lib` newinclude.o: \ compile newinclude.c ./compile newinclude.c newfield.o: \ compile newfield.c ./compile newfield.c now.o: \ compile now.c ./compile now.c predate: \ load predate.o datetime.a qlibs.lib ./load predate datetime.a `cat qlibs.lib` predate.o: \ compile predate.c ./compile predate.c preline: \ load preline.o qlibs.lib ./load preline `cat qlibs.lib` preline.o: \ compile preline.c ./compile preline.c printforward: \ load printforward.o qlibs.lib ./load printforward `cat qlibs.lib` printforward.o: \ compile printforward.c ./compile printforward.c printmaillist: \ load printmaillist.o qlibs.lib ./load printmaillist `cat qlibs.lib` printmaillist.o: \ compile printmaillist.c ./compile printmaillist.c prioq.o: \ compile prioq.c ./compile prioq.c qbiff: \ load qbiff.o headerbody.o hfield.o qlibs.lib ./load qbiff headerbody.o hfield.o `cat qlibs.lib` qbiff.o: \ compile hasutmp.h qbiff.c ./compile qbiff.c qlibs.lib: \ tryqlibs.c compile load ( (./compile tryqlibs.c && \ ./load tryqlibs -L`head -1 ../conf-qlibs` -lqlibs ) \ && echo "-L`head -1 ../conf-qlibs` -lqlibs" || exit 0 ) > qlibs.lib rm -f tryqlibs.o tryqlibs qmail-authuser: \ load qmail-authuser.o auto_qmail.o control.o hmac_md5.o md5c.o \ constmap.o shadow.lib sha1.o sha256.o \ qlibs.lib shadow.lib crypt.lib s.lib ./load qmail-authuser auto_qmail.o control.o \ constmap.o hmac_md5.o md5c.o sha1.o sha256.o \ `cat shadow.lib` `cat qlibs.lib` `cat crypt.lib` `cat s.lib` qmail-authuser.o: \ compile qmail-authuser.c hasspnam.h hasuserpw.h ./compile qmail-authuser.c qmail-clean: \ load qmail-clean.o fmtqfn.o now.o auto_qmail.o auto_split.o qlibs.lib ./load qmail-clean fmtqfn.o now.o auto_qmail.o auto_split.o `cat qlibs.lib` qmail-clean.o: \ compile qmail-clean.c ./compile qmail-clean.c qmail-dkim: \ load qmail-dkim.o libqdkim.a dkim.o dkimbase.o dkimsign.o dkimverify.o \ qlibs.lib dns.lib ssl.lib ./load qmail-dkim libqdkim.a \ -lstdc++ `cat dns.lib` `cat qlibs.lib` `cat ssl.lib` qmail-dkim.o: \ compile qmail-dkim.cpp dkim.cpp dkimbase.cpp dkimsign.cpp dkimverify.cpp ./compile qmail-dkim.cpp qmail-dksign: \ load qmail-dksign.o control.o constmap.o fmtqfn.o rcpthosts.o qmail-dkim \ auto_qmail.o auto_split.o qlibs.lib ./load qmail-dksign control.o constmap.o fmtqfn.o rcpthosts.o \ auto_qmail.o auto_split.o `cat qlibs.lib` qmail-dksign.o: \ compile qmail-dksign.c ./compile qmail-dksign.c qmail-dkverify: \ load qmail-dkverify.o control.o fmtqfn.o qmail-dkim \ auto_qmail.o auto_split.o qmail.o qlibs.lib ./load qmail-dkverify qmail.o control.o fmtqfn.o \ auto_qmail.o auto_split.o `cat qlibs.lib` qmail-dkverify.o: \ compile qmail-dkverify.c ./compile qmail-dkverify.c qmail-getpw: \ load qmail-getpw.o auto_break.o auto_usera.o qlibs.lib ./load qmail-getpw auto_break.o auto_usera.o `cat qlibs.lib` qmail-getpw.o: \ compile qmail-getpw.c ./compile qmail-getpw.c qmail-inject: \ load qmail-inject.o headerbody.o hfield.o newfield.o quote.o now.o \ control.o date822fmt.o qmail.o datetime.a token822.o auto_qmail.o qlibs.lib ./load qmail-inject headerbody.o hfield.o newfield.o \ constmap.o quote.o now.o control.o date822fmt.o qmail.o datetime.a \ token822.o auto_qmail.o `cat qlibs.lib` qmail-inject.o: \ compile qmail-inject.c ./compile qmail-inject.c qmail-clean: \ load qmail-clean.o fmtqfn.o now.o auto_qmail.o auto_split.o qlibs.lib qmail-ldapam: \ load qmail-ldapam.o auto_qmail.o control.o constmap.o \ qlibs.lib shadow.lib crypt.lib s.lib ldap.lib ./load qmail-ldapam auto_qmail.o control.o constmap.o \ `cat shadow.lib` `cat qlibs.lib` `cat crypt.lib` `cat s.lib` `cat ldap.lib` qmail-ldapam.o: \ compile qmail-ldapam.c \ hasspnam.h hasuserpw.h ./compile qmail-ldapam.c qmail-local: \ load qmail-local.o auto_qmail.o auto_break.o auto_patrn.o \ qmail.o quote.o now.o gfrom.o myctime.o datetime.a socket.lib qlibs.lib ./load qmail-local qmail.o quote.o now.o gfrom.o myctime.o \ datetime.a auto_qmail.o auto_break.o auto_patrn.o \ `cat socket.lib` `cat qlibs.lib` qmail-local.o: \ compile qmail-local.c ./compile qmail-local.c qmail-lspawn: \ load qmail-lspawn.o spawn.o \ auto_qmail.o auto_uids.o auto_spawn.o qlibs.lib ./load qmail-lspawn spawn.o \ auto_qmail.o auto_uids.o auto_spawn.o `cat qlibs.lib` qmail-lspawn.o: \ compile qmail-lspawn.c ./compile qmail-lspawn.c qmail-badmimetypes: \ load qmail-badmimetypes.o auto_qmail.o qlibs.lib ./load qmail-badmimetypes auto_qmail.o `cat qlibs.lib` qmail-badmimetypes.o: \ compile qmail-badmimetypes.c ./compile qmail-badmimetypes.c qmail-badloadertypes: \ load qmail-badloadertypes.o auto_qmail.o qlibs.lib ./load qmail-badloadertypes auto_qmail.o `cat qlibs.lib` qmail-badloadertypes.8: \ qmail-badloadertypes.9 ../conf-break ../conf-spawn cat qmail-badloadertypes.9 \ | sed s}HOME}"`head -1 ../conf-home`"}g \ | sed s}BREAK}"`head -1 ../conf-break`"}g \ | sed s}SPAWN}"`head -1 ../conf-spawn`"}g \ > qmail-badloadertypes.8 qmail-badloadertypes.o: \ compile qmail-badloadertypes.c ./compile qmail-badloadertypes.c qmail-newmrh: \ load qmail-newmrh.o auto_qmail.o qlibs.lib ./load qmail-newmrh auto_qmail.o `cat qlibs.lib` qmail-newmrh.o: \ compile qmail-newmrh.c ./compile qmail-newmrh.c qmail-recipients: \ load qmail-recipients.o auto_qmail.o qlibs.lib ./load qmail-recipients auto_qmail.o `cat qlibs.lib` qmail-recipients.o: \ compile qmail-recipients.c ./compile qmail-recipients.c qmail-vmailuser: \ load qmail-vmailuser.o auto_qmail.o control.o constmap.o qlibs.lib ./load qmail-vmailuser auto_qmail.o control.o constmap.o \ `cat qlibs.lib` qmail-vmailuser.o: \ compile qmail-vmailuser.c ./compile qmail-vmailuser.c qmail-smtpam: \ load qmail-smtpam.o control.o now.o dns.o constmap.o \ ipalloc.o ipme.o quote.o auto_qmail.o tcpto.o \ tls_timeoutio.o tls_errors.o tls_remote.o dns_tlsa.o \ ssl.lib dns.lib socket.lib qlibs.lib ucspissl.a ./load qmail-smtpam constmap.o control.o dns_tlsa.o \ tcpto.o now.o dns.o ipalloc.o ipme.o quote.o auto_qmail.o \ tls_errors.o tls_remote.o tls_timeoutio.o ucspissl.a \ `cat ssl.lib` `cat dns.lib` `cat socket.lib` `cat qlibs.lib` qmail-smtpam.o: \ compile qmail-smtpam.c ./compile qmail-smtpam.c qmail-mfrules: \ load qmail-mfrules.o auto_qmail.o qlibs.lib ./load qmail-mfrules auto_qmail.o `cat qlibs.lib` qmail-mfrules.o: \ compile qmail-mfrules.c ./compile qmail-mfrules.c qmail-mrtg: \ load qmail-mrtg.o now.o qlibs.lib ./load qmail-mrtg now.o `cat qlibs.lib` qmail-mrtg.o: \ compile qmail-mfrules.c ./compile qmail-mrtg.c qmail-mrtg-queue: \ warn-auto.sh qmail-mrtg-queue.sh ../conf-home cat warn-auto.sh qmail-mrtg-queue.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > qmail-mrtg-queue chmod 755 qmail-mrtg-queue qmail-newu: \ load qmail-newu.o auto_qmail.o qlibs.lib ./load qmail-newu auto_qmail.o `cat qlibs.lib` qmail-newu.o: \ compile qmail-newu.c ./compile qmail-newu.c qmail-pop3d: \ load qmail-pop3d.o commands.o maildir.o prioq.o now.o socket.lib qlibs.lib ./load qmail-pop3d commands.o maildir.o prioq.o now.o \ `cat socket.lib` `cat qlibs.lib` qmail-pop3d.o: \ compile qmail-pop3d.c ./compile qmail-pop3d.c qmail-popup: \ load qmail-popup.o commands.o now.o tls_start.o socket.lib qlibs.lib ./load qmail-popup commands.o tls_start.o now.o \ `cat socket.lib` `cat qlibs.lib` qmail-popup.o: \ compile qmail-popup.c ./compile qmail-popup.c qmail-postgrey: \ load qmail-postgrey.o socket.lib qlibs.lib ./load qmail-postgrey \ `cat socket.lib` `cat qlibs.lib` qmail-postgrey.o: \ compile qmail-postgrey.c ./compile qmail-postgrey.c qmail-pw2u: \ load qmail-pw2u.o constmap.o control.o auto_usera.o auto_break.o auto_qmail.o qlibs.lib ./load qmail-pw2u constmap.o control.o \ auto_usera.o auto_break.o auto_qmail.o `cat qlibs.lib` qmail-pw2u.o: \ compile qmail-pw2u.c ./compile qmail-pw2u.c qmail-qmqpc: \ load qmail-qmqpc.o control.o auto_qmail.o socket.lib qlibs.lib ./load qmail-qmqpc control.o auto_qmail.o `cat socket.lib` `cat qlibs.lib` qmail-qmqpc.o: \ compile qmail-qmqpc.c ./compile qmail-qmqpc.c qmail-qmqpd: \ load qmail-qmqpd.o received.o now.o date822fmt.o qmail.o auto_qmail.o \ datetime.a qlibs.lib ./load qmail-qmqpd received.o now.o date822fmt.o datetime.a qmail.o \ auto_qmail.o `cat qlibs.lib` qmail-qmqpd.o: \ compile qmail-qmqpd.c ./compile qmail-qmqpd.c qmail-qmtpd: \ load qmail-qmtpd.o rcpthosts.o control.o constmap.o received.o \ date822fmt.o now.o qmail.o datetime.a auto_qmail.o qlibs.lib ./load qmail-qmtpd rcpthosts.o auto_qmail.o control.o constmap.o \ received.o date822fmt.o now.o qmail.o datetime.a `cat qlibs.lib` qmail-qmtpd.o: \ compile qmail-qmtpd.c ./compile qmail-qmtpd.c qmail-qread: \ load qmail-qread.o fmtqfn.o readsubdir.o date822fmt.o datetime.a \ auto_qmail.o auto_split.o qlibs.lib ./load qmail-qread fmtqfn.o readsubdir.o date822fmt.o \ datetime.a auto_qmail.o auto_split.o `cat qlibs.lib` qmail-qread.o: \ compile qmail-qread.c ./compile qmail-qread.c qmail-qstat: \ warn-auto.sh qmail-qstat.sh ../conf-home ../conf-break ../conf-split cat warn-auto.sh qmail-qstat.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ | sed s}BREAK}"`head -1 ../conf-break`"}g \ | sed s}SPLIT}"`head -1 ../conf-split`"}g \ > qmail-qstat chmod 755 qmail-qstat qmail-queue: \ load qmail-queue.o triggerpull.o fmtqfn.o now.o date822fmt.o \ datetime.a auto_qmail.o auto_split.o auto_uids.o qlibs.lib ./load qmail-queue auto_qmail.o auto_split.o auto_uids.o \ triggerpull.o fmtqfn.o now.o date822fmt.o datetime.a `cat qlibs.lib` qmail-queue.o: \ compile qmail-queue.c ./compile qmail-queue.c qmail-qmaint: \ load qmail-qmaint.o auto_qmail.o auto_split.o auto_uids.o fifo.o \ fmtqfn.o readsubdir.o qlibs.lib ./load qmail-qmaint auto_qmail.o auto_split.o auto_uids.o fifo.o \ fmtqfn.o readsubdir.o `cat qlibs.lib` qmail-qmaint.o: \ compile qmail-qmaint.c ./compile qmail-qmaint.c qmail-remote: \ load qmail-remote.o control.o tcpto.o now.o dns.o ipalloc.o ipme.o \ quote.o tls_timeoutio.o tls_errors.o tls_remote.o dns_tlsa.o \ base64.o constmap.o md5c.o hmac_md5.o auto_qmail.o \ ssl.lib dns.lib socket.lib qlibs.lib idn2.lib ucspissl.a ./load qmail-remote control.o tcpto.o now.o \ base64.o constmap.o md5c.o hmac_md5.o ipalloc.o ipme.o \ quote.o dns.o ucspissl.a auto_qmail.o dns_tlsa.o \ tls_errors.o tls_remote.o tls_timeoutio.o ucspissl.a \ `cat ssl.lib` `cat dns.lib` `cat socket.lib` `cat qlibs.lib` `cat idn2.lib` qmail-remote.o: \ compile qmail-remote.c ./compile qmail-remote.c qmail-rspawn: \ load qmail-rspawn.o spawn.o tcpto_clean.o now.o \ auto_qmail.o auto_uids.o auto_spawn.o qlibs.lib ./load qmail-rspawn spawn.o tcpto_clean.o now.o \ auto_qmail.o auto_uids.o auto_spawn.o `cat qlibs.lib` qmail-rspawn.o: \ compile qmail-rspawn.c ./compile qmail-rspawn.c qmail-send: \ load qmail-send.o qsutil.o control.o constmap.o newfield.o prioq.o \ trigger.o fmtqfn.o quote.o now.o readsubdir.o qmail.o date822fmt.o \ datetime.a auto_qmail.o auto_split.o qlibs.lib ./load qmail-send qsutil.o control.o constmap.o newfield.o \ prioq.o trigger.o fmtqfn.o quote.o now.o readsubdir.o \ qmail.o date822fmt.o datetime.a auto_qmail.o auto_split.o `cat qlibs.lib` qmail-send.o: \ compile qmail-send.c ./compile qmail-send.c qmail-showctl: \ load qmail-showctl.o auto_uids.o control.o auto_qmail.o auto_break.o \ auto_patrn.o auto_spawn.o auto_split.o qlibs.lib ./load qmail-showctl auto_uids.o auto_qmail.o auto_break.o auto_patrn.o \ auto_spawn.o auto_split.o control.o `cat qlibs.lib` qmail-showctl.o: \ compile qmail-showctl.c ./compile qmail-showctl.c qmail-smtpd: \ load qmail-smtpd.o auto_break.o rcpthosts.o commands.o \ ipme.o ipalloc.o constmap.o control.o received.o \ recipients.o mfrules.o tls_start.o smtpdlog.o dns.o \ date822fmt.o now.o qmail.o wildmat.o spf.o spfdnsip.o \ datetime.a auto_qmail.o base64.o socket.lib qlibs.lib ./load qmail-smtpd rcpthosts.o recipients.o commands.o \ mfrules.o tls_start.o auto_break.o smtpdlog.o ipme.o \ ipalloc.o constmap.o control.o dns.o spf.o spfdnsip.o \ date822fmt.o now.o qmail.o wildmat.o received.o \ base64.o datetime.a auto_qmail.o \ `cat dns.lib` `cat socket.lib` `cat qlibs.lib` qmail-smtpd.o: \ compile qmail-smtpd.c ./compile qmail-smtpd.c qmail-start: \ load qmail-start.o auto_uids.o qlibs.lib ./load qmail-start auto_uids.o `cat qlibs.lib` qmail-start.o: \ compile qmail-start.c ./compile qmail-start.c qmail-tcpok: \ load qmail-tcpok.o auto_qmail.o qlibs.lib ./load qmail-tcpok auto_qmail.o `cat qlibs.lib` qmail-tcpok.o: \ compile qmail-tcpok.c ./compile qmail-tcpok.c qmail-tcpto: \ load qmail-tcpto.o now.o auto_qmail.o qlibs.lib ./load qmail-tcpto now.o auto_qmail.o `cat qlibs.lib` qmail-tcpto.o: \ compile qmail-tcpto.c ./compile qmail-tcpto.c qmail-todo: \ load qmail-todo.o control.o constmap.o trigger.o fmtqfn.o \ now.o qsutil.o readsubdir.o auto_qmail.o auto_split.o qlibs.lib ./load qmail-todo control.o constmap.o trigger.o fmtqfn.o now.o \ readsubdir.o qsutil.o auto_qmail.o auto_split.o `cat qlibs.lib` qmail-todo.o: \ compile qmail-todo.c ./compile qmail-todo.c qmail-upq: \ warn-auto.sh qmail-upq.sh ../conf-home ../conf-break ../conf-split cat warn-auto.sh qmail-upq.sh \ | sed s}QMAIL}"`head -1 ../conf-home`"}g \ | sed s}BREAK}"`head -1 ../conf-break`"}g \ | sed s}SPLIT}"`head -1 ../conf-split`"}g \ > qmail-upq chmod 755 qmail-upq qmail.o: \ compile qmail.c ./compile qmail.c qreceipt: \ load qreceipt.o headerbody.o hfield.o quote.o token822.o qmail.o \ auto_qmail.o qlibs.lib ./load qreceipt headerbody.o hfield.o quote.o token822.o \ qmail.o auto_qmail.o `cat qlibs.lib` qreceipt.o: \ compile qreceipt.c ./compile qreceipt.c qsutil.o: \ compile qsutil.c ./compile qsutil.c quote.o: \ compile quote.c ./compile quote.c rcpthosts.o: \ compile rcpthosts.c ./compile rcpthosts.c recipients.o: \ compile recipients.c ./compile recipients.c recipients: \ warn-auto.sh recipients.sh ../conf-home cat warn-auto.sh recipients.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > recipients chmod 755 recipients rhosts: \ warn-auto.sh rhosts.sh ../conf-home cat warn-auto.sh rhosts.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > rhosts chmod 755 rhosts rxdelay: \ warn-auto.sh rxdelay.sh ../conf-home cat warn-auto.sh rxdelay.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > rxdelay chmod 755 rxdelay senders: \ warn-auto.sh senders.sh ../conf-home cat warn-auto.sh senders.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > senders chmod 755 senders smtpdlog.o: \ compile smtpdlog.c ./compile smtpdlog.c s.lib: \ tryslib.c compile load ( ( ./compile tryslib.c && \ ./load tryslib -ls ) >/dev/null 2>&1 \ && echo -ls || exit 0 ) > s.lib rm -f tryslib.o tryslib shadow.lib: \ tryshadow.c compile load ( ( ./compile tryshadow.c && \ ./load tryshadow -lshadow ) >/dev/null 2>&1 \ && echo -lshadow || exit 0 ) > shadow.lib rm -f tryshadow.o tryshadow successes: \ warn-auto.sh successes.sh ../conf-home cat warn-auto.sh successes.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > successes chmod 755 successes suids: \ warn-auto.sh suids.sh ../conf-home cat warn-auto.sh suids.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > suids chmod 755 suids readsubdir.o: \ compile readsubdir.c ./compile readsubdir.c received.o: \ compile received.c ./compile received.c sendmail: \ load sendmail.o auto_qmail.o qlibs.lib ./load sendmail auto_qmail.o `cat qlibs.lib` sendmail.o: \ compile sendmail.c ./compile sendmail.c setforward: \ load setforward.o qlibs.lib ./load setforward `cat qlibs.lib` setforward.o: \ compile setforward.c ./compile setforward.c setmaillist: \ load setmaillist.o qlibs.lib ./load setmaillist `cat qlibs.lib` setmaillist.o: \ compile setmaillist.c ./compile setmaillist.c sha1.o: \ compile sha1.c ./compile sha1.c sha256.o : \ compile sha256.c ./compile sha256.c socket.lib: \ trylsock.c compile load ( ( ./compile trylsock.c && \ ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 \ && echo -lsocket -lnsl || exit 0 ) > socket.lib rm -f trylsock.o trylsock spawn.o: \ compile chkspawn spawn.c ./chkspawn ./compile spawn.c spfdnsip.o: \ compile spfdnsip.c ./compile spfdnsip.c spf.o: \ compile spf.c ./compile spf.c spfquery: \ load spfquery.o spf.o ipme.o ipalloc.o now.o dns.o \ spfdnsip.o datetime.a dns.lib qlibs.lib ./load spfquery spf.o ipme.o ipalloc.o spfdnsip.o \ now.o dns.o datetime.a `cat dns.lib` `cat socket.lib` `cat qlibs.lib` spfquery.o: \ compile spfquery.c ./compile spfquery.c splogger: \ load splogger.o syslog.lib socket.lib qlibs.lib ./load splogger `cat syslog.lib` `cat socket.lib` `cat qlibs.lib` splogger.o: \ compile splogger.c ./compile splogger.c srs2.o: \ compile srs2.c ./compile srs2.c srsforward: \ load srsforward.o qmail.o auto_qmail.o control.o constmap.o \ srs2.o sha1.o \ qlibs.lib ./load srsforward qmail.o auto_qmail.o control.o constmap.o \ srs2.o sha1.o `cat qlibs.lib` srsforward.o: \ compile srsforward.c ./compile srsforward.c srsreverse: \ load srsreverse.o qmail.o auto_break.o auto_qmail.o \ control.o constmap.o srs2.o sha1.o qlibs.lib ./load srsreverse qmail.o auto_break.o auto_qmail.o \ control.o constmap.o srs2.o sha1.o \ `cat qlibs.lib` srsreverse.o: \ compile srsreverse.c ./compile srsreverse.c strset.o: \ compile strset.c ./compile strset.c syslog.lib: \ trysyslog.c compile load ( ( ./compile trysyslog.c && \ ./load trysyslog -lgen ) >/dev/null 2>&1 \ && echo -lgen || exit 0 ) > syslog.lib rm -f trysyslog.o trysyslog systype: \ find-systype trycpp.c ./find-systype > systype tai64nfrac: \ load tai64nfrac.o qlibs.lib ./load tai64nfrac `cat qlibs.lib` tai64nfrac.o: \ compile tai64nfrac.c ./compile tai64nfrac.c tcpto.o: \ compile tcpto.c ./compile tcpto.c tcpto_clean.o: \ compile tcpto_clean.c ./compile tcpto_clean.c tls_errors.o: \ compile tls_errors.c ./compile tls_errors.c tls_remote.o: \ compile tls_remote.c ./compile tls_remote.c tls_start.o: \ compile tls_start.c ./compile tls_start.c tls_errors.c tls_timeoutio.o: \ compile tls_timeoutio.c ./compile tls_timeoutio.c token822.o: \ compile token822.c ./compile token822.c trigger.o: \ compile trigger.c ./compile trigger.c triggerpull.o: \ compile triggerpull.c ./compile triggerpull.c wildmat.o: \ compile wildmat.c ./compile wildmat.c xqp: \ warn-auto.sh xqp.sh ../conf-home cat warn-auto.sh xqp.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > xqp chmod 755 xqp xrecipient: \ warn-auto.sh xrecipient.sh ../conf-home cat warn-auto.sh xrecipient.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > xrecipient chmod 755 xrecipient xsender: \ warn-auto.sh xsender.sh ../conf-home cat warn-auto.sh xsender.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > xsender chmod 755 xsender zddist: \ warn-auto.sh zddist.sh ../conf-home cat warn-auto.sh zddist.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > zddist chmod 755 zddist zdeferrals: \ warn-auto.sh zdeferrals.sh ../conf-home cat warn-auto.sh zdeferrals.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > zdeferrals chmod 755 zdeferrals zfailures: \ warn-auto.sh zfailures.sh ../conf-home cat warn-auto.sh zfailures.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > zfailures chmod 755 zfailures zoverall: \ warn-auto.sh zoverall.sh ../conf-home cat warn-auto.sh zoverall.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > zoverall chmod 755 zoverall zrecipients: \ warn-auto.sh zrecipients.sh ../conf-home cat warn-auto.sh zrecipients.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > zrecipients chmod 755 zrecipients zrhosts: \ warn-auto.sh zrhosts.sh ../conf-home cat warn-auto.sh zrhosts.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > zrhosts chmod 755 zrhosts zrxdelay: \ warn-auto.sh zrxdelay.sh ../conf-home cat warn-auto.sh zrxdelay.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > zrxdelay chmod 755 zrxdelay zsenders: \ warn-auto.sh zsenders.sh ../conf-home cat warn-auto.sh zsenders.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > zsenders chmod 755 zsenders zsendmail: \ warn-auto.sh zsendmail.sh ../conf-home cat warn-auto.sh zsendmail.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > zsendmail chmod 755 zsendmail zsuccesses: \ warn-auto.sh zsuccesses.sh ../conf-home cat warn-auto.sh zsuccesses.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > zsuccesses chmod 755 zsuccesses zsuids: \ warn-auto.sh zsuids.sh ../conf-home cat warn-auto.sh zsuids.sh \ | sed s}HOME}"`head -1 ../conf-home`"}g \ > zsuids chmod 755 zsuids # cpp sources SRCS = dkim.cpp dkimbase.cpp dkimsign.cpp dkimverify.cpp OBJS = $(SRCS:.cpp=.o) .cpp.o: g++ -O2 $< $* libqdkim.a: $(OBJS) @rm -f libqdkim.a ar cr libqdkim.a $(OBJS) ranlib libqdkim.a