| 
									
										
										
										
											2001-12-25 21:12:07 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # Asterisk -- A telephony toolkit for Linux.
 | 
					
						
							|  |  |  | # 
 | 
					
						
							| 
									
										
										
										
											2005-06-20 17:26:08 +00:00
										 |  |  | # Makefile for resource modules
 | 
					
						
							| 
									
										
										
										
											2001-12-25 21:12:07 +00:00
										 |  |  | #
 | 
					
						
							| 
									
										
										
										
											2006-06-24 19:43:31 +00:00
										 |  |  | # Copyright (C) 1999-2006, Digium, Inc.
 | 
					
						
							| 
									
										
										
										
											2001-12-25 21:12:07 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # This program is free software, distributed under the terms of
 | 
					
						
							|  |  |  | # the GNU General Public License
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-08-21 02:11:39 +00:00
										 |  |  | ifneq ($(wildcard $(ASTTOPDIR)/menuselect.makeopts),) | 
					
						
							| 
									
										
										
										
											2006-06-19 00:14:16 +00:00
										 |  |  |   include ../menuselect.makeopts | 
					
						
							| 
									
										
										
										
											2006-06-25 08:50:14 +00:00
										 |  |  |   include ../menuselect.makedeps | 
					
						
							| 
									
										
										
										
											2006-06-19 00:14:16 +00:00
										 |  |  | endif | 
					
						
							| 
									
										
										
										
											2006-06-07 16:03:31 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-07-15 19:59:35 +00:00
										 |  |  | C_MODS:=$(filter-out $(MENUSELECT_RES),$(patsubst %.c,%,$(wildcard res_*.c))) | 
					
						
							|  |  |  | CC_MODS:=$(filter-out $(MENUSELECT_RES),$(patsubst %.cc,%,$(wildcard res_*.cc))) | 
					
						
							| 
									
										
										
										
											2005-08-30 02:54:02 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-08-21 02:11:39 +00:00
										 |  |  | LOADABLE_MODS:=$(C_MODS) $(CC_MODS) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ifneq ($(findstring res,$(MENUSELECT_EMBED)),) | 
					
						
							|  |  |  |   EMBEDDED_MODS:=$(LOADABLE_MODS) | 
					
						
							|  |  |  |   LOADABLE_MODS:= | 
					
						
							|  |  |  | endif | 
					
						
							| 
									
										
										
										
											2006-02-11 16:44:15 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-06-24 19:43:31 +00:00
										 |  |  | all: _all | 
					
						
							| 
									
										
										
										
											2006-04-24 17:11:45 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-07-06 21:04:28 +00:00
										 |  |  | include $(ASTTOPDIR)/Makefile.moddir_rules | 
					
						
							| 
									
										
										
										
											2001-12-25 21:12:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-08-21 02:11:39 +00:00
										 |  |  | $(res_snmp): snmp/agent.o | 
					
						
							| 
									
										
										
										
											2006-07-01 15:13:56 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-06-24 19:43:31 +00:00
										 |  |  | clean:: | 
					
						
							| 
									
										
										
										
											2006-06-23 01:54:07 +00:00
										 |  |  | 	rm -f snmp/*.o |