view sip-out/Makefile @ 154:e54b0a9e322f

beginning of themwi-sip-out
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 11 Oct 2022 23:04:01 -0800
parents sip-in/Makefile@99fd4ae573ae
children 2730ccb44549
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	themwi-sip-out
OBJS=	call_clear.o call_list.o call_setup.o disconnect.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
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