view 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
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