annotate rvinterf/lowlevel/Makefile @ 933:bd6dd6120180

rvinterf: -v enables TM hex dump, -vv enables TCH hex dump
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 23 May 2023 06:24:37 +0000
parents 3d1abb9f05ef
children fab04df64690
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 PROGS= rvtdump rvinterf tfc139
927
4e243402f453 rvinterf/lowlevel: use libprint for backslash-escape output
Mychaela Falconia <falcon@freecalypso.org>
parents: 899
diff changeset
4 LIBS= ../../libserial/libserial.a ../libg23/libg23.a ../libprint/libprint.a
581
d43dc6dfb44c -P option added to rvinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 473
diff changeset
5 LIBPWON=../../libpwon/libpwon.a
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
473
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 253
diff changeset
7 INSTALL_PREFIX= /opt/freecalypso
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 253
diff changeset
8
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 253
diff changeset
9 INSTBIN=${INSTALL_PREFIX}/bin
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 253
diff changeset
10
253
6f078c4a5506 rvinterf and friends converted to use libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 49
diff changeset
11 RVTDUMP_OBJS= format.o format_fc.o output.o packetrx.o rvtdump.o
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 RVINTERF_OBJS= clientcmd.o format.o format_fc.o localsock.o logsent.o \
253
6f078c4a5506 rvinterf and friends converted to use libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 49
diff changeset
14 output.o packetrx.o packettx.o pktfwd.o rviflcd.o \
932
3d1abb9f05ef rvinterf proper: move TM logging to new module
Mychaela Falconia <falcon@freecalypso.org>
parents: 927
diff changeset
15 rvifmain.o rviftmode.o tchhide.o
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
253
6f078c4a5506 rvinterf and friends converted to use libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 49
diff changeset
17 TFC139_OBJS= format.o output.o packetrx.o packettx.o tfc139.o
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 all: ${PROGS}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20
253
6f078c4a5506 rvinterf and friends converted to use libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 49
diff changeset
21 rvtdump: ${RVTDUMP_OBJS} ${LIBS}
6f078c4a5506 rvinterf and friends converted to use libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 49
diff changeset
22 ${CC} ${CFLAGS} -o $@ ${RVTDUMP_OBJS} ${LIBS}
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23
581
d43dc6dfb44c -P option added to rvinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 473
diff changeset
24 rvinterf: ${RVINTERF_OBJS} ${LIBS} ${LIBPWON}
d43dc6dfb44c -P option added to rvinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 473
diff changeset
25 ${CC} ${CFLAGS} -o $@ ${RVINTERF_OBJS} ${LIBS} ${LIBPWON}
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26
253
6f078c4a5506 rvinterf and friends converted to use libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 49
diff changeset
27 tfc139: ${TFC139_OBJS} ${LIBS}
6f078c4a5506 rvinterf and friends converted to use libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 49
diff changeset
28 ${CC} ${CFLAGS} -o $@ ${TFC139_OBJS} ${LIBS}
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 install: ${PROGS}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 mkdir -p ${INSTBIN}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 install -c ${PROGS} ${INSTBIN}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 clean:
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 rm -f *.o *.out *errs ${PROGS}