[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)
|
||||
endif
|
||||
|
||||
mcast/esl_wrap.cpp:
|
||||
cd mcast && swig -module MCAST -shadow -perl5 -c++ -DMULTIPLICITY -I../src/include -o mcast_wrap.cpp ../MCAST.i
|
||||
mcast/mcast_wrap.cpp:
|
||||
cd mcast && swig -module MCAST -shadow -perl5 -c++ -DMULTIPLICITY -I../src/include -o mcast_wrap.cpp MCAST.i
|
||||
|
||||
mcast/perlxsi.c:
|
||||
$(PERL) -MExtUtils::Embed -e xsinit -- -o perlxsi.c
|
||||
$(PERL) -MExtUtils::Embed -e xsinit -- -o mcast/perlxsi.c
|
||||
|
||||
clean-data-local:
|
||||
rm -f *.o *.so *~
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
# 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;
|
||||
require Exporter;
|
||||
require DynaLoader;
|
||||
@ISA = qw(Exporter DynaLoader);
|
||||
use base qw(Exporter);
|
||||
use base qw(DynaLoader);
|
||||
package MCASTc;
|
||||
bootstrap MCAST;
|
||||
package MCAST;
|
||||
@EXPORT = qw( );
|
||||
@EXPORT = qw();
|
||||
|
||||
# ---------- BASE METHODS -------------
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,5 +1,6 @@
|
|||
#include <EXTERN.h>
|
||||
#include <perl.h>
|
||||
#include "EXTERN.h"
|
||||
#include "perl.h"
|
||||
#include "XSUB.h"
|
||||
|
||||
EXTERN_C void xs_init (pTHX);
|
||||
|
||||
|
@ -8,9 +9,10 @@ EXTERN_C void boot_DynaLoader (pTHX_ CV* cv);
|
|||
EXTERN_C void
|
||||
xs_init(pTHX)
|
||||
{
|
||||
char *file = __FILE__;
|
||||
dXSUB_SYS;
|
||||
static const char file[] = __FILE__;
|
||||
dXSUB_SYS;
|
||||
PERL_UNUSED_CONTEXT;
|
||||
|
||||
/* DynaLoader is a special case */
|
||||
newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file);
|
||||
/* DynaLoader is a special case */
|
||||
newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue