FreeCalypso > hg > gsm-codec-lib
annotate libgsmhr1/Makefile @ 552:6ab066180ec2
doc: new article FR1-Rx-DTX-detail
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 07 Oct 2024 00:25:50 +0000 |
parents | 67b13a6a63c9 |
children |
rev | line source |
---|---|
511
a5d61331b675
libgsmhr1: generate packed version of DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
510
diff
changeset
|
1 OBJS= dhf_packed.o dhf_params.o enc_out_order.o mathdp31.o mathhalf.o \ |
514
67b13a6a63c9
libgsmhr1: implement validation for *.dec frames
Mychaela Falconia <falcon@freecalypso.org>
parents:
513
diff
changeset
|
2 pack_frame.o paramval_cod.o paramval_common.o paramval_dec.o rtp_in.o \ |
67b13a6a63c9
libgsmhr1: implement validation for *.dec frames
Mychaela Falconia <falcon@freecalypso.org>
parents:
513
diff
changeset
|
3 rtp_in_direct.o sid_detect.o sid_reset.o sp_rom.o twts002_in.o \ |
67b13a6a63c9
libgsmhr1: implement validation for *.dec frames
Mychaela Falconia <falcon@freecalypso.org>
parents:
513
diff
changeset
|
4 twts002_out.o unpack_frame.o |
507
06578223a752
libgsmhr1: integrate sp_rom.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
505
diff
changeset
|
5 HDRS= enc_out_order.h mathdp31.h mathhalf.h namespace.h sp_rom.h tw_gsmhr.h \ |
06578223a752
libgsmhr1: integrate sp_rom.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
505
diff
changeset
|
6 typedefs.h |
490
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 LIB= libgsmhr1.a |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 include ../config.defs |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
511
a5d61331b675
libgsmhr1: generate packed version of DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
510
diff
changeset
|
11 DHF_PACK_OBJS= gen-dhf-pack.o dhf_params.o pack_frame.o |
a5d61331b675
libgsmhr1: generate packed version of DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
510
diff
changeset
|
12 |
490
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 all: ${LIB} |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 |
502
b0333fa167c3
libgsmhr1: compile mathhalf.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
496
diff
changeset
|
15 namespace.h: namespace.awk namespace.list |
b0333fa167c3
libgsmhr1: compile mathhalf.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
496
diff
changeset
|
16 awk -f namespace.awk namespace.list > $@ |
b0333fa167c3
libgsmhr1: compile mathhalf.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
496
diff
changeset
|
17 |
511
a5d61331b675
libgsmhr1: generate packed version of DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
510
diff
changeset
|
18 gen-dhf-pack: ${DHF_PACK_OBJS} |
a5d61331b675
libgsmhr1: generate packed version of DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
510
diff
changeset
|
19 ${CC} ${CFLAGS} -o $@ ${DHF_PACK_OBJS} |
a5d61331b675
libgsmhr1: generate packed version of DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
510
diff
changeset
|
20 |
a5d61331b675
libgsmhr1: generate packed version of DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
510
diff
changeset
|
21 dhf_packed.c: gen-dhf-pack |
a5d61331b675
libgsmhr1: generate packed version of DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
510
diff
changeset
|
22 ./gen-dhf-pack > $@ |
a5d61331b675
libgsmhr1: generate packed version of DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
510
diff
changeset
|
23 |
490
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 ${OBJS}: ${HDRS} |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 ${LIB}: ${OBJS} |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 ar rcu $@ ${OBJS} |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 ranlib $@ |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 install: |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 # mkdir -p ${DESTDIR}${includedir} |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 # install -c -m 444 tw_gsmhr.h ${DESTDIR}${includedir} |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 # mkdir -p ${DESTDIR}${libdir} |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 # install -c -m 444 ${LIB} ${DESTDIR}${libdir} |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 clean: |
511
a5d61331b675
libgsmhr1: generate packed version of DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
510
diff
changeset
|
37 rm -f *.[oa] namespace.h dhf_packed.c gen-dhf-pack errs |