annotate uicc/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 5560261fc516
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
b70d35f5476f fc-uicc-tool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
b70d35f5476f fc-uicc-tool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
b70d35f5476f fc-uicc-tool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 CPPFLAGS=-I../libcommon
b70d35f5476f fc-uicc-tool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 PROG= fc-uicc-tool
92
5560261fc516 fc-uicc-tool: erase-file ported over from fc-simtool
Mychaela Falconia <falcon@freecalypso.org>
parents: 91
diff changeset
5 OBJS= bfsearch.o cmdtab.o createfile.o dumpdir.o erasefile.o getresp.o \
5560261fc516 fc-uicc-tool: erase-file ported over from fc-simtool
Mychaela Falconia <falcon@freecalypso.org>
parents: 91
diff changeset
6 hlread.o main.o pins.o readcmd.o readef.o readops.o restorebin.o \
5560261fc516 fc-uicc-tool: erase-file ported over from fc-simtool
Mychaela Falconia <falcon@freecalypso.org>
parents: 91
diff changeset
7 savebin.o select.o sws.o writecmd.o writeops.o
15
b70d35f5476f fc-uicc-tool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 LIBS= ../libcommon/libcommon.a ../libutil/libutil.a
16
53f8a1146a56 {simtool,uicc}/Makefile: INSTALL_PREFIX= override support
Mychaela Falconia <falcon@freecalypso.org>
parents: 15
diff changeset
9
53f8a1146a56 {simtool,uicc}/Makefile: INSTALL_PREFIX= override support
Mychaela Falconia <falcon@freecalypso.org>
parents: 15
diff changeset
10 INSTALL_PREFIX= /opt/freecalypso
53f8a1146a56 {simtool,uicc}/Makefile: INSTALL_PREFIX= override support
Mychaela Falconia <falcon@freecalypso.org>
parents: 15
diff changeset
11
53f8a1146a56 {simtool,uicc}/Makefile: INSTALL_PREFIX= override support
Mychaela Falconia <falcon@freecalypso.org>
parents: 15
diff changeset
12 INSTBIN=${INSTALL_PREFIX}/bin
15
b70d35f5476f fc-uicc-tool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
b70d35f5476f fc-uicc-tool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 all: ${PROG}
b70d35f5476f fc-uicc-tool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15
b70d35f5476f fc-uicc-tool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 ${PROG}: ${OBJS} ${LIBS}
b70d35f5476f fc-uicc-tool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}
b70d35f5476f fc-uicc-tool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
b70d35f5476f fc-uicc-tool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 install:
b70d35f5476f fc-uicc-tool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 mkdir -p ${INSTBIN}
b70d35f5476f fc-uicc-tool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 install -c ${PROG} ${INSTBIN}
b70d35f5476f fc-uicc-tool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22
b70d35f5476f fc-uicc-tool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 clean:
b70d35f5476f fc-uicc-tool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 rm -f ${PROG} *.o