mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 22:38:38 +00:00
changes to language stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2768 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
73b5fcf641
commit
1c22b9453f
14 files changed
+2671
-1680
No files matched your search
@@ -6,7 +6,8 @@ CFLAGS += -DEMBED_PERL
|
||||
LDFLAGS += $(shell $(PERL) -MExtUtils::Embed -e ldopts)
|
||||
LDFLAGS += $(shell $(PERL) -MConfig -e 'print $$Config{libs}')
|
||||
OBJS += perlxsi.o
|
||||
|
||||
SWIGCFILE=../../../switch_swig.c
|
||||
SWIGIFILE=../../../switch_swig.i
|
||||
|
||||
|
||||
all: depends $(MODNAME).$(DYNAMIC_LIB_EXTEN) fs_perl.$(DYNAMIC_LIB_EXTEN)
|
||||
@@ -23,7 +24,10 @@ depends:
|
||||
|
||||
reswig:
|
||||
rm switch_swig_wrap.c
|
||||
swig -lswitch_swig.i -ignoremissing -DMULTIPLICITY -perl5 -module fs_perl switch_swig.c
|
||||
swig -o switch_swig_wrap.c -l$(SWIGIFILE) -ignoremissing -DMULTIPLICITY -perl5 -module fs_perl $(SWIGCFILE)
|
||||
|
||||
switch_swig.o: $(SWIGCFILE) Makefile
|
||||
$(CC) -w $(CFLAGS) -c $< -o $@
|
||||
|
||||
switch_swig_wrap.o: switch_swig_wrap.c
|
||||
$(CC) -w $(CFLAGS) -c $< -o $@
|
||||
|
||||
Reference in new issue
Block a user