FreeCalypso > hg > themwi-system-sw
annotate utils/Makefile @ 248:257da5474e77
sip-in: fix bug in incoming number validation for non-plus
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 14 Aug 2023 22:56:20 -0800 |
parents | d7c2a2c0b922 |
children | 54f78df265fe |
rev | line source |
---|---|
4
4ad5deafaa87
themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
4ad5deafaa87
themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
52
ffb563a17f23
wrote sip-out-test program
Mychaela Falconia <falcon@freecalypso.org>
parents:
42
diff
changeset
|
3 PROGS= sip-out-test sip-rx-test sip-udp-dump themwi-check-own \ |
227
a349ae9d90fa
number db v2: implement themwi-dump-numdb2
Mychaela Falconia <falcon@freecalypso.org>
parents:
226
diff
changeset
|
4 themwi-dump-numdb themwi-dump-numdb2 themwi-short-dial \ |
a349ae9d90fa
number db v2: implement themwi-dump-numdb2
Mychaela Falconia <falcon@freecalypso.org>
parents:
226
diff
changeset
|
5 themwi-update-numdb themwi-update-numdb2 themwi-update-outrt |
221
e1d7db9d734c
smpp-test2 program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
218
diff
changeset
|
6 NOINST= rtp-alloc-test smpp-test1 smpp-test2 tcpserv-dump |
241
d7c2a2c0b922
utils/Makefile: only using libnumdb2 now
Mychaela Falconia <falcon@freecalypso.org>
parents:
239
diff
changeset
|
7 LIBNUMDB=../libnumdb2/libnumdb.a |
185
857d78c58f56
rtp-alloc-test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
131
diff
changeset
|
8 LIBRTPA=../librtpalloc/librtpalloc.a |
42
891ebfb55e6b
sip-rx-test program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
17
diff
changeset
|
9 LIBSIP= ../libsip/libsip.a |
4
4ad5deafaa87
themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 LIBUTIL=../libutil/libutil.a |
4ad5deafaa87
themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 INSTBIN=/usr/local/bin |
4ad5deafaa87
themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
185
857d78c58f56
rtp-alloc-test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
131
diff
changeset
|
13 all: ${PROGS} ${NOINST} |
857d78c58f56
rtp-alloc-test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
131
diff
changeset
|
14 |
857d78c58f56
rtp-alloc-test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
131
diff
changeset
|
15 rtp-alloc-test: rtp-alloc-test.o ${LIBRTPA} ${LIBUTIL} |
857d78c58f56
rtp-alloc-test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
131
diff
changeset
|
16 ${CC} ${CFLAGS} -o $@ $@.o ${LIBRTPA} ${LIBUTIL} |
4
4ad5deafaa87
themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 |
52
ffb563a17f23
wrote sip-out-test program
Mychaela Falconia <falcon@freecalypso.org>
parents:
42
diff
changeset
|
18 sip-out-test: sip-out-test.c |
ffb563a17f23
wrote sip-out-test program
Mychaela Falconia <falcon@freecalypso.org>
parents:
42
diff
changeset
|
19 ${CC} ${CFLAGS} -o $@ $@.c |
ffb563a17f23
wrote sip-out-test program
Mychaela Falconia <falcon@freecalypso.org>
parents:
42
diff
changeset
|
20 |
42
891ebfb55e6b
sip-rx-test program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
17
diff
changeset
|
21 sip-rx-test: sip-rx-test.o ${LIBSIP} |
891ebfb55e6b
sip-rx-test program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
17
diff
changeset
|
22 ${CC} ${CFLAGS} -o $@ $@.o ${LIBSIP} |
891ebfb55e6b
sip-rx-test program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
17
diff
changeset
|
23 |
17
4e0a73be9e37
sip-udp-dump utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
24 sip-udp-dump: sip-udp-dump.c |
4e0a73be9e37
sip-udp-dump utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
25 ${CC} ${CFLAGS} -o $@ $@.c |
4e0a73be9e37
sip-udp-dump utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
26 |
218
211a043a385f
smpp-test1 program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
215
diff
changeset
|
27 smpp-test1: smpp-test1.c |
211a043a385f
smpp-test1 program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
215
diff
changeset
|
28 ${CC} ${CFLAGS} -o $@ $@.c |
211a043a385f
smpp-test1 program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
215
diff
changeset
|
29 |
221
e1d7db9d734c
smpp-test2 program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
218
diff
changeset
|
30 smpp-test2: smpp-test2.c |
e1d7db9d734c
smpp-test2 program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
218
diff
changeset
|
31 ${CC} ${CFLAGS} -o $@ $@.c |
e1d7db9d734c
smpp-test2 program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
218
diff
changeset
|
32 |
215
67289fac8a44
utils: new program tcpserv-dump
Mychaela Falconia <falcon@freecalypso.org>
parents:
185
diff
changeset
|
33 tcpserv-dump: tcpserv-dump.c |
67289fac8a44
utils: new program tcpserv-dump
Mychaela Falconia <falcon@freecalypso.org>
parents:
185
diff
changeset
|
34 ${CC} ${CFLAGS} -o $@ $@.c |
67289fac8a44
utils: new program tcpserv-dump
Mychaela Falconia <falcon@freecalypso.org>
parents:
185
diff
changeset
|
35 |
241
d7c2a2c0b922
utils/Makefile: only using libnumdb2 now
Mychaela Falconia <falcon@freecalypso.org>
parents:
239
diff
changeset
|
36 themwi-check-own: themwi-check-own.o ${LIBNUMDB} ${LIBUTIL} |
d7c2a2c0b922
utils/Makefile: only using libnumdb2 now
Mychaela Falconia <falcon@freecalypso.org>
parents:
239
diff
changeset
|
37 ${CC} ${CFLAGS} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL} |
13
26b98505684e
themwi-check-own utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
38 |
6
030143a95fb5
themwi-dump-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
4
diff
changeset
|
39 themwi-dump-numdb: themwi-dump-numdb.c |
030143a95fb5
themwi-dump-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
4
diff
changeset
|
40 ${CC} ${CFLAGS} -o $@ $@.c |
030143a95fb5
themwi-dump-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
4
diff
changeset
|
41 |
227
a349ae9d90fa
number db v2: implement themwi-dump-numdb2
Mychaela Falconia <falcon@freecalypso.org>
parents:
226
diff
changeset
|
42 themwi-dump-numdb2: themwi-dump-numdb2.c |
a349ae9d90fa
number db v2: implement themwi-dump-numdb2
Mychaela Falconia <falcon@freecalypso.org>
parents:
226
diff
changeset
|
43 ${CC} ${CFLAGS} -o $@ $@.c |
a349ae9d90fa
number db v2: implement themwi-dump-numdb2
Mychaela Falconia <falcon@freecalypso.org>
parents:
226
diff
changeset
|
44 |
241
d7c2a2c0b922
utils/Makefile: only using libnumdb2 now
Mychaela Falconia <falcon@freecalypso.org>
parents:
239
diff
changeset
|
45 themwi-short-dial: themwi-short-dial.o ${LIBNUMDB} ${LIBUTIL} |
d7c2a2c0b922
utils/Makefile: only using libnumdb2 now
Mychaela Falconia <falcon@freecalypso.org>
parents:
239
diff
changeset
|
46 ${CC} ${CFLAGS} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL} |
14
aea422af79dd
themwi-short-dial utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
13
diff
changeset
|
47 |
4
4ad5deafaa87
themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 themwi-update-numdb: themwi-update-numdb.o ${LIBUTIL} |
4ad5deafaa87
themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL} |
4ad5deafaa87
themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 |
226
28441920fb35
beginning of number database version 2
Mychaela Falconia <falcon@freecalypso.org>
parents:
221
diff
changeset
|
51 themwi-update-numdb2: themwi-update-numdb2.o ${LIBUTIL} |
28441920fb35
beginning of number database version 2
Mychaela Falconia <falcon@freecalypso.org>
parents:
221
diff
changeset
|
52 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL} |
28441920fb35
beginning of number database version 2
Mychaela Falconia <falcon@freecalypso.org>
parents:
221
diff
changeset
|
53 |
131
5c7109183c8c
shorten new program name to themwi-update-outrt
Mychaela Falconia <falcon@freecalypso.org>
parents:
130
diff
changeset
|
54 themwi-update-outrt: themwi-update-outrt.o ${LIBUTIL} |
130
44dc809ffec0
themwi-update-out-routes utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
52
diff
changeset
|
55 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL} |
44dc809ffec0
themwi-update-out-routes utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
52
diff
changeset
|
56 |
4
4ad5deafaa87
themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 install: |
4ad5deafaa87
themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 install -c -o bin -g bin -m 755 ${PROGS} ${INSTBIN} |
4ad5deafaa87
themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 |
4ad5deafaa87
themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 clean: |
185
857d78c58f56
rtp-alloc-test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
131
diff
changeset
|
61 rm -f *.o ${PROGS} ${NOINST} errs |