Mercurial > dovecot > original-hg > dovecot-1.2
annotate src/plugins/quota/Makefile.am @ 6308:b44b090d7c07 HEAD
Use sed instead of $(SED). sed should work everywhere anyway, and $(SED)
for some reason doesn't work everywhere.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 22 Aug 2007 16:24:30 +0300 |
parents | 30c77009ba73 |
children | a991fa000b20 |
rev | line source |
---|---|
3738
732b62dc1976
Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
1 AM_CPPFLAGS = \ |
732b62dc1976
Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
2 -I$(top_srcdir)/src/lib \ |
732b62dc1976
Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
3 -I$(top_srcdir)/src/lib-dict \ |
4351
61cc7e40bec6
Add ",S=size" to maildir filenames when quota plugin is loaded with
Timo Sirainen <tss@iki.fi>
parents:
4231
diff
changeset
|
4 -I$(top_srcdir)/src/lib-index \ |
3738
732b62dc1976
Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
5 -I$(top_srcdir)/src/lib-mail \ |
4351
61cc7e40bec6
Add ",S=size" to maildir filenames when quota plugin is loaded with
Timo Sirainen <tss@iki.fi>
parents:
4231
diff
changeset
|
6 -I$(top_srcdir)/src/lib-storage \ |
61cc7e40bec6
Add ",S=size" to maildir filenames when quota plugin is loaded with
Timo Sirainen <tss@iki.fi>
parents:
4231
diff
changeset
|
7 -I$(top_srcdir)/src/lib-storage/index \ |
61cc7e40bec6
Add ",S=size" to maildir filenames when quota plugin is loaded with
Timo Sirainen <tss@iki.fi>
parents:
4231
diff
changeset
|
8 -I$(top_srcdir)/src/lib-storage/index/maildir |
3738
732b62dc1976
Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
9 |
4910
e66dc3774099
Changed the plugin filename numbering (ie. the ordering in which the plugins
Timo Sirainen <tss@iki.fi>
parents:
4870
diff
changeset
|
10 lib10_quota_plugin_la_LDFLAGS = -module -avoid-version |
3738
732b62dc1976
Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
11 |
732b62dc1976
Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
12 module_LTLIBRARIES = \ |
4910
e66dc3774099
Changed the plugin filename numbering (ie. the ordering in which the plugins
Timo Sirainen <tss@iki.fi>
parents:
4870
diff
changeset
|
13 lib10_quota_plugin.la |
3738
732b62dc1976
Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
14 |
6159
078d9dde99c8
Support for rquota with NFS mounts. Patch by HTK NetCommunication Oy.
Timo Sirainen <tss@iki.fi>
parents:
4910
diff
changeset
|
15 if HAVE_RQUOTA |
078d9dde99c8
Support for rquota with NFS mounts. Patch by HTK NetCommunication Oy.
Timo Sirainen <tss@iki.fi>
parents:
4910
diff
changeset
|
16 lib10_quota_plugin_la_LIBADD = \ |
078d9dde99c8
Support for rquota with NFS mounts. Patch by HTK NetCommunication Oy.
Timo Sirainen <tss@iki.fi>
parents:
4910
diff
changeset
|
17 -lrpcsvc |
078d9dde99c8
Support for rquota with NFS mounts. Patch by HTK NetCommunication Oy.
Timo Sirainen <tss@iki.fi>
parents:
4910
diff
changeset
|
18 endif |
078d9dde99c8
Support for rquota with NFS mounts. Patch by HTK NetCommunication Oy.
Timo Sirainen <tss@iki.fi>
parents:
4910
diff
changeset
|
19 |
4910
e66dc3774099
Changed the plugin filename numbering (ie. the ordering in which the plugins
Timo Sirainen <tss@iki.fi>
parents:
4870
diff
changeset
|
20 lib10_quota_plugin_la_SOURCES = \ |
3738
732b62dc1976
Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
21 quota.c \ |
4870
e92b3eaab490
dict quota: If dictionary doesn't yet contain the quota, calculate it by
Timo Sirainen <tss@iki.fi>
parents:
4413
diff
changeset
|
22 quota-count.c \ |
3751
768770a01733
quotactl() quota checking support
Timo Sirainen <tss@iki.fi>
parents:
3743
diff
changeset
|
23 quota-fs.c \ |
3738
732b62dc1976
Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
24 quota-dict.c \ |
732b62dc1976
Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
25 quota-dirsize.c \ |
4086
07c3a801c3dc
Maildir++ quota support.
Timo Sirainen <timo.sirainen@movial.fi>
parents:
3753
diff
changeset
|
26 quota-maildir.c \ |
3738
732b62dc1976
Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
27 quota-plugin.c \ |
732b62dc1976
Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
28 quota-storage.c |
732b62dc1976
Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
29 |
6177
abec53314897
Build rquota_xdr.c with rpcgen from rquota.x.
Timo Sirainen <tss@iki.fi>
parents:
6159
diff
changeset
|
30 if HAVE_RQUOTA |
6219
22060906360e
Compile fix when building outside source tree.
Timo Sirainen <tss@iki.fi>
parents:
6193
diff
changeset
|
31 $(srcdir)/quota-fs.c: rquota_xdr.c |
6193
0dda1f746d63
Added rquota_xdr.c dependency to quota-fs.c
Timo Sirainen <tss@iki.fi>
parents:
6177
diff
changeset
|
32 |
6177
abec53314897
Build rquota_xdr.c with rpcgen from rquota.x.
Timo Sirainen <tss@iki.fi>
parents:
6159
diff
changeset
|
33 rquota_xdr.c: Makefile |
abec53314897
Build rquota_xdr.c with rpcgen from rquota.x.
Timo Sirainen <tss@iki.fi>
parents:
6159
diff
changeset
|
34 $(RPCGEN) -c /usr/include/rpcsvc/rquota.x | \ |
6308
b44b090d7c07
Use sed instead of $(SED). sed should work everywhere anyway, and $(SED)
Timo Sirainen <tss@iki.fi>
parents:
6231
diff
changeset
|
35 sed -e 's/IXDR_PUT/(void)IXDR_PUT/g' \ |
6177
abec53314897
Build rquota_xdr.c with rpcgen from rquota.x.
Timo Sirainen <tss@iki.fi>
parents:
6159
diff
changeset
|
36 -e 's/int32_t \*buf/int32_t *buf __attr_unused__/' > rquota_xdr.c |
abec53314897
Build rquota_xdr.c with rpcgen from rquota.x.
Timo Sirainen <tss@iki.fi>
parents:
6159
diff
changeset
|
37 endif |
abec53314897
Build rquota_xdr.c with rpcgen from rquota.x.
Timo Sirainen <tss@iki.fi>
parents:
6159
diff
changeset
|
38 |
3743
146a924333aa
Added missing header files. Fixed plugin install hooks to use DESTDIR.
Timo Sirainen <tss@iki.fi>
parents:
3738
diff
changeset
|
39 noinst_HEADERS = \ |
146a924333aa
Added missing header files. Fixed plugin install hooks to use DESTDIR.
Timo Sirainen <tss@iki.fi>
parents:
3738
diff
changeset
|
40 quota.h \ |
3751
768770a01733
quotactl() quota checking support
Timo Sirainen <tss@iki.fi>
parents:
3743
diff
changeset
|
41 quota-fs.h \ |
3743
146a924333aa
Added missing header files. Fixed plugin install hooks to use DESTDIR.
Timo Sirainen <tss@iki.fi>
parents:
3738
diff
changeset
|
42 quota-plugin.h \ |
146a924333aa
Added missing header files. Fixed plugin install hooks to use DESTDIR.
Timo Sirainen <tss@iki.fi>
parents:
3738
diff
changeset
|
43 quota-private.h |
146a924333aa
Added missing header files. Fixed plugin install hooks to use DESTDIR.
Timo Sirainen <tss@iki.fi>
parents:
3738
diff
changeset
|
44 |
3738
732b62dc1976
Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
45 install-exec-local: |
4231
8ac54879ca92
Install the quota plugin also for POP3.
Timo Sirainen <tss@iki.fi>
parents:
4086
diff
changeset
|
46 for d in imap pop3 lda; do \ |
4413
96d9947fde60
mkdir_p doesn't accept multiple directories in some systems, so do it one at
Timo Sirainen <tss@iki.fi>
parents:
4351
diff
changeset
|
47 $(mkdir_p) $(DESTDIR)$(moduledir)/$$d; \ |
4910
e66dc3774099
Changed the plugin filename numbering (ie. the ordering in which the plugins
Timo Sirainen <tss@iki.fi>
parents:
4870
diff
changeset
|
48 rm -f $(DESTDIR)$(moduledir)/$$d/lib10_quota_plugin.so; \ |
e66dc3774099
Changed the plugin filename numbering (ie. the ordering in which the plugins
Timo Sirainen <tss@iki.fi>
parents:
4870
diff
changeset
|
49 $(LN_S) ../lib10_quota_plugin.so $(DESTDIR)$(moduledir)/$$d; \ |
3738
732b62dc1976
Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
50 done |
6177
abec53314897
Build rquota_xdr.c with rpcgen from rquota.x.
Timo Sirainen <tss@iki.fi>
parents:
6159
diff
changeset
|
51 |
abec53314897
Build rquota_xdr.c with rpcgen from rquota.x.
Timo Sirainen <tss@iki.fi>
parents:
6159
diff
changeset
|
52 distclean-generic: |
abec53314897
Build rquota_xdr.c with rpcgen from rquota.x.
Timo Sirainen <tss@iki.fi>
parents:
6159
diff
changeset
|
53 rm -f Makefile rquota_xdr.c |