FreeCalypso > hg > freecalypso-tools
annotate rvinterf/tmsh/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 | 9706832b740b |
children |
rev | line source |
---|---|
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
470
1d5bd9a06781
rvinterf tree Makefiles: split CPPFLAGS from CFLAGS
Mychaela Falconia <falcon@freecalypso.org>
parents:
422
diff
changeset
|
2 CFLAGS= -O2 |
1d5bd9a06781
rvinterf tree Makefiles: split CPPFLAGS from CFLAGS
Mychaela Falconia <falcon@freecalypso.org>
parents:
422
diff
changeset
|
3 CPPFLAGS=-I../include |
67
ee04baba7b2b
rvinterf/tmsh/Makefile: simpler structure like that used for fc-shell
Mychaela Falconia <falcon@freecalypso.org>
parents:
66
diff
changeset
|
4 PROG= fc-tmsh |
817
9706832b740b
fc-tmsh: ETM_BSIM response handling implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
816
diff
changeset
|
5 OBJS= abb.o abbtm3.o audiocmd.o audioresp.o bsimcmd.o bsimresp.o etmbasic.o \ |
9706832b740b
fc-tmsh: ETM_BSIM response handling implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
816
diff
changeset
|
6 ffs2.o ffs2resp.o init.o l1cmd.o l1resp.o main.o misc.o omr.o omw.o \ |
9706832b740b
fc-tmsh: ETM_BSIM response handling implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
816
diff
changeset
|
7 oneshot.o pktsort.o rftablechk.o saverftab.o tmcore.o usercmd.o |
926
6a0aa8d36d06
rvinterf backslash escape: introduce libprint
Mychaela Falconia <falcon@freecalypso.org>
parents:
817
diff
changeset
|
8 LIBS= ../libasync/libasync.a ../libprint/libprint.a ../libinterf/libinterf.a \ |
422
c1aadfcd185f
rvinterf client refactoring: libasync clients converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
287
diff
changeset
|
9 ../../librftab/librftab.a |
473
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
470
diff
changeset
|
10 |
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
470
diff
changeset
|
11 INSTALL_PREFIX= /opt/freecalypso |
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
470
diff
changeset
|
12 |
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
470
diff
changeset
|
13 INSTBIN=${INSTALL_PREFIX}/bin |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 |
67
ee04baba7b2b
rvinterf/tmsh/Makefile: simpler structure like that used for fc-shell
Mychaela Falconia <falcon@freecalypso.org>
parents:
66
diff
changeset
|
15 all: ${PROG} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
67
ee04baba7b2b
rvinterf/tmsh/Makefile: simpler structure like that used for fc-shell
Mychaela Falconia <falcon@freecalypso.org>
parents:
66
diff
changeset
|
17 ${PROG}: ${OBJS} ${LIBS} |
ee04baba7b2b
rvinterf/tmsh/Makefile: simpler structure like that used for fc-shell
Mychaela Falconia <falcon@freecalypso.org>
parents:
66
diff
changeset
|
18 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 |
67
ee04baba7b2b
rvinterf/tmsh/Makefile: simpler structure like that used for fc-shell
Mychaela Falconia <falcon@freecalypso.org>
parents:
66
diff
changeset
|
20 install: ${PROG} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 mkdir -p ${INSTBIN} |
67
ee04baba7b2b
rvinterf/tmsh/Makefile: simpler structure like that used for fc-shell
Mychaela Falconia <falcon@freecalypso.org>
parents:
66
diff
changeset
|
22 install -c ${PROG} ${INSTBIN} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 clean: |
67
ee04baba7b2b
rvinterf/tmsh/Makefile: simpler structure like that used for fc-shell
Mychaela Falconia <falcon@freecalypso.org>
parents:
66
diff
changeset
|
25 rm -f *.o *.out *errs ${PROG} |