summaryrefslogtreecommitdiff
path: root/utils/Makefile
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-03-17 23:12:15 +0000
committerMark Spencer <markster@digium.com>2005-03-17 23:12:15 +0000
commitf9cfe6031288acf02cbdf95d370ecb38f5a929dc (patch)
tree3fa0c3a5fb61e3662f4353566a235dca4291f79a /utils/Makefile
parent4c4264a448a4096be209649e170759fd0dde9ba4 (diff)
Add support for Solaris/x86 (bug #3064)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils/Makefile')
-rwxr-xr-xutils/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/Makefile b/utils/Makefile
index dcacce210..a3f04d10f 100755
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -12,6 +12,9 @@ TARGET=stereorize
TARGET+=$(shell if [ -f /usr/include/popt.h ]; then echo "smsq"; else if [ -f /usr/local/include/popt.h ]; then echo "smsq"; fi ; fi)
TARGET+=$(shell if [ -f /usr/include/newt.h ]; then echo "astman"; else if [ -f /usr/local/include/newt.h ]; then echo "astman"; fi ; fi)
+ifeq (${OSARCH},SunOS)
+SOL=../strcompat.o
+endif
all: depend $(TARGET)
@@ -32,7 +35,7 @@ stereorize: stereorize.o frame.o
$(CC) $(CFLAGS) -o stereorize stereorize.o frame.o -lm
smsq: smsq.o
- $(CC) $(CFLAGS) -o smsq smsq.o -lpopt
+ $(CC) $(CFLAGS) -o smsq ${SOL} smsq.o -lpopt
ifneq ($(wildcard .depend),)
include .depend