Makefile.am revision 146240408e677e99e579d1feed92689585cc25d4
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 = \
23ad3970cd22adb6c875caf95fa791548849f0d1Timo Sirainenquota_dist_sources = \
23ad3970cd22adb6c875caf95fa791548849f0d1Timo Sirainenlib10_quota_plugin_la_SOURCES = \
23ad3970cd22adb6c875caf95fa791548849f0d1Timo Sirainen $(quota_dist_sources) \
23ad3970cd22adb6c875caf95fa791548849f0d1Timo Sirainen $(RQUOTA_XDR)
23ad3970cd22adb6c875caf95fa791548849f0d1Timo Sirainenif HAVE_RQUOTA
667f09546abd3d3636b277fec9dba8622cb3d644Timo SirainenRQUOTA_X = $(srcdir)/rquota.x
23ad3970cd22adb6c875caf95fa791548849f0d1Timo Sirainenrquota_xdr.c: Makefile $(RQUOTA_X)
d0cc826dab58ed8e30e1ccd7cb6ad2f44b391a00Timo Sirainen (echo '#include "lib.h"'; \
d0cc826dab58ed8e30e1ccd7cb6ad2f44b391a00Timo Sirainen echo '#include <rpc/rpc.h>'; \
d0cc826dab58ed8e30e1ccd7cb6ad2f44b391a00Timo Sirainen $(RPCGEN) -c $(RQUOTA_X) | \
fba3d682d6bad6a9530b254d6fd07dc5577be7feTimo Sirainen sed -e 's/IXDR_PUT/(void)IXDR_PUT/g' \
d0cc826dab58ed8e30e1ccd7cb6ad2f44b391a00Timo Sirainen -e 's,/usr/include/rpcsvc/rquota.h,rquota.h,' \
a321662b406acc9c9e6fe52332236740d449f591Timo Sirainen -e 's/int32_t \*buf/int32_t *buf ATTR_UNUSED/' \
a321662b406acc9c9e6fe52332236740d449f591Timo Sirainen -e 's/^static char rcsid.*//' ) > rquota_xdr.c
23ad3970cd22adb6c875caf95fa791548849f0d1Timo Sirainenrquota.h: Makefile $(RQUOTA_X)
1707642460105a013eb08e902c9ffdb2cbd86a1eTimo Sirainen $(RPCGEN) -h $(RQUOTA_X) > rquota.h
797d20c35779d68f2542d3e287c1a869048c8f26Timo Sirainennoinst_HEADERS = \
23ad3970cd22adb6c875caf95fa791548849f0d1Timo SirainenDISTFILES = $(DIST_COMMON) $(quota_dist_sources) $(TEXINFOS) $(EXTRA_DIST)
23ad3970cd22adb6c875caf95fa791548849f0d1Timo Sirainenclean-generic: