From: Michael S Collins Date: Fri, 18 Mar 2011 16:26:03 +0000 (-0700) Subject: Add 'make perlmod-install' to ESL (please test) X-Git-Tag: v1.2-rc1~171^2~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=06c4217922ae5736daf98717c7c43a90ea768909;p=thirdparty%2Ffreeswitch.git Add 'make perlmod-install' to ESL (please test) --- diff --git a/libs/esl/Makefile b/libs/esl/Makefile index fbc870ac24..7363304cdb 100644 --- a/libs/esl/Makefile +++ b/libs/esl/Makefile @@ -92,6 +92,9 @@ javamod: $(MYLIB) managedmod: $(MYLIB) $(MAKE) MYLIB="../$(MYLIB)" SOLINK="$(SOLINK)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" CXX_CFLAGS="$(CXX_CFLAGS)" -C managed +perlmod-install: perlmod + $(MAKE) -C perl install + phpmod-install: phpmod $(MAKE) -C php install diff --git a/libs/esl/perl/Makefile b/libs/esl/perl/Makefile index 058e0d3849..a76e9c5e6d 100644 --- a/libs/esl/perl/Makefile +++ b/libs/esl/perl/Makefile @@ -1,4 +1,5 @@ PERL=$(shell which perl) +PERL_SITEDIR=$(shell perl -MConfig -e 'print $$Config{sitelibexp}') PERL_LIBDIR=-L$(shell perl -MConfig -e 'print $$Config{archlib}')/CORE PERL_LIBS=$(shell perl -MConfig -e 'print $$Config{libs}') LOCAL_CFLAGS=-w -DMULTIPLICITY $(shell $(PERL) -MExtUtils::Embed -e ccopts) -DEMBED_PERL @@ -30,3 +31,8 @@ swigclean: reswig: swigclean esl_wrap.cpp perlxsi.c +install: ESL.so + install -m 755 ESL.so $(PERL_SITEDIR) + install -m 755 ESL.pm $(PERL_SITEDIR) + install -d -m 755 ESL $(PERL_SITEDIR)/ESL + install -m 755 ESL/* $(PERL_SITEDIR)/ESL \ No newline at end of file