use a macro instead of an inline function, so that backtraces will report the caller...
[asterisk-bristuff.git] / funcs / Makefile
blob1c4c193cfdb258acf9e5dd317286bf6eeb879206
2 # Asterisk -- A telephony toolkit for Linux.
3 #
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 C_MODS:=$(filter-out $(MENUSELECT_FUNCS),$(patsubst %.c,%,$(wildcard func_*.c)))
15 CC_MODS:=$(filter-out $(MENUSELECT_FUNCS),$(patsubst %.cc,%,$(wildcard func_*.cc)))
17 LOADABLE_MODS:=$(C_MODS) $(CC_MODS)
19 ifneq ($(findstring funcs,$(MENUSELECT_EMBED)),)
20 EMBEDDED_MODS:=$(LOADABLE_MODS)
21 LOADABLE_MODS:=
22 endif
24 all: _all
26 include $(ASTTOPDIR)/Makefile.moddir_rules