diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-23 02:55:53 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-23 02:55:53 +0000 |
commit | 0451792a46747d19f7d5c7035591a5c2801be4dd (patch) | |
tree | fe076477330afccf69467f4f019a137ed8dcb8e2 /apps/Makefile | |
parent | 793ee756c3b891f44d47b9c76015aaefde4ffba7 (diff) |
Add app_curl from tilghman (bug #3131)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4539 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/Makefile')
-rwxr-xr-x | apps/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/Makefile b/apps/Makefile index 48dfdedd7..17d2b44e1 100755 --- a/apps/Makefile +++ b/apps/Makefile @@ -51,6 +51,11 @@ APPS+=$(shell if [ -f /usr/include/linux/zaptel.h ]; then echo "app_zapras.so ap APPS+=$(shell if [ -f /usr/local/include/zaptel.h ]; then echo "app_zapras.so app_meetme.so app_flash.so app_zapbarge.so app_zapscan.so" ; fi) APPS+=$(shell if [ -f /usr/include/osp/osp.h ]; then echo "app_osplookup.so" ; fi) +CURLLIBS=$(shell curl-config --libs) +ifneq (${CURLLIBS},) + APPS+=app_curl.so +endif + CFLAGS+=-fPIC # # If you have MySQL 4.1 or later you can use ODBC @@ -74,6 +79,9 @@ install: all rm -f $(DESTDIR)$(MODULES_DIR)/app_datetime.so rm -f $(DESTDIR)$(MODULES_DIR)/app_qcall.so +app_curl.so: app_curl.o + $(CC) $(SOLINK) -o $@ $< $(CURLLIBS) + app_voicemail.so : app_voicemail.o ifeq ($(USE_MYSQL_VM_INTERFACE),1) $(CC) $(SOLINK) -o $@ $(MLFLAGS) $< -L/usr/lib/mysql -lmysqlclient -lz |