FreeCalypso > hg > gsm-codec-lib
annotate libgsmefr/Makefile @ 41:37e39cad5838
libgsmefr/*.tab: import from ETSI code
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 24 Nov 2022 22:58:29 +0000 |
parents | 0f1fe48bdb46 |
children | b9ade9d64e0e |
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 |
38
38326102fc43
libgsmefr: beginning to integrate code from ETSI
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
3 OBJS= basicop2.o frame2params.o params2frame.o sid_class.o sid_insert.o \ |
38326102fc43
libgsmefr: beginning to integrate code from ETSI
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
4 tls_flags.o |
40
0f1fe48bdb46
libgsmefr/Makefile: add header file dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents:
38
diff
changeset
|
5 HDRS= basic_op.h cnst.h codec.h d_homing.h dtx.h e_homing.h gains_tb.h \ |
0f1fe48bdb46
libgsmefr/Makefile: add header file dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents:
38
diff
changeset
|
6 gsm_efr.h namespace.h no_count.h oper_32b.h sig_proc.h typedef.h vad.h |
31
19a90fa1f608
libgsmefr: implement SID classification
Mychaela Falconia <falcon@freecalypso.org>
parents:
22
diff
changeset
|
7 LIB= libgsmefr.a |
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
20
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
9 INSTALL_PREFIX= /usr/local |
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
10 |
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 all: ${LIB} |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
40
0f1fe48bdb46
libgsmefr/Makefile: add header file dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents:
38
diff
changeset
|
13 ${OBJS}: ${HDRS} |
0f1fe48bdb46
libgsmefr/Makefile: add header file dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents:
38
diff
changeset
|
14 |
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 ${LIB}: ${OBJS} |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 ar rcu $@ ${OBJS} |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 ranlib $@ |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 |
20
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
19 install: |
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
20 mkdir -p ${INSTALL_PREFIX}/include |
31
19a90fa1f608
libgsmefr: implement SID classification
Mychaela Falconia <falcon@freecalypso.org>
parents:
22
diff
changeset
|
21 install -c -m 444 gsm_efr.h ${INSTALL_PREFIX}/include |
20
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
22 mkdir -p ${INSTALL_PREFIX}/lib |
22
3db7af1249cb
libgsmfrp/Makefile: correct modes for library install
Mychaela Falconia <falcon@freecalypso.org>
parents:
20
diff
changeset
|
23 install -c -m 444 ${LIB} ${INSTALL_PREFIX}/lib |
20
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
24 |
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 clean: |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 rm -f *.[oa] errs |