Makefile.am revision 35a2af0c24277e9b9d935271abc3b709fa856d3e
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainenpkglibexecdir = $(libexecdir)/dovecot
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainenexampledir = $(docdir)/example-config
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainen
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainenbin_PROGRAMS = doveconf
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainenpkglibexec_PROGRAMS = config
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainen
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo SirainenAM_CPPFLAGS = \
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainen -I$(top_srcdir)/src/lib \
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainen -I$(top_srcdir)/src/lib-settings \
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainen -I$(top_srcdir)/src/lib-master \
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainen -DPKG_RUNDIR=\""$(rundir)"\" \
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainen -DPKG_STATEDIR=\""$(statedir)"\" \
0f39a57760d93cddbce3ca43096d78e0fe2f42fdTimo Sirainen -DPKG_LIBEXECDIR=\""$(pkglibexecdir)"\" \
0f39a57760d93cddbce3ca43096d78e0fe2f42fdTimo Sirainen -DEXAMPLE_CONFIG_DIR=\""$(exampledir)"\" \
0f39a57760d93cddbce3ca43096d78e0fe2f42fdTimo Sirainen -DMODULEDIR=\""$(moduledir)"\" \
0f39a57760d93cddbce3ca43096d78e0fe2f42fdTimo Sirainen -DSSLDIR=\""$(ssldir)\""
0f39a57760d93cddbce3ca43096d78e0fe2f42fdTimo Sirainen
0f39a57760d93cddbce3ca43096d78e0fe2f42fdTimo Sirainenconfig_LDADD = \
0f39a57760d93cddbce3ca43096d78e0fe2f42fdTimo Sirainen $(LIBDOVECOT) \
0f39a57760d93cddbce3ca43096d78e0fe2f42fdTimo Sirainen $(RAND_LIBS)
0f39a57760d93cddbce3ca43096d78e0fe2f42fdTimo Sirainenconfig_DEPENDENCIES = $(LIBDOVECOT_DEPS)
58bc77731bb25e900498a28409337e747f622722Timo Sirainen
58bc77731bb25e900498a28409337e747f622722Timo Sirainendoveconf_LDADD = \
0f39a57760d93cddbce3ca43096d78e0fe2f42fdTimo Sirainen $(LIBDOVECOT) \
0f39a57760d93cddbce3ca43096d78e0fe2f42fdTimo Sirainen $(RAND_LIBS)
0f39a57760d93cddbce3ca43096d78e0fe2f42fdTimo Sirainendoveconf_DEPENDENCIES = $(LIBDOVECOT_DEPS)
58bc77731bb25e900498a28409337e747f622722Timo Sirainen
c2f24d55319fad0b6c03425f402f0cb0cb1a318bTimo Sirainencommon = \
0f39a57760d93cddbce3ca43096d78e0fe2f42fdTimo Sirainen all-settings.c \
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainen config-connection.c \
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainen config-filter.c \
e9503210d3521a6833ed62dc332fc42ffb0e7a13Timo Sirainen config-parser.c \
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainen config-request.c \
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainen old-set-parser.c \
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainen sysinfo-get.c
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainen
e9503210d3521a6833ed62dc332fc42ffb0e7a13Timo Sirainenconfig_SOURCES = \
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainen main.c \
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainen $(common)
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainen
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainendoveconf_SOURCES = \
doveconf.c \
$(common)
noinst_HEADERS = \
all-settings.h \
config-connection.h \
old-set-parser.h \
sysinfo-get.h
pkginclude_HEADERS = \
config-filter.h \
config-parser.h \
config-parser-private.h \
config-request.h
all-settings.c: $(SETTING_FILES) $(top_srcdir)/src/config/settings-get.pl
$(top_srcdir)/src/config/settings-get.pl $(SETTING_FILES) > all-settings.c || rm -f all-settings.c
EXTRA_DIST = \
config-settings.c \
settings-get.pl