comparison rvinterf/Makefile @ 926:6a0aa8d36d06

rvinterf backslash escape: introduce libprint The new helper function library named libprint is meant to replace the badly misnamed libg23, and will soon contain functions for printing all of the same kinds of GPF TST packets that are now handled in libg23. However, we are also moving safe_print_trace() from libasync to this new library, and changing it to emit our new backslash escape format.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 23 May 2023 03:47:46 +0000
parents ab20ff8156ea
children 441004febe35
comparison
equal deleted inserted replaced
925:85d144f9fe56 926:6a0aa8d36d06
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGDIR=asyncshell ctracedec etmsync l1filter lowlevel rvtat tmsh 3 PROGDIR=asyncshell ctracedec etmsync l1filter lowlevel rvtat tmsh
4 LIBDIR= libasync libg23 libinterf 4 LIBDIR= libasync libg23 libinterf libprint
5 SUBDIR= ${PROGDIR} ${LIBDIR} 5 SUBDIR= ${PROGDIR} ${LIBDIR}
6 6
7 INSTALL_PREFIX= /opt/freecalypso 7 INSTALL_PREFIX= /opt/freecalypso
8 INCLUDE_INSTALL_DIR= ${INSTALL_PREFIX}/include/rvinterf 8 INCLUDE_INSTALL_DIR= ${INSTALL_PREFIX}/include/rvinterf
9 9
10 all: ${SUBDIR} 10 all: ${SUBDIR}
11 11
12 asyncshell: libasync libg23 libinterf 12 asyncshell: libasync libg23 libinterf libprint
13 etmsync: libinterf 13 etmsync: libinterf
14 l1filter: libinterf 14 l1filter: libinterf
15 lowlevel: libg23 15 lowlevel: libg23 libprint
16 rvtat: libinterf 16 rvtat: libinterf
17 tmsh: libasync libinterf 17 tmsh: libasync libinterf libprint
18 18
19 ${SUBDIR}: FRC 19 ${SUBDIR}: FRC
20 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}" 20 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}"
21 21
22 clean: FRC 22 clean: FRC