2005-05-05 05:39:33 +00:00
|
|
|
#
|
|
|
|
# Asterisk -- A telephony toolkit for Linux.
|
|
|
|
#
|
|
|
|
# Makefile for dialplan functions
|
|
|
|
#
|
2006-02-11 17:12:05 +00:00
|
|
|
# Copyright (C) 2005-2006, Digium, Inc.
|
2005-05-05 05:39:33 +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_FUNCS),$(patsubst %.c,%,$(wildcard func_*.c)))
|
2005-05-05 05:39:33 +00:00
|
|
|
|
2006-04-24 17:11:45 +00:00
|
|
|
# TODO This check needs to be handled with autoconf
|
2006-03-01 17:57:43 +00:00
|
|
|
ifeq ($(OSARCH),SunOS)
|
2006-04-24 17:11:45 +00:00
|
|
|
ifeq ($(shell if [ 0x`$(CROSS_COMPILE_BIN)curl-config --vernum` -ge 0x70907 ]; then echo "OK" ; fi),)
|
2006-06-05 20:46:27 +00:00
|
|
|
MODS:=$(filter-out func_curl,$(MODS))
|
2006-04-24 17:11:45 +00:00
|
|
|
endif
|
2006-03-01 17:57:43 +00:00
|
|
|
else
|
2006-04-24 17:11:45 +00:00
|
|
|
ifeq ($(shell if [[ 0x`$(CROSS_COMPILE_BIN)curl-config --vernum` -ge 0x70907 ]]; then echo "OK" ; fi),)
|
2006-06-05 20:46:27 +00:00
|
|
|
MODS:=$(filter-out func_curl,$(MODS))
|
2006-04-24 17:11:45 +00:00
|
|
|
endif
|
2005-11-01 21:53:30 +00:00
|
|
|
endif
|
2005-05-05 17:39:18 +00:00
|
|
|
|
2006-06-24 19:43:31 +00:00
|
|
|
all: _all
|
2005-05-05 05:39:33 +00:00
|
|
|
|
2006-06-24 19:43:31 +00:00
|
|
|
include ../Makefile.rules
|