~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.0.1/third_party/build/speex/Makefile

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-01-28 18:23:36 UTC
  • mfrom: (1.1.11)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: package-import@ubuntu.com-20140128182336-3xenud1kbnwmf3mz
* New upstream release 
  - Fixes "New Upstream Release" (Closes: #735846)
  - Fixes "Ringtone does not stop" (Closes: #727164)
  - Fixes "[sflphone-kde] crash on startup" (Closes: #718178)
  - Fixes "sflphone GUI crashes when call is hung up" (Closes: #736583)
* Build-Depends: ensure GnuTLS 2.6
  - libucommon-dev (>= 6.0.7-1.1), libccrtp-dev (>= 2.0.6-3)
  - Fixes "FTBFS Build-Depends libgnutls{26,28}-dev" (Closes: #722040)
* Fix "boost 1.49 is going away" unversioned Build-Depends: (Closes: #736746)
* Add Build-Depends: libsndfile-dev, nepomuk-core-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
include ../../../build.mak
2
 
include ../../../build/common.mak
3
 
 
4
 
export LIBDIR := ../../lib
5
 
 
6
 
RULES_MAK := $(PJDIR)/build/rules.mak
7
 
 
8
 
export SPEEX_LIB := ../../lib/libspeex-$(TARGET_NAME)$(LIBEXT)
9
 
 
10
 
###############################################################################
11
 
# Gather all flags.
12
 
#
13
 
export _CFLAGS  := $(CC_CFLAGS) $(OS_CFLAGS) $(HOST_CFLAGS) $(M_CFLAGS) \
14
 
                   $(CFLAGS) $(CC_INC). $(CC_INC)../../speex/include \
15
 
                   $(CC_INC)../../speex/libspeex \
16
 
                   $(CC_INC)../../../pjlib/include
17
 
export _CXXFLAGS:= $(_CFLAGS) $(CC_CXXFLAGS) $(OS_CXXFLAGS) $(M_CXXFLAGS) \
18
 
                   $(HOST_CXXFLAGS) $(CXXFLAGS)
19
 
export _LDFLAGS := $(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \
20
 
                   $(LDFLAGS)
21
 
 
22
 
export SPEEX_SRCDIR = ../../speex/libspeex
23
 
export SPEEX_OBJS =     bits.o cb_search.o exc_10_16_table.o  \
24
 
                        exc_10_32_table.o exc_20_32_table.o \
25
 
                        exc_5_256_table.o exc_5_64_table.o \
26
 
                        exc_8_128_table.o fftwrap.o filterbank.o \
27
 
                        filters.o gain_table.o gain_table_lbr.o \
28
 
                        hexc_10_32_table.o hexc_table.o \
29
 
                        high_lsp_tables.o \
30
 
                        kiss_fft.o kiss_fftr.o lpc.o \
31
 
                        lsp.o lsp_tables_nb.o ltp.o \
32
 
                        mdf.o modes.o modes_wb.o \
33
 
                        nb_celp.o preprocess.o \
34
 
                        quant_lsp.o resample.o sb_celp.o smallft.o \
35
 
                        speex.o speex_callbacks.o speex_header.o \
36
 
                        stereo.o vbr.o vq.o window.o
37
 
 
38
 
export SPEEX_CFLAGS = -DHAVE_CONFIG_H $(_CFLAGS)
39
 
 
40
 
 
41
 
export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT
42
 
###############################################################################
43
 
# Main entry
44
 
#
45
 
# $(TARGET) is defined in os-$(OS_NAME).mak file in current directory.
46
 
#
47
 
TARGETS := libspeex
48
 
 
49
 
all: $(TARGETS)
50
 
 
51
 
doc:
52
 
        cd .. && doxygen docs/doxygen.cfg
53
 
 
54
 
dep: depend
55
 
distclean: realclean
56
 
 
57
 
.PHONY: dep depend libspeex clean realclean distclean
58
 
 
59
 
libspeex:
60
 
        $(MAKE) -f $(RULES_MAK) APP=SPEEX app=libspeex $(SPEEX_LIB)
61
 
 
62
 
clean print_lib:
63
 
        $(MAKE) -f $(RULES_MAK) APP=SPEEX app=libspeex $@
64
 
 
65
 
realclean:
66
 
        $(subst @@,$(subst /,$(HOST_PSEP),.ilbc-$(TARGET_NAME).depend),$(HOST_RMR))
67
 
 
68
 
        $(MAKE) -f $(RULES_MAK) APP=SPEEX app=libspeex $@
69
 
 
70
 
depend:
71
 
        $(MAKE) -f $(RULES_MAK) APP=SPEEX app=libspeex $@