FreeCalypso > hg > sipout-test-utils
comparison test-voice/Makefile @ 18:f7321b25195e default tip
new build system for ThemWi sw components
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 14 May 2024 18:08:35 -0800 |
parents | 4f81b959a5f5 |
children |
comparison
equal
deleted
inserted
replaced
17:830af7de3403 | 18:f7321b25195e |
---|---|
1 CC= gcc | |
2 CFLAGS= -O2 | |
3 PROG= sipout-test-voice | 1 PROG= sipout-test-voice |
4 OBJS= bye_in.o disc_cmd.o main.o pcmu_catcher.o readconf.o reinvite.o \ | 2 OBJS= bye_in.o disc_cmd.o main.o pcmu_catcher.o readconf.o reinvite.o \ |
5 rtp_rx.o rtp_tx.o sdp_in.o sip_log.o sip_udp.o uac.o uas.o user_cmd.o | 3 rtp_rx.o rtp_tx.o sdp_in.o sip_log.o sip_udp.o uac.o uas.o user_cmd.o |
6 LIBS= ../libsip/libsip.a ../librtpalloc/librtpalloc.a ../libutil/libutil.a | 4 LIBS= ../libsip/libsip.a ../librtpalloc/librtpalloc.a ../libutil/libutil.a |
7 INSTBIN=/opt/themwi/bin | 5 |
6 include ../config.defs | |
8 | 7 |
9 all: ${PROG} | 8 all: ${PROG} |
10 | 9 |
11 ${PROG}: ${OBJS} ${LIBS} | 10 ${PROG}: ${OBJS} ${LIBS} |
12 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} | 11 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} |
13 | 12 |
14 install: | 13 install: |
15 install -c -m 755 ${PROG} ${INSTBIN} | 14 mkdir -p ${DESTDIR}${bindir} |
15 install -c -m 755 ${PROG} ${DESTDIR}${bindir} | |
16 | 16 |
17 clean: | 17 clean: |
18 rm -f *.o ${PROG} errs | 18 rm -f *.o ${PROG} errs |