FreeCalypso > hg > fc-sim-tools
annotate pcsc/Makefile @ 93:6041c601304d
fcsim1-mkprov: revert OTA key addition
It appears that GrcardSIM2 cards (which is what we got for FCSIM1)
do not support OTA after all, contrary to what we were previously
led to believe by some tech support emails from Grcard - apparently
those support emails and OTA descriptions referred to some other
card model(s).
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 21 Apr 2021 05:38:39 +0000 |
parents | 45ea06eaa9fd |
children |
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 |