diff options
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 408 |
1 files changed, 408 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 0000000..de9d16f --- /dev/null +++ b/src/Makefile @@ -0,0 +1,408 @@ +# Don't edit Makefile! Use ../conf-* for configuration. + +SHELL=/bin/sh + +CXX = c++ +CXXFLAGS = -Og -Iinclude -Wall +#LIBDL = -ldl + +bincimapd_OBJECTS = bincimapd.o address.o argparser.o authenticate.o base64.o \ + broker.o convert.o depot.o iodevice.o iofactory.o \ + imapparser.o imapserver.o mailbox.o maildir.o maildir-close.o \ + maildir-create.o maildir-delete.o maildir-expunge.o maildir-readcache.o \ + maildir-scan.o maildir-scanfilesnames.o maildir-select.o \ + maildir-updateflags.o maildir-writecache.o maildirmessage.o mime.o \ + mime-getpart.o mime-parsefull.o mime-parseonlyheader.o mime-printbody.o \ + mime-printdoc.o mime-printheader.o multilogdevice.o \ + operator-authenticate.o operator-capability.o operator-idle.o \ + operator-id.o operator-noop.o operator-noop-pending.o operator-login.o \ + operator-logout.o operator-append.o operator-examine.o \ + operator-select.o operator-create.o operator-delete.o operator-list.o \ + operator-lsub.o operator-namespace.o operator-rename.o \ + operator-status.o operator-subscribe.o operator-unsubscribe.o \ + operator-check.o operator-close.o operator-copy.o operator-expunge.o \ + operator-fetch.o operator-search.o operator-store.o pendingupdates.o \ + recursivedescent.o regmatch.o session.o session-initialize-bincimapd.o \ + status.o stdiodevice.o syslogdevice.o tools.o + +bincimap_up_OBJECTS = bincimap-up.o argparser.o authenticate.o base64.o \ + broker.o convert.o greeting.o imapparser.o imapserver.o iodevice.o \ + iofactory.o multilogdevice.o operator-authenticate.o \ + operator-capability.o operator-id.o operator-noop.o operator-login.o \ + operator-logout.o operator-starttls.o recursivedescent.o \ + session.o session-initialize-bincimap-up.o status.o stdiodevice.o \ + syslogdevice.o tools.o + +bincimap_updatecache_OBJECTS = bincimap-updatecache.o address.o argparser.o \ + convert.o depot.o imapparser.o iodevice.o \ + iofactory.o mailbox.o maildir.o maildir-scan.o maildir-create.o \ + maildir-close.o maildir-expunge.o maildir-readcache.o \ + maildir-scanfilesnames.o maildir-select.o maildir-updateflags.o \ + maildir-writecache.o maildir-delete.o maildirmessage.o mime.o \ + mime-parsefull.o mime-parseonlyheader.o mime-printdoc.o \ + mime-printbody.o mime-printheader.o mime-getpart.o pendingupdates.o \ + session.o status.o + +.PHONY: default +default: it-base +it-base: bincimapd bincimap-updatecache bincimap-up + +bincimapd: $(bincimapd_OBJECTS) + $(CXX) $(CXXFLAGS) -o $@ $(bincimapd_OBJECTS) +bincimap-up: $(bincimap_up_OBJECTS) + $(CXX) $(CXXFLAGS) -o $@ $(bincimap_up_OBJECTS) +bincimap-updatecache: $(bincimap_updatecache_OBJECTS) + $(CXX) $(CXXFLAGS) -o $@ $(bincimap_updatecache_OBJECTS) + +.SUFFIXES: +.SUFFIXES: .cc .o + +.cc.o: + $(CXX) $(CXXFLAGS) -o $@ -c $< + +.PHONY: clean +clean: + rm -f `cat TARGETS` + +# Header depends +address.o: address.cc include/address.h include/convert.h include/depot.h + +argparser.o: argparser.cc include/argparser.h include/convert.h \ + include/address.h include/depot.h + +authenticate.o: authenticate.cc include/authenticate.h include/depot.h \ + include/iodevice.h include/convert.h include/address.h \ + include/iofactory.h include/session.h include/argparser.h \ + include/globals.h + +base64.o: base64.cc include/base64.h + +bincimap-up.o: bincimap-up.cc include/imapserver.h + +bincimap-updatecache.o: bincimap-updatecache.cc include/depot.h \ + include/mailbox.h include/imapparser.h include/maildir.h \ + include/maildirmessage.h include/message.h include/address.h \ + include/mime.h include/session.h include/argparser.h + +bincimapd.o: bincimapd.cc include/imapserver.h + +broker.o: broker.cc include/broker.h include/depot.h include/operators.h \ + include/imapparser.h include/message.h include/convert.h \ + include/address.h include/recursivedescent.h include/session.h \ + include/argparser.h + +convert.o: convert.cc include/convert.h include/address.h include/depot.h + +depot.o: depot.cc include/depot.h include/mailbox.h include/imapparser.h \ + include/status.h include/convert.h include/address.h \ + include/iodevice.h include/iofactory.h + +greeting.o: greeting.cc include/iodevice.h include/convert.h \ + include/address.h include/depot.h include/iofactory.h \ + include/session.h include/argparser.h include/globals.h + +imapparser.o: imapparser.cc include/imapparser.h include/convert.h \ + include/address.h include/depot.h + +imapserver.o: imapserver.cc include/broker.h include/depot.h \ + include/operators.h include/imapparser.h include/message.h \ + include/globals.h include/imapserver.h include/iodevice.h \ + include/convert.h include/address.h include/iofactory.h \ + include/session.h include/argparser.h + +iodevice.o: iodevice.cc include/iodevice.h include/convert.h \ + include/address.h include/depot.h include/session.h \ + include/argparser.h + +iofactory.o: iofactory.cc include/iofactory.h include/iodevice.h \ + include/convert.h include/address.h include/depot.h + +mailbox.o: mailbox.cc include/mailbox.h include/imapparser.h \ + include/message.h + +maildir-close.o: maildir-close.cc include/maildir.h include/mailbox.h \ + include/imapparser.h include/maildirmessage.h include/message.h \ + include/address.h include/mime.h + +maildir-create.o: maildir-create.cc include/maildir.h include/mailbox.h \ + include/imapparser.h include/maildirmessage.h include/message.h \ + include/address.h include/mime.h + +maildir-delete.o: maildir-delete.cc include/maildir.h include/mailbox.h \ + include/imapparser.h include/maildirmessage.h include/message.h \ + include/address.h include/mime.h + +maildir-expunge.o: maildir-expunge.cc include/iodevice.h \ + include/convert.h include/address.h include/depot.h \ + include/iofactory.h include/maildir.h include/mailbox.h \ + include/imapparser.h include/maildirmessage.h include/message.h \ + include/mime.h + +maildir-readcache.o: maildir-readcache.cc include/maildir.h \ + include/mailbox.h include/imapparser.h include/maildirmessage.h \ + include/message.h include/address.h include/mime.h include/convert.h \ + include/depot.h include/globals.h + +maildir-scan.o: maildir-scan.cc include/iodevice.h include/convert.h \ + include/address.h include/depot.h include/iofactory.h \ + include/maildir.h include/mailbox.h include/imapparser.h \ + include/maildirmessage.h include/message.h include/mime.h + +maildir-scanfilesnames.o: maildir-scanfilesnames.cc include/maildir.h \ + include/mailbox.h include/imapparser.h include/maildirmessage.h \ + include/message.h include/address.h include/mime.h include/iodevice.h \ + include/convert.h include/depot.h include/iofactory.h + +maildir-select.o: maildir-select.cc include/maildir.h include/mailbox.h \ + include/imapparser.h include/maildirmessage.h include/message.h \ + include/address.h include/mime.h + +maildir-updateflags.o: maildir-updateflags.cc include/maildir.h \ + include/mailbox.h include/imapparser.h include/maildirmessage.h \ + include/message.h include/address.h include/mime.h include/iodevice.h \ + include/convert.h include/depot.h include/iofactory.h + +maildir-writecache.o: maildir-writecache.cc include/globals.h \ + include/maildir.h include/mailbox.h include/imapparser.h \ + include/maildirmessage.h include/message.h include/address.h \ + include/mime.h + +maildir.o: maildir.cc include/convert.h include/address.h include/depot.h \ + include/iodevice.h include/iofactory.h include/maildir.h \ + include/mailbox.h include/imapparser.h include/maildirmessage.h \ + include/message.h include/mime.h include/pendingupdates.h \ + include/session.h include/argparser.h include/status.h \ + include/globals.h + +maildirmessage.o: maildirmessage.cc include/maildir.h include/mailbox.h \ + include/imapparser.h include/maildirmessage.h include/message.h \ + include/address.h include/mime.h include/convert.h include/depot.h \ + include/iodevice.h include/iofactory.h include/mime-utils.h \ + include/mime-inputsource.h + +mime-getpart.o: mime-getpart.cc include/mime.h include/convert.h \ + include/address.h include/depot.h + +mime-parsefull.o: mime-parsefull.cc include/mime.h include/mime-utils.h \ + include/mime-inputsource.h include/convert.h include/address.h \ + include/depot.h + +mime-parseonlyheader.o: mime-parseonlyheader.cc include/mime.h \ + include/mime-utils.h include/mime-inputsource.h include/convert.h \ + include/address.h include/depot.h + +mime-printbody.o: mime-printbody.cc include/mime.h include/mime-utils.h \ + include/mime-inputsource.h include/convert.h include/address.h \ + include/depot.h include/iodevice.h include/iofactory.h + +mime-printdoc.o: mime-printdoc.cc include/mime.h include/mime-utils.h \ + include/mime-inputsource.h include/convert.h include/address.h \ + include/depot.h include/iodevice.h include/iofactory.h + +mime-printheader.o: mime-printheader.cc include/mime.h \ + include/mime-utils.h include/mime-inputsource.h include/convert.h \ + include/address.h include/depot.h include/iodevice.h \ + include/iofactory.h + +mime.o: mime.cc include/mime.h include/convert.h include/address.h \ + include/depot.h + +multilogdevice.o: multilogdevice.cc include/multilogdevice.h \ + include/iodevice.h include/convert.h include/address.h include/depot.h + +operator-append.o: operator-append.cc include/depot.h include/iodevice.h \ + include/convert.h include/address.h include/iofactory.h \ + include/mailbox.h include/imapparser.h include/operators.h \ + include/message.h include/recursivedescent.h include/pendingupdates.h \ + include/session.h include/argparser.h + +operator-authenticate.o: operator-authenticate.cc include/authenticate.h \ + include/depot.h include/base64.h include/convert.h include/address.h \ + include/iodevice.h include/iofactory.h include/globals.h \ + include/operators.h include/imapparser.h include/message.h \ + include/recursivedescent.h include/session.h include/argparser.h + +operator-capability.o: operator-capability.cc include/depot.h \ + include/iodevice.h include/convert.h include/address.h \ + include/iofactory.h include/operators.h include/imapparser.h \ + include/message.h include/recursivedescent.h include/session.h \ + include/argparser.h include/globals.h + +operator-check.o: operator-check.cc include/depot.h include/mailbox.h \ + include/imapparser.h include/operators.h include/message.h \ + include/recursivedescent.h include/pendingupdates.h include/session.h \ + include/argparser.h + +operator-close.o: operator-close.cc include/depot.h include/mailbox.h \ + include/imapparser.h include/operators.h include/message.h \ + include/recursivedescent.h include/session.h include/argparser.h + +operator-copy.o: operator-copy.cc include/depot.h include/iodevice.h \ + include/convert.h include/address.h include/iofactory.h \ + include/maildir.h include/mailbox.h include/imapparser.h \ + include/maildirmessage.h include/message.h include/mime.h \ + include/operators.h include/recursivedescent.h include/session.h \ + include/argparser.h + +operator-create.o: operator-create.cc include/depot.h include/mailbox.h \ + include/imapparser.h include/operators.h include/message.h \ + include/recursivedescent.h include/session.h include/argparser.h \ + include/convert.h include/address.h + +operator-delete.o: operator-delete.cc include/depot.h include/mailbox.h \ + include/imapparser.h include/operators.h include/message.h \ + include/recursivedescent.h include/session.h include/argparser.h \ + include/convert.h include/address.h + +operator-examine.o: operator-examine.cc include/operators.h \ + include/imapparser.h include/depot.h include/message.h + +operator-expunge.o: operator-expunge.cc include/depot.h include/mailbox.h \ + include/imapparser.h include/operators.h include/message.h \ + include/recursivedescent.h include/pendingupdates.h include/session.h \ + include/argparser.h + +operator-fetch.o: operator-fetch.cc include/depot.h include/iodevice.h \ + include/convert.h include/address.h include/iofactory.h \ + include/mailbox.h include/imapparser.h include/operators.h \ + include/message.h include/pendingupdates.h include/recursivedescent.h \ + include/session.h include/argparser.h + +operator-id.o: operator-id.cc include/depot.h include/iodevice.h \ + include/convert.h include/address.h include/iofactory.h \ + include/operators.h include/imapparser.h include/message.h \ + include/recursivedescent.h include/session.h include/argparser.h \ + include/globals.h + +operator-idle.o: operator-idle.cc include/iodevice.h include/convert.h \ + include/address.h include/depot.h include/iofactory.h \ + include/globals.h include/mailbox.h include/imapparser.h \ + include/operators.h include/message.h include/pendingupdates.h \ + include/recursivedescent.h include/session.h include/argparser.h + +operator-list.o: operator-list.cc include/convert.h include/address.h \ + include/depot.h include/iodevice.h include/iofactory.h \ + include/mailbox.h include/imapparser.h include/operators.h \ + include/message.h include/recursivedescent.h include/regmatch.h \ + include/session.h include/argparser.h + +operator-login.o: operator-login.cc include/authenticate.h \ + include/depot.h include/iodevice.h include/convert.h include/address.h \ + include/iofactory.h include/globals.h include/operators.h \ + include/imapparser.h include/message.h include/recursivedescent.h \ + include/session.h include/argparser.h + +operator-logout.o: operator-logout.cc include/iodevice.h \ + include/convert.h include/address.h include/depot.h \ + include/iofactory.h include/mailbox.h include/imapparser.h \ + include/recursivedescent.h include/operators.h include/message.h \ + include/session.h include/argparser.h + +operator-lsub.o: operator-lsub.cc include/convert.h include/address.h \ + include/depot.h include/iodevice.h include/iofactory.h \ + include/mailbox.h include/imapparser.h include/operators.h \ + include/message.h include/recursivedescent.h include/regmatch.h \ + include/session.h include/argparser.h + +operator-namespace.o: operator-namespace.cc include/depot.h \ + include/iodevice.h include/convert.h include/address.h \ + include/iofactory.h include/operators.h include/imapparser.h \ + include/message.h include/recursivedescent.h include/session.h \ + include/argparser.h + +operator-noop-pending.o: operator-noop-pending.cc include/mailbox.h \ + include/imapparser.h include/pendingupdates.h \ + include/recursivedescent.h include/operators.h include/depot.h \ + include/message.h include/session.h include/argparser.h + +operator-noop.o: operator-noop.cc include/recursivedescent.h \ + include/imapparser.h include/operators.h include/depot.h \ + include/message.h include/session.h include/argparser.h + +operator-logout.o: operator-logout.cc include/iodevice.h \ + include/depot.h include/mailbox.h include/imapparser.h \ + include/operators.h include/message.h include/recursivedescent.h \ + include/session.h include/argparser.h + +operator-search.o: operator-search.cc include/convert.h include/address.h \ + include/depot.h include/imapparser.h include/iodevice.h \ + include/iofactory.h include/mailbox.h include/mime.h \ + include/operators.h include/message.h include/recursivedescent.h \ + include/session.h include/argparser.h + +operator-select.o: operator-select.cc include/depot.h include/iodevice.h \ + include/convert.h include/address.h include/iofactory.h \ + include/mailbox.h include/imapparser.h include/operators.h \ + include/message.h include/recursivedescent.h include/pendingupdates.h \ + include/session.h include/argparser.h + +operator-starttls.o: operator-starttls.cc include/recursivedescent.h \ + include/imapparser.h include/operators.h include/depot.h \ + include/message.h include/iodevice.h include/convert.h \ + include/address.h include/iofactory.h include/session.h \ + include/argparser.h + +operator-status.o: operator-status.cc include/convert.h include/address.h \ + include/depot.h include/iodevice.h include/iofactory.h \ + include/mailbox.h include/imapparser.h include/operators.h \ + include/message.h include/recursivedescent.h include/session.h \ + include/argparser.h include/status.h + +operator-store.o: operator-store.cc include/depot.h include/imapparser.h \ + include/mailbox.h include/operators.h include/message.h \ + include/pendingupdates.h include/recursivedescent.h include/session.h \ + include/argparser.h + +operator-subscribe.o: operator-subscribe.cc include/convert.h \ + include/address.h include/depot.h include/recursivedescent.h \ + include/imapparser.h include/operators.h include/message.h \ + include/session.h include/argparser.h + +operator-unsubscribe.o: operator-unsubscribe.cc include/convert.h \ + include/address.h include/depot.h include/recursivedescent.h \ + include/imapparser.h include/operators.h include/message.h \ + include/session.h include/argparser.h + +pendingupdates.o: pendingupdates.cc include/iodevice.h include/convert.h \ + include/address.h include/depot.h include/iofactory.h \ + include/mailbox.h include/imapparser.h include/message.h \ + include/pendingupdates.h include/session.h include/argparser.h + +recursivedescent.o: recursivedescent.cc include/imapparser.h \ + include/recursivedescent.h include/operators.h include/depot.h \ + include/message.h include/iodevice.h include/convert.h \ + include/address.h include/iofactory.h include/session.h \ + include/argparser.h + +regmatch.o: regmatch.cc include/regmatch.h + +session-initialize-bincimap-up.o: session-initialize-bincimap-up.cc \ + include/broker.h include/depot.h include/operators.h \ + include/imapparser.h include/message.h include/convert.h \ + include/address.h include/globals.h include/iodevice.h \ + include/iofactory.h include/multilogdevice.h include/syslogdevice.h \ + include/stdiodevice.h include/session.h include/argparser.h \ + include/tools.h + +session-initialize-bincimapd.o: session-initialize-bincimapd.cc \ + include/broker.h include/depot.h include/operators.h \ + include/imapparser.h include/message.h include/maildir.h \ + include/mailbox.h include/maildirmessage.h include/address.h \ + include/mime.h include/globals.h include/iodevice.h include/convert.h \ + include/iofactory.h include/multilogdevice.h include/session.h \ + include/argparser.h include/stdiodevice.h include/syslogdevice.h \ + include/tools.h + +session.o: session.cc include/argparser.h include/convert.h \ + include/address.h include/depot.h include/globals.h include/session.h \ + include/tools.h + +status.o: status.cc include/status.h + +stdiodevice.o: stdiodevice.cc include/stdiodevice.h include/iodevice.h \ + include/convert.h include/address.h include/depot.h + +syslogdevice.o: syslogdevice.cc include/syslogdevice.h include/iodevice.h \ + include/convert.h include/address.h include/depot.h + +tools.o: tools.cc include/tools.h |