mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-11-04 05:15:22 +00:00 
			
		
		
		
	Fix it so TARGET always has at least one thing in it (bug #3049)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4456 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user