FreeCalypso > hg > fc-pcsc-tools
annotate simtool/Makefile @ 138:58406ead2497
fc-uicc-tool: support output redirection for select commands
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 23 Feb 2021 02:34:46 +0000 |
parents | 277c66de296f |
children | 60411fd4b803 |
rev | line source |
---|---|
1
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 -I/usr/include/PCSC -I../libcommon |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 PROG= fc-simtool |
103
9b2cb2b9c910
fc-simtool fplmn-* commands implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
87
diff
changeset
|
4 OBJS= a38.o chv.o chvext.o curfile.o dispatch.o dumpdir.o fplmn.o grcard1.o \ |
124
d0d1c0b35831
fc-simtool: add low-level cur-ef-{inval,rehab} commands
Mychaela Falconia <falcon@freecalypso.org>
parents:
103
diff
changeset
|
5 grcard2.o hlread.o inval_rehab.o lndwrite.o main.o miscadm.o opldump.o \ |
d0d1c0b35831
fc-simtool: add low-level cur-ef-{inval,rehab} commands
Mychaela Falconia <falcon@freecalypso.org>
parents:
103
diff
changeset
|
6 pbcommon.o pbdump.o pberase.o pbrestore.o pbupd_imm.o pbupd_immhex.o \ |
d0d1c0b35831
fc-simtool: add low-level cur-ef-{inval,rehab} commands
Mychaela Falconia <falcon@freecalypso.org>
parents:
103
diff
changeset
|
7 plmnsel.o pnndump.o readcmd.o readops.o restorebin.o savebin.o script.o\ |
d0d1c0b35831
fc-simtool: add low-level cur-ef-{inval,rehab} commands
Mychaela Falconia <falcon@freecalypso.org>
parents:
103
diff
changeset
|
8 select.o smserase.o smsp_common.o smsp_dump.o smsp_erase.o \ |
137
277c66de296f
fc-simtool: added STK test commands
Mychaela Falconia <falcon@freecalypso.org>
parents:
124
diff
changeset
|
9 smsp_restore.o smsp_set.o sstlist.o stktest.o sysmo.o telsum.o \ |
277c66de296f
fc-simtool: added STK test commands
Mychaela Falconia <falcon@freecalypso.org>
parents:
124
diff
changeset
|
10 usersum.o writecmd.o writeops.o |
1
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 LIBS= ../libcommon/libcommon.a |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 INSTBIN=/opt/freecalypso/bin |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 all: ${PROG} |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 ${PROG}: ${OBJS} ${LIBS} |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} -lpcsclite |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 install: |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 mkdir -p ${INSTBIN} |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 install -c ${PROG} ${INSTBIN} |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 clean: |
2071b28cd0c7
simtool: first refactored version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 rm -f ${PROG} *.o |