annotate uicc/Makefile @ 153:a63e4c64f1f0

fc-simtool: grcard1-set-ki command implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 07 Feb 2021 00:46:18 +0000
parents 43463dc91431
children a5e2b6e3bdf7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
130
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2 -I/usr/include/PCSC
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 PROG= fc-uicc-tool
136
a21d348e01db fc-uicc-tool: pb-dump command ported over
Mychaela Falconia <falcon@freecalypso.org>
parents: 135
diff changeset
4 OBJS= alpha_decode.o alpha_valid.o apdu.o atr.o cardconnect.o dispatch.o \
145
14dee03e9675 fc-uicc-tool: low-level write commands ported over
Mychaela Falconia <falcon@freecalypso.org>
parents: 142
diff changeset
5 dumpdir.o exit.o globals.o hexdump.o hexread.o hexstr.o hlread.o main.o\
147
43463dc91431 fc-uicc-tool: pb-erase commands ported over
Mychaela Falconia <falcon@freecalypso.org>
parents: 146
diff changeset
6 names.o pbcommon.o pbdump.o pberase.o pbupdate.o readcmd.o readops.o \
43463dc91431 fc-uicc-tool: pb-erase commands ported over
Mychaela Falconia <falcon@freecalypso.org>
parents: 146
diff changeset
7 script.o select.o telsum.o writecmd.o writeops.o
142
74c5dc7408e9 uicc/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 138
diff changeset
8 INSTBIN=/opt/freecalypso/bin
130
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 all: ${PROG}
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 ${PROG}: ${OBJS}
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 ${CC} ${CFLAGS} -o $@ ${OBJS} -lpcsclite
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
142
74c5dc7408e9 uicc/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 138
diff changeset
15 install:
74c5dc7408e9 uicc/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 138
diff changeset
16 mkdir -p ${INSTBIN}
74c5dc7408e9 uicc/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 138
diff changeset
17 install -c ${PROG} ${INSTBIN}
74c5dc7408e9 uicc/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 138
diff changeset
18
130
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 clean:
f691a19f191d fc-uicc-tool skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 rm -f ${PROG} *.o