Files
asterisk/apps/Makefile
T

39 lines
1.1 KiB
Makefile
Raw Normal View History

1999-11-13 17:59:36 +00:00
#
# Asterisk -- A telephony toolkit for Linux.
#
# Makefile for PBX applications
1999-11-13 17:59:36 +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
#
ifneq ($(wildcard ../menuselect.makeopts),)
include ../menuselect.makeopts
include ../menuselect.makedeps
endif
2006-07-15 19:59:35 +00:00
C_MODS:=$(filter-out $(MENUSELECT_APPS),$(patsubst %.c,%,$(wildcard app_*.c)))
CC_MODS:=$(filter-out $(MENUSELECT_APPS),$(patsubst %.cc,%,$(wildcard app_*.cc)))
SELECTED_MODS:=$(C_MODS) $(CC_MODS)
2006-07-12 22:10:59 +00:00
ifneq ($(findstring ODBC_STORAGE,$(MENUSELECT_OPTS_app_voicemail)),)
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)),)
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)),)
MENUSELECT_DEPENDS_app_voicemail+=$(MENUSELECT_DEPENDS_IMAP_STORAGE)
endif
all: _all
include $(ASTTOPDIR)/Makefile.moddir_rules
2005-05-08 17:01:42 +00:00
ifeq (SunOS,$(shell uname))
2006-07-15 19:59:35 +00:00
app_chanspy.so: LIBS+=-lrt
2005-05-08 17:01:42 +00:00
endif