Mercurial > pidgin.yaz
annotate plugins/perl/Makefile.am @ 13706:3eb7a5f0de82
[gaim-migrate @ 16110]
support for JEP-0085 (chat state notifications)
Basically, this gains us the ability to send/receive the fact that a
user has typed, and then stopped.
This has passed the WorksForMe(TM) test suite...lemme know if you notice
anything weird.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Mon, 01 May 2006 01:22:18 +0000 |
parents | 48d7074f2297 |
children |
rev | line source |
---|---|
5205 | 1 plugindir = $(libdir)/gaim |
2 | |
6508
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
3 perl_dirs = common |
5205 | 4 |
11862 | 5 plugin_LTLIBRARIES = perl.la libgaimperl.la |
5205 | 6 |
10889 | 7 perl_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(PERL_LIBS) |
11880 | 8 perl_la_LIBADD = $(PERL_LIBS) -L. -L.libs -lgaimperl |
6508
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
9 perl_la_SOURCES = \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
10 perl.c \ |
6520
2e2593d95121
[gaim-migrate @ 7037]
Christian Hammond <chipx86@chipx86.com>
parents:
6512
diff
changeset
|
11 perl-common.c \ |
2e2593d95121
[gaim-migrate @ 7037]
Christian Hammond <chipx86@chipx86.com>
parents:
6512
diff
changeset
|
12 perl-common.h \ |
2e2593d95121
[gaim-migrate @ 7037]
Christian Hammond <chipx86@chipx86.com>
parents:
6512
diff
changeset
|
13 perl-handlers.c \ |
2e2593d95121
[gaim-migrate @ 7037]
Christian Hammond <chipx86@chipx86.com>
parents:
6512
diff
changeset
|
14 perl-handlers.h |
6508
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
15 |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
16 perl_la_DEPENDENCIES = \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
17 .libs/libperl_orig.a \ |
11123 | 18 .libs/DynaLoader.a \ |
11862 | 19 libgaimperl.la |
11123 | 20 |
11862 | 21 libgaimperl_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) |
22 libgaimperl_la_SOURCES = libgaimperl.c | |
6508
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
23 |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
24 .libs/libperl_orig.a: |
9169
3df7197abfe2
[gaim-migrate @ 9954]
Christian Hammond <chipx86@chipx86.com>
parents:
7231
diff
changeset
|
25 @mkdir -p .libs |
6508
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
26 @rm -f .libs/libperl_orig.a |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
27 @if [ x$(LIBPERL_A) = x ]; then \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
28 touch .libs/libperl_orig.a; \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
29 else \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
30 $(LN_S) $(LIBPERL_A) .libs/libperl_orig.a; \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
31 fi |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
32 |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
33 .libs/DynaLoader.a: |
9169
3df7197abfe2
[gaim-migrate @ 9954]
Christian Hammond <chipx86@chipx86.com>
parents:
7231
diff
changeset
|
34 @mkdir -p .libs |
6508
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
35 @rm -f .libs/DynaLoader.a |
6682
839ee4c36fbc
[gaim-migrate @ 7207]
Christian Hammond <chipx86@chipx86.com>
parents:
6678
diff
changeset
|
36 @if [ x$(DYNALOADER_A) = x ]; then \ |
6508
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
37 touch .libs/DynaLoader.a; \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
38 else \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
39 $(LN_S) $(DYNALOADER_A) .libs/DynaLoader.a; \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
40 fi |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
41 |
11123 | 42 |
6508
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
43 common_sources = \ |
11123 | 44 common/Account.xs \ |
45 common/AccountOpts.xs \ | |
46 common/BuddyIcon.xs \ | |
47 common/BuddyList.xs \ | |
48 common/Cipher.xs \ | |
49 common/Cmds.xs \ | |
50 common/Connection.xs \ | |
51 common/Conversation.xs \ | |
13577
48d7074f2297
[gaim-migrate @ 15957]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11880
diff
changeset
|
52 common/Debug.xs \ |
11123 | 53 common/FT.xs \ |
54 common/Gaim.pm \ | |
55 common/Gaim.xs \ | |
56 common/ImgStore.xs \ | |
57 common/Log.xs \ | |
58 common/Makefile.PL.in \ | |
59 common/Network.xs \ | |
60 common/Notify.xs \ | |
61 common/Plugin.xs \ | |
62 common/PluginPref.xs \ | |
63 common/Pounce.xs \ | |
64 common/Prefs.xs \ | |
65 common/Privacy.xs \ | |
66 common/Proxy.xs \ | |
67 common/Prpl.xs \ | |
68 common/Request.xs \ | |
69 common/Roomlist.xs \ | |
70 common/SSLConn.xs \ | |
71 common/SavedStatuses.xs \ | |
72 common/Server.xs \ | |
13577
48d7074f2297
[gaim-migrate @ 15957]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11880
diff
changeset
|
73 common/Signal.xs \ |
11123 | 74 common/Sound.xs \ |
75 common/Status.xs \ | |
76 common/Stringref.xs \ | |
77 common/Util.xs \ | |
78 common/XMLNode.xs \ | |
79 common/fallback/const-c.inc \ | |
80 common/fallback/const-xs.inc \ | |
81 common/module.h \ | |
82 common/typemap | |
6508
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
83 |
6654
95652c05c7ae
[gaim-migrate @ 7179]
Christian Hammond <chipx86@chipx86.com>
parents:
6644
diff
changeset
|
84 |
6508
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
85 EXTRA_DIST = \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
86 Makefile.mingw \ |
7231
79e33c8ecf16
[gaim-migrate @ 7803]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6682
diff
changeset
|
87 common/Makefile.mingw \ |
11318 | 88 $(common_sources) \ |
89 libgaimperl.c | |
6508
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
90 |
6587
ed11e3f8ba21
[gaim-migrate @ 7109]
Christian Hammond <chipx86@chipx86.com>
parents:
6537
diff
changeset
|
91 common/Makefile: common/Makefile.PL |
6665
e5c7149bc9ed
[gaim-migrate @ 7190]
Christian Hammond <chipx86@chipx86.com>
parents:
6654
diff
changeset
|
92 @if test "x${top_srcdir}" != "x${top_builddir}"; then \ |
e5c7149bc9ed
[gaim-migrate @ 7190]
Christian Hammond <chipx86@chipx86.com>
parents:
6654
diff
changeset
|
93 for f in ${common_sources}; do \ |
e5c7149bc9ed
[gaim-migrate @ 7190]
Christian Hammond <chipx86@chipx86.com>
parents:
6654
diff
changeset
|
94 ${LN_S} -f ../${srcdir}/$$f $$f; \ |
e5c7149bc9ed
[gaim-migrate @ 7190]
Christian Hammond <chipx86@chipx86.com>
parents:
6654
diff
changeset
|
95 done; \ |
e5c7149bc9ed
[gaim-migrate @ 7190]
Christian Hammond <chipx86@chipx86.com>
parents:
6654
diff
changeset
|
96 fi |
e5c7149bc9ed
[gaim-migrate @ 7190]
Christian Hammond <chipx86@chipx86.com>
parents:
6654
diff
changeset
|
97 @cd common && $(perlpath) Makefile.PL $(PERL_MM_PARAMS) |
6587
ed11e3f8ba21
[gaim-migrate @ 7109]
Christian Hammond <chipx86@chipx86.com>
parents:
6537
diff
changeset
|
98 |
9790 | 99 common/Makefile.PL: common/Makefile.PL.in $(top_builddir)/config.status |
6587
ed11e3f8ba21
[gaim-migrate @ 7109]
Christian Hammond <chipx86@chipx86.com>
parents:
6537
diff
changeset
|
100 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) |
ed11e3f8ba21
[gaim-migrate @ 7109]
Christian Hammond <chipx86@chipx86.com>
parents:
6537
diff
changeset
|
101 |
ed11e3f8ba21
[gaim-migrate @ 7109]
Christian Hammond <chipx86@chipx86.com>
parents:
6537
diff
changeset
|
102 all-local: common/Makefile |
6508
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
103 @for dir in $(perl_dirs); do \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
104 cd $$dir && \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
105 if [ ! -f Makefile ]; then \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
106 $(perlpath) Makefile.PL $(PERL_MM_PARAMS); \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
107 fi && \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
108 ($(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS) || \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
109 $(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS)) && \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
110 cd ..; \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
111 done |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
112 |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
113 install-exec-local: |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
114 @for dir in $(perl_dirs); do \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
115 cd $$dir; \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
116 $(MAKE) install; \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
117 cd ..; \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
118 done |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
119 |
6669
25f1f9efa510
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
120 # Evil Hack (TM) |
11862 | 121 # ... which doesn't work with DESTDIR installs. FIXME? |
6669
25f1f9efa510
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
122 uninstall-local: |
25f1f9efa510
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
123 @for dir in $(perl_dirs); do \ |
25f1f9efa510
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
124 cd $$dir && \ |
25f1f9efa510
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
125 `$(MAKE) uninstall | grep unlink | sed -e 's#/usr#${prefix}#' -e 's#unlink#rm -f#'` && \ |
25f1f9efa510
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
126 cd ..; \ |
25f1f9efa510
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
127 done |
25f1f9efa510
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
128 |
6508
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
129 clean-generic: |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
130 @for dir in $(perl_dirs); do \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
131 cd $$dir; \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
132 $(MAKE) clean; \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
133 cd ..; \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
134 done |
11146 | 135 rm -f *.so |
6508
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
136 |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
137 distclean-generic: |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
138 @for dir in $(perl_dirs); do \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
139 cd $$dir; \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
140 $(MAKE) realclean; \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
141 rm -f Makefile.PL; \ |
6671
2d79df66fc2b
[gaim-migrate @ 7196]
Christian Hammond <chipx86@chipx86.com>
parents:
6669
diff
changeset
|
142 rm -f Makefile.old; \ |
6530
e05a54da64db
[gaim-migrate @ 7047]
Christian Hammond <chipx86@chipx86.com>
parents:
6520
diff
changeset
|
143 rm -f Makefile; \ |
6508
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
144 cd ..; \ |
cbd24b37350d
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
145 done |
5205 | 146 |
6669
25f1f9efa510
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
147 @rm -f Makefile |
25f1f9efa510
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
148 @rm -f common/const-c.inc common/const-xs.inc |
25f1f9efa510
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
149 |
25f1f9efa510
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
150 @if test "x${top_srcdir}" != "x${top_builddir}"; then \ |
25f1f9efa510
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
151 for f in ${common_sources}; do \ |
25f1f9efa510
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
152 ${LN_S} -f ../${srcdir}/$$f $$f; \ |
25f1f9efa510
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
153 done; \ |
25f1f9efa510
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
154 fi |
25f1f9efa510
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
155 |
25f1f9efa510
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
156 |
5205 | 157 AM_CPPFLAGS = \ |
6360
2e23ccbccdec
[gaim-migrate @ 6864]
Christian Hammond <chipx86@chipx86.com>
parents:
6198
diff
changeset
|
158 -DVERSION=\"$(VERSION)\" \ |
2e23ccbccdec
[gaim-migrate @ 6864]
Christian Hammond <chipx86@chipx86.com>
parents:
6198
diff
changeset
|
159 -I$(top_srcdir) \ |
5205 | 160 -I$(top_srcdir)/src \ |
161 $(DEBUG_CFLAGS) \ | |
6360
2e23ccbccdec
[gaim-migrate @ 6864]
Christian Hammond <chipx86@chipx86.com>
parents:
6198
diff
changeset
|
162 $(GTK_CFLAGS) \ |
5205 | 163 $(PLUGIN_CFLAGS) \ |
164 $(PERL_CFLAGS) |