annotate trau-files/Makefile @ 11:cdfeb81350f5

trau-files: generate gsmx extracts
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 24 May 2024 20:01:54 +0000
parents 0cb57782715e
children 154586f0f423
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
0cb57782715e trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 EFR_BIN= e1_ts2_efr.bin
0cb57782715e trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 FR1_BIN= e1_ts2_fr.bin
0cb57782715e trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 PARSE_TOOL= ../trau-decode/trau-parse
11
cdfeb81350f5 trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
4 EXTR_TOOL= ../trau-decode/trau-extr
7
0cb57782715e trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
0cb57782715e trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 DUMPS= fr-leg1.dump fr-leg2.dump efr-leg1.dump efr-leg2.dump
11
cdfeb81350f5 trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
7 GSMX= fr-leg1.gsmx fr-leg2.gsmx efr-leg1.gsmx efr-leg2.gsmx
7
0cb57782715e trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
11
cdfeb81350f5 trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
9 all: ${DUMPS} ${GSMX}
7
0cb57782715e trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
0cb57782715e trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 fr-leg1.dump: ${FR1_BIN} ${PARSE_TOOL}
0cb57782715e trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 ${PARSE_TOOL} ${FR1_BIN} 1 > $@
0cb57782715e trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
0cb57782715e trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 fr-leg2.dump: ${FR1_BIN} ${PARSE_TOOL}
0cb57782715e trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 ${PARSE_TOOL} ${FR1_BIN} 2 > $@
0cb57782715e trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
0cb57782715e trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 efr-leg1.dump: ${EFR_BIN} ${PARSE_TOOL}
0cb57782715e trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 ${PARSE_TOOL} ${EFR_BIN} 1 > $@
0cb57782715e trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19
0cb57782715e trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 efr-leg2.dump: ${EFR_BIN} ${PARSE_TOOL}
0cb57782715e trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 ${PARSE_TOOL} ${EFR_BIN} 2 > $@
0cb57782715e trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22
11
cdfeb81350f5 trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
23 fr-leg1.gsmx: ${FR1_BIN} ${EXTR_TOOL}
cdfeb81350f5 trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
24 ${EXTR_TOOL} ${FR1_BIN} 1 0x573 0x287f3 $@
cdfeb81350f5 trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
25
cdfeb81350f5 trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
26 fr-leg2.gsmx: ${FR1_BIN} ${EXTR_TOOL}
cdfeb81350f5 trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
27 ${EXTR_TOOL} ${FR1_BIN} 2 0x5438 0x27f38 $@
cdfeb81350f5 trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
28
cdfeb81350f5 trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
29 efr-leg1.gsmx: ${EFR_BIN} ${EXTR_TOOL}
cdfeb81350f5 trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
30 ${EXTR_TOOL} ${EFR_BIN} 1 0x9ad3 0x30453 $@
cdfeb81350f5 trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
31
cdfeb81350f5 trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
32 efr-leg2.gsmx: ${EFR_BIN} ${EXTR_TOOL}
cdfeb81350f5 trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
33 ${EXTR_TOOL} ${EFR_BIN} 2 0xc738 0x2faf8 $@
cdfeb81350f5 trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
34
7
0cb57782715e trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 clean:
11
cdfeb81350f5 trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
36 rm -f *.dump *.gsmx