summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAnthony Minessale II <anthmct@yahoo.com>2004-07-02 22:40:09 +0000
committerAnthony Minessale II <anthmct@yahoo.com>2004-07-02 22:40:09 +0000
commit75d4369dfc6e6d373fa558c91de9bf9e892fec8c (patch)
tree7aaa890e04411db065f6eff94d9611787c69d30a /Makefile
parent3697f7dbcc6c0679bb66bee9b1d45aee2c28a603 (diff)
autodial update
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3377 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4139ae75b..8c8bd078c 100755
--- a/Makefile
+++ b/Makefile
@@ -194,6 +194,13 @@ endif
CC=gcc
INSTALL=install
+
+####### res_perl
+LIBS += $(shell /usr/local/bin/perl -MExtUtils::Embed -e ldopts) $(shell perl -MConfig -e 'print $$Config{libs}')
+PERLCFLAGS += $(shell /usr/local/bin/perl -MExtUtils::Embed -e ccopts)
+OBJS += perlxsi.o
+####### /res_perl
+
_all: all
@echo " +--------- Asterisk Build Complete ---------+"
@echo " + Asterisk has successfully been built, but +"
@@ -205,6 +212,11 @@ _all: all
all: depend asterisk subdirs
+####### res_perl
+perlxsi.o:
+ $(CC) -c perlxsi.c $(PERLCFLAGS) -o perlxsi.o
+####### /res_perl
+
editline/config.h:
cd editline && unset CFLAGS LIBS && ./configure ; \