FreeCalypso > hg > themwi-rtp-lib
annotate src/Makefile @ 42:334d883b96ba
twrtp_jibuf_create: make config argument const
While this config structure is not a constant in the mathematical
sense of the term (it is expected that vty config changes may happen
while twjit instance is alive), twjit functions never write to it,
only read, hence it is 'const' in the not-quite-mathematical C-standard
sense.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 20 Dec 2024 22:47:20 +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 |