Makefile.am revision 1707642460105a013eb08e902c9ffdb2cbd86a1e
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo SirainenAM_CPPFLAGS = \
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen -I$(top_srcdir)/src/lib \
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen -I$(top_srcdir)/src/lib-dict \
677e22747b82bf15b339e31d1d0106d62bf806daTimo Sirainen -I$(top_srcdir)/src/lib-index \
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen -I$(top_srcdir)/src/lib-mail \
677e22747b82bf15b339e31d1d0106d62bf806daTimo Sirainen -I$(top_srcdir)/src/lib-storage \
9d1526ac8bcec9aff3c3a32f092ee2f3da2760b7Timo Sirainenlib10_quota_plugin_la_LDFLAGS = -module -avoid-version
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainenmodule_LTLIBRARIES = \
9e96947aa6185341cbdd1140cb216fab3270ccbaTimo Sirainenif HAVE_RQUOTA
9e96947aa6185341cbdd1140cb216fab3270ccbaTimo Sirainenlib10_quota_plugin_la_LIBADD = \
9d1526ac8bcec9aff3c3a32f092ee2f3da2760b7Timo Sirainenlib10_quota_plugin_la_SOURCES = \
fdbcd3027578d35cb6e12b44c06a46905024e300Timo Sirainenif HAVE_RQUOTA
3c761874964bfb09fed3c68299532fc874a657b3Timo Sirainenlib10_quota_plugin_la_DEPENDENCIES = \
f740f218bbb1a98cea08dd82b601a8dd50f35093Timo Sirainen $(RPCGEN) -c $(RQUOTA_X) | \
fba3d682d6bad6a9530b254d6fd07dc5577be7feTimo Sirainen sed -e 's/IXDR_PUT/(void)IXDR_PUT/g' \
e084d7e936c72517ee425bf0fffb0c2be9b3e6d0Timo Sirainen -e 's/int32_t \*buf/int32_t *buf ATTR_UNUSED/' > rquota_xdr.c
f740f218bbb1a98cea08dd82b601a8dd50f35093Timo Sirainen# BSD rpcgen wants to include the .h from current directory, so generate it
1707642460105a013eb08e902c9ffdb2cbd86a1eTimo Sirainen $(RPCGEN) -h $(RQUOTA_X) > rquota.h
797d20c35779d68f2542d3e287c1a869048c8f26Timo Sirainennoinst_HEADERS = \
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Siraineninstall-exec-local:
2317a68d8119d3a2310320f6fe37d74cdc64a9d7Timo Sirainen for d in imap pop3 lda; do \
679ad6ad1a66597752d1729a8dfd54ce1ed595e5Timo Sirainen $(mkdir_p) $(DESTDIR)$(moduledir)/$$d; \
9d1526ac8bcec9aff3c3a32f092ee2f3da2760b7Timo Sirainen rm -f $(DESTDIR)$(moduledir)/$$d/lib10_quota_plugin.so; \
9d1526ac8bcec9aff3c3a32f092ee2f3da2760b7Timo Sirainen $(LN_S) ../lib10_quota_plugin.so $(DESTDIR)$(moduledir)/$$d; \
fdbcd3027578d35cb6e12b44c06a46905024e300Timo Sirainendistclean-generic: