mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	This new macro allows a single line to add all additional sources to a module. This helps prevent modules from missing steps, and makes future changes easier since they can be made in a single place. ASTERISK-24960 #close Reported by: Corey Farrell Change-Id: I38f12d8b72c5e7bb37a879b2fb51761a2855eb4b
		
			
				
	
	
		
			36 lines
		
	
	
		
			998 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			998 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| #
 | |
| # Asterisk -- An open source telephony toolkit.
 | |
| # 
 | |
| # Makefile for PBX applications
 | |
| #
 | |
| # Copyright (C) 1999-2006, Digium, Inc.
 | |
| #
 | |
| # This program is free software, distributed under the terms of
 | |
| # the GNU General Public License
 | |
| #
 | |
| 
 | |
| -include $(ASTTOPDIR)/menuselect.makeopts $(ASTTOPDIR)/menuselect.makedeps
 | |
| 
 | |
| MODULE_PREFIX=app
 | |
| MENUSELECT_CATEGORY=APPS
 | |
| MENUSELECT_DESCRIPTION=Applications
 | |
| 
 | |
| MENUSELECT_OPTS_app_directory:=$(MENUSELECT_OPTS_app_voicemail)
 | |
| ifneq ($(findstring ODBC_STORAGE,$(MENUSELECT_OPTS_app_voicemail)),)
 | |
|   MENUSELECT_DEPENDS_app_voicemail+=$(MENUSELECT_DEPENDS_ODBC_STORAGE)
 | |
| endif
 | |
| ifneq ($(findstring IMAP_STORAGE,$(MENUSELECT_OPTS_app_voicemail)),)
 | |
|   MENUSELECT_DEPENDS_app_voicemail+=$(MENUSELECT_DEPENDS_IMAP_STORAGE)
 | |
| endif
 | |
| 
 | |
| all: _all
 | |
| 
 | |
| include $(ASTTOPDIR)/Makefile.moddir_rules
 | |
| 
 | |
| $(call MOD_ADD_C,app_confbridge,$(wildcard confbridge/*.c))
 | |
| 
 | |
| ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
 | |
|   LIBS+= -lres_ael_share.so -lres_monitor.so -lres_speech.so
 | |
|   LIBS+= -lres_smdi.so
 | |
| endif
 |