Makefile.am revision cf7857bce68a33cdabe88bb15568e21921eb5ac7
460N/Adoveadm_moduledir = $(moduledir)/doveadm
460N/A
460N/Apkglibexecdir = $(libexecdir)/dovecot
460N/Apkglibexec_PROGRAMS = quota-status
460N/A
460N/AAM_CPPFLAGS = \
460N/A -I$(top_srcdir)/src/lib \
460N/A -I$(top_srcdir)/src/lib-test \
460N/A -I$(top_srcdir)/src/lib-master \
460N/A -I$(top_srcdir)/src/lib-dict \
460N/A -I$(top_srcdir)/src/lib-index \
460N/A -I$(top_srcdir)/src/lib-mail \
460N/A -I$(top_srcdir)/src/lib-storage \
460N/A -I$(top_srcdir)/src/lib-storage/index \
460N/A -I$(top_srcdir)/src/lib-storage/index/maildir \
460N/A -I$(top_srcdir)/src/doveadm
460N/A
460N/ANOPLUGIN_LDFLAGS =
460N/Alib10_doveadm_quota_plugin_la_LDFLAGS = -module -avoid-version
460N/Alib10_quota_plugin_la_LDFLAGS = -module -avoid-version
460N/A
460N/Amodule_LTLIBRARIES = \
3996N/A lib10_quota_plugin.la
460N/A
460N/Aquota_dist_sources = \
460N/A quota.c \
460N/A quota-count.c \
783N/A quota-fs.c \
783N/A quota-dict.c \
1273N/A quota-dirsize.c \
1713N/A quota-maildir.c \
618N/A quota-plugin.c \
1273N/A quota-storage.c \
1273N/A quota-util.c
460N/A
844N/Aquota_common_objects = \
1713N/A quota.lo \
460N/A quota-count.lo \
1273N/A quota-fs.lo \
460N/A quota-dict.lo \
3996N/A quota-dirsize.lo \
3996N/A quota-maildir.lo \
3996N/A quota-plugin.lo \
460N/A quota-storage.lo \
460N/A quota-util.lo \
460N/A $(RQUOTA_XDR_LO)
460N/A
1713N/Alib10_quota_plugin_la_SOURCES = $(quota_dist_sources)
1713N/Anodist_lib10_quota_plugin_la_SOURCES = $(RQUOTA_XDR)
1713N/Alib10_quota_plugin_la_LIBADD = $(QUOTA_LIBS)
1713N/A
1713N/Adoveadm_module_LTLIBRARIES = \
1713N/A lib10_doveadm_quota_plugin.la
1713N/A
1713N/Alib10_doveadm_quota_plugin_la_SOURCES = \
460N/A doveadm-quota.c
460N/A
460N/Aquota_status_SOURCES = \
460N/A quota-status.c
460N/Aquota_status_CPPFLAGS = $(AM_CPPFLAGS) $(BINARY_CFLAGS)
1713N/Aquota_status_LDADD = \
1713N/A $(quota_common_objects) \
1713N/A $(LIBDOVECOT_STORAGE) \
1713N/A $(LIBDOVECOT) \
1713N/A $(QUOTA_LIBS) \
460N/A $(BINARY_LDFLAGS)
460N/Aquota_status_DEPENDENCIES = \
460N/A $(quota_common_objects) \
460N/A $(LIBDOVECOT_STORAGE_DEPS) \
460N/A $(LIBDOVECOT_DEPS)
460N/A
460N/Aif HAVE_RQUOTA
460N/ARQUOTA_XDR = rquota_xdr.c
460N/ARQUOTA_XDR_LO = rquota_xdr.lo
460N/A#RQUOTA_X = /usr/include/rpcsvc/rquota.x
460N/ARQUOTA_X = $(srcdir)/rquota.x
460N/Arquota_xdr.c: Makefile rquota.h
460N/A if [ "$(top_srcdir)" != "$(top_builddir)" ]; then \
4005N/A cp $(RQUOTA_X) $(top_builddir)/src/plugins/quota/; \
4005N/A fi; \
460N/A (echo '#include "lib.h"'; \
460N/A echo '#undef FALSE'; \
460N/A echo '#undef TRUE'; \
460N/A echo '#include <rpc/rpc.h>'; \
460N/A $(RPCGEN) -c $(top_builddir)/src/plugins/quota/rquota.x | \
460N/A sed -e 's/IXDR_PUT/(void)IXDR_PUT/g' \
460N/A -e 's,!xdr_,0 == xdr_,' \
460N/A -e 's,/usr/include/rpcsvc/rquota.h,rquota.h,' \
460N/A -e 's/int32_t \*buf/int32_t *buf ATTR_UNUSED/' \
460N/A -e 's/^static char rcsid.*//' ) > rquota_xdr.c
460N/A
460N/Arquota.h: Makefile $(RQUOTA_X)
460N/A $(RPCGEN) -h $(RQUOTA_X) > rquota.h
460N/A
460N/Aquota-fs.lo: rquota.h
460N/A
460N/Aendif
460N/A
460N/Apkginc_libdir=$(pkgincludedir)
1574N/Apkginc_lib_HEADERS = \
1574N/A quota.h \
1574N/A quota-fs.h \
460N/A quota-plugin.h \
460N/A quota-private.h
460N/A
460N/AEXTRA_DIST = rquota.x
460N/A
460N/Aclean-generic:
460N/A if [ "$(top_srcdir)" != "$(top_builddir)" ]; then \
460N/A rm -f $(top_builddir)/src/plugins/quota/rquota.x; \
1713N/A fi; \
460N/A rm -f rquota_xdr.c rquota.h
460N/A
460N/Atest_programs = \
3996N/A test-quota-util
3996N/Anoinst_PROGRAMS = $(test_programs)
3996N/A
3996N/Atest_libs = \
../../lib-test/libtest.la \
../../lib/liblib.la
test_deps = $(noinst_LTLIBRARIES) $(test_libs)
test_quota_util_SOURCES = test-quota-util.c
test_quota_util_LDADD = quota-util.lo $(test_libs)
test_quota_util_DEPENDENCIES = quota-util.lo $(test_deps)
check: check-am check-test
check-test: all-am
for bin in $(test_programs); do \
if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \
done