blob: fe7adf0019a37671b3fdda396b94215d7c860fab (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
include(../compiler.pri)
!exists(../speex/COPYING) {
message("The speex/ directory was not found. You need to do one of the following:")
message("")
message("Option 1: Use Speex Git:")
message("git submodule init")
message("git submodule update")
message("")
message("Option 2: Use system speex (only if it's a bleeding edge version):")
message("qmake CONFIG+=no-bundled-speex -recursive")
message("")
error("Aborting configuration")
}
TEMPLATE = lib
CONFIG -= qt
CONFIG += debug_and_release
CONFIG -= warn_on
CONFIG += warn_off
VPATH = ../speex/libspeex
TARGET = speex
DEFINES += NDEBUG HAVE_CONFIG_H
INCLUDEPATH = ../speex/include ../speex/libspeex
win32 {
INCLUDEPATH += ../speexbuild/win32
DEFINES+=WIN32 _WINDOWS _USE_SSE _USE_MATH_DEFINES
SOURCES *= mumble_speex_init.c
!CONFIG(intelcpp) {
DEFINES+=USE_SMALLFT
} else {
TARGET = speex.sse2
LIBS *= -l"\Program Files (x86)\Intel/Compiler\11.0\075\cpp\ipp\ia32\lib\ippsemerged"
LIBS *= -l"\Program Files (x86)\Intel/Compiler\11.0\075\cpp\ipp\ia32\lib\ippsmerged"
LIBS *= -l"\Program Files (x86)\Intel/Compiler\11.0\075\cpp\ipp\ia32\lib\ippcorel"
}
} else {
CONFIG += staticlib
INCLUDEPATH += ../speexbuild
}
DIST = config.h speex.def speex/speex_config_types.h
DEF_FILE = speex.def
# libspeexdsp
SOURCES *= mdf.c resample.c preprocess.c jitter.c filterbank.c fftwrap.c smallft.c
# libspeex
SOURCES *= bits.c cb_search.c exc_10_16_table.c exc_10_32_table.c exc_20_32_table.c exc_5_256_table.c exc_5_64_table.c exc_8_128_table.c filters.c gain_table.c gain_table_lbr.c hexc_10_32_table.c hexc_table.c high_lsp_tables.c lpc.c lsp.c lsp_tables_nb.c ltp.c modes.c modes_wb.c nb_celp.c quant_lsp.c sb_celp.c scal.c speex.c speex_callbacks.c speex_header.c stereo.c vbr.c vq.c kiss_fft.c kiss_fftr.c vorbis_psy.c window.c
CONFIG(debug, debug|release) {
CONFIG += console
DESTDIR = ../debug
}
CONFIG(release, debug|release) {
DESTDIR = ../release
}
|