mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
don't blow up in the sub Makefiles if menuselect.makeopts is not present. This
is valid in some cases, such as "make clean". git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34738 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -11,7 +11,9 @@
|
||||
# the GNU General Public License
|
||||
#
|
||||
|
||||
include ../menuselect.makeopts
|
||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||
include ../menuselect.makeopts
|
||||
endif
|
||||
|
||||
SELECTED_MODS:=$(filter-out $(MENUSELECT_APPS),$(patsubst %.c,%,$(wildcard app_*.c)))
|
||||
|
||||
|
@@ -11,7 +11,9 @@
|
||||
# the GNU General Public License
|
||||
#
|
||||
|
||||
include ../menuselect.makeopts
|
||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||
include ../menuselect.makeopts
|
||||
endif
|
||||
|
||||
SELECTED_MODS:=$(filter-out $(MENUSELECT_CDR),$(patsubst %.c,%,$(wildcard cdr_*.c)))
|
||||
|
||||
|
@@ -11,7 +11,9 @@
|
||||
# the GNU General Public License
|
||||
#
|
||||
|
||||
include ../menuselect.makeopts
|
||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||
include ../menuselect.makeopts
|
||||
endif
|
||||
|
||||
SELECTED_MODS:=$(filter-out $(MENUSELECT_CHANNELS),$(patsubst %.c,%,$(wildcard chan_*.c)))
|
||||
|
||||
|
@@ -11,7 +11,9 @@
|
||||
# the GNU General Public License
|
||||
#
|
||||
|
||||
include ../menuselect.makeopts
|
||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||
include ../menuselect.makeopts
|
||||
endif
|
||||
|
||||
SELECTED_MODS:=$(filter-out $(MENUSELECT_CODECS),$(patsubst %.c,%,$(wildcard codec_*.c)))
|
||||
|
||||
|
@@ -11,7 +11,9 @@
|
||||
# the GNU General Public License
|
||||
#
|
||||
|
||||
include ../menuselect.makeopts
|
||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||
include ../menuselect.makeopts
|
||||
endif
|
||||
|
||||
SELECTED_MODS:=$(filter-out $(MENUSELECT_FORMATS),$(patsubst %.c,%,$(wildcard format_*.c)))
|
||||
|
||||
|
@@ -11,7 +11,9 @@
|
||||
# the GNU General Public License
|
||||
#
|
||||
|
||||
include ../menuselect.makeopts
|
||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||
include ../menuselect.makeopts
|
||||
endif
|
||||
|
||||
SELECTED_MODS:=$(filter-out $(MENUSELECT_FUNCS),$(patsubst %.c,%,$(wildcard func_*.c)))
|
||||
|
||||
|
@@ -11,7 +11,9 @@
|
||||
# the GNU General Public License
|
||||
#
|
||||
|
||||
include ../menuselect.makeopts
|
||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||
include ../menuselect.makeopts
|
||||
endif
|
||||
|
||||
SELECTED_MODS:=$(filter-out $(MENUSELECT_PBX),$(patsubst %.c,%,$(wildcard pbx_*.c)))
|
||||
|
||||
|
@@ -11,7 +11,9 @@
|
||||
# the GNU General Public License
|
||||
#
|
||||
|
||||
include ../menuselect.makeopts
|
||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||
include ../menuselect.makeopts
|
||||
endif
|
||||
|
||||
SELECTED_MODS:=$(filter-out $(MENUSELECT_RES),$(patsubst %.c,%,$(wildcard res_*.c)))
|
||||
|
||||
|
@@ -11,7 +11,9 @@
|
||||
# the GNU General Public License
|
||||
#
|
||||
|
||||
include ../menuselect.makeopts
|
||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||
include ../menuselect.makeopts
|
||||
endif
|
||||
|
||||
PWD:=$(shell pwd)
|
||||
SOUNDS_DIR:=$(DESTDIR)$(ASTDATADIR)/sounds
|
||||
|
Reference in New Issue
Block a user