comparison ul-test/Makefile @ 37:f8a6ea314c5f

ul-test: generate TCH uplink bits
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 14 May 2024 04:39:30 +0000
parents c1aa6a4160f6
children e96e8d8973c0
comparison
equal deleted inserted replaced
36:e4c6fc4e30f4 37:f8a6ea314c5f
1 DMW_SRC=../dmw/dmw-alaw.robe 1 DMW_SRC=../dmw/dmw-alaw.robe
2 FR_OUT= fr-enc.gsm fr-decode.al fr-decode.ul 2 DHF1= ../dhf/fr1-dhf.gsm
3 EFR_OUT=efr-enc.gsmx efr-dec-classic.al efr-dec-classic.ul efr-dec-amrefr.al \ 3 DHFE= ../dhf/efr-dhf.gsmx
4 efr-dec-amrefr.ul 4 FR_OUT= fr-enc.gsm fr-uplink.tch fr-decode.al fr-decode.ul
5 EFR_OUT=efr-enc.gsmx efr-uplink.tch efr-dec-classic.al efr-dec-classic.ul \
6 efr-dec-amrefr.al efr-dec-amrefr.ul
5 ALL_OUT=${FR_OUT} ${EFR_OUT} 7 ALL_OUT=${FR_OUT} ${EFR_OUT}
6 8
7 all: ${ALL_OUT} 9 all: ${ALL_OUT}
8 10
9 fr-enc.gsm: ${DMW_SRC} 11 fr-enc.gsm: ${DMW_SRC}
10 gsmfr-encode-r $< $@ 12 gsmfr-encode-r $< $@
13
14 fr-uplink.gsm: fr-enc.gsm ${DHF1}
15 cat ${DHF1} ${DHF1} fr-enc.gsm > $@
16
17 fr-uplink.tch: fr-uplink.gsm
18 fc-fr2tch $< $@
11 19
12 fr-decode.robe: fr-enc.gsm 20 fr-decode.robe: fr-enc.gsm
13 gsmfr-decode-r $< $@ 21 gsmfr-decode-r $< $@
14 22
15 fr-decode.al: fr-decode.robe 23 fr-decode.al: fr-decode.robe
18 fr-decode.ul: fr-decode.robe 26 fr-decode.ul: fr-decode.robe
19 pcm16-to-ulaw $< $@ 27 pcm16-to-ulaw $< $@
20 28
21 efr-enc.gsmx: ${DMW_SRC} 29 efr-enc.gsmx: ${DMW_SRC}
22 gsmefr-encode-r $< $@ 30 gsmefr-encode-r $< $@
31
32 efr-uplink.gsmx: efr-enc.gsmx ${DHFE}
33 cat ${DHFE} ${DHFE} efr-enc.gsmx > $@
34
35 efr-uplink.tch: efr-uplink.gsmx
36 fc-efr2tch $< $@
23 37
24 efr-dec-classic.robe: efr-enc.gsmx 38 efr-dec-classic.robe: efr-enc.gsmx
25 gsmefr-decode-r $< $@ 39 gsmefr-decode-r $< $@
26 40
27 efr-dec-classic.al: efr-dec-classic.robe 41 efr-dec-classic.al: efr-dec-classic.robe
38 52
39 efr-dec-amrefr.ul: efr-dec-amrefr.robe 53 efr-dec-amrefr.ul: efr-dec-amrefr.robe
40 pcm16-to-ulaw $< $@ 54 pcm16-to-ulaw $< $@
41 55
42 clean: 56 clean:
43 rm -f *.gsm *.gsmx *.robe *.al *.ul 57 rm -f *.gsm *.gsmx *.robe *.al *.ul *.tch