comparison utils/Makefile @ 215:67289fac8a44

utils: new program tcpserv-dump
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 24 Jul 2023 21:49:09 -0800
parents 857d78c58f56
children 211a043a385f
comparison
equal deleted inserted replaced
214:10a4b0b0a239 215:67289fac8a44
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= sip-out-test sip-rx-test sip-udp-dump themwi-check-own \ 3 PROGS= sip-out-test sip-rx-test sip-udp-dump themwi-check-own \
4 themwi-dump-numdb themwi-short-dial themwi-update-numdb \ 4 themwi-dump-numdb themwi-short-dial themwi-update-numdb \
5 themwi-update-outrt 5 themwi-update-outrt
6 NOINST= rtp-alloc-test 6 NOINST= rtp-alloc-test tcpserv-dump
7 LIBNUMDB=../libnumdb/libnumdb.a 7 LIBNUMDB=../libnumdb/libnumdb.a
8 LIBRTPA=../librtpalloc/librtpalloc.a 8 LIBRTPA=../librtpalloc/librtpalloc.a
9 LIBSIP= ../libsip/libsip.a 9 LIBSIP= ../libsip/libsip.a
10 LIBUTIL=../libutil/libutil.a 10 LIBUTIL=../libutil/libutil.a
11 INSTBIN=/usr/local/bin 11 INSTBIN=/usr/local/bin
20 20
21 sip-rx-test: sip-rx-test.o ${LIBSIP} 21 sip-rx-test: sip-rx-test.o ${LIBSIP}
22 ${CC} ${CFLAGS} -o $@ $@.o ${LIBSIP} 22 ${CC} ${CFLAGS} -o $@ $@.o ${LIBSIP}
23 23
24 sip-udp-dump: sip-udp-dump.c 24 sip-udp-dump: sip-udp-dump.c
25 ${CC} ${CFLAGS} -o $@ $@.c
26
27 tcpserv-dump: tcpserv-dump.c
25 ${CC} ${CFLAGS} -o $@ $@.c 28 ${CC} ${CFLAGS} -o $@ $@.c
26 29
27 themwi-check-own: themwi-check-own.o ${LIBNUMDB} ${LIBUTIL} 30 themwi-check-own: themwi-check-own.o ${LIBNUMDB} ${LIBUTIL}
28 ${CC} ${CFLAGS} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL} 31 ${CC} ${CFLAGS} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL}
29 32