2 # Asterisk -- A telephony toolkit for Linux.
4 # Makefile for dialplan functions
6 # Copyright (C) 2005-2006, Digium, Inc.
8 # This program is free software, distributed under the terms of
9 # the GNU General Public License
12 -include ..
/menuselect.makeopts ..
/menuselect.makedeps
14 MENUSELECT_CATEGORY
=FUNCS
15 MENUSELECT_DESCRIPTION
=Dialplan Functions
17 ALL_C_MODS
:=$(patsubst %.c
,%,$(wildcard func_
*.c
))
18 ALL_CC_MODS
:=$(patsubst %.
cc,%,$(wildcard func_
*.
cc))
20 C_MODS
:=$(filter-out $(MENUSELECT_FUNCS
),$(ALL_C_MODS
))
21 CC_MODS
:=$(filter-out $(MENUSELECT_FUNCS
),$(ALL_CC_MODS
))
23 LOADABLE_MODS
:=$(C_MODS
) $(CC_MODS
)
25 ifneq ($(findstring funcs
,$(MENUSELECT_EMBED
)),)
26 EMBEDDED_MODS
:=$(LOADABLE_MODS
)
32 include $(ASTTOPDIR
)/Makefile.moddir_rules