view src/Makefile @ 40:d73b6ec27ae6

twjit: allow starting fill level to be 1 In most use cases, the smallest useful setting for starting fill level is 2. However, our job is to provide mechanism rather than policy, and the theoretical minimum is 1 - so let's support the latter configuration.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 20 Dec 2024 20:07:01 +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