annotate Makefile @ 243:59a166c50d0e

themwi-mncc: convert to libnumdb2
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 14 Aug 2023 19:13:26 -0800
parents f86ec96cea6f
children db366c3b35f7
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
242
f86ec96cea6f top Makefile: utils use libnumdb2 now
Mychaela Falconia <falcon@freecalypso.org>
parents: 223
diff changeset
6 LIBDIR= libnumdb 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
22
7a9eb3df14e6 top Makefile: add mtctest
Mychaela Falconia <falcon@freecalypso.org>
parents: 16
diff changeset
12 mncc: libnumdb libutil
7a9eb3df14e6 top Makefile: add mtctest
Mychaela Falconia <falcon@freecalypso.org>
parents: 16
diff changeset
13 mtctest: libnumdb libutil
181
9ebd89257ae1 top Makefile: add rtp-mgr
Mychaela Falconia <falcon@freecalypso.org>
parents: 166
diff changeset
14 rtp-mgr: libutil
47
62f39c7cee15 themwi-sip-in skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents: 42
diff changeset
15 sip-in: libnumdb 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
166
8adcd220c6cf top Makefile: add sip-out
Mychaela Falconia <falcon@freecalypso.org>
parents: 137
diff changeset
17 sip-out: 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: