annotate Makefile @ 461:a53225b44ea5

further refinement of build system: follow general free sw standards as much as possible
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 May 2024 07:09:59 +0000
parents 19f1aa01ea10
children a1599eaf51f9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
448
a2065e7d68bc top Makefile: move libtwamr to SUBDIR_LIBPROD
Mychaela Falconia <falcon@freecalypso.org>
parents: 443
diff changeset
1 SUBDIR_LIBPROD= libgsmefr libgsmfr2 libtwamr
434
ba5031723ab6 implement amrefr-tseq-enc test program
Mychaela Falconia <falcon@freecalypso.org>
parents: 422
diff changeset
2 SUBDIR_UTILS= amrconv amrefr amrtest efrtest frtest miscutil
448
a2065e7d68bc top Makefile: move libtwamr to SUBDIR_LIBPROD
Mychaela Falconia <falcon@freecalypso.org>
parents: 443
diff changeset
3 SUBDIR_INT= dev libtest
21
b82ac486c1d7 top Makefile: add install-lib and install-utils
Mychaela Falconia <falcon@freecalypso.org>
parents: 15
diff changeset
4
b82ac486c1d7 top Makefile: add install-lib and install-utils
Mychaela Falconia <falcon@freecalypso.org>
parents: 15
diff changeset
5 SUBDIR= ${SUBDIR_LIBPROD} ${SUBDIR_UTILS} ${SUBDIR_INT}
453
19f1aa01ea10 new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents: 448
diff changeset
6 SUBDIR_INST= ${SUBDIR_LIBPROD} ${SUBDIR_UTILS}
19f1aa01ea10 new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents: 448
diff changeset
7 DESTDIR=
9
4229247843c0 top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
4229247843c0 top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 all: ${SUBDIR}
4229247843c0 top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
184
b092a510141e tree reorg: move gsm-amr2efr & gsm-efr2amr to amrconv subdir
Mychaela Falconia <falcon@freecalypso.org>
parents: 47
diff changeset
11 amrconv: libtest
438
1bf1bbcef763 amrefr: implement amrefr-encode-r utility
Mychaela Falconia <falcon@freecalypso.org>
parents: 434
diff changeset
12 amrefr: libgsmefr libtest libtwamr
443
526a7f0e027d amrtest: implement twamr-encode
Mychaela Falconia <falcon@freecalypso.org>
parents: 438
diff changeset
13 amrtest: libtest libtwamr
47
89945a3b576e gsmefr-rec2etsi test program added
Mychaela Falconia <falcon@freecalypso.org>
parents: 46
diff changeset
14 efrtest: libgsmefr libtest
291
da533081fb95 top Makefile: no more libgsmfrp
Mychaela Falconia <falcon@freecalypso.org>
parents: 280
diff changeset
15 frtest: libgsmfr2 libtest
280
356d9675701d top Makefile: add libgsmfr2 dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents: 257
diff changeset
16 miscutil: libgsmefr libgsmfr2 libtest
12
f88817a233fb gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 9
diff changeset
17
453
19f1aa01ea10 new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents: 448
diff changeset
18 ${SUBDIR}: FRC config.defs
19f1aa01ea10 new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents: 448
diff changeset
19 cd $@; ${MAKE} ${MFLAGS}
9
4229247843c0 top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20
453
19f1aa01ea10 new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents: 448
diff changeset
21 config.defs:
19f1aa01ea10 new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents: 448
diff changeset
22 @echo 'You must run ./configure before make'
19f1aa01ea10 new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents: 448
diff changeset
23 @false
21
b82ac486c1d7 top Makefile: add install-lib and install-utils
Mychaela Falconia <falcon@freecalypso.org>
parents: 15
diff changeset
24
453
19f1aa01ea10 new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents: 448
diff changeset
25 install: FRC
19f1aa01ea10 new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents: 448
diff changeset
26 for i in ${SUBDIR_INST}; do (cd $$i; ${MAKE} ${MFLAGS} \
19f1aa01ea10 new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents: 448
diff changeset
27 DESTDIR=${DESTDIR} install); done
21
b82ac486c1d7 top Makefile: add install-lib and install-utils
Mychaela Falconia <falcon@freecalypso.org>
parents: 15
diff changeset
28
461
a53225b44ea5 further refinement of build system:
Mychaela Falconia <falcon@freecalypso.org>
parents: 453
diff changeset
29 # The following two subset install targets are only for experts;
a53225b44ea5 further refinement of build system:
Mychaela Falconia <falcon@freecalypso.org>
parents: 453
diff changeset
30 # if you are not sure why they are needed, you *don't* need them!
a53225b44ea5 further refinement of build system:
Mychaela Falconia <falcon@freecalypso.org>
parents: 453
diff changeset
31
a53225b44ea5 further refinement of build system:
Mychaela Falconia <falcon@freecalypso.org>
parents: 453
diff changeset
32 install-lib: FRC
a53225b44ea5 further refinement of build system:
Mychaela Falconia <falcon@freecalypso.org>
parents: 453
diff changeset
33 for i in ${SUBDIR_LIBPROD}; do (cd $$i; ${MAKE} ${MFLAGS} \
a53225b44ea5 further refinement of build system:
Mychaela Falconia <falcon@freecalypso.org>
parents: 453
diff changeset
34 DESTDIR=${DESTDIR} install); done
a53225b44ea5 further refinement of build system:
Mychaela Falconia <falcon@freecalypso.org>
parents: 453
diff changeset
35
a53225b44ea5 further refinement of build system:
Mychaela Falconia <falcon@freecalypso.org>
parents: 453
diff changeset
36 install-utils: FRC
a53225b44ea5 further refinement of build system:
Mychaela Falconia <falcon@freecalypso.org>
parents: 453
diff changeset
37 for i in ${SUBDIR_UTILS}; do (cd $$i; ${MAKE} ${MFLAGS} \
a53225b44ea5 further refinement of build system:
Mychaela Falconia <falcon@freecalypso.org>
parents: 453
diff changeset
38 DESTDIR=${DESTDIR} install); done
a53225b44ea5 further refinement of build system:
Mychaela Falconia <falcon@freecalypso.org>
parents: 453
diff changeset
39
9
4229247843c0 top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 clean: FRC
4229247843c0 top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 rm -f a.out core errs
4229247843c0 top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
4229247843c0 top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43
4229247843c0 top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 FRC: