annotate utils/Makefile @ 240:c7a3ba56c636

themwi-short-dial: fix bug in printf arguments
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 14 Aug 2023 15:37:59 -0800
parents 19d1c39ae4e7
children d7c2a2c0b922
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 \
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
13
26b98505684e themwi-check-own utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 6
diff changeset
7 LIBNUMDB=../libnumdb/libnumdb.a
238
697fe2c87fec themwi-check-own: convert to libnumdb2
Mychaela Falconia <falcon@freecalypso.org>
parents: 227
diff changeset
8 LIBNUMDB2=../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
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 INSTBIN=/usr/local/bin
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
238
697fe2c87fec themwi-check-own: convert to libnumdb2
Mychaela Falconia <falcon@freecalypso.org>
parents: 227
diff changeset
37 themwi-check-own: themwi-check-own.o ${LIBNUMDB2} ${LIBUTIL}
697fe2c87fec themwi-check-own: convert to libnumdb2
Mychaela Falconia <falcon@freecalypso.org>
parents: 227
diff changeset
38 ${CC} ${CFLAGS} -o $@ $@.o ${LIBNUMDB2} ${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
239
19d1c39ae4e7 themwi-short-dial: convert to libnumdb2
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
46 themwi-short-dial: themwi-short-dial.o ${LIBNUMDB2} ${LIBUTIL}
19d1c39ae4e7 themwi-short-dial: convert to libnumdb2
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
47 ${CC} ${CFLAGS} -o $@ $@.o ${LIBNUMDB2} ${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:
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59 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
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