annotate Makefile @ 340:88fb194b4b61

top Makefile: uptools subdirectory added
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 04 Feb 2018 06:20:55 +0000
parents 556bb8c860fa
children 940ab98efefd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
340
88fb194b4b61 top Makefile: uptools subdirectory added
Mychaela Falconia <falcon@freecalypso.org>
parents: 284
diff changeset
1 PROGDIR=ffstools loadtools miscutil ringtools rvinterf uptools
284
556bb8c860fa librftab added to top Makefile as dependency for ffstools and rvinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 249
diff changeset
2 LIBDIR= librftab libserial
249
d0a4c05d98dc libserial hooked into the top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents: 219
diff changeset
3 SUBDIR= ${PROGDIR} ${LIBDIR}
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 all: ${SUBDIR}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
284
556bb8c860fa librftab added to top Makefile as dependency for ffstools and rvinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 249
diff changeset
7 ffstools: librftab
249
d0a4c05d98dc libserial hooked into the top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents: 219
diff changeset
8 loadtools: libserial
d0a4c05d98dc libserial hooked into the top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents: 219
diff changeset
9 miscutil: libserial
284
556bb8c860fa librftab added to top Makefile as dependency for ffstools and rvinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 249
diff changeset
10 rvinterf: librftab libserial
249
d0a4c05d98dc libserial hooked into the top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents: 219
diff changeset
11
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 ${SUBDIR}: FRC
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 cd $@; ${MAKE} ${MFLAGS}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 clean: FRC
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 rm -f a.out core errs
284
556bb8c860fa librftab added to top Makefile as dependency for ffstools and rvinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 249
diff changeset
17 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
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 install: FRC
57
7cc2f2360922 top Makefile install rule: new packaging approach
Mychaela Falconia <falcon@freecalypso.org>
parents: 20
diff changeset
20 mkdir -p /opt/freecalypso
249
d0a4c05d98dc libserial hooked into the top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents: 219
diff changeset
21 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
57
7cc2f2360922 top Makefile install rule: new packaging approach
Mychaela Falconia <falcon@freecalypso.org>
parents: 20
diff changeset
22 if [ -d target-bin ]; then \
7cc2f2360922 top Makefile install rule: new packaging approach
Mychaela Falconia <falcon@freecalypso.org>
parents: 20
diff changeset
23 mkdir -p /opt/freecalypso/target-bin; \
7cc2f2360922 top Makefile install rule: new packaging approach
Mychaela Falconia <falcon@freecalypso.org>
parents: 20
diff changeset
24 install -c -m 644 target-bin/* /opt/freecalypso/target-bin; \
7cc2f2360922 top Makefile install rule: new packaging approach
Mychaela Falconia <falcon@freecalypso.org>
parents: 20
diff changeset
25 fi
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 FRC: