2004-03-27 16:07:20 +00:00
|
|
|
if with_compat
|
|
|
|
compat_dir = compat
|
|
|
|
endif
|
|
|
|
SUBDIRS = $(compat_dir)
|
|
|
|
|
|
|
|
bin_PROGRAMS = mbsync mdconvert
|
|
|
|
|
2013-12-08 19:46:40 +00:00
|
|
|
mbsync_SOURCES = main.c sync.c config.c util.c socket.c driver.c drv_imap.c drv_maildir.c
|
2014-07-27 16:41:22 +00:00
|
|
|
mbsync_LDADD = -ldb $(SSL_LIBS) $(SOCK_LIBS) $(SASL_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
|
|
|
|
|
|
|
mdconvert_SOURCES = mdconvert.c
|
|
|
|
mdconvert_LDADD = -ldb
|
|
|
|
|
|
|
|
man_MANS = mbsync.1 mdconvert.1
|
2012-08-26 14:29:37 +00:00
|
|
|
|
|
|
|
exampledir = $(docdir)/examples
|
|
|
|
example_DATA = mbsyncrc.sample
|
|
|
|
|
|
|
|
EXTRA_DIST = run-tests.pl $(example_DATA) $(man_MANS)
|