annotate sip-in/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 e980fe9c186c
children
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
264
cdc807117841 */Makefile: change INSTBIN to /opt/themwi/bin (was /usr/local/bin)
Mychaela Falconia <falcon@freecalypso.org>
parents: 249
diff changeset
9 INSTBIN=/opt/themwi/bin
47
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:
264
cdc807117841 */Makefile: change INSTBIN to /opt/themwi/bin (was /usr/local/bin)
Mychaela Falconia <falcon@freecalypso.org>
parents: 249
diff changeset
17 install -c -m 755 ${PROG} ${INSTBIN}
47
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