Mon, 24 Feb 2014 15:43:08 +0100
Fix another perl cleanup failure
|
16651
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16529
diff
changeset
|
1 | plugindir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION) |
| 5205 | 2 | |
|
6508
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
3 | perl_dirs = common |
| 5205 | 4 | |
|
14736
90fe3dd8e9db
[gaim-migrate @ 17420]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14434
diff
changeset
|
5 | plugin_LTLIBRARIES = perl.la |
| 5205 | 6 | |
|
14736
90fe3dd8e9db
[gaim-migrate @ 17420]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
14434
diff
changeset
|
7 | perl_la_LDFLAGS = -module -avoid-version |
|
26489
7d8de8906c79
Clean unnecessary changes out of the Makefiles.
Michael Ruprecht <maiku@pidgin.im>
parents:
26128
diff
changeset
|
8 | perl_la_LIBADD = $(GLIB_LIBS) $(PERL_LIBS) |
|
6508
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
9 | perl_la_SOURCES = \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
10 | perl.c \ |
|
6520
5386692555c9
[gaim-migrate @ 7037]
Christian Hammond <chipx86@chipx86.com>
parents:
6512
diff
changeset
|
11 | perl-common.c \ |
|
5386692555c9
[gaim-migrate @ 7037]
Christian Hammond <chipx86@chipx86.com>
parents:
6512
diff
changeset
|
12 | perl-common.h \ |
|
5386692555c9
[gaim-migrate @ 7037]
Christian Hammond <chipx86@chipx86.com>
parents:
6512
diff
changeset
|
13 | perl-handlers.c \ |
|
5386692555c9
[gaim-migrate @ 7037]
Christian Hammond <chipx86@chipx86.com>
parents:
6512
diff
changeset
|
14 | perl-handlers.h |
|
6508
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
15 | |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
16 | perl_la_DEPENDENCIES = \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
17 | .libs/libperl_orig.a \ |
|
16528
6cd4a90e0970
Kill the libpurpleperl hack library and move the init stuff to perl.so itself.
Etan Reisner <deryni@pidgin.im>
parents:
16364
diff
changeset
|
18 | .libs/DynaLoader.a |
|
6508
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
19 | |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
20 | .libs/libperl_orig.a: |
|
9169
f557f4ebae65
[gaim-migrate @ 9954]
Christian Hammond <chipx86@chipx86.com>
parents:
7231
diff
changeset
|
21 | @mkdir -p .libs |
|
6508
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
22 | @rm -f .libs/libperl_orig.a |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
23 | @if [ x$(LIBPERL_A) = x ]; then \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
24 | touch .libs/libperl_orig.a; \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
25 | else \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
26 | $(LN_S) $(LIBPERL_A) .libs/libperl_orig.a; \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
27 | fi |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
28 | |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
29 | .libs/DynaLoader.a: |
|
9169
f557f4ebae65
[gaim-migrate @ 9954]
Christian Hammond <chipx86@chipx86.com>
parents:
7231
diff
changeset
|
30 | @mkdir -p .libs |
|
6508
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
31 | @rm -f .libs/DynaLoader.a |
|
6682
e71e0a3285ff
[gaim-migrate @ 7207]
Christian Hammond <chipx86@chipx86.com>
parents:
6678
diff
changeset
|
32 | @if [ x$(DYNALOADER_A) = x ]; then \ |
|
6508
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
33 | touch .libs/DynaLoader.a; \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
34 | else \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
35 | $(LN_S) $(DYNALOADER_A) .libs/DynaLoader.a; \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
36 | fi |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
37 | |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
38 | common_sources = \ |
|
16529
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
39 | common/Account.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
40 | common/AccountOpts.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
41 | common/BuddyIcon.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
42 | common/BuddyList.xs \ |
|
24125
e5f07d6019d9
I forgot to add these new files to Makefile.am
Daniel Atallah <datallah@pidgin.im>
parents:
23023
diff
changeset
|
43 | common/Certificate.xs \ |
|
16529
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
44 | common/Cipher.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
45 | common/Cmds.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
46 | common/Core.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
47 | common/Connection.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
48 | common/Conversation.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
49 | common/Debug.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
50 | common/FT.xs \ |
|
24125
e5f07d6019d9
I forgot to add these new files to Makefile.am
Daniel Atallah <datallah@pidgin.im>
parents:
23023
diff
changeset
|
51 | common/Idle.xs \ |
|
16529
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
52 | common/ImgStore.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
53 | common/Log.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
54 | common/Makefile.PL.in \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
55 | common/Network.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
56 | common/Notify.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
57 | common/Plugin.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
58 | common/PluginPref.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
59 | common/Pounce.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
60 | common/Prefs.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
61 | common/Privacy.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
62 | common/Proxy.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
63 | common/Prpl.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
64 | common/Purple.pm \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
65 | common/Purple.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
66 | common/Request.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
67 | common/Roomlist.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
68 | common/SSLConn.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
69 | common/SavedStatuses.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
70 | common/Server.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
71 | common/Signal.xs \ |
|
23023
6aeeb2037709
Expose smiley API to perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22879
diff
changeset
|
72 | common/Smiley.xs \ |
|
16529
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
73 | common/Sound.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
74 | common/Status.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
75 | common/Stringref.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
76 | common/Util.xs \ |
|
24125
e5f07d6019d9
I forgot to add these new files to Makefile.am
Daniel Atallah <datallah@pidgin.im>
parents:
23023
diff
changeset
|
77 | common/Whiteboard.xs \ |
|
16529
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
78 | common/XMLNode.xs \ |
|
1d0da9270ff9
This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents:
16528
diff
changeset
|
79 | common/module.h \ |
|
16773
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
16651
diff
changeset
|
80 | common/typemap |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
16651
diff
changeset
|
81 | # common/fallback/const-c.inc \ |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
16651
diff
changeset
|
82 | # common/fallback/const-xs.inc |
|
6654
a6d76a1885b0
[gaim-migrate @ 7179]
Christian Hammond <chipx86@chipx86.com>
parents:
6644
diff
changeset
|
83 | |
|
16848
239c57739297
Add the function_list.pl script to the dist tarball. It's useful for people
Etan Reisner <deryni@pidgin.im>
parents:
16773
diff
changeset
|
84 | perl_scripts = \ |
|
17175
e231f3223894
nosnilmot: EXTRA_DIST it!
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16972
diff
changeset
|
85 | scripts/function_list.pl \ |
|
e231f3223894
nosnilmot: EXTRA_DIST it!
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16972
diff
changeset
|
86 | scripts/signals-test.pl |
|
16848
239c57739297
Add the function_list.pl script to the dist tarball. It's useful for people
Etan Reisner <deryni@pidgin.im>
parents:
16773
diff
changeset
|
87 | |
|
6508
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
88 | EXTRA_DIST = \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
89 | Makefile.mingw \ |
|
7231
6af2d1e09b34
[gaim-migrate @ 7803]
Herman Bloggs <herman@bluedigits.com>
parents:
6682
diff
changeset
|
90 | common/Makefile.mingw \ |
|
16848
239c57739297
Add the function_list.pl script to the dist tarball. It's useful for people
Etan Reisner <deryni@pidgin.im>
parents:
16773
diff
changeset
|
91 | $(common_sources) \ |
|
239c57739297
Add the function_list.pl script to the dist tarball. It's useful for people
Etan Reisner <deryni@pidgin.im>
parents:
16773
diff
changeset
|
92 | $(perl_scripts) |
|
6508
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
93 | |
|
6587
8ff464fb8b9c
[gaim-migrate @ 7109]
Christian Hammond <chipx86@chipx86.com>
parents:
6537
diff
changeset
|
94 | common/Makefile: common/Makefile.PL |
|
6665
0880a8b93571
[gaim-migrate @ 7190]
Christian Hammond <chipx86@chipx86.com>
parents:
6654
diff
changeset
|
95 | @if test "x${top_srcdir}" != "x${top_builddir}"; then \ |
|
0880a8b93571
[gaim-migrate @ 7190]
Christian Hammond <chipx86@chipx86.com>
parents:
6654
diff
changeset
|
96 | for f in ${common_sources}; do \ |
|
22879
39b83b2be9d0
Fix make distcheck (which broke from an earlier fix for make when
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22858
diff
changeset
|
97 | srcloc=${srcdir}; \ |
|
39b83b2be9d0
Fix make distcheck (which broke from an earlier fix for make when
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22858
diff
changeset
|
98 | case $$srcloc in /*) ;; *) srcloc=../${srcdir} ;; esac; \ |
|
39b83b2be9d0
Fix make distcheck (which broke from an earlier fix for make when
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22858
diff
changeset
|
99 | ${LN_S} -f $$srcloc/$$f $$f; \ |
|
6665
0880a8b93571
[gaim-migrate @ 7190]
Christian Hammond <chipx86@chipx86.com>
parents:
6654
diff
changeset
|
100 | done; \ |
|
0880a8b93571
[gaim-migrate @ 7190]
Christian Hammond <chipx86@chipx86.com>
parents:
6654
diff
changeset
|
101 | fi |
|
27584
134e07aa6f64
Install the Purple and Pidgin perl modules under $libdir instead of in perl's
Etan Reisner <deryni@pidgin.im>
parents:
26489
diff
changeset
|
102 | @cd common && $(perlpath) Makefile.PL |
|
6587
8ff464fb8b9c
[gaim-migrate @ 7109]
Christian Hammond <chipx86@chipx86.com>
parents:
6537
diff
changeset
|
103 | |
| 9790 | 104 | common/Makefile.PL: common/Makefile.PL.in $(top_builddir)/config.status |
|
6587
8ff464fb8b9c
[gaim-migrate @ 7109]
Christian Hammond <chipx86@chipx86.com>
parents:
6537
diff
changeset
|
105 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) |
|
8ff464fb8b9c
[gaim-migrate @ 7109]
Christian Hammond <chipx86@chipx86.com>
parents:
6537
diff
changeset
|
106 | |
|
8ff464fb8b9c
[gaim-migrate @ 7109]
Christian Hammond <chipx86@chipx86.com>
parents:
6537
diff
changeset
|
107 | all-local: common/Makefile |
|
6508
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
108 | @for dir in $(perl_dirs); do \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
109 | cd $$dir && \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
110 | if [ ! -f Makefile ]; then \ |
|
27584
134e07aa6f64
Install the Purple and Pidgin perl modules under $libdir instead of in perl's
Etan Reisner <deryni@pidgin.im>
parents:
26489
diff
changeset
|
111 | $(perlpath) Makefile.PL; \ |
|
6508
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
112 | fi && \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
113 | ($(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS) || \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
114 | $(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS)) && \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
115 | cd ..; \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
116 | done |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
117 | |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
118 | install-exec-local: |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
119 | @for dir in $(perl_dirs); do \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
120 | cd $$dir; \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
121 | $(MAKE) install; \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
122 | cd ..; \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
123 | done |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
124 | |
|
6669
ba07cbebb755
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
125 | # Evil Hack (TM) |
|
11862
5d4bc6d54688
[gaim-migrate @ 14153]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
11318
diff
changeset
|
126 | # ... which doesn't work with DESTDIR installs. FIXME? |
|
6669
ba07cbebb755
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
127 | uninstall-local: |
|
ba07cbebb755
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
128 | @for dir in $(perl_dirs); do \ |
|
ba07cbebb755
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
129 | cd $$dir && \ |
|
ba07cbebb755
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
130 | `$(MAKE) uninstall | grep unlink | sed -e 's#/usr#${prefix}#' -e 's#unlink#rm -f#'` && \ |
|
ba07cbebb755
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
131 | cd ..; \ |
|
ba07cbebb755
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
132 | done |
|
ba07cbebb755
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
133 | |
|
6508
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
134 | clean-generic: |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
135 | @for dir in $(perl_dirs); do \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
136 | cd $$dir; \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
137 | $(MAKE) clean; \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
138 | cd ..; \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
139 | done |
|
35602
ba59da68fb79
Fix another perl cleanup failure
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35601
diff
changeset
|
140 | cd common ; rm -rf *.c *.o pm_to_blib Purple.bs MYMETA.* blib/*/.exists blib/*/auto/Purple blib/*/Purple.*pm ; cd .. |
|
11146
c56333373e3c
[gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents:
11123
diff
changeset
|
141 | rm -f *.so |
|
6508
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
142 | |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
143 | distclean-generic: |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
144 | @for dir in $(perl_dirs); do \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
145 | cd $$dir; \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
146 | $(MAKE) realclean; \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
147 | rm -f Makefile.PL; \ |
|
6671
82181f2c16da
[gaim-migrate @ 7196]
Christian Hammond <chipx86@chipx86.com>
parents:
6669
diff
changeset
|
148 | rm -f Makefile.old; \ |
|
6530
123bf2500cc1
[gaim-migrate @ 7047]
Christian Hammond <chipx86@chipx86.com>
parents:
6520
diff
changeset
|
149 | rm -f Makefile; \ |
|
6508
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
150 | cd ..; \ |
|
57d1df1ca3a0
[gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
151 | done |
| 5205 | 152 | |
|
6669
ba07cbebb755
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
153 | @rm -f Makefile |
|
16773
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
16651
diff
changeset
|
154 | # @rm -f common/const-c.inc common/const-xs.inc |
|
6669
ba07cbebb755
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
155 | |
|
ba07cbebb755
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
156 | @if test "x${top_srcdir}" != "x${top_builddir}"; then \ |
|
ba07cbebb755
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
157 | for f in ${common_sources}; do \ |
|
22879
39b83b2be9d0
Fix make distcheck (which broke from an earlier fix for make when
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22858
diff
changeset
|
158 | srcloc=${srcdir}; \ |
|
39b83b2be9d0
Fix make distcheck (which broke from an earlier fix for make when
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22858
diff
changeset
|
159 | case $$srcloc in /*) ;; *) srcloc=../${srcdir} ;; esac; \ |
|
39b83b2be9d0
Fix make distcheck (which broke from an earlier fix for make when
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
22858
diff
changeset
|
160 | ${LN_S} -f $$srcloc/$$f $$f; \ |
|
6669
ba07cbebb755
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
161 | done; \ |
|
ba07cbebb755
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
162 | fi |
|
ba07cbebb755
[gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents:
6667
diff
changeset
|
163 | |
| 5205 | 164 | AM_CPPFLAGS = \ |
|
6360
c2bfe65b200c
[gaim-migrate @ 6864]
Robert McQueen <robot101@debian.org>
parents:
6198
diff
changeset
|
165 | -I$(top_srcdir) \ |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
15066
diff
changeset
|
166 | -I$(top_srcdir)/libpurple \ |
|
16810
7f257f18af06
Now that version.h is a generated source file, we need to add
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16773
diff
changeset
|
167 | -I$(top_builddir)/libpurple \ |
|
27584
134e07aa6f64
Install the Purple and Pidgin perl modules under $libdir instead of in perl's
Etan Reisner <deryni@pidgin.im>
parents:
26489
diff
changeset
|
168 | -DLIBDIR=\"$(libdir)/purple-$(PURPLE_MAJOR_VERSION)\" \ |
| 5205 | 169 | $(DEBUG_CFLAGS) \ |
| 14434 | 170 | $(GLIB_CFLAGS) \ |
| 5205 | 171 | $(PLUGIN_CFLAGS) \ |
|
26489
7d8de8906c79
Clean unnecessary changes out of the Makefiles.
Michael Ruprecht <maiku@pidgin.im>
parents:
26128
diff
changeset
|
172 | $(PERL_CFLAGS) |