view sip-out/Makefile @ 264:cdc807117841

*/Makefile: change INSTBIN to /opt/themwi/bin (was /usr/local/bin)
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 05 Nov 2023 16:07:14 -0800
parents 9f96e5b14755
children
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 e911.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 reinvite.o retrans.o shutdown.o \
	sip_log.o sip_uas.o sip_udp.o uac_out.o uac_resp.o
LIBS=	../liboutrt/liboutrt.a ../libnumdb2/libnumdb.a ../libsip/libsip.a \
	../libutil/libutil.a
INSTBIN=/opt/themwi/bin

all:	${PROG}

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

install:
	install -c -m 755 ${PROG} ${INSTBIN}

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