Index: utils/Makefile =================================================================== RCS file: /usr/cvsroot/asterisk/utils/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- utils/Makefile 13 Dec 2004 21:45:03 -0000 1.2 +++ utils/Makefile 15 Dec 2004 09:32:43 -0000 @@ -8,8 +8,12 @@ CFLAGS+=-I/usr/local/include -L/usr/local/lib endif +ifeq (${OSARCH},SunOS) +TARGET=none +else 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) +endif all: depend $(TARGET)