annotate gtk/plugins/perl/Makefile.am @ 14567:d6eae5115b31

[gaim-migrate @ 17291] This is a really huge commit for basically nothing, I decided that Gaim::Gtk should really be Gaim::GtkUI (which will line up better with any eventual Gaim::GntUI that might exist, etc.). So that's what this is, I think I got everything, it builds here at least. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Sun, 17 Sep 2006 05:35:46 +0000
parents c804f41d61ae
children c37052cbb542
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14489
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
1 perl_dirs = common
14416
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
2
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
3 common_sources = \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
4 common/GtkAccount.xs \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
5 common/GtkBlist.xs \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
6 common/GtkConn.xs \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
7 common/GtkConv.xs \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
8 common/GtkConvWin.xs \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
9 common/GtkDebug.xs \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
10 common/GtkDialogs.xs \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
11 common/GtkFt.xs \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
12 common/GtkIMHtml.xs \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
13 common/GtkIMHtmlToolbar.xs \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
14 common/GtkLog.xs \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
15 common/GtkMenuTray.xs \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
16 common/GtkPlugin.xs \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
17 common/GtkPluginPref.xs \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
18 common/GtkPounce.xs \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
19 common/GtkPrefs.xs \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
20 common/GtkPrivacy.xs \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
21 common/GtkRoomlist.xs \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
22 common/GtkSavedStatuses.xs \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
23 common/GtkSession.xs \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
24 common/GtkSound.xs \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
25 common/GtkStatusBox.xs \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
26 common/GtkThemes.xs \
14567
d6eae5115b31 [gaim-migrate @ 17291]
Etan Reisner <pidgin@unreliablesource.net>
parents: 14495
diff changeset
27 common/GtkUI.pm \
d6eae5115b31 [gaim-migrate @ 17291]
Etan Reisner <pidgin@unreliablesource.net>
parents: 14495
diff changeset
28 common/GtkUI.xs \
14416
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
29 common/GtkUtils.xs \
14567
d6eae5115b31 [gaim-migrate @ 17291]
Etan Reisner <pidgin@unreliablesource.net>
parents: 14495
diff changeset
30 common/Makefile.PL.in \
14416
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
31 common/gtkmodule.h \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
32 common/typemap
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
33
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
34 EXTRA_DIST = \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
35 Makefile.mingw \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
36 common/Makefile.mingw \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
37 $(common_sources)
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
38
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
39 common/Makefile: common/Makefile.PL
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
40 @cd common && $(perlpath) Makefile.PL $(PERL_MM_PARAMS)
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
41
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
42 common/Makefile.PL: common/Makefile.PL.in $(top_builddir)/config.status
14489
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
43 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
44
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
45 all-local: common/Makefile
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
46 @for dir in $(perl_dirs); do \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
47 cd $$dir && \
14495
c804f41d61ae [gaim-migrate @ 17214]
Etan Reisner <pidgin@unreliablesource.net>
parents: 14489
diff changeset
48 if [ ! -f Makefile ]; then \
14489
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
49 $(perlpath) Makefile.PL $(PERL_MM_PARAMS); \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
50 fi && \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
51 ($(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS) || \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
52 $(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS)) && \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
53 cd ..; \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
54 done
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
55
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
56 install-exec-local:
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
57 @for dir in $(perl_dirs); do \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
58 cd $$dir; \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
59 $(MAKE) install; \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
60 cd ..; \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
61 done
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
62
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
63 # Evil Hack (TM)
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
64 # ... which doesn't work with DESTDIR installs. FIXME?
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
65 uninstall-local:
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
66 @for dir in $(perl_dirs); do \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
67 cd $$dir && \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
68 `$(MAKE) uninstall | grep unlink | sed -e 's#/usr#${prefix}#' -e 's#unlink#rm -f#'` && \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
69 cd ..; \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
70 done
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
71
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
72 clean-generic:
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
73 @for dir in $(perl_dirs); do \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
74 cd $$dir; \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
75 $(MAKE) clean; \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
76 cd ..; \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
77 done
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
78 rm -f *.so
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
79
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
80 distclean-generic:
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
81 @for dir in $(perl_dirs); do \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
82 cd $$dir; \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
83 $(MAKE) realclean; \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
84 rm -f Makefile.PL; \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
85 rm -f Makefile.old; \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
86 rm -f Makefile; \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
87 cd ..; \
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
88 done
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
89
de8aea7e9f07 [gaim-migrate @ 17208]
Mark Doliner <mark@kingant.net>
parents: 14452
diff changeset
90 @rm -f Makefile
14416
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
91
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
92 AM_CPPFLAGS = \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
93 -DVERSION=\"$(VERSION)\" \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
94 -I$(top_srcdir) \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
95 -I$(top_srcdir)/libgaim \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
96 -I$(top_srcdir)/gtk \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
97 $(DEBUG_CFLAGS) \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
98 $(GTK_CFLAGS) \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
99 $(PLUGIN_CFLAGS) \
eeca8be382a5 [gaim-migrate @ 17124]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff changeset
100 $(PERL_CFLAGS)