FreeCalypso > hg > themwi-system-sw
annotate sip-out/Makefile @ 257:cb440d003976
sip-out: add libnumdb2 infra in prep for E911 routing
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 15 Aug 2023 10:50:37 -0800 |
parents | 9419fe55824f |
children | 9f96e5b14755 |
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 |
154
e54b0a9e322f
beginning of themwi-sip-out
Mychaela Falconia <falcon@freecalypso.org>
parents:
153
diff
changeset
|
3 PROG= themwi-sip-out |
163
bfa9f0c0f0ac
sip-out: handle incoming BYE as UAS
Mychaela Falconia <falcon@freecalypso.org>
parents:
156
diff
changeset
|
4 OBJS= bye_in.o call_clear.o call_list.o call_setup.o disconnect.o invite.o \ |
bfa9f0c0f0ac
sip-out: handle incoming BYE as UAS
Mychaela Falconia <falcon@freecalypso.org>
parents:
156
diff
changeset
|
5 main.o mgw_ops.o mgw_resp.o mgw_sock.o mncc_sig_in.o mncc_sig_out.o \ |
165
9419fe55824f
themwi-sip-out complete to the point of compiling and linking
Mychaela Falconia <falcon@freecalypso.org>
parents:
163
diff
changeset
|
6 mncc_sock.o readconf.o reinvite.o retrans.o shutdown.o sip_log.o \ |
9419fe55824f
themwi-sip-out complete to the point of compiling and linking
Mychaela Falconia <falcon@freecalypso.org>
parents:
163
diff
changeset
|
7 sip_uas.o sip_udp.o uac_out.o uac_resp.o |
257
cb440d003976
sip-out: add libnumdb2 infra in prep for E911 routing
Mychaela Falconia <falcon@freecalypso.org>
parents:
165
diff
changeset
|
8 LIBS= ../liboutrt/liboutrt.a ../libnumdb2/libnumdb.a ../libsip/libsip.a \ |
cb440d003976
sip-out: add libnumdb2 infra in prep for E911 routing
Mychaela Falconia <falcon@freecalypso.org>
parents:
165
diff
changeset
|
9 ../libutil/libutil.a |
47
62f39c7cee15
themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 INSTBIN=/usr/local/bin |
62f39c7cee15
themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
165
9419fe55824f
themwi-sip-out complete to the point of compiling and linking
Mychaela Falconia <falcon@freecalypso.org>
parents:
163
diff
changeset
|
12 all: ${PROG} |
47
62f39c7cee15
themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
62f39c7cee15
themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 ${PROG}: ${OBJS} ${LIBS} |
62f39c7cee15
themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} |
62f39c7cee15
themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
62f39c7cee15
themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 install: |
62f39c7cee15
themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 install -c -o bin -g bin -m 755 ${PROG} ${INSTBIN} |
62f39c7cee15
themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 |
62f39c7cee15
themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 clean: |
62f39c7cee15
themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 rm -f *.o ${PROG} errs |