[mod_verto] Fix Makefile.am and reswig
This commit is contained in:
parent
ac64d8e78d
commit
d67d09705a
|
@ -24,11 +24,11 @@ MCAST_la_LDFLAGS = -avoid-version -module -no-undefined -shared $(PERL_LDFLAGS
|
||||||
# install -m 755 mcast/MCAST.pm $(DESTDIR)$(PERL_SITEDIR)
|
# install -m 755 mcast/MCAST.pm $(DESTDIR)$(PERL_SITEDIR)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
mcast/esl_wrap.cpp:
|
mcast/mcast_wrap.cpp:
|
||||||
cd mcast && swig -module MCAST -shadow -perl5 -c++ -DMULTIPLICITY -I../src/include -o mcast_wrap.cpp ../MCAST.i
|
cd mcast && swig -module MCAST -shadow -perl5 -c++ -DMULTIPLICITY -I../src/include -o mcast_wrap.cpp MCAST.i
|
||||||
|
|
||||||
mcast/perlxsi.c:
|
mcast/perlxsi.c:
|
||||||
$(PERL) -MExtUtils::Embed -e xsinit -- -o perlxsi.c
|
$(PERL) -MExtUtils::Embed -e xsinit -- -o mcast/perlxsi.c
|
||||||
|
|
||||||
clean-data-local:
|
clean-data-local:
|
||||||
rm -f *.o *.so *~
|
rm -f *.o *.so *~
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
# This file was automatically generated by SWIG (http://www.swig.org).
|
# This file was automatically generated by SWIG (http://www.swig.org).
|
||||||
# Version 1.3.35
|
# Version 3.0.12
|
||||||
#
|
#
|
||||||
# Don't modify this file, modify the SWIG interface instead.
|
# Do not make changes to this file unless you know what you are doing--modify
|
||||||
|
# the SWIG interface file instead.
|
||||||
|
|
||||||
package MCAST;
|
package MCAST;
|
||||||
require Exporter;
|
use base qw(Exporter);
|
||||||
require DynaLoader;
|
use base qw(DynaLoader);
|
||||||
@ISA = qw(Exporter DynaLoader);
|
|
||||||
package MCASTc;
|
package MCASTc;
|
||||||
bootstrap MCAST;
|
bootstrap MCAST;
|
||||||
package MCAST;
|
package MCAST;
|
||||||
@EXPORT = qw( );
|
@EXPORT = qw();
|
||||||
|
|
||||||
# ---------- BASE METHODS -------------
|
# ---------- BASE METHODS -------------
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,5 +1,6 @@
|
||||||
#include <EXTERN.h>
|
#include "EXTERN.h"
|
||||||
#include <perl.h>
|
#include "perl.h"
|
||||||
|
#include "XSUB.h"
|
||||||
|
|
||||||
EXTERN_C void xs_init (pTHX);
|
EXTERN_C void xs_init (pTHX);
|
||||||
|
|
||||||
|
@ -8,9 +9,10 @@ EXTERN_C void boot_DynaLoader (pTHX_ CV* cv);
|
||||||
EXTERN_C void
|
EXTERN_C void
|
||||||
xs_init(pTHX)
|
xs_init(pTHX)
|
||||||
{
|
{
|
||||||
char *file = __FILE__;
|
static const char file[] = __FILE__;
|
||||||
dXSUB_SYS;
|
dXSUB_SYS;
|
||||||
|
PERL_UNUSED_CONTEXT;
|
||||||
|
|
||||||
/* DynaLoader is a special case */
|
/* DynaLoader is a special case */
|
||||||
newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file);
|
newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue