aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-15 16:09:30 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-15 16:09:30 +0000
commit13d6d51696cfa4a295f77a5c236aba753e9a858d (patch)
treebc9327713900ac3e4201f4524a2faed70c7cc7ab /utils
parente929058fd6e66074854f061dda3ed00b24366df0 (diff)
Fix it so TARGET always has at least one thing in it (bug #3049)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4456 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils')
-rwxr-xr-xutils/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 52922cfeb..dd9546fa0 100755
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -8,6 +8,8 @@ ifeq ($(findstring BSD,${OSARCH}),BSD)
CFLAGS+=-I/usr/local/include -L/usr/local/lib
endif
+TARGET=none
+
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)
@@ -21,7 +23,6 @@ install:
fi
none:
- @echo Not building the Asterisk Manager "astman"
clean:
rm -f *.o astman smsq .depend