remove documentation of 'global' section in modules.conf, since it is no longer neede...
[asterisk-bristuff.git] / res / Makefile
blobd7f3479003b347669c0a4f81961049190d6bf3f5
2 # Asterisk -- A telephony toolkit for Linux.
3 #
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
15 endif
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)
24 LOADABLE_MODS:=
25 endif
27 all: _all
29 include $(ASTTOPDIR)/Makefile.moddir_rules
31 $(res_snmp): snmp/agent.o
33 clean::
34 rm -f snmp/*.o