FreeCalypso > hg > gsm-codec-lib
annotate libgsmhr1/Makefile @ 502:b0333fa167c3
libgsmhr1: compile mathhalf.c
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 19 Jun 2024 01:06:28 +0000 |
parents | af70bf42eb1b |
children | 024615de06fe |
rev | line source |
---|---|
502
b0333fa167c3
libgsmhr1: compile mathhalf.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
496
diff
changeset
|
1 OBJS= dhf_params.o mathhalf.o pack_frame.o rtp_in.o sid_detect.o sid_reset.o \ |
496
af70bf42eb1b
libgsmhr1: implement DHF const array
Mychaela Falconia <falcon@freecalypso.org>
parents:
495
diff
changeset
|
2 twts002_in.o twts002_out.o unpack_frame.o |
502
b0333fa167c3
libgsmhr1: compile mathhalf.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
496
diff
changeset
|
3 HDRS= 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 |