annotate plugins/perl/Makefile.am @ 13035:7da470b0c424

[gaim-migrate @ 15393] Everyone says plugins shouldn't include internal.h. So, why do we install it? In keeping with my theory that diffs are the easiest way to explain what I'm thinking, I'm committing this. If it's bogus, feel free to revert or make me do so. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 25 Jan 2006 06:39:02 +0000
parents cf5243edcba0
children 48d7074f2297
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5205
fefad67de2c7 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
1 plugindir = $(libdir)/gaim
fefad67de2c7 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
2
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
3 perl_dirs = common
5205
fefad67de2c7 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
4
11862
f8cd06753755 [gaim-migrate @ 14153]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11318
diff changeset
5 plugin_LTLIBRARIES = perl.la libgaimperl.la
5205
fefad67de2c7 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
6
10889
2cc05a9e944d [gaim-migrate @ 12597]
Stu Tomlinson <stu@nosnilmot.com>
parents: 9790
diff changeset
7 perl_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(PERL_LIBS)
11880
cf5243edcba0 [gaim-migrate @ 14171]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11862
diff changeset
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
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
18 .libs/DynaLoader.a \
11862
f8cd06753755 [gaim-migrate @ 14153]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11318
diff changeset
19 libgaimperl.la
11123
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
20
11862
f8cd06753755 [gaim-migrate @ 14153]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11318
diff changeset
21 libgaimperl_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS)
f8cd06753755 [gaim-migrate @ 14153]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11318
diff changeset
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
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
42
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
43 common_sources = \
11123
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
44 common/Account.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
45 common/AccountOpts.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
46 common/BuddyIcon.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
47 common/BuddyList.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
48 common/Cipher.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
49 common/Cmds.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
50 common/Connection.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
51 common/Conversation.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
52 common/FT.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
53 common/Gaim.pm \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
54 common/Gaim.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
55 common/ImgStore.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
56 common/Log.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
57 common/Makefile.PL.in \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
58 common/Network.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
59 common/Notify.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
60 common/Plugin.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
61 common/PluginPref.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
62 common/Pounce.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
63 common/Prefs.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
64 common/Privacy.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
65 common/Proxy.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
66 common/Prpl.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
67 common/Request.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
68 common/Roomlist.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
69 common/SSLConn.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
70 common/SavedStatuses.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
71 common/Server.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
72 common/Sound.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
73 common/Status.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
74 common/Stringref.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
75 common/Util.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
76 common/XMLNode.xs \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
77 common/fallback/const-c.inc \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
78 common/fallback/const-xs.inc \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
79 common/module.h \
4315bb5f427b [gaim-migrate @ 13179]
John H. Kelm <johnkelm@gmail.com>
parents: 10889
diff changeset
80 common/typemap
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
81
6654
95652c05c7ae [gaim-migrate @ 7179]
Christian Hammond <chipx86@chipx86.com>
parents: 6644
diff changeset
82
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
83 EXTRA_DIST = \
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
84 Makefile.mingw \
7231
79e33c8ecf16 [gaim-migrate @ 7803]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 6682
diff changeset
85 common/Makefile.mingw \
11318
519dc2186438 [gaim-migrate @ 13521]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11146
diff changeset
86 $(common_sources) \
519dc2186438 [gaim-migrate @ 13521]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11146
diff changeset
87 libgaimperl.c
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
88
6587
ed11e3f8ba21 [gaim-migrate @ 7109]
Christian Hammond <chipx86@chipx86.com>
parents: 6537
diff changeset
89 common/Makefile: common/Makefile.PL
6665
e5c7149bc9ed [gaim-migrate @ 7190]
Christian Hammond <chipx86@chipx86.com>
parents: 6654
diff changeset
90 @if test "x${top_srcdir}" != "x${top_builddir}"; then \
e5c7149bc9ed [gaim-migrate @ 7190]
Christian Hammond <chipx86@chipx86.com>
parents: 6654
diff changeset
91 for f in ${common_sources}; do \
e5c7149bc9ed [gaim-migrate @ 7190]
Christian Hammond <chipx86@chipx86.com>
parents: 6654
diff changeset
92 ${LN_S} -f ../${srcdir}/$$f $$f; \
e5c7149bc9ed [gaim-migrate @ 7190]
Christian Hammond <chipx86@chipx86.com>
parents: 6654
diff changeset
93 done; \
e5c7149bc9ed [gaim-migrate @ 7190]
Christian Hammond <chipx86@chipx86.com>
parents: 6654
diff changeset
94 fi
e5c7149bc9ed [gaim-migrate @ 7190]
Christian Hammond <chipx86@chipx86.com>
parents: 6654
diff changeset
95 @cd common && $(perlpath) Makefile.PL $(PERL_MM_PARAMS)
6587
ed11e3f8ba21 [gaim-migrate @ 7109]
Christian Hammond <chipx86@chipx86.com>
parents: 6537
diff changeset
96
9790
f8b2630ca694 [gaim-migrate @ 10658]
Mark Doliner <mark@kingant.net>
parents: 9169
diff changeset
97 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
98 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
ed11e3f8ba21 [gaim-migrate @ 7109]
Christian Hammond <chipx86@chipx86.com>
parents: 6537
diff changeset
99
ed11e3f8ba21 [gaim-migrate @ 7109]
Christian Hammond <chipx86@chipx86.com>
parents: 6537
diff changeset
100 all-local: common/Makefile
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
101 @for dir in $(perl_dirs); do \
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
102 cd $$dir && \
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
103 if [ ! -f Makefile ]; then \
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
104 $(perlpath) Makefile.PL $(PERL_MM_PARAMS); \
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
105 fi && \
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
106 ($(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS) || \
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
107 $(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS)) && \
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
108 cd ..; \
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
109 done
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
110
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
111 install-exec-local:
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
112 @for dir in $(perl_dirs); do \
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
113 cd $$dir; \
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
114 $(MAKE) install; \
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
115 cd ..; \
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
116 done
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
117
6669
25f1f9efa510 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
118 # Evil Hack (TM)
11862
f8cd06753755 [gaim-migrate @ 14153]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11318
diff changeset
119 # ... which doesn't work with DESTDIR installs. FIXME?
6669
25f1f9efa510 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
120 uninstall-local:
25f1f9efa510 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
121 @for dir in $(perl_dirs); do \
25f1f9efa510 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
122 cd $$dir && \
25f1f9efa510 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
123 `$(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
124 cd ..; \
25f1f9efa510 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
125 done
25f1f9efa510 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
126
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
127 clean-generic:
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
128 @for dir in $(perl_dirs); do \
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
129 cd $$dir; \
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
130 $(MAKE) clean; \
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
131 cd ..; \
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
132 done
11146
1c5398ccbeb0 [gaim-migrate @ 13217]
Piotr Zielinski <zielaj>
parents: 11123
diff changeset
133 rm -f *.so
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
134
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
135 distclean-generic:
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
136 @for dir in $(perl_dirs); do \
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
137 cd $$dir; \
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
138 $(MAKE) realclean; \
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
139 rm -f Makefile.PL; \
6671
2d79df66fc2b [gaim-migrate @ 7196]
Christian Hammond <chipx86@chipx86.com>
parents: 6669
diff changeset
140 rm -f Makefile.old; \
6530
e05a54da64db [gaim-migrate @ 7047]
Christian Hammond <chipx86@chipx86.com>
parents: 6520
diff changeset
141 rm -f Makefile; \
6508
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
142 cd ..; \
cbd24b37350d [gaim-migrate @ 7025]
Christian Hammond <chipx86@chipx86.com>
parents: 6360
diff changeset
143 done
5205
fefad67de2c7 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
144
6669
25f1f9efa510 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
145 @rm -f Makefile
25f1f9efa510 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
146 @rm -f common/const-c.inc common/const-xs.inc
25f1f9efa510 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
147
25f1f9efa510 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
148 @if test "x${top_srcdir}" != "x${top_builddir}"; then \
25f1f9efa510 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
149 for f in ${common_sources}; do \
25f1f9efa510 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
150 ${LN_S} -f ../${srcdir}/$$f $$f; \
25f1f9efa510 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
151 done; \
25f1f9efa510 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
152 fi
25f1f9efa510 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
153
25f1f9efa510 [gaim-migrate @ 7194]
Christian Hammond <chipx86@chipx86.com>
parents: 6667
diff changeset
154
5205
fefad67de2c7 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
155 AM_CPPFLAGS = \
6360
2e23ccbccdec [gaim-migrate @ 6864]
Christian Hammond <chipx86@chipx86.com>
parents: 6198
diff changeset
156 -DVERSION=\"$(VERSION)\" \
2e23ccbccdec [gaim-migrate @ 6864]
Christian Hammond <chipx86@chipx86.com>
parents: 6198
diff changeset
157 -I$(top_srcdir) \
5205
fefad67de2c7 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
158 -I$(top_srcdir)/src \
fefad67de2c7 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
159 $(DEBUG_CFLAGS) \
6360
2e23ccbccdec [gaim-migrate @ 6864]
Christian Hammond <chipx86@chipx86.com>
parents: 6198
diff changeset
160 $(GTK_CFLAGS) \
5205
fefad67de2c7 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
161 $(PLUGIN_CFLAGS) \
fefad67de2c7 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
162 $(PERL_CFLAGS)