summaryrefslogtreecommitdiff
path: root/gst-libs/ext/amrwb/Makefile.am
blob: 71a2468209334d0727c53dea24fdf7b92703039b (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
62
63
noinst_LTLIBRARIES = libamrwb.la 

nodist_libamrwb_la_SOURCES = 	\
	enc_acelp.c \
	enc_dtx.c \
	enc_gain.c \
	enc_if.c \
	enc_lpc.c \
	enc_main.c \
	enc_rom.c \
	enc_util.c \
	if_rom.c \
	dec_acelp.c \
	dec_dtx.c \
	dec_gain.c \
	dec_if.c \
	dec_lpc.c \
	dec_main.c \
	dec_rom.c \
	dec_util.c 

libamrwb_la_CFLAGS = -I./amrwb-code/c-code
libamrwb_la_LIBADD = $(GST_BASE_LIBS) $(AMRWB_LIBS) 
libamrwb_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)

nodist_noinst_HEADERS =	\
	dec_acelp.h \
	dec_dtx.h \
	dec_gain.h \
	dec.h \
	dec_if.h \
	dec_lpc.h \
	dec_main.h \
	dec_util.h \
	enc_acelp.h \
	enc_dtx.h \
	enc_gain.h \
	enc.h \
	enc_if.h \
	enc_lpc.h \
	enc_main.h \
	enc_util.h \
	if_rom.h \
	typedef.h

download:
	wget http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-600.zip

26204-600.zip:
	echo "Please download the 26204-600.zip file"
	echo "You can run make download to download it"
	exit 1

enc_acelp.c: 26204-600.zip
	unzip $^
	unzip 26204-600_ANSI-C_source_code.zip
	mv c-code/* .
	rm -rf c-code/ 26204-600_ANSI-C_source_code.zip makefile.gcc
	echo "" >> typedef.h # to remove compilation warning (no newline at end of file)

CLEANFILES = *.c *.h 26204-600.doc readme.txt

EXTRA_DIST = README