diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-08-31 13:32:11 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-08-31 13:32:11 +0000 |
commit | efb40d0fe59817d10d6bcf2d545ae4ac0a887553 (patch) | |
tree | 8b96ade1ef4f07a1645bf7bdbfc34fcaa2b725db /Makefile | |
parent | 116b73cebbd211cbbeaaba949acc84178cf24784 (diff) |
Merge NetBSD and Courtesty tone with modifications (bug #2329)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3686 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -137,6 +137,11 @@ INCLUDE+=-I/usr/local/include CFLAGS+=$(shell if [ -d /usr/local/include/spandsp ]; then echo "-I/usr/local/include/spandsp"; fi) endif # FreeBSD +ifeq (${OSARCH},NetBSD) +CFLAGS+=-pthread +INCLUDE+=-I/usr/local/include +endif + ifeq (${OSARCH},OpenBSD) CFLAGS+=-pthread endif @@ -184,6 +189,9 @@ endif ifeq (${OSARCH},FreeBSD) LIBS+=-lcrypto endif +ifeq (${OSARCH},NetBSD) +LIBS+=-lpthread -lcrypto -lm -L/usr/local/lib -lncurses +endif ifeq (${OSARCH},OpenBSD) LIBS=-lcrypto -lpthread -lm -lncurses endif @@ -510,7 +518,6 @@ mpg123: [ -f mpg123-0.59r.tar.gz ] || wget http://www.mpg123.de/mpg123/mpg123-0.59r.tar.gz [ -d mpg123-0.59r ] || tar xfz mpg123-0.59r.tar.gz make -C mpg123-0.59r linux - config: if [ -d /etc/rc.d/init.d ]; then \ |