FreeCalypso > hg > gsm-codec-lib
annotate libgsmefr/Makefile @ 53:49dd1ac8e75b
libgsmefr: import most *.c files from ETSI source
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 25 Nov 2022 16:18:21 +0000 |
parents | 722959d9410f |
children | 7b11cbe99a0e |
rev | line source |
---|---|
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
51
722959d9410f
libgsmefr: implement EFR_{en,de}coder_create() functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
48
diff
changeset
|
3 OBJS= basicop2.o dec_create.o enc_create.o frame2params.o params2frame.o \ |
722959d9410f
libgsmefr: implement EFR_{en,de}coder_create() functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
48
diff
changeset
|
4 sid_class.o sid_insert.o tls_flags.o |
48
af4b075d0313
libgsmefr: encoder state structure finished in first pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
5 HDRS= basic_op.h cnst.h codec.h d_homing.h dec_state.h dtx.h e_homing.h \ |
af4b075d0313
libgsmefr: encoder state structure finished in first pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
6 enc_state.h gains_tb.h gsm_efr.h namespace.h no_count.h oper_32b.h \ |
af4b075d0313
libgsmefr: encoder state structure finished in first pass
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
7 sig_proc.h typedef.h vad.h |
31
19a90fa1f608
libgsmefr: implement SID classification
Mychaela Falconia <falcon@freecalypso.org>
parents:
22
diff
changeset
|
8 LIB= libgsmefr.a |
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
20
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
10 INSTALL_PREFIX= /usr/local |
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
11 |
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 all: ${LIB} |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
40
0f1fe48bdb46
libgsmefr/Makefile: add header file dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents:
38
diff
changeset
|
14 ${OBJS}: ${HDRS} |
0f1fe48bdb46
libgsmefr/Makefile: add header file dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents:
38
diff
changeset
|
15 |
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 ${LIB}: ${OBJS} |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 ar rcu $@ ${OBJS} |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 ranlib $@ |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 |
20
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
20 install: |
43
b9ade9d64e0e
libgsmefr/Makefile: comment out install while in early development
Mychaela Falconia <falcon@freecalypso.org>
parents:
40
diff
changeset
|
21 # mkdir -p ${INSTALL_PREFIX}/include |
b9ade9d64e0e
libgsmefr/Makefile: comment out install while in early development
Mychaela Falconia <falcon@freecalypso.org>
parents:
40
diff
changeset
|
22 # install -c -m 444 gsm_efr.h ${INSTALL_PREFIX}/include |
b9ade9d64e0e
libgsmefr/Makefile: comment out install while in early development
Mychaela Falconia <falcon@freecalypso.org>
parents:
40
diff
changeset
|
23 # mkdir -p ${INSTALL_PREFIX}/lib |
b9ade9d64e0e
libgsmefr/Makefile: comment out install while in early development
Mychaela Falconia <falcon@freecalypso.org>
parents:
40
diff
changeset
|
24 # install -c -m 444 ${LIB} ${INSTALL_PREFIX}/lib |
20
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
25 |
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 clean: |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 rm -f *.[oa] errs |