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