FreeCalypso > hg > fc-sim-tools
annotate utils/Makefile @ 99:97ba63d9361a
scripts/fcsim1-sst: turn off STK & OTA services
In the initial unprogrammed state of the cards from Grcard, SST has
services 25 through 29 set to allocated and activated. However,
these cards appear to not actually support OTA, ENVELOPE commands
do nothing (just return SW 9000), and they were never observed
issuing any proactive SIM commands, even after a feature-generous
TERMINAL PROFILE. Therefore, let's list these STK & OTA services
as allocated, but not activated in our FCSIM1 SST.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 05 May 2021 04:26:07 +0000 |
parents | 2a24e94400e8 |
children |
rev | line source |
---|---|
17
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
79
2a24e94400e8
fcsim1-program utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
3 PROGS= fcsim1-mkprov fcsim1-program sim-iccid-mkfull sim-iccid-mkrange \ |
2a24e94400e8
fcsim1-program utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
4 sws-card-lookup sws-email2db |
24
47a491a16de3
utils/Makefile: use ${LIBUTIL} instead of ${LIBS}
Mychaela Falconia <falcon@freecalypso.org>
parents:
17
diff
changeset
|
5 LIBUTIL=../libutil/libutil.a |
17
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 INSTALL_PREFIX= /opt/freecalypso |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 INSTBIN=${INSTALL_PREFIX}/bin |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 all: ${PROGS} |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
35
26d2ef843a99
fcsim1-mkprov utility implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
27
diff
changeset
|
13 fcsim1-mkprov: fcsim1-mkprov.o ${LIBUTIL} |
26d2ef843a99
fcsim1-mkprov utility implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
27
diff
changeset
|
14 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL} |
26d2ef843a99
fcsim1-mkprov utility implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
27
diff
changeset
|
15 |
79
2a24e94400e8
fcsim1-program utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
16 fcsim1-program: fcsim1-program.o ${LIBUTIL} |
2a24e94400e8
fcsim1-program utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
17 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL} |
2a24e94400e8
fcsim1-program utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
18 |
24
47a491a16de3
utils/Makefile: use ${LIBUTIL} instead of ${LIBS}
Mychaela Falconia <falcon@freecalypso.org>
parents:
17
diff
changeset
|
19 sim-iccid-mkfull: sim-iccid-mkfull.o ${LIBUTIL} |
47a491a16de3
utils/Makefile: use ${LIBUTIL} instead of ${LIBS}
Mychaela Falconia <falcon@freecalypso.org>
parents:
17
diff
changeset
|
20 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL} |
17
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 |
25
9c9f6adbaedb
sim-iccid-mkrange utility added
Mychaela Falconia <falcon@freecalypso.org>
parents:
24
diff
changeset
|
22 sim-iccid-mkrange: sim-iccid-mkrange.o ${LIBUTIL} |
9c9f6adbaedb
sim-iccid-mkrange utility added
Mychaela Falconia <falcon@freecalypso.org>
parents:
24
diff
changeset
|
23 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL} |
9c9f6adbaedb
sim-iccid-mkrange utility added
Mychaela Falconia <falcon@freecalypso.org>
parents:
24
diff
changeset
|
24 |
27
ca8a6f95826a
implemented sws-card-lookup and underlying libutil functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
25
diff
changeset
|
25 sws-card-lookup: sws-card-lookup.o ${LIBUTIL} |
ca8a6f95826a
implemented sws-card-lookup and underlying libutil functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
25
diff
changeset
|
26 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL} |
ca8a6f95826a
implemented sws-card-lookup and underlying libutil functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
25
diff
changeset
|
27 |
17
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 sws-email2db: sws-email2db.c |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 ${CC} ${CFLAGS} -o $@ $@.c |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 install: |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 mkdir -p ${INSTBIN} |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 install -c ${PROGS} ${INSTBIN} |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 clean: |
372ecc4aa2c4
off-line utils ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 rm -f ${PROGS} *.o |