2 # Asterisk -- A telephony toolkit for Linux.
4 # Makefile for resource 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 ifneq ($(wildcard $(ASTTOPDIR
)/menuselect.makeopts
),)
13 include ..
/menuselect.makeopts
14 include ..
/menuselect.makedeps
17 C_MODS
:=$(filter-out $(MENUSELECT_RES
),$(patsubst %.c
,%,$(wildcard res_
*.c
)))
18 CC_MODS
:=$(filter-out $(MENUSELECT_RES
),$(patsubst %.
cc,%,$(wildcard res_
*.
cc)))
20 LOADABLE_MODS
:=$(C_MODS
) $(CC_MODS
)
22 ifneq ($(findstring res
,$(MENUSELECT_EMBED
)),)
23 EMBEDDED_MODS
:=$(LOADABLE_MODS
)
29 include $(ASTTOPDIR
)/Makefile.moddir_rules
31 $(res_snmp
): snmp
/agent.o