FreeCalypso > hg > gsm-codec-lib
annotate libtwamr/Makefile @ 422:1ceda5586d01
implement twamr-tseq-enc test program
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 07 May 2024 06:27:20 +0000 |
parents | eced57698c03 |
children | 7bef001cd8b8 |
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 \ |
418
93d6c6960a46
libtwamr: integrate cod_amr.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
417
diff
changeset
|
5 c8_31pf.o c_g_aver.o calc_cor.o calc_en.o cbsearch.o cl_ltp.o cod_amr.o\ |
406
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 \ |
419
2a094af3d384
libtwamr: implement encoder top level
Mychaela Falconia <falcon@freecalypso.org>
parents:
418
diff
changeset
|
9 dtx_enc.o e_homing.o ec_gains.o enc_lag3.o enc_lag6.o enc_main.o \ |
2a094af3d384
libtwamr: implement encoder top level
Mychaela Falconia <falcon@freecalypso.org>
parents:
418
diff
changeset
|
10 ex_ctrl.o g_adapt.o g_code.o g_pitch.o gain_q.o gains_tab.o gc_pred.o \ |
2a094af3d384
libtwamr: implement encoder top level
Mychaela Falconia <falcon@freecalypso.org>
parents:
418
diff
changeset
|
11 gmed_n.o graytab.o hp_max.o int_lpc.o int_lsf.o inter_36.o inv_sqrt.o \ |
2a094af3d384
libtwamr: implement encoder top level
Mychaela Falconia <falcon@freecalypso.org>
parents:
418
diff
changeset
|
12 lag_wind.o levinson.o lflg_upd.o log2.o lpc.o lsfwt.o lsp.o lsp_avg.o \ |
2a094af3d384
libtwamr: implement encoder top level
Mychaela Falconia <falcon@freecalypso.org>
parents:
418
diff
changeset
|
13 lsp_az.o lsp_lsf.o lsp_tab.o mac_32.o ol_ltp.o oper_32b.o p_ol_wgh.o \ |
2a094af3d384
libtwamr: implement encoder top level
Mychaela Falconia <falcon@freecalypso.org>
parents:
418
diff
changeset
|
14 ph_disp.o pitch_fr.o pitch_ol.o post_pro.o pow2.o pre_big.o pre_proc.o \ |
2a094af3d384
libtwamr: implement encoder top level
Mychaela Falconia <falcon@freecalypso.org>
parents:
418
diff
changeset
|
15 pred_lt.o preemph.o prm2bits.o prmno.o pstfilt.o q_gain_c.o q_gain_p.o \ |
2a094af3d384
libtwamr: implement encoder top level
Mychaela Falconia <falcon@freecalypso.org>
parents:
418
diff
changeset
|
16 q_plsf.o q_plsf3_tab.o q_plsf5_tab.o q_plsf_3.o q_plsf_5.o qgain475.o \ |
2a094af3d384
libtwamr: implement encoder top level
Mychaela Falconia <falcon@freecalypso.org>
parents:
418
diff
changeset
|
17 qgain795.o qua_gain.o qua_gain_tab.o r_fft.o reorder.o residu.o \ |
2a094af3d384
libtwamr: implement encoder top level
Mychaela Falconia <falcon@freecalypso.org>
parents:
418
diff
changeset
|
18 s10_8pf.o set_sign.o sid_sync.o spreproc.o spstproc.o sqrt_l.o \ |
420
eced57698c03
libtwamr: implement test sequence output
Mychaela Falconia <falcon@freecalypso.org>
parents:
419
diff
changeset
|
19 syn_filt.o tls_flags.o ton_stab.o tseq_out.o vad1.o vad2.o vad_reset.o \ |
eced57698c03
libtwamr: implement test sequence output
Mychaela Falconia <falcon@freecalypso.org>
parents:
419
diff
changeset
|
20 weight_a.o window.o |
413
c1bb166f768e
libtwamr/Makefile: depend on all currently existing headers
Mychaela Falconia <falcon@freecalypso.org>
parents:
412
diff
changeset
|
21 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
|
22 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
|
23 c8_31pf.h c_g_aver.h calc_cor.h calc_en.h cbsearch.h cl_ltp.h cnst.h \ |
418
93d6c6960a46
libtwamr: integrate cod_amr.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
417
diff
changeset
|
24 cnst_vad.h cod_amr.h convolve.h cor_h.h d1035pf.h d2_11pf.h d2_9pf.h \ |
93d6c6960a46
libtwamr: integrate cod_amr.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
417
diff
changeset
|
25 d3_14pf.h d4_17pf.h d8_31pf.h d_gain_c.h d_gain_p.h d_plsf.h dec_gain.h\ |
413
c1bb166f768e
libtwamr/Makefile: depend on all currently existing headers
Mychaela Falconia <falcon@freecalypso.org>
parents:
412
diff
changeset
|
26 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
|
27 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
|
28 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
|
29 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
|
30 lpc.h lsfwt.h lsp.h lsp_avg.h lsp_az.h lsp_lsf.h lsp_tab.h mac_32.h \ |
417
f17e42c63058
libtwamr: integrate ol_ltp.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
416
diff
changeset
|
31 memops.h namespace.h no_count.h ol_ltp.h oper_32b.h p_ol_wgh.h \ |
f17e42c63058
libtwamr: integrate ol_ltp.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
416
diff
changeset
|
32 ph_disp.h pitch_fr.h pitch_ol.h post_pro.h pow2.h pre_big.h pre_proc.h \ |
f17e42c63058
libtwamr: integrate ol_ltp.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
416
diff
changeset
|
33 pred_lt.h preemph.h prm2bits.h pstfilt.h q_gain_c.h q_gain_p.h q_plsf.h\ |
416
48c7f8e8c9af
libtwamr: integrate p_ol_wgh.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
415
diff
changeset
|
34 q_plsf3_tab.h q_plsf5_tab.h qgain475.h qgain795.h qua_gain.h \ |
48c7f8e8c9af
libtwamr: integrate p_ol_wgh.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
415
diff
changeset
|
35 qua_gain_tab.h reorder.h residu.h s10_8pf.h set_sign.h sid_sync.h \ |
48c7f8e8c9af
libtwamr: integrate p_ol_wgh.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
415
diff
changeset
|
36 spreproc.h spstproc.h sqrt_l.h syn_filt.h ton_stab.h tw_amr.h typedef.h\ |
48c7f8e8c9af
libtwamr: integrate p_ol_wgh.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
415
diff
changeset
|
37 vad.h vad1.h vad2.h weight_a.h window.h |
252
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
204
diff
changeset
|
38 LIB= libtwamr.a |
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 |
20
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
40 INSTALL_PREFIX= /usr/local |
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
41 |
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 all: ${LIB} |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 |
351
97c699f40ab3
libtwamr: generate namespace.h from namespace.list
Mychaela Falconia <falcon@freecalypso.org>
parents:
345
diff
changeset
|
44 namespace.h: namespace.awk namespace.list |
97c699f40ab3
libtwamr: generate namespace.h from namespace.list
Mychaela Falconia <falcon@freecalypso.org>
parents:
345
diff
changeset
|
45 awk -f namespace.awk namespace.list > $@ |
97c699f40ab3
libtwamr: generate namespace.h from namespace.list
Mychaela Falconia <falcon@freecalypso.org>
parents:
345
diff
changeset
|
46 |
40
0f1fe48bdb46
libgsmefr/Makefile: add header file dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents:
38
diff
changeset
|
47 ${OBJS}: ${HDRS} |
0f1fe48bdb46
libgsmefr/Makefile: add header file dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents:
38
diff
changeset
|
48 |
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 ${LIB}: ${OBJS} |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 ar rcu $@ ${OBJS} |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 ranlib $@ |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 |
310
8ad5d5adb848
libtwamr/Makefile: comment out install while it's in development
Mychaela Falconia <falcon@freecalypso.org>
parents:
308
diff
changeset
|
53 #install: |
8ad5d5adb848
libtwamr/Makefile: comment out install while it's in development
Mychaela Falconia <falcon@freecalypso.org>
parents:
308
diff
changeset
|
54 # 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
|
55 # 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
|
56 # 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
|
57 # install -c -m 444 ${LIB} ${INSTALL_PREFIX}/lib |
20
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
58 |
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 clean: |
351
97c699f40ab3
libtwamr: generate namespace.h from namespace.list
Mychaela Falconia <falcon@freecalypso.org>
parents:
345
diff
changeset
|
60 rm -f *.[oa] namespace.h errs |