FreeCalypso > hg > fc-sim-tools
annotate simtool/Makefile @ 103:3477438b5706 default tip
new fc-simtool command script: oper-sim-test
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 06 Aug 2022 16:34:43 +0000 |
parents | a5cfe5135701 |
children |
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 |