remove the need to have to re-run make after a default menuselect.makeopts

file is generated.  This allows a fresh checkout of asterisk to be built
and installed with the standard "./configure && make && make install".


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2006-06-07 16:03:31 +00:00
parent 7924c21e33
commit 503f99e2e8
9 changed files with 16 additions and 8 deletions

View File

@@ -11,6 +11,8 @@
# the GNU General Public License
#
include ../menuselect.makeopts
SELECTED_MODS:=$(filter-out $(MENUSELECT_APPS),$(patsubst %.c,%,$(wildcard app_*.c)))
# If you have UnixODBC you can use ODBC voicemail

View File

@@ -698,14 +698,6 @@ int main(int argc, char *argv[])
free_trees();
free_member_list();
if (check_deps && !existing_config && !res) {
fprintf(stderr, "\n***********************************************************\n");
fprintf(stderr, "* menuselect.makeopts file generated with default values! *\n");
fprintf(stderr, "* Please rerun make to build Asterisk. *\n");
fprintf(stderr, "***********************************************************\n\n");
res = -1;
}
/* In some cases, such as modifying the CFLAGS for the build,
* a "make clean" needs to be forced. Removing the .lastclean
* file does this. */

View File

@@ -11,6 +11,8 @@
# the GNU General Public License
#
include ../menuselect.makeopts
SELECTED_MODS:=$(filter-out $(MENUSELECT_CDR),$(patsubst %.c,%,$(wildcard cdr_*.c)))
#The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.

View File

@@ -11,6 +11,8 @@
# the GNU General Public License
#
include ../menuselect.makeopts
SELECTED_MODS:=$(filter-out $(MENUSELECT_CHANNELS),$(patsubst %.c,%,$(wildcard chan_*.c)))
ifeq ($(OSARCH),OpenBSD)

View File

@@ -11,6 +11,8 @@
# the GNU General Public License
#
include ../menuselect.makeopts
SELECTED_MODS:=$(filter-out $(MENUSELECT_CODECS),$(patsubst %.c,%,$(wildcard codec_*.c)))
ifeq ($(wildcard ilbc/iLBC_decode.h),)

View File

@@ -11,6 +11,8 @@
# the GNU General Public License
#
include ../menuselect.makeopts
SELECTED_MODS:=$(filter-out $(MENUSELECT_FORMATS),$(patsubst %.c,%,$(wildcard format_*.c)))
GSMLIB=../codecs/gsm/lib/libgsm.a

View File

@@ -11,6 +11,8 @@
# the GNU General Public License
#
include ../menuselect.makeopts
SELECTED_MODS:=$(filter-out $(MENUSELECT_FUNCS),$(patsubst %.c,%,$(wildcard func_*.c)))
# TODO This check needs to be handled with autoconf

View File

@@ -11,6 +11,8 @@
# the GNU General Public License
#
include ../menuselect.makeopts
SELECTED_MODS:=$(filter-out $(MENUSELECT_PBX),$(patsubst %.c,%,$(wildcard pbx_*.c)))
MOC=$(QTDIR)/bin/moc

View File

@@ -11,6 +11,8 @@
# the GNU General Public License
#
include ../menuselect.makeopts
SELECTED_MODS:=$(filter-out $(MENUSELECT_RES),$(patsubst %.c,%,$(wildcard res_*.c)))
ifeq ($(OSARCH),FreeBSD)