FreeCalypso > hg > gsm-codec-lib
annotate libtwamr/Makefile @ 414:028ed5114e52
libtwamr: implement run-time VAD selection scheme
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 07 May 2024 02:06:47 +0000 |
parents | c1bb166f768e |
children | 01c4becb9fda |
rev | line source |
---|---|
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
308
8dfb7cbe6b59
libtwamr: integrated up to bgnscd.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
255
diff
changeset
|
3 OBJS= a_refl.o agc.o autocorr.o az_lsp.o b_cn_cod.o basicop2.o bgnscd.o \ |
322
fc82b113977f
libtwamr: integrate c4_17pf.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
321
diff
changeset
|
4 bitno.o bits2prm.o c1035pf.o c2_11pf.o c2_9pf.o c3_14pf.o c4_17pf.o \ |
406
85e9768d497f
libtwamr: integrate cl_ltp.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
405
diff
changeset
|
5 c8_31pf.o c_g_aver.o calc_cor.o calc_en.o cbsearch.o cl_ltp.o \ |
85e9768d497f
libtwamr: integrate cl_ltp.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
405
diff
changeset
|
6 convolve.o cor_h.o d1035pf.o d2_11pf.o d2_9pf.o d3_14pf.o d4_17pf.o \ |
85e9768d497f
libtwamr: integrate cl_ltp.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
405
diff
changeset
|
7 d8_31pf.o d_gain_c.o d_gain_p.o d_plsf.o d_plsf_3.o d_plsf_5.o \ |
407
5a1d18542f8a
libtwamr: integrate dtx_dec.c and dtx_enc.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
406
diff
changeset
|
8 dec_gain.o dec_lag3.o dec_lag6.o dhf_check.o dhf_tables.o dtx_dec.o \ |
5a1d18542f8a
libtwamr: integrate dtx_dec.c and dtx_enc.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
406
diff
changeset
|
9 dtx_enc.o e_homing.o ec_gains.o enc_lag3.o enc_lag6.o ex_ctrl.o \ |
5a1d18542f8a
libtwamr: integrate dtx_dec.c and dtx_enc.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
406
diff
changeset
|
10 g_adapt.o g_code.o g_pitch.o gain_q.o gains_tab.o gc_pred.o gmed_n.o \ |
5a1d18542f8a
libtwamr: integrate dtx_dec.c and dtx_enc.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
406
diff
changeset
|
11 graytab.o hp_max.o int_lpc.o int_lsf.o inter_36.o inv_sqrt.o lag_wind.o\ |
411
bd5614fc780a
libtwamr: integrate VAD2 lflg_upd.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
410
diff
changeset
|
12 levinson.o lflg_upd.o log2.o lpc.o lsfwt.o lsp.o lsp_avg.o lsp_az.o \ |
bd5614fc780a
libtwamr: integrate VAD2 lflg_upd.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
410
diff
changeset
|
13 lsp_lsf.o lsp_tab.o mac_32.o oper_32b.o ph_disp.o pitch_fr.o post_pro.o\ |
bd5614fc780a
libtwamr: integrate VAD2 lflg_upd.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
410
diff
changeset
|
14 pow2.o pre_big.o pre_proc.o pred_lt.o preemph.o prm2bits.o prmno.o \ |
bd5614fc780a
libtwamr: integrate VAD2 lflg_upd.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
410
diff
changeset
|
15 pstfilt.o q_gain_c.o q_gain_p.o q_plsf.o q_plsf3_tab.o q_plsf5_tab.o \ |
bd5614fc780a
libtwamr: integrate VAD2 lflg_upd.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
410
diff
changeset
|
16 q_plsf_3.o q_plsf_5.o qgain475.o qgain795.o qua_gain.o qua_gain_tab.o \ |
412
810ac4b99025
libtwamr: integrate VAD2 r_fft.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
411
diff
changeset
|
17 r_fft.o reorder.o residu.o s10_8pf.o set_sign.o sid_sync.o spreproc.o \ |
411
bd5614fc780a
libtwamr: integrate VAD2 lflg_upd.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
410
diff
changeset
|
18 spstproc.o sqrt_l.o syn_filt.o tls_flags.o ton_stab.o vad1.o vad2.o \ |
414
028ed5114e52
libtwamr: implement run-time VAD selection scheme
Mychaela Falconia <falcon@freecalypso.org>
parents:
413
diff
changeset
|
19 vad_reset.o weight_a.o window.o |
413
c1bb166f768e
libtwamr/Makefile: depend on all currently existing headers
Mychaela Falconia <falcon@freecalypso.org>
parents:
412
diff
changeset
|
20 HDRS= a_refl.h agc.h autocorr.h az_lsp.h b_cn_cod.h basic_op.h bgnscd.h \ |
c1bb166f768e
libtwamr/Makefile: depend on all currently existing headers
Mychaela Falconia <falcon@freecalypso.org>
parents:
412
diff
changeset
|
21 bitno.h bits2prm.h c1035pf.h c2_11pf.h c2_9pf.h c3_14pf.h c4_17pf.h \ |
c1bb166f768e
libtwamr/Makefile: depend on all currently existing headers
Mychaela Falconia <falcon@freecalypso.org>
parents:
412
diff
changeset
|
22 c8_31pf.h c_g_aver.h calc_cor.h calc_en.h cbsearch.h cl_ltp.h cnst.h \ |
c1bb166f768e
libtwamr/Makefile: depend on all currently existing headers
Mychaela Falconia <falcon@freecalypso.org>
parents:
412
diff
changeset
|
23 cnst_vad.h convolve.h cor_h.h d1035pf.h d2_11pf.h d2_9pf.h d3_14pf.h \ |
c1bb166f768e
libtwamr/Makefile: depend on all currently existing headers
Mychaela Falconia <falcon@freecalypso.org>
parents:
412
diff
changeset
|
24 d4_17pf.h d8_31pf.h d_gain_c.h d_gain_p.h d_plsf.h dec_gain.h \ |
c1bb166f768e
libtwamr/Makefile: depend on all currently existing headers
Mychaela Falconia <falcon@freecalypso.org>
parents:
412
diff
changeset
|
25 dec_lag3.h dec_lag6.h dtx_common.h dtx_dec.h dtx_enc.h e_homing.h \ |
c1bb166f768e
libtwamr/Makefile: depend on all currently existing headers
Mychaela Falconia <falcon@freecalypso.org>
parents:
412
diff
changeset
|
26 ec_gains.h enc_lag3.h enc_lag6.h ex_ctrl.h g_adapt.h g_code.h g_pitch.h\ |
c1bb166f768e
libtwamr/Makefile: depend on all currently existing headers
Mychaela Falconia <falcon@freecalypso.org>
parents:
412
diff
changeset
|
27 gain_q.h gains_tab.h gc_pred.h gmed_n.h graytab.h hp_max.h int_defs.h \ |
c1bb166f768e
libtwamr/Makefile: depend on all currently existing headers
Mychaela Falconia <falcon@freecalypso.org>
parents:
412
diff
changeset
|
28 int_lpc.h int_lsf.h inter_36.h inv_sqrt.h lag_wind.h levinson.h log2.h \ |
c1bb166f768e
libtwamr/Makefile: depend on all currently existing headers
Mychaela Falconia <falcon@freecalypso.org>
parents:
412
diff
changeset
|
29 lpc.h lsfwt.h lsp.h lsp_avg.h lsp_az.h lsp_lsf.h lsp_tab.h mac_32.h \ |
c1bb166f768e
libtwamr/Makefile: depend on all currently existing headers
Mychaela Falconia <falcon@freecalypso.org>
parents:
412
diff
changeset
|
30 memops.h namespace.h no_count.h oper_32b.h ph_disp.h pitch_fr.h \ |
c1bb166f768e
libtwamr/Makefile: depend on all currently existing headers
Mychaela Falconia <falcon@freecalypso.org>
parents:
412
diff
changeset
|
31 post_pro.h pow2.h pre_big.h pre_proc.h pred_lt.h preemph.h prm2bits.h \ |
c1bb166f768e
libtwamr/Makefile: depend on all currently existing headers
Mychaela Falconia <falcon@freecalypso.org>
parents:
412
diff
changeset
|
32 pstfilt.h q_gain_c.h q_gain_p.h q_plsf.h q_plsf3_tab.h q_plsf5_tab.h \ |
c1bb166f768e
libtwamr/Makefile: depend on all currently existing headers
Mychaela Falconia <falcon@freecalypso.org>
parents:
412
diff
changeset
|
33 qgain475.h qgain795.h qua_gain.h qua_gain_tab.h reorder.h residu.h \ |
c1bb166f768e
libtwamr/Makefile: depend on all currently existing headers
Mychaela Falconia <falcon@freecalypso.org>
parents:
412
diff
changeset
|
34 s10_8pf.h set_sign.h sid_sync.h spreproc.h spstproc.h sqrt_l.h \ |
414
028ed5114e52
libtwamr: implement run-time VAD selection scheme
Mychaela Falconia <falcon@freecalypso.org>
parents:
413
diff
changeset
|
35 syn_filt.h ton_stab.h tw_amr.h typedef.h vad.h vad1.h vad2.h weight_a.h\ |
413
c1bb166f768e
libtwamr/Makefile: depend on all currently existing headers
Mychaela Falconia <falcon@freecalypso.org>
parents:
412
diff
changeset
|
36 window.h |
252
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
204
diff
changeset
|
37 LIB= libtwamr.a |
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 |
20
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
39 INSTALL_PREFIX= /usr/local |
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
40 |
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 all: ${LIB} |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 |
351
97c699f40ab3
libtwamr: generate namespace.h from namespace.list
Mychaela Falconia <falcon@freecalypso.org>
parents:
345
diff
changeset
|
43 namespace.h: namespace.awk namespace.list |
97c699f40ab3
libtwamr: generate namespace.h from namespace.list
Mychaela Falconia <falcon@freecalypso.org>
parents:
345
diff
changeset
|
44 awk -f namespace.awk namespace.list > $@ |
97c699f40ab3
libtwamr: generate namespace.h from namespace.list
Mychaela Falconia <falcon@freecalypso.org>
parents:
345
diff
changeset
|
45 |
40
0f1fe48bdb46
libgsmefr/Makefile: add header file dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents:
38
diff
changeset
|
46 ${OBJS}: ${HDRS} |
0f1fe48bdb46
libgsmefr/Makefile: add header file dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents:
38
diff
changeset
|
47 |
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 ${LIB}: ${OBJS} |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 ar rcu $@ ${OBJS} |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 ranlib $@ |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 |
310
8ad5d5adb848
libtwamr/Makefile: comment out install while it's in development
Mychaela Falconia <falcon@freecalypso.org>
parents:
308
diff
changeset
|
52 #install: |
8ad5d5adb848
libtwamr/Makefile: comment out install while it's in development
Mychaela Falconia <falcon@freecalypso.org>
parents:
308
diff
changeset
|
53 # mkdir -p ${INSTALL_PREFIX}/include |
8ad5d5adb848
libtwamr/Makefile: comment out install while it's in development
Mychaela Falconia <falcon@freecalypso.org>
parents:
308
diff
changeset
|
54 # install -c -m 444 tw_amr.h ${INSTALL_PREFIX}/include |
8ad5d5adb848
libtwamr/Makefile: comment out install while it's in development
Mychaela Falconia <falcon@freecalypso.org>
parents:
308
diff
changeset
|
55 # mkdir -p ${INSTALL_PREFIX}/lib |
8ad5d5adb848
libtwamr/Makefile: comment out install while it's in development
Mychaela Falconia <falcon@freecalypso.org>
parents:
308
diff
changeset
|
56 # install -c -m 444 ${LIB} ${INSTALL_PREFIX}/lib |
20
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
57 |
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 clean: |
351
97c699f40ab3
libtwamr: generate namespace.h from namespace.list
Mychaela Falconia <falcon@freecalypso.org>
parents:
345
diff
changeset
|
59 rm -f *.[oa] namespace.h errs |