annotate libgsmhr1/Makefile @ 511:a5d61331b675

libgsmhr1: generate packed version of DHF
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 25 Aug 2024 02:50:43 +0000
parents 5bf71b091323
children 4f0ab833bec0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 \
a5d61331b675 libgsmhr1: generate packed version of DHF
Mychaela Falconia <falcon@freecalypso.org>
parents: 510
diff changeset
2 pack_frame.o rtp_in.o rtp_in_direct.o sid_detect.o sid_reset.o sp_rom.o\
a5d61331b675 libgsmhr1: generate packed version of DHF
Mychaela Falconia <falcon@freecalypso.org>
parents: 510
diff changeset
3 twts002_in.o twts002_out.o unpack_frame.o
507
06578223a752 libgsmhr1: integrate sp_rom.c
Mychaela Falconia <falcon@freecalypso.org>
parents: 505
diff changeset
4 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
5 typedefs.h
490
4d80730683d4 libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 LIB= libgsmhr1.a
4d80730683d4 libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
4d80730683d4 libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 include ../config.defs
4d80730683d4 libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
511
a5d61331b675 libgsmhr1: generate packed version of DHF
Mychaela Falconia <falcon@freecalypso.org>
parents: 510
diff changeset
10 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
11
490
4d80730683d4 libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 all: ${LIB}
4d80730683d4 libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
502
b0333fa167c3 libgsmhr1: compile mathhalf.c
Mychaela Falconia <falcon@freecalypso.org>
parents: 496
diff changeset
14 namespace.h: namespace.awk namespace.list
b0333fa167c3 libgsmhr1: compile mathhalf.c
Mychaela Falconia <falcon@freecalypso.org>
parents: 496
diff changeset
15 awk -f namespace.awk namespace.list > $@
b0333fa167c3 libgsmhr1: compile mathhalf.c
Mychaela Falconia <falcon@freecalypso.org>
parents: 496
diff changeset
16
511
a5d61331b675 libgsmhr1: generate packed version of DHF
Mychaela Falconia <falcon@freecalypso.org>
parents: 510
diff changeset
17 gen-dhf-pack: ${DHF_PACK_OBJS}
a5d61331b675 libgsmhr1: generate packed version of DHF
Mychaela Falconia <falcon@freecalypso.org>
parents: 510
diff changeset
18 ${CC} ${CFLAGS} -o $@ ${DHF_PACK_OBJS}
a5d61331b675 libgsmhr1: generate packed version of DHF
Mychaela Falconia <falcon@freecalypso.org>
parents: 510
diff changeset
19
a5d61331b675 libgsmhr1: generate packed version of DHF
Mychaela Falconia <falcon@freecalypso.org>
parents: 510
diff changeset
20 dhf_packed.c: gen-dhf-pack
a5d61331b675 libgsmhr1: generate packed version of DHF
Mychaela Falconia <falcon@freecalypso.org>
parents: 510
diff changeset
21 ./gen-dhf-pack > $@
a5d61331b675 libgsmhr1: generate packed version of DHF
Mychaela Falconia <falcon@freecalypso.org>
parents: 510
diff changeset
22
490
4d80730683d4 libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 ${OBJS}: ${HDRS}
4d80730683d4 libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24
4d80730683d4 libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 ${LIB}: ${OBJS}
4d80730683d4 libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 ar rcu $@ ${OBJS}
4d80730683d4 libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 ranlib $@
4d80730683d4 libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28
4d80730683d4 libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 install:
4d80730683d4 libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 # mkdir -p ${DESTDIR}${includedir}
4d80730683d4 libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 # 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
32 # mkdir -p ${DESTDIR}${libdir}
4d80730683d4 libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 # install -c -m 444 ${LIB} ${DESTDIR}${libdir}
4d80730683d4 libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34
4d80730683d4 libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 clean:
511
a5d61331b675 libgsmhr1: generate packed version of DHF
Mychaela Falconia <falcon@freecalypso.org>
parents: 510
diff changeset
36 rm -f *.[oa] namespace.h dhf_packed.c gen-dhf-pack errs