appending one list to another should leave the first list empty, and not require...
[asterisk-bristuff.git] / formats / Makefile
blob2fb8214086375998c8a597a96dc825624625e276
2 # Asterisk -- A telephony toolkit for Linux.
3 #
4 # Makefile for file format modules
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_FORMATS),$(patsubst %.c,%,$(wildcard format_*.c)))
15 CC_MODS:=$(filter-out $(MENUSELECT_FORMATS),$(patsubst %.cc,%,$(wildcard format_*.cc)))
17 LOADABLE_MODS:=$(C_MODS) $(CC_MODS)
19 ifneq ($(findstring formats,$(MENUSELECT_EMBED)),)
20 EMBEDDED_MODS:=$(LOADABLE_MODS)
21 LOADABLE_MODS:=
22 endif
24 all: _all
26 include $(ASTTOPDIR)/Makefile.moddir_rules