annotate sip-in/Makefile @ 250:27408ac6e863

sip-in: consistent CDR logs for statelessly rejected calls
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 14 Aug 2023 23:40:56 -0800
parents e980fe9c186c
children cdc807117841
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
47
62f39c7cee15 themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
62f39c7cee15 themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
62f39c7cee15 themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 PROG= themwi-sip-in
109
9b87894704eb sip-in: first step toward final call clearing
Mychaela Falconia <falcon@freecalypso.org>
parents: 108
diff changeset
4 OBJS= bye_in.o bye_out.o call_clear.o call_list.o call_setup.o cancel.o \
145
4b685a5d9bd4 sip-in code: split invite.c into 3 separate C modules
Mychaela Falconia <falcon@freecalypso.org>
parents: 109
diff changeset
5 disconnect.o invite_dup.o invite_init.o invite_resp.o main.o mgw_ops.o \
153
99fd4ae573ae sip-in: split mncc_sig_out.c from mncc_handle.c
Mychaela Falconia <falcon@freecalypso.org>
parents: 151
diff changeset
6 mgw_resp.o mgw_sock.o mncc_handle.o mncc_sig_out.o mncc_sock.o prack.o \
99fd4ae573ae sip-in: split mncc_sig_out.c from mncc_handle.c
Mychaela Falconia <falcon@freecalypso.org>
parents: 151
diff changeset
7 readconf.o retrans.o shutdown.o sip_ack.o sip_log.o sip_uas.o sip_udp.o
249
e980fe9c186c sip-in: convert to libnumdb2
Mychaela Falconia <falcon@freecalypso.org>
parents: 153
diff changeset
8 LIBS= ../libnumdb2/libnumdb.a ../libsip/libsip.a ../libutil/libutil.a
47
62f39c7cee15 themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 INSTBIN=/usr/local/bin
62f39c7cee15 themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
62f39c7cee15 themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 all: ${PROG}
62f39c7cee15 themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
62f39c7cee15 themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 ${PROG}: ${OBJS} ${LIBS}
62f39c7cee15 themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}
62f39c7cee15 themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15
62f39c7cee15 themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 install:
62f39c7cee15 themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 install -c -o bin -g bin -m 755 ${PROG} ${INSTBIN}
62f39c7cee15 themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
62f39c7cee15 themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 clean:
62f39c7cee15 themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 rm -f *.o ${PROG} errs