Makefile.am revision a6ab8f00351265e35b79f3a22b1f5a4978ae5c35
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainenpkglibexecdir = $(libexecdir)/dovecot
863f2bc9983c33221f5936421fc9c06caf21639aTimo Sirainenexampledir = $(docdir)/example-config
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainenbin_PROGRAMS = doveconf
cd18d7bb3e8d5921c3c852bd0a27fbeff9a9babbTimo Sirainenpkglibexec_PROGRAMS = config
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen
a64adf62fa33f2463a86f990217b0c9078531a40Timo SirainenAM_CPPFLAGS = \
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen -I$(top_srcdir)/src/lib \
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen -I$(top_srcdir)/src/lib-settings \
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen -I$(top_srcdir)/src/lib-master \
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen -DPKG_RUNDIR=\""$(rundir)"\" \
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen -DPKG_LIBEXECDIR=\""$(pkglibexecdir)"\" \
863f2bc9983c33221f5936421fc9c06caf21639aTimo Sirainen -DEXAMPLE_CONFIG_DIR=\""$(exampledir)"\" \
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen -DMODULEDIR=\""$(moduledir)"\" \
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen -DSSLDIR=\""$(ssldir)\""
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen
cd18d7bb3e8d5921c3c852bd0a27fbeff9a9babbTimo Sirainenconfig_LDADD = \
cd18d7bb3e8d5921c3c852bd0a27fbeff9a9babbTimo Sirainen $(LIBDOVECOT) \
cd18d7bb3e8d5921c3c852bd0a27fbeff9a9babbTimo Sirainen $(MODULE_LIBS) \
cd18d7bb3e8d5921c3c852bd0a27fbeff9a9babbTimo Sirainen $(RAND_LIBS)
cd18d7bb3e8d5921c3c852bd0a27fbeff9a9babbTimo Sirainenconfig_DEPENDENCIES = $(LIBDOVECOT)
cd18d7bb3e8d5921c3c852bd0a27fbeff9a9babbTimo Sirainen
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainendoveconf_LDADD = \
8dec8eab222cb7a0b4ef5e066cb1d7dac8a526d1Timo Sirainen $(LIBDOVECOT) \
8dec8eab222cb7a0b4ef5e066cb1d7dac8a526d1Timo Sirainen $(MODULE_LIBS) \
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen $(RAND_LIBS)
463cf881132dc89c6a1400614a80b70e67ca915fTimo Sirainendoveconf_DEPENDENCIES = $(LIBDOVECOT)
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen
cd18d7bb3e8d5921c3c852bd0a27fbeff9a9babbTimo Sirainencommon = \
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen all-settings.c \
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen config-connection.c \
1358e2c58ce29231485a5cfa454756d429ad3d2cTimo Sirainen config-filter.c \
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen config-parser.c \
c1847a38dfbc8bad29547d96432ef9d707dbd345Timo Sirainen config-request.c \
c1847a38dfbc8bad29547d96432ef9d707dbd345Timo Sirainen sysinfo-get.c
cd18d7bb3e8d5921c3c852bd0a27fbeff9a9babbTimo Sirainen
cd18d7bb3e8d5921c3c852bd0a27fbeff9a9babbTimo Sirainenconfig_SOURCES = \
cd18d7bb3e8d5921c3c852bd0a27fbeff9a9babbTimo Sirainen main.c \
cd18d7bb3e8d5921c3c852bd0a27fbeff9a9babbTimo Sirainen $(common)
cd18d7bb3e8d5921c3c852bd0a27fbeff9a9babbTimo Sirainen
cd18d7bb3e8d5921c3c852bd0a27fbeff9a9babbTimo Sirainendoveconf_SOURCES = \
cd18d7bb3e8d5921c3c852bd0a27fbeff9a9babbTimo Sirainen doveconf.c \
cd18d7bb3e8d5921c3c852bd0a27fbeff9a9babbTimo Sirainen $(common)
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainennoinst_HEADERS = \
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen all-settings.h \
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen config-connection.h \
1358e2c58ce29231485a5cfa454756d429ad3d2cTimo Sirainen config-filter.h \
c1847a38dfbc8bad29547d96432ef9d707dbd345Timo Sirainen config-parser.h \
1e535244304ef4342379b6ef50dbf9f0106873eeTimo Sirainen config-request.h \
c1847a38dfbc8bad29547d96432ef9d707dbd345Timo Sirainen sysinfo-get.h
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainenall-settings.c: $(SETTING_FILES) $(top_srcdir)/src/config/settings-get.pl
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen $(top_srcdir)/src/config/settings-get.pl $(SETTING_FILES) > all-settings.c || rm -f all-settings.c
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen
a64adf62fa33f2463a86f990217b0c9078531a40Timo SirainenEXTRA_DIST = \
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen settings-get.pl