2017-04-02 12:57:17 +00:00
|
|
|
mbsync_SOURCES = main.c sync.c config.c util.c socket.c driver.c drv_imap.c drv_maildir.c drv_proxy.c
|
2019-11-27 16:13:44 +00:00
|
|
|
mbsync_LDADD = $(DB_LIBS) $(SSL_LIBS) $(SOCK_LIBS) $(SASL_LIBS) $(Z_LIBS) $(KEYCHAIN_LIBS)
|
2013-12-08 19:46:40 +00:00
|
|
|
noinst_HEADERS = common.h config.h driver.h sync.h socket.h
|
2004-03-27 16:07:20 +00:00
|
|
|
|
2017-04-02 12:57:17 +00:00
|
|
|
drv_proxy.$(OBJEXT): drv_proxy.inc
|
|
|
|
drv_proxy.inc: $(srcdir)/driver.h $(srcdir)/drv_proxy.c $(srcdir)/drv_proxy_gen.pl
|
|
|
|
perl $(srcdir)/drv_proxy_gen.pl $(srcdir)/driver.h $(srcdir)/drv_proxy.c drv_proxy.inc
|
|
|
|
|
2004-03-27 16:07:20 +00:00
|
|
|
mdconvert_SOURCES = mdconvert.c
|
2015-04-11 18:06:30 +00:00
|
|
|
mdconvert_LDADD = $(DB_LIBS)
|
|
|
|
if with_mdconvert
|
|
|
|
mdconvert_prog = mdconvert
|
|
|
|
mdconvert_man = mdconvert.1
|
|
|
|
endif
|
2004-03-27 16:07:20 +00:00
|
|
|
|
2014-11-30 17:41:11 +00:00
|
|
|
EXTRA_PROGRAMS = tst_timers
|
|
|
|
|
|
|
|
tst_timers_SOURCES = tst_timers.c util.c
|
|
|
|
|
2015-04-11 18:06:30 +00:00
|
|
|
bin_PROGRAMS = mbsync $(mdconvert_prog)
|
|
|
|
man_MANS = mbsync.1 $(mdconvert_man)
|
2012-08-26 14:29:37 +00:00
|
|
|
|
|
|
|
exampledir = $(docdir)/examples
|
|
|
|
example_DATA = mbsyncrc.sample
|
|
|
|
|
2017-04-02 12:57:17 +00:00
|
|
|
EXTRA_DIST = drv_proxy_gen.pl run-tests.pl $(example_DATA) $(man_MANS)
|
|
|
|
|
|
|
|
CLEANFILES = drv_proxy.inc
|