annotate utils/Makefile @ 268:d6630a2d6e80

doc: beginning of numbering plan documentation
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 13 Nov 2023 18:20:57 -0800
parents cdc807117841
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 \
253
54f78df265fe utils/Makefile: old themwi-{dump,update}-numdb are now no-install
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
4 themwi-dump-numdb2 themwi-short-dial themwi-update-numdb2 \
54f78df265fe utils/Makefile: old themwi-{dump,update}-numdb are now no-install
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
5 themwi-update-outrt
54f78df265fe utils/Makefile: old themwi-{dump,update}-numdb are now no-install
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
6 NOINST= rtp-alloc-test smpp-test1 smpp-test2 tcpserv-dump themwi-dump-numdb \
54f78df265fe utils/Makefile: old themwi-{dump,update}-numdb are now no-install
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
7 themwi-update-numdb
241
d7c2a2c0b922 utils/Makefile: only using libnumdb2 now
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
8 LIBNUMDB=../libnumdb2/libnumdb.a
185
857d78c58f56 rtp-alloc-test program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 131
diff changeset
9 LIBRTPA=../librtpalloc/librtpalloc.a
42
891ebfb55e6b sip-rx-test program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
10 LIBSIP= ../libsip/libsip.a
4
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 LIBUTIL=../libutil/libutil.a
264
cdc807117841 */Makefile: change INSTBIN to /opt/themwi/bin (was /usr/local/bin)
Mychaela Falconia <falcon@freecalypso.org>
parents: 253
diff changeset
12 INSTBIN=/opt/themwi/bin
4
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
185
857d78c58f56 rtp-alloc-test program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 131
diff changeset
14 all: ${PROGS} ${NOINST}
857d78c58f56 rtp-alloc-test program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 131
diff changeset
15
857d78c58f56 rtp-alloc-test program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 131
diff changeset
16 rtp-alloc-test: rtp-alloc-test.o ${LIBRTPA} ${LIBUTIL}
857d78c58f56 rtp-alloc-test program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 131
diff changeset
17 ${CC} ${CFLAGS} -o $@ $@.o ${LIBRTPA} ${LIBUTIL}
4
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
52
ffb563a17f23 wrote sip-out-test program
Mychaela Falconia <falcon@freecalypso.org>
parents: 42
diff changeset
19 sip-out-test: sip-out-test.c
ffb563a17f23 wrote sip-out-test program
Mychaela Falconia <falcon@freecalypso.org>
parents: 42
diff changeset
20 ${CC} ${CFLAGS} -o $@ $@.c
ffb563a17f23 wrote sip-out-test program
Mychaela Falconia <falcon@freecalypso.org>
parents: 42
diff changeset
21
42
891ebfb55e6b sip-rx-test program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
22 sip-rx-test: sip-rx-test.o ${LIBSIP}
891ebfb55e6b sip-rx-test program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
23 ${CC} ${CFLAGS} -o $@ $@.o ${LIBSIP}
891ebfb55e6b sip-rx-test program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
24
17
4e0a73be9e37 sip-udp-dump utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
25 sip-udp-dump: sip-udp-dump.c
4e0a73be9e37 sip-udp-dump utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
26 ${CC} ${CFLAGS} -o $@ $@.c
4e0a73be9e37 sip-udp-dump utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
27
218
211a043a385f smpp-test1 program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 215
diff changeset
28 smpp-test1: smpp-test1.c
211a043a385f smpp-test1 program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 215
diff changeset
29 ${CC} ${CFLAGS} -o $@ $@.c
211a043a385f smpp-test1 program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 215
diff changeset
30
221
e1d7db9d734c smpp-test2 program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 218
diff changeset
31 smpp-test2: smpp-test2.c
e1d7db9d734c smpp-test2 program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 218
diff changeset
32 ${CC} ${CFLAGS} -o $@ $@.c
e1d7db9d734c smpp-test2 program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 218
diff changeset
33
215
67289fac8a44 utils: new program tcpserv-dump
Mychaela Falconia <falcon@freecalypso.org>
parents: 185
diff changeset
34 tcpserv-dump: tcpserv-dump.c
67289fac8a44 utils: new program tcpserv-dump
Mychaela Falconia <falcon@freecalypso.org>
parents: 185
diff changeset
35 ${CC} ${CFLAGS} -o $@ $@.c
67289fac8a44 utils: new program tcpserv-dump
Mychaela Falconia <falcon@freecalypso.org>
parents: 185
diff changeset
36
241
d7c2a2c0b922 utils/Makefile: only using libnumdb2 now
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
37 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
38 ${CC} ${CFLAGS} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL}
13
26b98505684e themwi-check-own utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 6
diff changeset
39
6
030143a95fb5 themwi-dump-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
40 themwi-dump-numdb: themwi-dump-numdb.c
030143a95fb5 themwi-dump-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
41 ${CC} ${CFLAGS} -o $@ $@.c
030143a95fb5 themwi-dump-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
42
227
a349ae9d90fa number db v2: implement themwi-dump-numdb2
Mychaela Falconia <falcon@freecalypso.org>
parents: 226
diff changeset
43 themwi-dump-numdb2: themwi-dump-numdb2.c
a349ae9d90fa number db v2: implement themwi-dump-numdb2
Mychaela Falconia <falcon@freecalypso.org>
parents: 226
diff changeset
44 ${CC} ${CFLAGS} -o $@ $@.c
a349ae9d90fa number db v2: implement themwi-dump-numdb2
Mychaela Falconia <falcon@freecalypso.org>
parents: 226
diff changeset
45
241
d7c2a2c0b922 utils/Makefile: only using libnumdb2 now
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
46 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
47 ${CC} ${CFLAGS} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL}
14
aea422af79dd themwi-short-dial utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 13
diff changeset
48
4
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 themwi-update-numdb: themwi-update-numdb.o ${LIBUTIL}
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL}
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51
226
28441920fb35 beginning of number database version 2
Mychaela Falconia <falcon@freecalypso.org>
parents: 221
diff changeset
52 themwi-update-numdb2: themwi-update-numdb2.o ${LIBUTIL}
28441920fb35 beginning of number database version 2
Mychaela Falconia <falcon@freecalypso.org>
parents: 221
diff changeset
53 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL}
28441920fb35 beginning of number database version 2
Mychaela Falconia <falcon@freecalypso.org>
parents: 221
diff changeset
54
131
5c7109183c8c shorten new program name to themwi-update-outrt
Mychaela Falconia <falcon@freecalypso.org>
parents: 130
diff changeset
55 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
56 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL}
44dc809ffec0 themwi-update-out-routes utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 52
diff changeset
57
4
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58 install:
264
cdc807117841 */Makefile: change INSTBIN to /opt/themwi/bin (was /usr/local/bin)
Mychaela Falconia <falcon@freecalypso.org>
parents: 253
diff changeset
59 install -c -m 755 ${PROGS} ${INSTBIN}
4
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61 clean:
185
857d78c58f56 rtp-alloc-test program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 131
diff changeset
62 rm -f *.o ${PROGS} ${NOINST} errs