annotate pcsc/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 45ea06eaa9fd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f4479a0d4cea fc-pcsc-list ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
f4479a0d4cea fc-pcsc-list ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2 -I/usr/include/PCSC
3
45ea06eaa9fd fc-pcsc-backend main program put together
Mychaela Falconia <falcon@freecalypso.org>
parents: 1
diff changeset
3 PROGS= fc-pcsc-atr fc-pcsc-backend fc-pcsc-list
0
f4479a0d4cea fc-pcsc-list ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
f4479a0d4cea fc-pcsc-list ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 INSTALL_PREFIX= /opt/freecalypso
f4479a0d4cea fc-pcsc-list ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
f4479a0d4cea fc-pcsc-list ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 INSTBIN=${INSTALL_PREFIX}/bin
f4479a0d4cea fc-pcsc-list ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
1
f7a03e53bb2c fc-pcsc-atr ported over
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
9 ATR_OBJS= atrfunc.o atrmain.o connect.o context.o rdselect.o
3
45ea06eaa9fd fc-pcsc-backend main program put together
Mychaela Falconia <falcon@freecalypso.org>
parents: 1
diff changeset
10 MAIN_OBJS= atrfunc.o connect.o context.o main.o rdselect.o
0
f4479a0d4cea fc-pcsc-list ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 LIST_OBJS= context.o rdlist.o
f4479a0d4cea fc-pcsc-list ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
f4479a0d4cea fc-pcsc-list ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 all: ${PROGS}
f4479a0d4cea fc-pcsc-list ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
1
f7a03e53bb2c fc-pcsc-atr ported over
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
15 fc-pcsc-atr: ${ATR_OBJS}
f7a03e53bb2c fc-pcsc-atr ported over
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
16 ${CC} ${CFLAGS} -o $@ ${ATR_OBJS} -lpcsclite
f7a03e53bb2c fc-pcsc-atr ported over
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
17
3
45ea06eaa9fd fc-pcsc-backend main program put together
Mychaela Falconia <falcon@freecalypso.org>
parents: 1
diff changeset
18 fc-pcsc-backend: ${MAIN_OBJS}
45ea06eaa9fd fc-pcsc-backend main program put together
Mychaela Falconia <falcon@freecalypso.org>
parents: 1
diff changeset
19 ${CC} ${CFLAGS} -o $@ ${MAIN_OBJS} -lpcsclite
45ea06eaa9fd fc-pcsc-backend main program put together
Mychaela Falconia <falcon@freecalypso.org>
parents: 1
diff changeset
20
0
f4479a0d4cea fc-pcsc-list ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 fc-pcsc-list: ${LIST_OBJS}
f4479a0d4cea fc-pcsc-list ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 ${CC} ${CFLAGS} -o $@ ${LIST_OBJS} -lpcsclite
f4479a0d4cea fc-pcsc-list ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23
f4479a0d4cea fc-pcsc-list ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 install:
f4479a0d4cea fc-pcsc-list ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 mkdir -p ${INSTBIN}
f4479a0d4cea fc-pcsc-list ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 install -c ${PROGS} ${INSTBIN}
f4479a0d4cea fc-pcsc-list ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27
f4479a0d4cea fc-pcsc-list ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 clean:
f4479a0d4cea fc-pcsc-list ported over
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 rm -f ${PROGS} *.o