1999-11-13 17:59:36 +00:00
|
|
|
#
|
|
|
|
# Asterisk -- A telephony toolkit for Linux.
|
|
|
|
#
|
2005-06-20 17:26:08 +00:00
|
|
|
# Makefile for PBX applications
|
1999-11-13 17:59:36 +00:00
|
|
|
#
|
2006-02-11 17:12:05 +00:00
|
|
|
# Copyright (C) 1999-2006, Digium, Inc.
|
1999-11-13 17:59:36 +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_APPS),$(patsubst %.c,%,$(wildcard app_*.c)))
|
2005-08-29 19:07:24 +00:00
|
|
|
|
2006-07-12 22:10:59 +00:00
|
|
|
ifneq ($(findstring ODBC_STORAGE,$(MENUSELECT_OPTS_app_voicemail)),)
|
2006-07-07 02:20:04 +00:00
|
|
|
MENUSELECT_DEPENDS_app_voicemail+=$(MENUSELECT_DEPENDS_ODBC_STORAGE)
|
|
|
|
endif
|
2006-07-12 22:10:59 +00:00
|
|
|
ifneq ($(findstring EXTENDED_ODBC_STORAGE,$(MENUSELECT_OPTS_app_voicemail)),)
|
2006-07-07 02:20:04 +00:00
|
|
|
MENUSELECT_DEPENDS_app_voicemail+=$(MENUSELECT_DEPENDS_EXTENDED_ODBC_STORAGE)
|
|
|
|
endif
|
2006-07-12 22:10:59 +00:00
|
|
|
ifneq ($(findstring IMAP_STORAGE,$(MENUSELECT_OPTS_app_voicemail)),)
|
2006-07-07 02:20:04 +00:00
|
|
|
MENUSELECT_DEPENDS_app_voicemail+=$(MENUSELECT_DEPENDS_IMAP_STORAGE)
|
|
|
|
endif
|
2006-04-29 19:26:53 +00:00
|
|
|
|
2006-06-24 19:43:31 +00:00
|
|
|
all: _all
|
2006-06-24 08:45:49 +00:00
|
|
|
|
2006-07-06 21:04:28 +00:00
|
|
|
include $(ASTTOPDIR)/Makefile.moddir_rules
|
2006-02-01 18:39:41 +00:00
|
|
|
|
2005-05-08 17:01:42 +00:00
|
|
|
ifeq (SunOS,$(shell uname))
|
|
|
|
app_chanspy.so: app_chanspy.o
|
|
|
|
$(CC) $(SOLINK) -o $@ $< -lrt
|
|
|
|
endif
|