FreeCalypso > hg > freecalypso-tools
annotate rvinterf/etmsync/Makefile @ 323:886f65760d09
fc-tmsync: added pirelli-vbat-cal command to read Pirelli's ADC calibration
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 18 Dec 2017 21:00:46 +0000 |
parents | 0cb766828d7a |
children | 322e75a1c8b9 |
rev | line source |
---|---|
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 -I../include |
278
31d056f37647
fc-readcal written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
276
diff
changeset
|
3 PROGS= fc-dspapidump fc-fsio fc-memdump fc-readcal fc-tmsync |
49
642da3373772
rvinterf/*/Makefile: move to /opt/freecalypso
Mychaela Falconia <falcon@freecalypso.org>
parents:
27
diff
changeset
|
4 INSTBIN=/opt/freecalypso/bin |
642da3373772
rvinterf/*/Makefile: move to /opt/freecalypso
Mychaela Falconia <falcon@freecalypso.org>
parents:
27
diff
changeset
|
5 INSTHELP=/opt/freecalypso/helpfiles |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
286
88a4ebed160d
fc-tmsync converted to link with librftab
Mychaela Falconia <falcon@freecalypso.org>
parents:
278
diff
changeset
|
7 LIBRFTAB= ../../librftab/librftab.a |
88a4ebed160d
fc-tmsync converted to link with librftab
Mychaela Falconia <falcon@freecalypso.org>
parents:
278
diff
changeset
|
8 |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 DSPDUMP_OBJS= connect.o dspapidump.o interf.o launchrvif.o memops.o \ |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 simplemain.o |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
15
5cc0791a6eb6
Pirelli etmsync hacks absorbed into fc-fsio
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
12 FSIO_OBJS= cl_des.o connect.o dispatch.o fdcmd.o fileio.o fsbasics.o \ |
321
0cb766828d7a
fc-fsio: implemented write-battery-table and write-charging-config commands
Mychaela Falconia <falcon@freecalypso.org>
parents:
307
diff
changeset
|
13 fscmdtab.o fserr.o fsiomain.o fsmisc.o fsnew.o fspath.o \ |
0cb766828d7a
fc-fsio: implemented write-battery-table and write-charging-config commands
Mychaela Falconia <falcon@freecalypso.org>
parents:
307
diff
changeset
|
14 fsread.o fsupload.o fsuploadrf.o fswrite.o help.o hostmkdir.o \ |
0cb766828d7a
fc-fsio: implemented write-battery-table and write-charging-config commands
Mychaela Falconia <falcon@freecalypso.org>
parents:
307
diff
changeset
|
15 interf.o launchrvif.o memcmd.o memops.o pirimei.o \ |
0cb766828d7a
fc-fsio: implemented write-battery-table and write-charging-config commands
Mychaela Falconia <falcon@freecalypso.org>
parents:
307
diff
changeset
|
16 pirmagnetite.o rfcap.o stddirs.o symlink.o ${LIBRFTAB} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 |
153
9925fba699be
fc-olddump replaced with fc-memdump
Mychaela Falconia <falcon@freecalypso.org>
parents:
49
diff
changeset
|
18 MEMDUMP_OBJS= connect.o interf.o launchrvif.o memdump.o memops.o |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 |
278
31d056f37647
fc-readcal written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
276
diff
changeset
|
20 READCAL_OBJS= connect.o hostmkdir.o interf.o l1tmops.o launchrvif.o readcal.o |
31d056f37647
fc-readcal written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
276
diff
changeset
|
21 |
273
18a8fb3d845b
fc-tmsync: user command wrappers implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
270
diff
changeset
|
22 TMSYNC_OBJS= cl_des.o connect.o dispatch.o interf.o l1tmcmd.o l1tmops.o \ |
323
886f65760d09
fc-tmsync: added pirelli-vbat-cal command to read Pirelli's ADC calibration
Mychaela Falconia <falcon@freecalypso.org>
parents:
321
diff
changeset
|
23 launchrvif.o memcmd.o memops.o piradccal.o pirimei.o \ |
886f65760d09
fc-tmsync: added pirelli-vbat-cal command to read Pirelli's ADC calibration
Mychaela Falconia <falcon@freecalypso.org>
parents:
321
diff
changeset
|
24 tmscmdtab.o tmsmain.o ${LIBRFTAB} |
269
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
153
diff
changeset
|
25 |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 all: ${PROGS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 fc-dspapidump: ${DSPDUMP_OBJS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 ${CC} ${CFLAGS} -o $@ ${DSPDUMP_OBJS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 fc-fsio: ${FSIO_OBJS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 ${CC} ${CFLAGS} -o $@ ${FSIO_OBJS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 |
153
9925fba699be
fc-olddump replaced with fc-memdump
Mychaela Falconia <falcon@freecalypso.org>
parents:
49
diff
changeset
|
34 fc-memdump: ${MEMDUMP_OBJS} |
9925fba699be
fc-olddump replaced with fc-memdump
Mychaela Falconia <falcon@freecalypso.org>
parents:
49
diff
changeset
|
35 ${CC} ${CFLAGS} -o $@ ${MEMDUMP_OBJS} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 |
278
31d056f37647
fc-readcal written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
276
diff
changeset
|
37 fc-readcal: ${READCAL_OBJS} |
31d056f37647
fc-readcal written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
276
diff
changeset
|
38 ${CC} ${CFLAGS} -o $@ ${READCAL_OBJS} |
31d056f37647
fc-readcal written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
276
diff
changeset
|
39 |
269
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
153
diff
changeset
|
40 fc-tmsync: ${TMSYNC_OBJS} |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
153
diff
changeset
|
41 ${CC} ${CFLAGS} -o $@ ${TMSYNC_OBJS} |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
153
diff
changeset
|
42 |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 install: ${PROGS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 mkdir -p ${INSTBIN} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 install -c ${PROGS} ${INSTBIN} |
25
75cd626cf379
rvinterf/etmsync/Makefile: install fsio.help
Mychaela Falconia <falcon@freecalypso.org>
parents:
16
diff
changeset
|
46 mkdir -p ${INSTHELP} |
26
b301b75de0e0
install misc files into /usr/local/share/freecalypso as non-executable
Mychaela Falconia <falcon@freecalypso.org>
parents:
25
diff
changeset
|
47 install -c -m 644 fsio.help ${INSTHELP} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 clean: |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 rm -f *.o *.out *errs ${PROGS} |