summaryrefslogtreecommitdiff
path: root/bridges/Makefile
blob: 529994a647ee44a4e684b1f873f8340302dfbe0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#
# Asterisk -- An open source telephony toolkit.
#
# Makefile for bridging modules
#
# Copyright (C) 2005-2007, Digium, Inc.
#
# This program is free software, distributed under the terms of
# the GNU General Public License
#

-include $(ASTTOPDIR)/menuselect.makeopts $(ASTTOPDIR)/menuselect.makedeps

MODULE_PREFIX=bridge
MENUSELECT_CATEGORY=BRIDGES
MENUSELECT_DESCRIPTION=Bridging Modules
MODULE_EXCLUDE=binaural_rendering_in_bridge_softmix

all: _all

ifeq ($(findstring binaural_rendering_in_bridge_softmix,$(MENUSELECT_BRIDGES)),)
bridge_softmix.o bridge_softmix/bridge_softmix_binaural.o: _ASTCFLAGS+=-DBINAURAL_RENDERING
bridge_softmix.so: LIBS+=$(FFTW3_LIB)
endif

include $(ASTTOPDIR)/Makefile.moddir_rules

$(call MOD_ADD_C,bridge_softmix,$(wildcard bridge_softmix/*.c))