view sip-in/Makefile @ 119:056616f7e8ab

sip-manual-out: convert command line to getopt style
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 29 Sep 2022 14:03:06 -0800
parents 9b87894704eb
children 4b685a5d9bd4
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	themwi-sip-in
OBJS=	bye_in.o bye_out.o call_clear.o call_list.o call_setup.o cancel.o \
	disconnect.o invite.o main.o mgw_ops.o mgw_sock.o mncc_handle.o \
	mncc_sock.o prack.o readconf.o retrans.o shutdown.o sip_ack.o sip_log.o\
	sip_uas.o sip_udp.o
LIBS=	../libnumdb/libnumdb.a ../libsip/libsip.a ../libutil/libutil.a
INSTBIN=/usr/local/bin

all:	${PROG}

${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