comparison libpurple/plugins/perl/Makefile.am @ 16364:a5a64fcad0ca

Kill the libpurpleperl hack library and move the init stuff to perl.so itself. This works fine for me and I'm hoping will work fine on Solaris as well. When it gets tested we'll want to drop libpurpleperl.c but until I know it works I don't want to drop it (because of mtn's die die dir merge stuff).
author Etan Reisner <pidgin@unreliablesource.net>
date Fri, 27 Apr 2007 04:25:21 +0000
parents 7125eda8fe22
children ca09f5b57672
comparison
equal deleted inserted replaced
16363:f4c72a722741 16364:a5a64fcad0ca
1 plugindir = $(libdir)/purple 1 plugindir = $(libdir)/purple
2 hackdir = $(plugindir)/private
3 2
4 perl_dirs = common 3 perl_dirs = common
5 4
6 plugin_LTLIBRARIES = perl.la 5 plugin_LTLIBRARIES = perl.la
7 hack_LTLIBRARIES = libpurpleperl.la
8 6
9 perl_la_LDFLAGS = -module -avoid-version 7 perl_la_LDFLAGS = -module -avoid-version
10 perl_la_LIBADD = $(GLIB_LIBS) $(PERL_LIBS) libpurpleperl.la 8 perl_la_LIBADD = $(GLIB_LIBS) $(PERL_LIBS)
11 perl_la_SOURCES = \ 9 perl_la_SOURCES = \
12 perl.c \ 10 perl.c \
13 perl-common.c \ 11 perl-common.c \
14 perl-common.h \ 12 perl-common.h \
15 perl-handlers.c \ 13 perl-handlers.c \
16 perl-handlers.h 14 perl-handlers.h
17 15
18 perl_la_DEPENDENCIES = \ 16 perl_la_DEPENDENCIES = \
19 .libs/libperl_orig.a \ 17 .libs/libperl_orig.a \
20 .libs/DynaLoader.a \ 18 .libs/DynaLoader.a
21 libpurpleperl.la
22
23 libpurpleperl_la_LDFLAGS = -module -avoid-version
24 libpurpleperl_la_LIBADD = $(GLIB_LIBS)
25 libpurpleperl_la_SOURCES = libpurpleperl.c
26 19
27 .libs/libperl_orig.a: 20 .libs/libperl_orig.a:
28 @mkdir -p .libs 21 @mkdir -p .libs
29 @rm -f .libs/libperl_orig.a 22 @rm -f .libs/libperl_orig.a
30 @if [ x$(LIBPERL_A) = x ]; then \ 23 @if [ x$(LIBPERL_A) = x ]; then \
87 80
88 81
89 EXTRA_DIST = \ 82 EXTRA_DIST = \
90 Makefile.mingw \ 83 Makefile.mingw \
91 common/Makefile.mingw \ 84 common/Makefile.mingw \
92 $(common_sources) \ 85 $(common_sources)
93 libpurpleperl.c
94 86
95 common/Makefile: common/Makefile.PL 87 common/Makefile: common/Makefile.PL
96 @if test "x${top_srcdir}" != "x${top_builddir}"; then \ 88 @if test "x${top_srcdir}" != "x${top_builddir}"; then \
97 for f in ${common_sources}; do \ 89 for f in ${common_sources}; do \
98 ${LN_S} -f ../${srcdir}/$$f $$f; \ 90 ${LN_S} -f ../${srcdir}/$$f $$f; \