view 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
line wrap: on
line source

OBJS=	bind_fdpair.o endp_bind.o endp_create.o endp_register.o rtcp_rx.o \
	rtcp_tx.o rtp_rx.o rtp_tx.o set_dscp_prio.o set_remote.o set_sdes.o \
	twjit.o twjit_in.o twjit_out.o twjit_vty.o
LIB=	libtwrtp.a

include ../config.defs

CPPFLAGS=-I../build-inc ${OSMO_INCLUDE}
HDRS=	../include/endp.h ../include/twjit.h endp_internal.h

all:	${LIB}

${OBJS}: ${HDRS}

${LIB}:	${OBJS}
	ar rcu $@ ${OBJS}
	ranlib $@

install:
	mkdir -p ${DESTDIR}${libdir}
	install -c -m 644 ${LIB} ${DESTDIR}${libdir}

clean:
	rm -f *.[oa] errs