FreeCalypso > hg > efr-experiments
annotate efr2/Makefile @ 8:8b17df8f6340 default tip
add README
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 17 Apr 2024 17:30:25 +0000 |
parents | 799b56cbccb6 |
children |
rev | line source |
---|---|
1
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 # |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 # makefile for GSM Enhanced Full Rate Speech Codec |
2
c511bfb36c2a
beginning of EFR2 decoder, using AMR version of AGC module
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
3 # EFR2 variant, with bits from AMR mixed in |
1
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 # |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 # For GCC compiler |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 CC = gcc |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 LFLAG = |
2
c511bfb36c2a
beginning of EFR2 decoder, using AMR version of AGC module
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
9 CFLAGS = -Wall -O4 -DWMOPS=0 -DEFR2_VARIANT -fno-builtin |
1
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 VPATH = ../src |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 # Objects |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 OBJ = coder.o cod_12k2.o az_lsp.o autocorr.o convolve.o c1035pf.o basicop2.o \ |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 pitch_ol.o pitch_f6.o enc_lag6.o g_pitch.o residu.o count.o weight_a.o \ |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 q_gains.o g_code.o pred_lt6.o copy.o levinson.o lag_wind.o prm2bits.o \ |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 syn_filt.o int_lpc.o q_plsf_5.o set_zero.o log2.o pow2.o oper_32b.o \ |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 lsp_lsf.o reorder.o lsp_az.o inv_sqrt.o inter_6.o pre_proc.o n_proc.o \ |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 vad.o dtx.o e_homing.o |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 DOBJ = decoder.o dec_12k2.o basicop2.o pstfilt2.o pred_lt6.o dec_lag6.o \ |
2
c511bfb36c2a
beginning of EFR2 decoder, using AMR version of AGC module
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
21 int_lpc.o count.o weight_a.o agc_amr.o set_zero.o preemph.o residu.o \ |
1
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 syn_filt.o copy.o bits2prm.o reorder.o lsp_az.o inv_sqrt.o d_plsf_5.o \ |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 d_gains.o d1035pf.o log2.o pow2.o oper_32b.o lsp_lsf.o n_proc.o dtx.o \ |
5
799b56cbccb6
EFR2 decoder: add post-processing step from AMR
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
24 d_homing.o post_pro.o |
1
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 # Implicit Rules |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 .c.o: |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 $(CC) $(CFLAGS) -c $< |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 |
2
c511bfb36c2a
beginning of EFR2 decoder, using AMR version of AGC module
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
30 all: coder decoder |
1
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 # Explicit Rules |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 coder: $(OBJ) |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 $(CC) $(LFLAG) -o coder $(CFLAGS) $(OBJ) |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 decoder: $(DOBJ) |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 $(CC) $(LFLAG) -o decoder $(CFLAGS) $(DOBJ) |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 # Individual File Dependencies |
2
c511bfb36c2a
beginning of EFR2 decoder, using AMR version of AGC module
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
39 agc_amr.o: typedef.h basic_op.h count.h sig_proc.h cnst.h |
1
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 autocorr.o: typedef.h basic_op.h oper_32b.h count.h cnst.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 az_lsp.o: typedef.h basic_op.h oper_32b.h count.h cnst.h grid.tab |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 basicop2.o: typedef.h basic_op.h count.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 bits2prm.o: typedef.h basic_op.h count.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 c1035pf.o: typedef.h basic_op.h sig_proc.h count.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 cod_12k2.o: typedef.h basic_op.h sig_proc.h count.h codec.h cnst.h \ |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 window2.tab vad.h dtx.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 coder.o: typedef.h basic_op.h sig_proc.h count.h codec.h cnst.h \ |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 n_stack.h e_homing.h dtx.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 convolve.o: typedef.h basic_op.h count.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 copy.o: typedef.h basic_op.h count.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 count.o: typedef.h count.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 d1035pf.o: typedef.h basic_op.h count.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 d_gains.o: typedef.h basic_op.h oper_32b.h count.h sig_proc.h gains_tb.h \ |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 cnst.h dtx.h |
5
799b56cbccb6
EFR2 decoder: add post-processing step from AMR
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
55 d_homing.o: typedef.h cnst.h dtx.h codec.h d_homing.h q_plsf_5.tab post_pro.h |
1
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 d_plsf_5.o: typedef.h basic_op.h count.h sig_proc.h q_plsf_5.tab cnst.h dtx.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 dec_12k2.o: typedef.h basic_op.h sig_proc.h count.h codec.h cnst.h dtx.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 dec_lag6.o: typedef.h basic_op.h count.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 decoder.o: typedef.h n_stack.h basic_op.h sig_proc.h count.h codec.h \ |
5
799b56cbccb6
EFR2 decoder: add post-processing step from AMR
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
60 cnst.h d_homing.h post_pro.h |
1
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 dtx.o: typedef.h basic_op.h cnst.h sig_proc.h count.h dtx.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 e_homing.o: typedef.h cnst.h vad.h dtx.h codec.h sig_proc.h e_homing.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 enc_lag6.o: typedef.h basic_op.h count.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 g_code.o: typedef.h basic_op.h count.h cnst.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 g_pitch.o: typedef.h basic_op.h oper_32b.h count.h sig_proc.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 int_lpc.o: typedef.h basic_op.h count.h sig_proc.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 inter_6.o: typedef.h basic_op.h count.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 inv_sqrt.o: typedef.h basic_op.h count.h inv_sqrt.tab |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 lag_wind.o: typedef.h basic_op.h oper_32b.h count.h lag_wind.tab |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 levinson.o: typedef.h basic_op.h oper_32b.h count.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 log2.o: typedef.h basic_op.h count.h log2.tab |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 lsp_az.o: typedef.h basic_op.h oper_32b.h count.h sig_proc.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 lsp_lsf.o: typedef.h basic_op.h count.h lsp_lsf.tab |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 n_proc.o: |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75 oper_32b.o: typedef.h basic_op.h oper_32b.h count.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 pitch_f6.o: typedef.h basic_op.h oper_32b.h count.h sig_proc.h codec.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 pitch_ol.o: typedef.h basic_op.h oper_32b.h count.h sig_proc.h |
5
799b56cbccb6
EFR2 decoder: add post-processing step from AMR
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
78 post_pro.o: typedef.h basic_op.h oper_32b.h count.h post_pro.h |
1
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
79 pow2.o: typedef.h basic_op.h count.h pow2.tab |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
80 pre_proc.o: typedef.h basic_op.h oper_32b.h count.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 pred_lt6.o: typedef.h basic_op.h count.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
82 preemph.o: typedef.h basic_op.h count.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
83 prm2bits.o: typedef.h basic_op.h count.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
84 pstfilt2.o: typedef.h basic_op.h sig_proc.h count.h codec.h cnst.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
85 q_gains.o: typedef.h basic_op.h oper_32b.h count.h sig_proc.h gains_tb.h \ |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
86 cnst.h dtx.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
87 q_plsf_5.o: typedef.h basic_op.h count.h sig_proc.h cnst.h dtx.h q_plsf_5.tab |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
88 reorder.o: typedef.h basic_op.h count.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
89 residu.o: typedef.h basic_op.h count.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
90 set_zero.o: typedef.h basic_op.h count.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
91 syn_filt.o: typedef.h basic_op.h count.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
92 vad.o: typedef.h cnst.h basic_op.h oper_32b.h count.h vad.h |
cd1a63963fa4
std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
93 weight_a.o: typedef.h basic_op.h count.h |
3
e22550b5a224
{efr2,std}/Makefile: add make clean
Mychaela Falconia <falcon@freecalypso.org>
parents:
2
diff
changeset
|
94 |
e22550b5a224
{efr2,std}/Makefile: add make clean
Mychaela Falconia <falcon@freecalypso.org>
parents:
2
diff
changeset
|
95 clean: |
e22550b5a224
{efr2,std}/Makefile: add make clean
Mychaela Falconia <falcon@freecalypso.org>
parents:
2
diff
changeset
|
96 rm -f *.o coder decoder ed_iface |