FreeCalypso > hg > sipout-test-utils
comparison test-v22/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 | 3c5734b88c20 |
children |
comparison
equal
deleted
inserted
replaced
17:830af7de3403 | 18:f7321b25195e |
---|---|
1 CC= gcc | |
2 CFLAGS= -O2 | |
3 PROG= sipout-test-v22 | 1 PROG= sipout-test-v22 |
4 OBJS= bye_in.o disc_cmd.o main.o modem_func.o readconf.o reinvite.o rtp_rx.o \ | 2 OBJS= bye_in.o disc_cmd.o main.o modem_func.o readconf.o reinvite.o rtp_rx.o \ |
5 rtp_tx.o sdp_in.o sip_log.o sip_udp.o uac.o uas.o user_cmd.o | 3 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} -lspandsp -lm | 11 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} -lspandsp -lm |
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 |