| 2 hackdir = $(plugindir)/private |
2 hackdir = $(plugindir)/private |
| 3 |
3 |
| 4 perl_dirs = common |
4 perl_dirs = common |
| 5 |
5 |
| 6 plugin_LTLIBRARIES = perl.la |
6 plugin_LTLIBRARIES = perl.la |
| 7 hack_LTLIBRARIES = libgaimperl.la |
7 hack_LTLIBRARIES = libpurpleperl.la |
| 8 |
8 |
| 9 perl_la_LDFLAGS = -module -avoid-version |
9 perl_la_LDFLAGS = -module -avoid-version |
| 10 perl_la_LIBADD = $(GLIB_LIBS) $(PERL_LIBS) libgaimperl.la |
10 perl_la_LIBADD = $(GLIB_LIBS) $(PERL_LIBS) libpurpleperl.la |
| 11 perl_la_SOURCES = \ |
11 perl_la_SOURCES = \ |
| 12 perl.c \ |
12 perl.c \ |
| 13 perl-common.c \ |
13 perl-common.c \ |
| 14 perl-common.h \ |
14 perl-common.h \ |
| 15 perl-handlers.c \ |
15 perl-handlers.c \ |
| 16 perl-handlers.h |
16 perl-handlers.h |
| 17 |
17 |
| 18 perl_la_DEPENDENCIES = \ |
18 perl_la_DEPENDENCIES = \ |
| 19 .libs/libperl_orig.a \ |
19 .libs/libperl_orig.a \ |
| 20 .libs/DynaLoader.a \ |
20 .libs/DynaLoader.a \ |
| 21 libgaimperl.la |
21 libpurpleperl.la |
| 22 |
22 |
| 23 libgaimperl_la_LDFLAGS = -module -avoid-version |
23 libpurpleperl_la_LDFLAGS = -module -avoid-version |
| 24 libgaimperl_la_LIBADD = $(GLIB_LIBS) |
24 libpurpleperl_la_LIBADD = $(GLIB_LIBS) |
| 25 libgaimperl_la_SOURCES = libgaimperl.c |
25 libpurpleperl_la_SOURCES = libpurpleperl.c |
| 26 |
26 |
| 27 .libs/libperl_orig.a: |
27 .libs/libperl_orig.a: |
| 28 @mkdir -p .libs |
28 @mkdir -p .libs |
| 29 @rm -f .libs/libperl_orig.a |
29 @rm -f .libs/libperl_orig.a |
| 30 @if [ x$(LIBPERL_A) = x ]; then \ |
30 @if [ x$(LIBPERL_A) = x ]; then \ |
| 88 |
87 |
| 89 EXTRA_DIST = \ |
88 EXTRA_DIST = \ |
| 90 Makefile.mingw \ |
89 Makefile.mingw \ |
| 91 common/Makefile.mingw \ |
90 common/Makefile.mingw \ |
| 92 $(common_sources) \ |
91 $(common_sources) \ |
| 93 libgaimperl.c |
92 libpurpleperl.c |
| 94 |
93 |
| 95 common/Makefile: common/Makefile.PL |
94 common/Makefile: common/Makefile.PL |
| 96 @if test "x${top_srcdir}" != "x${top_builddir}"; then \ |
95 @if test "x${top_srcdir}" != "x${top_builddir}"; then \ |
| 97 for f in ${common_sources}; do \ |
96 for f in ${common_sources}; do \ |
| 98 ${LN_S} -f ../${srcdir}/$$f $$f; \ |
97 ${LN_S} -f ../${srcdir}/$$f $$f; \ |