view sip-out/Makefile @ 163:bfa9f0c0f0ac

sip-out: handle incoming BYE as UAS
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 12 Oct 2022 14:45:31 -0800
parents 0bacca1f2f7b
children 9419fe55824f
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	themwi-sip-out
OBJS=	bye_in.o call_clear.o call_list.o call_setup.o disconnect.o invite.o \
	main.o mgw_ops.o mgw_resp.o mgw_sock.o mncc_sig_in.o mncc_sig_out.o \
	mncc_sock.o readconf.o retrans.o shutdown.o sip_log.o sip_uas.o \
	sip_udp.o uac_out.o uac_resp.o
LIBS=	../liboutrt/liboutrt.a ../libsip/libsip.a ../libutil/libutil.a
INSTBIN=/usr/local/bin

all:	${OBJS}

${PROG}: ${OBJS} ${LIBS}
	${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}

install:
	install -c -o bin -g bin -m 755 ${PROG} ${INSTBIN}

clean:
	rm -f *.o ${PROG} errs