remove leading space in Packet manager event header
[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 -include ../menuselect.makeopts ../menuselect.makedeps
13
14 C_MODS:=$(filter-out $(MENUSELECT_RES),$(patsubst %.c,%,$(wildcard res_*.c)))
15 CC_MODS:=$(filter-out $(MENUSELECT_RES),$(patsubst %.cc,%,$(wildcard res_*.cc)))
16
17 LOADABLE_MODS:=$(C_MODS) $(CC_MODS)
18
19 ifneq ($(findstring res,$(MENUSELECT_EMBED)),)
20   EMBEDDED_MODS:=$(LOADABLE_MODS)
21   LOADABLE_MODS:=
22 endif
23
24 all: _all
25
26 include $(ASTTOPDIR)/Makefile.moddir_rules
27
28 $(res_snmp): snmp/agent.o
29
30 clean::
31         rm -f snmp/*.o