annotate std/Makefile @ 5:799b56cbccb6

EFR2 decoder: add post-processing step from AMR
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 03 Apr 2024 06:09:10 +0000
parents e22550b5a224
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 # Version 5.1.0
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 # June 26, 1996
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
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 # For GCC compiler
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 CC = gcc
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 LFLAG =
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 CFLAGS = -Wall -O4 -DWMOPS=0 -fno-builtin
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 VPATH = ../src
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 # Objects
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 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
15 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
16 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
17 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
18 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
19 vad.o dtx.o e_homing.o
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 DOBJ = decoder.o dec_12k2.o basicop2.o pstfilt2.o pred_lt6.o dec_lag6.o \
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 int_lpc.o count.o weight_a.o agc.o set_zero.o preemph.o residu.o \
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 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
24 d_gains.o d1035pf.o log2.o pow2.o oper_32b.o lsp_lsf.o n_proc.o dtx.o \
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 d_homing.o
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 ED_IOBJ = ed_iface.o dtx.o count.o basicop2.o
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 # Implicit Rules
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 .c.o:
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 $(CC) $(CFLAGS) -c $<
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 all: coder decoder ed_iface
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 # Explicit Rules
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 coder: $(OBJ)
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 $(CC) $(LFLAG) -o coder $(CFLAGS) $(OBJ)
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 decoder: $(DOBJ)
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 $(CC) $(LFLAG) -o decoder $(CFLAGS) $(DOBJ)
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 ed_iface: $(ED_IOBJ)
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 $(CC) $(LFLAG) -o ed_iface $(CFLAGS) $(ED_IOBJ)
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 # Individual File Dependencies
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 agc.o: typedef.h basic_op.h count.h sig_proc.h cnst.h
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 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
46 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
47 basicop2.o: typedef.h basic_op.h count.h
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 bits2prm.o: typedef.h basic_op.h count.h
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 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
50 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
51 window2.tab vad.h dtx.h
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 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
53 n_stack.h e_homing.h dtx.h
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54 convolve.o: typedef.h basic_op.h count.h
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55 copy.o: typedef.h basic_op.h count.h
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56 count.o: typedef.h count.h
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
57 d1035pf.o: typedef.h basic_op.h count.h
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58 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
59 cnst.h dtx.h
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 d_homing.o: typedef.h cnst.h dtx.h codec.h d_homing.h q_plsf_5.tab
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61 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
62 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
63 dec_lag6.o: typedef.h basic_op.h count.h
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
64 decoder.o: typedef.h n_stack.h basic_op.h sig_proc.h count.h codec.h \
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
65 cnst.h d_homing.h
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66 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
67 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
68 ed_iface.o: typedef.h cnst.h dtx.h
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
69 enc_lag6.o: typedef.h basic_op.h count.h
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
70 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
71 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
72 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
73 inter_6.o: typedef.h basic_op.h count.h
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
74 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
75 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
76 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
77 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
78 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
79 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
80 n_proc.o:
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
81 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
82 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
83 pitch_ol.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
84 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
85 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
86 pred_lt6.o: typedef.h basic_op.h count.h
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
87 preemph.o: typedef.h basic_op.h count.h
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
88 prm2bits.o: typedef.h basic_op.h count.h
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
89 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
90 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
91 cnst.h dtx.h
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
92 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
93 reorder.o: typedef.h basic_op.h count.h
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
94 residu.o: typedef.h basic_op.h count.h
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
95 set_zero.o: typedef.h basic_op.h count.h
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
96 syn_filt.o: typedef.h basic_op.h count.h
cd1a63963fa4 std: build standard version here
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
97 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
98 weight_a.o: typedef.h basic_op.h count.h
3
e22550b5a224 {efr2,std}/Makefile: add make clean
Mychaela Falconia <falcon@freecalypso.org>
parents: 1
diff changeset
99
e22550b5a224 {efr2,std}/Makefile: add make clean
Mychaela Falconia <falcon@freecalypso.org>
parents: 1
diff changeset
100 clean:
e22550b5a224 {efr2,std}/Makefile: add make clean
Mychaela Falconia <falcon@freecalypso.org>
parents: 1
diff changeset
101 rm -f *.o coder decoder ed_iface