FreeCalypso > hg > themwi-rtp-lib
annotate src/Makefile @ 37:8f1700a42ca5 default tip
set_remote: add functions for IPv6 and for sockaddr_{in,in6}
A convenient way to pass in remote end address as struct sockaddr_in
is needed for tw-border-mgw; IPv6 support will be needed in order to
bring twrtp_endp into Osmocom mainline.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 23 Nov 2024 19:08:28 +0000 |
parents | 84affc6de365 |
children |
rev | line source |
---|---|
29
3e01a71b7c7c
implement RTCP Rx
Mychaela Falconia <falcon@freecalypso.org>
parents:
24
diff
changeset
|
1 OBJS= bind_fdpair.o endp_bind.o endp_create.o endp_register.o rtcp_rx.o \ |
35
c0ce22777694
add helper functions for DSCP and socket priority
Mychaela Falconia <falcon@freecalypso.org>
parents:
32
diff
changeset
|
2 rtcp_tx.o rtp_rx.o rtp_tx.o set_dscp_prio.o set_remote.o set_sdes.o \ |
c0ce22777694
add helper functions for DSCP and socket priority
Mychaela Falconia <falcon@freecalypso.org>
parents:
32
diff
changeset
|
3 twjit.o twjit_in.o twjit_out.o twjit_vty.o |
3
d10ea5dc61b3
twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 LIB= libtwrtp.a |
d10ea5dc61b3
twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
d10ea5dc61b3
twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 include ../config.defs |
d10ea5dc61b3
twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
13
19367028cc6e
src/Makefile: list -I../build-inc first
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
8 CPPFLAGS=-I../build-inc ${OSMO_INCLUDE} |
19 | 9 HDRS= ../include/endp.h ../include/twjit.h endp_internal.h |
3
d10ea5dc61b3
twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
d10ea5dc61b3
twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 all: ${LIB} |
d10ea5dc61b3
twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
7
32cb5a2d1178
src/Makefile: add dependency on actively changing twjit.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
5
diff
changeset
|
13 ${OBJS}: ${HDRS} |
32cb5a2d1178
src/Makefile: add dependency on actively changing twjit.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
5
diff
changeset
|
14 |
3
d10ea5dc61b3
twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 ${LIB}: ${OBJS} |
d10ea5dc61b3
twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 ar rcu $@ ${OBJS} |
d10ea5dc61b3
twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 ranlib $@ |
d10ea5dc61b3
twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 |
36
84affc6de365
Makefile hierarchy: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
19 install: |
84affc6de365
Makefile hierarchy: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
20 mkdir -p ${DESTDIR}${libdir} |
84affc6de365
Makefile hierarchy: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
21 install -c -m 644 ${LIB} ${DESTDIR}${libdir} |
84affc6de365
Makefile hierarchy: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
22 |
3
d10ea5dc61b3
twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 clean: |
d10ea5dc61b3
twjit: initial import from previous work repository
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 rm -f *.[oa] errs |