diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-11 00:12:35 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-11 00:12:35 +0000 |
commit | a5e941b56ea72044c4dadd9bdb8221cb919bea85 (patch) | |
tree | 938a7378ae06da558d7c6b35c4597db2a14162cf /res/Makefile | |
parent | 894fdbaf3ff8e922f2872750383d2f3b34914ba0 (diff) |
Merge res_odbc and res_config
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3186 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 32e42a2e2..fa6e3cf81 100755 --- a/res/Makefile +++ b/res/Makefile @@ -12,6 +12,8 @@ # 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) CRYPTO_LIBS=-lssl -lcrypto @@ -34,6 +36,9 @@ res_crypto.so: res_crypto.o clean: rm -f *.so *.o .depend +res_odbc.so: res_odbc.o + $(CC) $(SOLINK) -o $@ $< -lodbc + %.so : %.o $(CC) $(SOLINK) -o $@ $< |