FreeCalypso > hg > gsm-codec-lib
annotate Makefile @ 456:4c458145e793
PACKAGING: new guidelines
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 10 May 2024 07:35:36 +0000 |
parents | 19f1aa01ea10 |
children | a53225b44ea5 |
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 |
9
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 clean: FRC |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 rm -f a.out core errs |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 FRC: |