FreeCalypso > hg > gsm-codec-lib
annotate libgsmhr1/Makefile @ 504:024615de06fe
libgsmhr1: compile mathdp31.c
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 19 Jun 2024 01:19:41 +0000 |
parents | b0333fa167c3 |
children | 17c0aabae474 |
rev | line source |
---|---|
504
024615de06fe
libgsmhr1: compile mathdp31.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
502
diff
changeset
|
1 OBJS= dhf_params.o mathdp31.o mathhalf.o pack_frame.o rtp_in.o sid_detect.o \ |
024615de06fe
libgsmhr1: compile mathdp31.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
502
diff
changeset
|
2 sid_reset.o twts002_in.o twts002_out.o unpack_frame.o |
024615de06fe
libgsmhr1: compile mathdp31.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
502
diff
changeset
|
3 HDRS= mathdp31.h mathhalf.h namespace.h tw_gsmhr.h typedefs.h |
490
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 LIB= libgsmhr1.a |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 include ../config.defs |
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 all: ${LIB} |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
502
b0333fa167c3
libgsmhr1: compile mathhalf.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
496
diff
changeset
|
10 namespace.h: namespace.awk namespace.list |
b0333fa167c3
libgsmhr1: compile mathhalf.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
496
diff
changeset
|
11 awk -f namespace.awk namespace.list > $@ |
b0333fa167c3
libgsmhr1: compile mathhalf.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
496
diff
changeset
|
12 |
490
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 ${OBJS}: ${HDRS} |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 ${LIB}: ${OBJS} |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 ar rcu $@ ${OBJS} |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 ranlib $@ |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 install: |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 # mkdir -p ${DESTDIR}${includedir} |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 # 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
|
22 # mkdir -p ${DESTDIR}${libdir} |
4d80730683d4
libgsmhr1: implement TS 101 318 packing and unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 # install -c -m 444 ${LIB} ${DESTDIR}${libdir} |
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 clean: |
502
b0333fa167c3
libgsmhr1: compile mathhalf.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
496
diff
changeset
|
26 rm -f *.[oa] namespace.h errs |