libpurple/plugins/perl/Makefile.am

Sat, 26 Apr 2008 00:43:15 +0000

author
Sadrul Habib Chowdhury <sadrul@pidgin.im>
date
Sat, 26 Apr 2008 00:43:15 +0000
changeset 22879
39b83b2be9d0
parent 22858
0ff3009b357e
child 23023
6aeeb2037709
permissions
-rw-r--r--

Fix make distcheck (which broke from an earlier fix for make when
building in a different directory). References #5614.

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
242b8aa81328 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
2
6508
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
3 perl_dirs = common
5205
242b8aa81328 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
4
14736
90fe3dd8e9db [gaim-migrate @ 17420]
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 14434
diff changeset
5 plugin_LTLIBRARIES = perl.la
5205
242b8aa81328 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
6
14736
90fe3dd8e9db [gaim-migrate @ 17420]
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 14434
diff changeset
7 perl_la_LDFLAGS = -module -avoid-version
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
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 \
1d0da9270ff9 This is mostly moving Purple::GtkUI:: -> Pidgin:: which has the side effect of
Etan Reisner <deryni@pidgin.im>
parents: 16528
diff changeset
43 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
44 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
45 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
46 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
47 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
48 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
49 common/FT.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/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
51 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
52 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
53 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
54 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
55 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
56 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
57 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
58 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
59 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
60 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
61 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
62 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
63 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
64 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
65 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
66 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
67 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
68 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
69 common/Signal.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/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
71 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
72 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
73 common/Util.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/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
75 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
76 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
77 # 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
78 # common/fallback/const-xs.inc
6654
a6d76a1885b0 [gaim-migrate @ 7179]
Christian Hammond <chipx86@chipx86.com>
parents: 6644
diff changeset
79
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
80 perl_scripts = \
17175
e231f3223894 nosnilmot: EXTRA_DIST it!
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 16972
diff changeset
81 scripts/function_list.pl \
e231f3223894 nosnilmot: EXTRA_DIST it!
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 16972
diff changeset
82 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
83
6508
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
84 EXTRA_DIST = \
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
85 Makefile.mingw \
7231
6af2d1e09b34 [gaim-migrate @ 7803]
Herman Bloggs <herman@bluedigits.com>
parents: 6682
diff changeset
86 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
87 $(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
88 $(perl_scripts)
6508
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
89
6587
8ff464fb8b9c [gaim-migrate @ 7109]
Christian Hammond <chipx86@chipx86.com>
parents: 6537
diff changeset
90 common/Makefile: common/Makefile.PL
6665
0880a8b93571 [gaim-migrate @ 7190]
Christian Hammond <chipx86@chipx86.com>
parents: 6654
diff changeset
91 @if test "x${top_srcdir}" != "x${top_builddir}"; then \
0880a8b93571 [gaim-migrate @ 7190]
Christian Hammond <chipx86@chipx86.com>
parents: 6654
diff changeset
92 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
93 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
94 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
95 ${LN_S} -f $$srcloc/$$f $$f; \
6665
0880a8b93571 [gaim-migrate @ 7190]
Christian Hammond <chipx86@chipx86.com>
parents: 6654
diff changeset
96 done; \
0880a8b93571 [gaim-migrate @ 7190]
Christian Hammond <chipx86@chipx86.com>
parents: 6654
diff changeset
97 fi
0880a8b93571 [gaim-migrate @ 7190]
Christian Hammond <chipx86@chipx86.com>
parents: 6654
diff changeset
98 @cd common && $(perlpath) Makefile.PL $(PERL_MM_PARAMS)
6587
8ff464fb8b9c [gaim-migrate @ 7109]
Christian Hammond <chipx86@chipx86.com>
parents: 6537
diff changeset
99
9790
450e686b36a9 [gaim-migrate @ 10658]
Mike Castle
parents: 9169
diff changeset
100 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
101 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
8ff464fb8b9c [gaim-migrate @ 7109]
Christian Hammond <chipx86@chipx86.com>
parents: 6537
diff changeset
102
8ff464fb8b9c [gaim-migrate @ 7109]
Christian Hammond <chipx86@chipx86.com>
parents: 6537
diff changeset
103 all-local: common/Makefile
6508
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
104 @for dir in $(perl_dirs); do \
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
105 cd $$dir && \
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
106 if [ ! -f Makefile ]; then \
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
107 $(perlpath) Makefile.PL $(PERL_MM_PARAMS); \
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
108 fi && \
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
109 ($(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS) || \
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
110 $(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS)) && \
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
111 cd ..; \
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
112 done
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
113
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
114 install-exec-local:
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
115 @for dir in $(perl_dirs); do \
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
116 cd $$dir; \
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
117 $(MAKE) install; \
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
118 cd ..; \
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
119 done
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
120
6669
ba07cbebb755 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
121 # Evil Hack (TM)
11862
5d4bc6d54688 [gaim-migrate @ 14153]
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 11318
diff changeset
122 # ... which doesn't work with DESTDIR installs. FIXME?
6669
ba07cbebb755 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
123 uninstall-local:
ba07cbebb755 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
124 @for dir in $(perl_dirs); do \
ba07cbebb755 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
125 cd $$dir && \
ba07cbebb755 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
126 `$(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
127 cd ..; \
ba07cbebb755 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
128 done
ba07cbebb755 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
129
6508
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
130 clean-generic:
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
131 @for dir in $(perl_dirs); do \
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
132 cd $$dir; \
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
133 $(MAKE) clean; \
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
134 cd ..; \
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
135 done
11146
c56333373e3c [gaim-migrate @ 13217]
Piotr Zielinski <zielaj@users.sourceforge.net>
parents: 11123
diff changeset
136 rm -f *.so
6508
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
137
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
138 distclean-generic:
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
139 @for dir in $(perl_dirs); do \
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
140 cd $$dir; \
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
141 $(MAKE) realclean; \
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
142 rm -f Makefile.PL; \
6671
82181f2c16da [gaim-migrate @ 7196]
Christian Hammond <chipx86@chipx86.com>
parents: 6669
diff changeset
143 rm -f Makefile.old; \
6530
123bf2500cc1 [gaim-migrate @ 7047]
Christian Hammond <chipx86@chipx86.com>
parents: 6520
diff changeset
144 rm -f Makefile; \
6508
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
145 cd ..; \
57d1df1ca3a0 [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
146 done
5205
242b8aa81328 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
147
6669
ba07cbebb755 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
148 @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
149 # @rm -f common/const-c.inc common/const-xs.inc
6669
ba07cbebb755 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
150
ba07cbebb755 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
151 @if test "x${top_srcdir}" != "x${top_builddir}"; then \
ba07cbebb755 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
152 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
153 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
154 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
155 ${LN_S} -f $$srcloc/$$f $$f; \
6669
ba07cbebb755 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
156 done; \
ba07cbebb755 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
157 fi
ba07cbebb755 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
158
5205
242b8aa81328 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
159 AM_CPPFLAGS = \
6360
c2bfe65b200c [gaim-migrate @ 6864]
Robert McQueen <robot101@debian.org>
parents: 6198
diff changeset
160 -I$(top_srcdir) \
15435
4b933b06d75e Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents: 15066
diff changeset
161 -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
162 -I$(top_builddir)/libpurple \
5205
242b8aa81328 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
163 $(DEBUG_CFLAGS) \
14434
8d7bea830c45 [gaim-migrate @ 17078]
Etan Reisner <deryni@pidgin.im>
parents: 14254
diff changeset
164 $(GLIB_CFLAGS) \
5205
242b8aa81328 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
165 $(PLUGIN_CFLAGS) \
242b8aa81328 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
166 $(PERL_CFLAGS)

mercurial