annotate rvinterf/Makefile @ 970:3efb8d20794e

CHANGES: document fcup-smsend[mult] -e addition
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 01 Sep 2023 18:45:22 +0000
parents 441004febe35
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
471
8f3fe2d1fda5 Makefile hierarchy: allow CC and CFLAGS to be overridden from the top
Mychaela Falconia <falcon@freecalypso.org>
parents: 419
diff changeset
1 CC= gcc
8f3fe2d1fda5 Makefile hierarchy: allow CC and CFLAGS to be overridden from the top
Mychaela Falconia <falcon@freecalypso.org>
parents: 419
diff changeset
2 CFLAGS= -O2
856
ab20ff8156ea rvinterf/Makefile: add l1filter
Mychaela Falconia <falcon@freecalypso.org>
parents: 479
diff changeset
3 PROGDIR=asyncshell ctracedec etmsync l1filter lowlevel rvtat tmsh
944
441004febe35 rvinterf/Makefile: libg23 is no more
Mychaela Falconia <falcon@freecalypso.org>
parents: 926
diff changeset
4 LIBDIR= libasync libinterf libprint
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 SUBDIR= ${PROGDIR} ${LIBDIR}
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: 471
diff changeset
7 INSTALL_PREFIX= /opt/freecalypso
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 471
diff changeset
8 INCLUDE_INSTALL_DIR= ${INSTALL_PREFIX}/include/rvinterf
221
a46a68500517 rvinterf/Makefile: install include files in /opt/freecalypso/include/rvinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
9
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 all: ${SUBDIR}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
944
441004febe35 rvinterf/Makefile: libg23 is no more
Mychaela Falconia <falcon@freecalypso.org>
parents: 926
diff changeset
12 asyncshell: libasync libinterf libprint
419
67d683a87b1d rvinterf client refactoring: libinterf created
Mychaela Falconia <falcon@freecalypso.org>
parents: 347
diff changeset
13 etmsync: libinterf
856
ab20ff8156ea rvinterf/Makefile: add l1filter
Mychaela Falconia <falcon@freecalypso.org>
parents: 479
diff changeset
14 l1filter: libinterf
944
441004febe35 rvinterf/Makefile: libg23 is no more
Mychaela Falconia <falcon@freecalypso.org>
parents: 926
diff changeset
15 lowlevel: libprint
419
67d683a87b1d rvinterf client refactoring: libinterf created
Mychaela Falconia <falcon@freecalypso.org>
parents: 347
diff changeset
16 rvtat: libinterf
926
6a0aa8d36d06 rvinterf backslash escape: introduce libprint
Mychaela Falconia <falcon@freecalypso.org>
parents: 856
diff changeset
17 tmsh: libasync libinterf libprint
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 ${SUBDIR}: FRC
479
f2a040324509 Makefile hierarchy: CFLAGS override-ability actually works now
Mychaela Falconia <falcon@freecalypso.org>
parents: 473
diff changeset
20 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}"
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 clean: FRC
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 rm -f a.out core errs
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 install: FRC
473
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 471
diff changeset
27 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 471
diff changeset
28 INSTALL_PREFIX=${INSTALL_PREFIX} install); done
221
a46a68500517 rvinterf/Makefile: install include files in /opt/freecalypso/include/rvinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
29 mkdir -p ${INCLUDE_INSTALL_DIR}
a46a68500517 rvinterf/Makefile: install include files in /opt/freecalypso/include/rvinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
30 install -c -m 644 include/* ${INCLUDE_INSTALL_DIR}
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 FRC: