diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-25 03:59:07 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-25 03:59:07 +0000 |
commit | 96c27903b13f3789f60fb8299eace827ca4ff3d6 (patch) | |
tree | 10ec669a31a880a3a24a8a842bec640b09caeac5 /res/Makefile | |
parent | 461824ef0bcd514c3678e297c76010cd3e316f1d (diff) |
Add outgoing OSP support (SIP only at this point)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3296 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/Makefile')
-rwxr-xr-x | res/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/res/Makefile b/res/Makefile index fa6e3cf81..302c3499f 100755 --- a/res/Makefile +++ b/res/Makefile @@ -14,6 +14,7 @@ MODS=res_adsi.so res_parking.so res_crypto.so res_musiconhold.so res_indications.so res_monitor.so MODS+=$(shell if [ -f "/usr/include/odbcinst.h" ]; then echo "res_odbc.so res_config_odbc.so"; fi) MODS+=$(shell if [ -f "/usr/local/include/odbcinst.h" ]; then echo "res_odbc.so res_config_odbc.so"; fi) +MODS+=$(shell if [ -f "/usr/include/osp/osp.h" ]; then echo "res_osp.so"; fi) CRYPTO_LIBS=-lssl -lcrypto @@ -24,6 +25,7 @@ CFLAGS+=$(shell [ -f /usr/local/include/zaptel.h ] && echo " -DZAPATA_MOH") # Work around buggy RedHat 9.0 # CFLAGS+=-DOPENSSL_NO_KRB5 -fPIC +OSPLIB=/usr/lib/libosp.a all: depend $(MODS) @@ -39,6 +41,9 @@ clean: res_odbc.so: res_odbc.o $(CC) $(SOLINK) -o $@ $< -lodbc +res_osp.so: res_osp.o $(OSPLIB) + $(CC) $(SOLINK) -o $@ $< $(OSPLIB) + %.so : %.o $(CC) $(SOLINK) -o $@ $< |