annotate simtool/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 a5cfe5135701
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
ddd767f6e15b fc-simtool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
ddd767f6e15b fc-simtool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
ddd767f6e15b fc-simtool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 CPPFLAGS=-I../libcommon
ddd767f6e15b fc-simtool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 PROG= fc-simtool
31
cca7d0528f89 fc-simtool sws-auth-adm1 implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 30
diff changeset
5 OBJS= a38.o bfsearch.o chv.o chvext.o chvfunc.o cmdtab.o curfile.o dumpdir.o \
96
a5cfe5135701 simtool: grcard2.c split into grcard2ki.c and grcard2pins.c
Mychaela Falconia <falcon@freecalypso.org>
parents: 31
diff changeset
6 erasefile.o fplmn.o getresp.o grcard1.o grcard2ki.o grcard2pins.o \
a5cfe5135701 simtool: grcard2.c split into grcard2ki.c and grcard2pins.c
Mychaela Falconia <falcon@freecalypso.org>
parents: 31
diff changeset
7 hlread.o inval_rehab.o lndwrite.o main.o miscadm.o opldump.o oplprog.o \
10
ddd767f6e15b fc-simtool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 pbcommon.o pbdump.o pberase.o pbrestore.o pbupd_imm.o pbupd_immhex.o \
ddd767f6e15b fc-simtool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 plmnsel.o pnndump.o pnnprog.o readcmd.o readef.o readops.o restorebin.o\
14
b7ee2e85686b command dispatch and scripting factored out into libcommon
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
10 savebin.o select.o sjs1_hacks.o smserase.o smsp_common.o smsp_dump.o \
b7ee2e85686b command dispatch and scripting factored out into libcommon
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
11 smsp_erase.o smsp_restore.o smsp_set.o sstlist.o sstprog.o stktest.o \
30
25530c262137 fc-simtool sws-lookup implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 16
diff changeset
12 sws.o telsum.o usersum.o writecmd.o writeops.o
10
ddd767f6e15b fc-simtool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 LIBS= ../libcommon/libcommon.a ../libutil/libutil.a
16
53f8a1146a56 {simtool,uicc}/Makefile: INSTALL_PREFIX= override support
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
14
53f8a1146a56 {simtool,uicc}/Makefile: INSTALL_PREFIX= override support
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
15 INSTALL_PREFIX= /opt/freecalypso
53f8a1146a56 {simtool,uicc}/Makefile: INSTALL_PREFIX= override support
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
16
53f8a1146a56 {simtool,uicc}/Makefile: INSTALL_PREFIX= override support
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
17 INSTBIN=${INSTALL_PREFIX}/bin
10
ddd767f6e15b fc-simtool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
ddd767f6e15b fc-simtool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 all: ${PROG}
ddd767f6e15b fc-simtool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20
ddd767f6e15b fc-simtool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 ${PROG}: ${OBJS} ${LIBS}
ddd767f6e15b fc-simtool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}
ddd767f6e15b fc-simtool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23
ddd767f6e15b fc-simtool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 install:
ddd767f6e15b fc-simtool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 mkdir -p ${INSTBIN}
ddd767f6e15b fc-simtool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 install -c ${PROG} ${INSTBIN}
ddd767f6e15b fc-simtool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27
ddd767f6e15b fc-simtool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 clean:
ddd767f6e15b fc-simtool ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 rm -f ${PROG} *.o