annotate Makefile @ 275:def9f6e4f49e default tip

doc/Use-outside-USA: Fake-NANP-numbers article is here
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 27 Nov 2023 21:49:19 -0800
parents aab047d9efcb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3
223
f11c3e40c87a new program smpp-send
Mychaela Falconia <falcon@freecalypso.org>
parents: 222
diff changeset
4 PROGDIR=mgw mncc mtctest rtp-mgr sip-in sip-manual-out sip-out smpp-send \
f11c3e40c87a new program smpp-send
Mychaela Falconia <falcon@freecalypso.org>
parents: 222
diff changeset
5 smpp-trx-sa utils
252
e24a984ab7c9 top Makefile: retire original libnumdb
Mychaela Falconia <falcon@freecalypso.org>
parents: 251
diff changeset
6 LIBDIR= libnumdb2 liboutrt librtpalloc libsip libutil
5
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 SUBDIR= ${PROGDIR} ${LIBDIR}
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 all: ${SUBDIR}
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
33
2b072ad13de6 top Makefile: add mgw
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
11 mgw: libutil
244
db366c3b35f7 top Makefile: mncc changed to use libnumdb2
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
12 mncc: libnumdb2 libutil
247
c6a3fb913c53 top Makefile: mtctest changed to use libnumdb2
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
13 mtctest: libnumdb2 libutil
181
9ebd89257ae1 top Makefile: add rtp-mgr
Mychaela Falconia <falcon@freecalypso.org>
parents: 166
diff changeset
14 rtp-mgr: libutil
251
df2726b88034 top Makefile: sip-in changed to use libnumdb2
Mychaela Falconia <falcon@freecalypso.org>
parents: 247
diff changeset
15 sip-in: libnumdb2 libsip libutil
187
258932879f8b sip-manual-out: rework for internal RTP handling, using themwi-rtp-mgr
Mychaela Falconia <falcon@freecalypso.org>
parents: 185
diff changeset
16 sip-manual-out: librtpalloc libsip libutil
258
aab047d9efcb top Makefile: sip-out depends on libnumdb2 now
Mychaela Falconia <falcon@freecalypso.org>
parents: 252
diff changeset
17 sip-out: libnumdb2 liboutrt libsip libutil
223
f11c3e40c87a new program smpp-send
Mychaela Falconia <falcon@freecalypso.org>
parents: 222
diff changeset
18 smpp-send: libutil
222
9d6e8d99d2b1 smpp-trx-sa: new program
Mychaela Falconia <falcon@freecalypso.org>
parents: 187
diff changeset
19 smpp-trx-sa: libutil
242
f86ec96cea6f top Makefile: utils use libnumdb2 now
Mychaela Falconia <falcon@freecalypso.org>
parents: 223
diff changeset
20 utils: libnumdb2 librtpalloc libsip libutil
5
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 ${SUBDIR}: FRC
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}"
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 clean: FRC
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 rm -f a.out core errs
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 install: FRC
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31
9f1ce81522ea add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 FRC: