mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Apparently the != operator is fairly new so I've replaced it with the old $(shell ...) syntax. Change-Id: I16b2e1878a4f91e7e9740abd427f9639f933c479 Reported-by: Richard Mudgett
		
			
				
	
	
		
			37 lines
		
	
	
		
			694 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			694 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| 
 | |
| ifeq ($(NOISY_BUILD),)
 | |
| SUBMAKE?=$(MAKE) --quiet --no-print-directory
 | |
| ECHO_PREFIX?=@
 | |
| CMD_PREFIX?=@
 | |
| QUIET_CONFIGURE=-q
 | |
| REALLY_QUIET=&>/dev/null
 | |
| else
 | |
| SUBMAKE?=$(MAKE)
 | |
| ECHO_PREFIX?=@\#
 | |
| CMD_PREFIX?=
 | |
| QUIET_CONFIGURE=
 | |
| REALLY_QUIET=
 | |
| endif
 | |
| 
 | |
| DOWNLOAD := $(shell which wget 2>/dev/null)
 | |
| DOWNLOAD := $(if $(DOWNLOAD),$(DOWNLOAD) -O- ,)
 | |
| 
 | |
| ifeq ($(DOWNLOAD),)
 | |
| DOWNLOAD := $(shell which curl 2>/dev/null)
 | |
| DOWNLOAD := $(if $(DOWNLOAD), $(DOWNLOAD) -L ,)
 | |
| endif
 | |
| 
 | |
| ifeq ($(DOWNLOAD),)
 | |
| DOWNLOAD := echo "No download program available" ; exit 1;
 | |
| endif
 | |
| 
 | |
| export SUBMAKE
 | |
| export ECHO_PREFIX
 | |
| export CMD_PREFIX
 | |
| export QUIET_CONFIGURE
 | |
| export REALLY_QUIET
 | |
| export ASTTOPDIR
 | |
| export ASTSBINDIR
 | |
| export DESTDIR
 | |
| export ASTDATADIR
 |