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-06-19 00:14:16 +00:00
|
|
|
ifneq ($(wildcard ../menuselect.makeopts),)
|
|
|
|
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-06-05 20:46:27 +00:00
|
|
|
SELECTED_MODS:=$(filter-out $(MENUSELECT_RES),$(patsubst %.c,%,$(wildcard res_*.c)))
|
2005-08-30 02:54:02 +00:00
|
|
|
|
2006-04-24 17:11:45 +00:00
|
|
|
ifeq ($(OSARCH),FreeBSD)
|
2006-06-05 20:46:27 +00:00
|
|
|
SELECTED_MODS:=$(filter-out $(shell if test ${BSDVERSION} -lt 500000 ; then echo "res_config_odbc"; fi),$(SELECTED_MODS))
|
2006-02-11 16:44:15 +00:00
|
|
|
endif
|
|
|
|
|
2006-06-24 19:43:31 +00:00
|
|
|
all: _all
|
2006-04-24 17:11:45 +00:00
|
|
|
|
2006-06-24 19:43:31 +00:00
|
|
|
include ../Makefile.rules
|
2001-12-25 21:12:07 +00:00
|
|
|
|
2006-06-24 19:43:31 +00:00
|
|
|
clean::
|
2006-06-23 01:54:07 +00:00
|
|
|
rm -f snmp/*.o
|
2001-12-25 21:12:07 +00:00
|
|
|
|