fix some copy-and-paste leftovers
[asterisk-bristuff.git] / cdr / Makefile
blobb7e854468a7f0a143689b6144d322735c0a3d673
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 MENUSELECT_CATEGORY=CDR
15 MENUSELECT_DESCRIPTION=Call Detail Recording
17 ALL_C_MODS:=$(patsubst %.c,%,$(wildcard cdr_*.c))
18 ALL_CC_MODS:=$(patsubst %.cc,%,$(wildcard cdr_*.cc))
20 C_MODS:=$(filter-out $(MENUSELECT_CDR),$(ALL_C_MODS))
21 CC_MODS:=$(filter-out $(MENUSELECT_CDR),$(ALL_CC_MODS))
23 LOADABLE_MODS:=$(C_MODS) $(CC_MODS)
25 ifneq ($(findstring cdr,$(MENUSELECT_EMBED)),)
26 EMBEDDED_MODS:=$(LOADABLE_MODS)
27 LOADABLE_MODS:=
28 endif
30 all: _all
32 include $(ASTTOPDIR)/Makefile.moddir_rules