Let's also include aclocal.m4
[asterisk-bristuff.git] / formats / Makefile
blob9e77de644eb16c76b6e0bef7f34d5f9ea34011c3
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 MENUSELECT_CATEGORY=FORMATS
15 MENUSELECT_DESCRIPTION=Format Interpreters
17 ALL_C_MODS:=$(patsubst %.c,%,$(wildcard format_*.c))
18 ALL_CC_MODS:=$(patsubst %.cc,%,$(wildcard format_*.cc))
20 C_MODS:=$(filter-out $(MENUSELECT_FORMATS),$(ALL_C_MODS))
21 CC_MODS:=$(filter-out $(MENUSELECT_FORMATS),$(ALL_CC_MODS))
23 LOADABLE_MODS:=$(C_MODS) $(CC_MODS)
25 ifneq ($(findstring formats,$(MENUSELECT_EMBED)),)
26 EMBEDDED_MODS:=$(LOADABLE_MODS)
27 LOADABLE_MODS:=
28 endif
30 all: _all
32 include $(ASTTOPDIR)/Makefile.moddir_rules