blob: 8e1e0a32ee4a0aab5fb9724ecf77956d45442d27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
|
plugindir = $(libdir)/purple
perl_dirs = common
plugin_LTLIBRARIES = perl.la
perl_la_LDFLAGS = -module -avoid-version
perl_la_LIBADD = $(GLIB_LIBS) $(PERL_LIBS)
perl_la_SOURCES = \
perl.c \
perl-common.c \
perl-common.h \
perl-handlers.c \
perl-handlers.h
perl_la_DEPENDENCIES = \
.libs/libperl_orig.a \
.libs/DynaLoader.a
.libs/libperl_orig.a:
@mkdir -p .libs
@rm -f .libs/libperl_orig.a
@if [ x$(LIBPERL_A) = x ]; then \
touch .libs/libperl_orig.a; \
else \
$(LN_S) $(LIBPERL_A) .libs/libperl_orig.a; \
fi
.libs/DynaLoader.a:
@mkdir -p .libs
@rm -f .libs/DynaLoader.a
@if [ x$(DYNALOADER_A) = x ]; then \
touch .libs/DynaLoader.a; \
else \
$(LN_S) $(DYNALOADER_A) .libs/DynaLoader.a; \
fi
common_sources = \
common/Account.xs \
common/AccountOpts.xs \
common/BuddyIcon.xs \
common/BuddyList.xs \
common/Cipher.xs \
common/Cmds.xs \
common/Core.xs \
common/Connection.xs \
common/Conversation.xs \
common/Debug.xs \
common/FT.xs \
common/ImgStore.xs \
common/Log.xs \
common/Makefile.PL.in \
common/Network.xs \
common/Notify.xs \
common/Plugin.xs \
common/PluginPref.xs \
common/Pounce.xs \
common/Prefs.xs \
common/Privacy.xs \
common/Proxy.xs \
common/Prpl.xs \
common/Purple.pm \
common/Purple.xs \
common/Request.xs \
common/Roomlist.xs \
common/SSLConn.xs \
common/SavedStatuses.xs \
common/Server.xs \
common/Signal.xs \
common/Sound.xs \
common/Status.xs \
common/Stringref.xs \
common/Util.xs \
common/XMLNode.xs \
common/fallback/const-c.inc \
common/fallback/const-xs.inc \
common/module.h \
common/typemap
EXTRA_DIST = \
Makefile.mingw \
common/Makefile.mingw \
$(common_sources)
common/Makefile: common/Makefile.PL
@if test "x${top_srcdir}" != "x${top_builddir}"; then \
for f in ${common_sources}; do \
${LN_S} -f ../${srcdir}/$$f $$f; \
done; \
fi
@cd common && $(perlpath) Makefile.PL $(PERL_MM_PARAMS)
common/Makefile.PL: common/Makefile.PL.in $(top_builddir)/config.status
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
all-local: common/Makefile
@for dir in $(perl_dirs); do \
cd $$dir && \
if [ ! -f Makefile ]; then \
$(perlpath) Makefile.PL $(PERL_MM_PARAMS); \
fi && \
($(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS) || \
$(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS)) && \
cd ..; \
done
install-exec-local:
@for dir in $(perl_dirs); do \
cd $$dir; \
$(MAKE) install; \
cd ..; \
done
# Evil Hack (TM)
# ... which doesn't work with DESTDIR installs. FIXME?
uninstall-local:
@for dir in $(perl_dirs); do \
cd $$dir && \
`$(MAKE) uninstall | grep unlink | sed -e 's#/usr#${prefix}#' -e 's#unlink#rm -f#'` && \
cd ..; \
done
clean-generic:
@for dir in $(perl_dirs); do \
cd $$dir; \
$(MAKE) clean; \
cd ..; \
done
rm -f *.so
distclean-generic:
@for dir in $(perl_dirs); do \
cd $$dir; \
$(MAKE) realclean; \
rm -f Makefile.PL; \
rm -f Makefile.old; \
rm -f Makefile; \
cd ..; \
done
@rm -f Makefile
@rm -f common/const-c.inc common/const-xs.inc
@if test "x${top_srcdir}" != "x${top_builddir}"; then \
for f in ${common_sources}; do \
${LN_S} -f ../${srcdir}/$$f $$f; \
done; \
fi
AM_CPPFLAGS = \
-DVERSION=\"$(VERSION)\" \
-I$(top_srcdir) \
-I$(top_srcdir)/libpurple \
$(DEBUG_CFLAGS) \
$(GLIB_CFLAGS) \
$(PLUGIN_CFLAGS) \
$(PERL_CFLAGS)
|