1 --- OpenIPMI-2.0.14/swig/perl/Makefile.am.orig 2007-10-02 16:34:34.000000000 +0200
2 +++ OpenIPMI-2.0.14/swig/perl/Makefile.am 2008-07-10 07:29:13.967027928 +0200
6 OpenIPMI_SRC = OpenIPMI_wrap.c OpenIPMI_perl.c
7 -OpenIPMI_OBJ = OpenIPMI_wrap.o OpenIPMI_perl.o
8 +OpenIPMI_OBJ = OpenIPMI_wrap.lo OpenIPMI_perl.lo
10 OpenIPMI.so: $(OpenIPMI_OBJ)
11 - $(LIBTOOL) --mode=link $(CC) -shared -o $@ $^ $(OPENIPMI_SWIG_LIBS)
13 + $(LIBTOOL) --mode=link $(CC) -shared -module -avoid-version -o $(@:.so=.la) $^ $(OPENIPMI_SWIG_LIBS) -rpath $(PERL_INSTALL_DIR)/auto/OpenIPMI
15 mv .libs/OpenIPMI.so .
18 -OpenIPMI_wrap.o: OpenIPMI_wrap.c OpenIPMI.h
20 +OpenIPMI_wrap.lo: OpenIPMI_wrap.c OpenIPMI.h
21 + $(LIBTOOL) --mode=compile $(COMPILE) -c $<
23 -OpenIPMI_perl.o: OpenIPMI_perl.c OpenIPMI.h
25 +OpenIPMI_perl.lo: OpenIPMI_perl.c OpenIPMI.h
26 + $(LIBTOOL) --mode=compile $(COMPILE) -c $<
28 OpenIPMI_wrap.c OpenIPMI.pm: $(top_srcdir)/swig/OpenIPMI.i OpenIPMI_lang.i
29 $(SWIG) $(DEFS) -perl5 -o $@ -I$(top_srcdir)/swig/perl $<