annotate rvinterf/Makefile @ 809:c30c2f6a55c2

CHANGES: fc-host-tools-r15 released
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 27 Mar 2021 18:48:36 +0000
parents f2a040324509
children ab20ff8156ea
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
347
dd5bab5156bf rvinterf/Makefile: rvtat added
Mychaela Falconia <falcon@freecalypso.org>
parents: 221
diff changeset
3 PROGDIR=asyncshell ctracedec etmsync lowlevel rvtat tmsh
419
67d683a87b1d rvinterf client refactoring: libinterf created
Mychaela Falconia <falcon@freecalypso.org>
parents: 347
diff changeset
4 LIBDIR= libasync libg23 libinterf
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
419
67d683a87b1d rvinterf client refactoring: libinterf created
Mychaela Falconia <falcon@freecalypso.org>
parents: 347
diff changeset
12 asyncshell: libasync libg23 libinterf
67d683a87b1d rvinterf client refactoring: libinterf created
Mychaela Falconia <falcon@freecalypso.org>
parents: 347
diff changeset
13 etmsync: libinterf
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 lowlevel: libg23
419
67d683a87b1d rvinterf client refactoring: libinterf created
Mychaela Falconia <falcon@freecalypso.org>
parents: 347
diff changeset
15 rvtat: libinterf
67d683a87b1d rvinterf client refactoring: libinterf created
Mychaela Falconia <falcon@freecalypso.org>
parents: 347
diff changeset
16 tmsh: libasync libinterf
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 ${SUBDIR}: FRC
479
f2a040324509 Makefile hierarchy: CFLAGS override-ability actually works now
Mychaela Falconia <falcon@freecalypso.org>
parents: 473
diff changeset
19 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
20
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 clean: FRC
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 rm -f a.out core errs
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 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
24
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 install: FRC
473
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 471
diff changeset
26 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
27 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
28 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
29 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
30
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 FRC: