FreeCalypso > hg > themwi-system-sw
annotate mgw/Makefile @ 96:f24bbfd23c9d
mgw p2g: outgoing seq numbers, forwarding control
| author | Mychaela Falconia <falcon@freecalypso.org> | 
|---|---|
| date | Sun, 25 Sep 2022 19:32:27 -0800 | 
| parents | f280328e7e2e | 
| children | ca21fbf9d2ea | 
| rev | line source | 
|---|---|
| 32 
b3f74df7b808
beginning of themwi-mgw
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 1 CC= gcc | 
| 
b3f74df7b808
beginning of themwi-mgw
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 2 CFLAGS= -O2 | 
| 
b3f74df7b808
beginning of themwi-mgw
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 3 PROG= themwi-mgw | 
| 95 
f280328e7e2e
themwi-mgw: initial implementation of PSTN to GSM forwarding
 Mychaela Falconia <falcon@freecalypso.org> parents: 
32diff
changeset | 4 OBJS= crcx.o ctrl_prot.o ctrl_sock.o dlcx.o g711_decode.o main.o mdcx.o \ | 
| 
f280328e7e2e
themwi-mgw: initial implementation of PSTN to GSM forwarding
 Mychaela Falconia <falcon@freecalypso.org> parents: 
32diff
changeset | 5 pstn2gsm.o readconf.o udpsink.o | 
| 32 
b3f74df7b808
beginning of themwi-mgw
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 6 LIBS= ../libutil/libutil.a | 
| 
b3f74df7b808
beginning of themwi-mgw
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 7 INSTBIN=/usr/local/bin | 
| 
b3f74df7b808
beginning of themwi-mgw
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 8 | 
| 
b3f74df7b808
beginning of themwi-mgw
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 9 all: ${PROG} | 
| 
b3f74df7b808
beginning of themwi-mgw
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 10 | 
| 
b3f74df7b808
beginning of themwi-mgw
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 11 ${PROG}: ${OBJS} ${LIBS} | 
| 95 
f280328e7e2e
themwi-mgw: initial implementation of PSTN to GSM forwarding
 Mychaela Falconia <falcon@freecalypso.org> parents: 
32diff
changeset | 12 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} -lgsm | 
| 32 
b3f74df7b808
beginning of themwi-mgw
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 13 | 
| 
b3f74df7b808
beginning of themwi-mgw
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 14 install: | 
| 
b3f74df7b808
beginning of themwi-mgw
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 15 install -c -o bin -g bin -m 755 ${PROG} ${INSTBIN} | 
| 
b3f74df7b808
beginning of themwi-mgw
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 16 | 
| 
b3f74df7b808
beginning of themwi-mgw
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 17 clean: | 
| 
b3f74df7b808
beginning of themwi-mgw
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 18 rm -f *.o ${PROG} errs | 
