Mercurial > pidgin.yaz
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 |
rev | line source |
---|---|
14489 | 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 | 43 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) |
44 | |
45 all-local: common/Makefile | |
46 @for dir in $(perl_dirs); do \ | |
47 cd $$dir && \ | |
14495
c804f41d61ae
[gaim-migrate @ 17214]
Etan Reisner <pidgin@unreliablesource.net>
parents:
14489
diff
changeset
|
48 if [ ! -f Makefile ]; then \ |
14489 | 49 $(perlpath) Makefile.PL $(PERL_MM_PARAMS); \ |
50 fi && \ | |
51 ($(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS) || \ | |
52 $(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS)) && \ | |
53 cd ..; \ | |
54 done | |
55 | |
56 install-exec-local: | |
57 @for dir in $(perl_dirs); do \ | |
58 cd $$dir; \ | |
59 $(MAKE) install; \ | |
60 cd ..; \ | |
61 done | |
62 | |
63 # Evil Hack (TM) | |
64 # ... which doesn't work with DESTDIR installs. FIXME? | |
65 uninstall-local: | |
66 @for dir in $(perl_dirs); do \ | |
67 cd $$dir && \ | |
68 `$(MAKE) uninstall | grep unlink | sed -e 's#/usr#${prefix}#' -e 's#unlink#rm -f#'` && \ | |
69 cd ..; \ | |
70 done | |
71 | |
72 clean-generic: | |
73 @for dir in $(perl_dirs); do \ | |
74 cd $$dir; \ | |
75 $(MAKE) clean; \ | |
76 cd ..; \ | |
77 done | |
78 rm -f *.so | |
79 | |
80 distclean-generic: | |
81 @for dir in $(perl_dirs); do \ | |
82 cd $$dir; \ | |
83 $(MAKE) realclean; \ | |
84 rm -f Makefile.PL; \ | |
85 rm -f Makefile.old; \ | |
86 rm -f Makefile; \ | |
87 cd ..; \ | |
88 done | |
89 | |
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) |