Merge my applicationmap_fixup branch to address the issues described in this
[asterisk/asterisk.git] / res / Makefile
1 #
2 # Asterisk -- A telephony toolkit for Linux.
3
4 # Makefile for resource modules
5 #
6 # Copyright (C) 1999-2006, Digium, Inc.
7 #
8 # This program is free software, distributed under the terms of
9 # the GNU General Public License
10 #
11
12 ifneq ($(wildcard ../menuselect.makeopts),)
13   include ../menuselect.makeopts
14   include ../menuselect.makedeps
15 endif
16
17 C_MODS:=$(filter-out $(MENUSELECT_RES),$(patsubst %.c,%,$(wildcard res_*.c)))
18 CC_MODS:=$(filter-out $(MENUSELECT_RES),$(patsubst %.cc,%,$(wildcard res_*.cc)))
19
20 SELECTED_MODS:=$(C_MODS) $(CC_MODS)
21
22 all: _all
23
24 include $(ASTTOPDIR)/Makefile.moddir_rules
25
26 res_snmp.so: snmp/agent.o
27
28 clean::
29         rm -f snmp/*.o