FreeCalypso > hg > rtp-debug-utils
diff pcap-study/Makefile @ 10:e686bc92c7d8
revamp for new subdir structure and configure script
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 15 May 2024 01:44:46 +0000 |
parents | Makefile@c00510e1ae8b |
children | 96b37cef5020 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pcap-study/Makefile Wed May 15 01:44:46 2024 +0000 @@ -0,0 +1,34 @@ +PROGS= rtp-cont-check rtp-g711-extr rtp-gsmfr-dump rtp-gsmfr-extr \ + rtp-jitter-view rtp-stream-dump rtp-tfo-trace + +include ../config.defs + +all: ${PROGS} + +rtp-cont-check: rtp-cont-check.c + ${CC} ${CFLAGS} -o $@ $@.c -lpcap + +rtp-g711-extr: rtp-g711-extr.c + ${CC} ${CFLAGS} -o $@ $@.c -lpcap + +rtp-gsmfr-dump: rtp-gsmfr-dump.c + ${CC} ${CFLAGS} -o $@ $@.c -lpcap -lgsmefr -lgsm + +rtp-gsmfr-extr: rtp-gsmfr-extr.c + ${CC} ${CFLAGS} -o $@ $@.c -lpcap + +rtp-jitter-view: rtp-jitter-view.c + ${CC} ${CFLAGS} -o $@ $@.c -lpcap + +rtp-stream-dump: rtp-stream-dump.c + ${CC} ${CFLAGS} -o $@ $@.c -lpcap + +rtp-tfo-trace: rtp-tfo-trace.c + ${CC} ${CFLAGS} -o $@ $@.c -lpcap + +install: + mkdir -p ${DESTDIR}${bindir} + install -c ${PROGS} ${DESTDIR}${bindir} + +clean: + rm -f *.o *.out ${PROGS}