annotate ul-test/Makefile @ 42:982169986a14

efr-sid: starting with dtx01-frame71.cod as good SID
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 09 Jun 2024 05:28:22 +0000
parents e96e8d8973c0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
33
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 DMW_SRC=../dmw/dmw-alaw.robe
37
f8a6ea314c5f ul-test: generate TCH uplink bits
Mychaela Falconia <falcon@freecalypso.org>
parents: 33
diff changeset
2 DHF1= ../dhf/fr1-dhf.gsm
f8a6ea314c5f ul-test: generate TCH uplink bits
Mychaela Falconia <falcon@freecalypso.org>
parents: 33
diff changeset
3 DHFE= ../dhf/efr-dhf.gsmx
38
e96e8d8973c0 ul-test: generate hex include files for PCMU
Mychaela Falconia <falcon@freecalypso.org>
parents: 37
diff changeset
4 FR_OUT= fr-enc.gsm fr-uplink.tch fr-decode.al fr-decode.ul fr-decode-ul.inc
37
f8a6ea314c5f ul-test: generate TCH uplink bits
Mychaela Falconia <falcon@freecalypso.org>
parents: 33
diff changeset
5 EFR_OUT=efr-enc.gsmx efr-uplink.tch efr-dec-classic.al efr-dec-classic.ul \
38
e96e8d8973c0 ul-test: generate hex include files for PCMU
Mychaela Falconia <falcon@freecalypso.org>
parents: 37
diff changeset
6 efr-dec-classic-ul.inc efr-dec-amrefr.al efr-dec-amrefr.ul \
e96e8d8973c0 ul-test: generate hex include files for PCMU
Mychaela Falconia <falcon@freecalypso.org>
parents: 37
diff changeset
7 efr-dec-amrefr-ul.inc
33
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 ALL_OUT=${FR_OUT} ${EFR_OUT}
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 all: ${ALL_OUT}
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 fr-enc.gsm: ${DMW_SRC}
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 gsmfr-encode-r $< $@
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
37
f8a6ea314c5f ul-test: generate TCH uplink bits
Mychaela Falconia <falcon@freecalypso.org>
parents: 33
diff changeset
15 fr-uplink.gsm: fr-enc.gsm ${DHF1}
f8a6ea314c5f ul-test: generate TCH uplink bits
Mychaela Falconia <falcon@freecalypso.org>
parents: 33
diff changeset
16 cat ${DHF1} ${DHF1} fr-enc.gsm > $@
f8a6ea314c5f ul-test: generate TCH uplink bits
Mychaela Falconia <falcon@freecalypso.org>
parents: 33
diff changeset
17
f8a6ea314c5f ul-test: generate TCH uplink bits
Mychaela Falconia <falcon@freecalypso.org>
parents: 33
diff changeset
18 fr-uplink.tch: fr-uplink.gsm
f8a6ea314c5f ul-test: generate TCH uplink bits
Mychaela Falconia <falcon@freecalypso.org>
parents: 33
diff changeset
19 fc-fr2tch $< $@
f8a6ea314c5f ul-test: generate TCH uplink bits
Mychaela Falconia <falcon@freecalypso.org>
parents: 33
diff changeset
20
33
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 fr-decode.robe: fr-enc.gsm
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 gsmfr-decode-r $< $@
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 fr-decode.al: fr-decode.robe
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 pcm16-to-alaw $< $@
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 fr-decode.ul: fr-decode.robe
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 pcm16-to-ulaw $< $@
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29
38
e96e8d8973c0 ul-test: generate hex include files for PCMU
Mychaela Falconia <falcon@freecalypso.org>
parents: 37
diff changeset
30 fr-decode-ul.inc: fr-decode.ul
e96e8d8973c0 ul-test: generate hex include files for PCMU
Mychaela Falconia <falcon@freecalypso.org>
parents: 37
diff changeset
31 ../utils/gen-hex-c $< $@
e96e8d8973c0 ul-test: generate hex include files for PCMU
Mychaela Falconia <falcon@freecalypso.org>
parents: 37
diff changeset
32
33
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 efr-enc.gsmx: ${DMW_SRC}
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 gsmefr-encode-r $< $@
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35
37
f8a6ea314c5f ul-test: generate TCH uplink bits
Mychaela Falconia <falcon@freecalypso.org>
parents: 33
diff changeset
36 efr-uplink.gsmx: efr-enc.gsmx ${DHFE}
f8a6ea314c5f ul-test: generate TCH uplink bits
Mychaela Falconia <falcon@freecalypso.org>
parents: 33
diff changeset
37 cat ${DHFE} ${DHFE} efr-enc.gsmx > $@
f8a6ea314c5f ul-test: generate TCH uplink bits
Mychaela Falconia <falcon@freecalypso.org>
parents: 33
diff changeset
38
f8a6ea314c5f ul-test: generate TCH uplink bits
Mychaela Falconia <falcon@freecalypso.org>
parents: 33
diff changeset
39 efr-uplink.tch: efr-uplink.gsmx
f8a6ea314c5f ul-test: generate TCH uplink bits
Mychaela Falconia <falcon@freecalypso.org>
parents: 33
diff changeset
40 fc-efr2tch $< $@
f8a6ea314c5f ul-test: generate TCH uplink bits
Mychaela Falconia <falcon@freecalypso.org>
parents: 33
diff changeset
41
33
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 efr-dec-classic.robe: efr-enc.gsmx
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 gsmefr-decode-r $< $@
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 efr-dec-classic.al: efr-dec-classic.robe
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 pcm16-to-alaw $< $@
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 efr-dec-classic.ul: efr-dec-classic.robe
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 pcm16-to-ulaw $< $@
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50
38
e96e8d8973c0 ul-test: generate hex include files for PCMU
Mychaela Falconia <falcon@freecalypso.org>
parents: 37
diff changeset
51 efr-dec-classic-ul.inc: efr-dec-classic.ul
e96e8d8973c0 ul-test: generate hex include files for PCMU
Mychaela Falconia <falcon@freecalypso.org>
parents: 37
diff changeset
52 ../utils/gen-hex-c $< $@
e96e8d8973c0 ul-test: generate hex include files for PCMU
Mychaela Falconia <falcon@freecalypso.org>
parents: 37
diff changeset
53
33
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54 efr-dec-amrefr.robe: efr-enc.gsmx
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55 amrefr-decode-r $< $@
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
57 efr-dec-amrefr.al: efr-dec-amrefr.robe
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58 pcm16-to-alaw $< $@
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 efr-dec-amrefr.ul: efr-dec-amrefr.robe
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61 pcm16-to-ulaw $< $@
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
62
38
e96e8d8973c0 ul-test: generate hex include files for PCMU
Mychaela Falconia <falcon@freecalypso.org>
parents: 37
diff changeset
63 efr-dec-amrefr-ul.inc: efr-dec-amrefr.ul
e96e8d8973c0 ul-test: generate hex include files for PCMU
Mychaela Falconia <falcon@freecalypso.org>
parents: 37
diff changeset
64 ../utils/gen-hex-c $< $@
e96e8d8973c0 ul-test: generate hex include files for PCMU
Mychaela Falconia <falcon@freecalypso.org>
parents: 37
diff changeset
65
33
c1aa6a4160f6 ul-test: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66 clean:
38
e96e8d8973c0 ul-test: generate hex include files for PCMU
Mychaela Falconia <falcon@freecalypso.org>
parents: 37
diff changeset
67 rm -f *.gsm *.gsmx *.robe *.al *.ul *.tch *.inc