aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authoranthm <anthm@f38db490-d61c-443f-a65b-d21fe96a405b>2004-07-02 22:40:09 +0000
committeranthm <anthm@f38db490-d61c-443f-a65b-d21fe96a405b>2004-07-02 22:40:09 +0000
commita5d644afc81be27f8fd17d3bdc93eb7774ddf915 (patch)
tree7aaa890e04411db065f6eff94d9611787c69d30a /Makefile
parentc2a463a19ac227bd26a3e09a90c0cf4b7f6f1e15 (diff)
autodial update
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3377 f38db490-d61c-443f-a65b-d21fe96a405b
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 ; \