annotate mncc/Makefile @ 267:81958b35f74d

NANP validation: allow made-up area codes of N9X form
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 13 Nov 2023 15:28:09 -0800
parents cdc807117841
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
ccc5ab6d8388 first version of themwi-mncc for ThemWi2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
ccc5ab6d8388 first version of themwi-mncc for ThemWi2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
ccc5ab6d8388 first version of themwi-mncc for ThemWi2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 PROG= themwi-mncc
ccc5ab6d8388 first version of themwi-mncc for ThemWi2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 OBJS= call_setup.o extsock.o gsm_call.o intswitch.o main.o mncc_recv.o \
167
2ebad02adbe5 themwi-mncc: route outbound calls to themwi-sip-out
Mychaela Falconia <falcon@freecalypso.org>
parents: 15
diff changeset
5 mncc_sock.o mtsock.o outcall.o
243
59a166c50d0e themwi-mncc: convert to libnumdb2
Mychaela Falconia <falcon@freecalypso.org>
parents: 167
diff changeset
6 LIBS= ../libnumdb2/libnumdb.a ../libutil/libutil.a
264
cdc807117841 */Makefile: change INSTBIN to /opt/themwi/bin (was /usr/local/bin)
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
7 INSTBIN=/opt/themwi/bin
15
ccc5ab6d8388 first version of themwi-mncc for ThemWi2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
ccc5ab6d8388 first version of themwi-mncc for ThemWi2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 all: ${PROG}
ccc5ab6d8388 first version of themwi-mncc for ThemWi2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
ccc5ab6d8388 first version of themwi-mncc for ThemWi2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 ${PROG}: ${OBJS} ${LIBS}
ccc5ab6d8388 first version of themwi-mncc for ThemWi2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}
ccc5ab6d8388 first version of themwi-mncc for ThemWi2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
ccc5ab6d8388 first version of themwi-mncc for ThemWi2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 install:
264
cdc807117841 */Makefile: change INSTBIN to /opt/themwi/bin (was /usr/local/bin)
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
15 install -c -m 755 ${PROG} ${INSTBIN}
15
ccc5ab6d8388 first version of themwi-mncc for ThemWi2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
ccc5ab6d8388 first version of themwi-mncc for ThemWi2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 clean:
ccc5ab6d8388 first version of themwi-mncc for ThemWi2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 rm -f *.o ${PROG} errs