view ul-test/Makefile @ 48:3e632126e099

efr-sid: generate efr-sid-test2.gsmx for OS#6538
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 11 Aug 2024 22:17:37 +0000
parents e96e8d8973c0
children
line wrap: on
line source

DMW_SRC=../dmw/dmw-alaw.robe
DHF1=	../dhf/fr1-dhf.gsm
DHFE=	../dhf/efr-dhf.gsmx
FR_OUT=	fr-enc.gsm fr-uplink.tch fr-decode.al fr-decode.ul fr-decode-ul.inc
EFR_OUT=efr-enc.gsmx efr-uplink.tch efr-dec-classic.al efr-dec-classic.ul \
	efr-dec-classic-ul.inc efr-dec-amrefr.al efr-dec-amrefr.ul \
	efr-dec-amrefr-ul.inc
ALL_OUT=${FR_OUT} ${EFR_OUT}

all:	${ALL_OUT}

fr-enc.gsm:	${DMW_SRC}
	gsmfr-encode-r $< $@

fr-uplink.gsm:	fr-enc.gsm ${DHF1}
	cat ${DHF1} ${DHF1} fr-enc.gsm > $@

fr-uplink.tch:	fr-uplink.gsm
	fc-fr2tch $< $@

fr-decode.robe:	fr-enc.gsm
	gsmfr-decode-r $< $@

fr-decode.al:	fr-decode.robe
	pcm16-to-alaw $< $@

fr-decode.ul:	fr-decode.robe
	pcm16-to-ulaw $< $@

fr-decode-ul.inc:	fr-decode.ul
	../utils/gen-hex-c $< $@

efr-enc.gsmx:	${DMW_SRC}
	gsmefr-encode-r $< $@

efr-uplink.gsmx:	efr-enc.gsmx ${DHFE}
	cat ${DHFE} ${DHFE} efr-enc.gsmx > $@

efr-uplink.tch:	efr-uplink.gsmx
	fc-efr2tch $< $@

efr-dec-classic.robe:	efr-enc.gsmx
	gsmefr-decode-r $< $@

efr-dec-classic.al:	efr-dec-classic.robe
	pcm16-to-alaw $< $@

efr-dec-classic.ul:	efr-dec-classic.robe
	pcm16-to-ulaw $< $@

efr-dec-classic-ul.inc:	efr-dec-classic.ul
	../utils/gen-hex-c $< $@

efr-dec-amrefr.robe:	efr-enc.gsmx
	amrefr-decode-r $< $@

efr-dec-amrefr.al:	efr-dec-amrefr.robe
	pcm16-to-alaw $< $@

efr-dec-amrefr.ul:	efr-dec-amrefr.robe
	pcm16-to-ulaw $< $@

efr-dec-amrefr-ul.inc:	efr-dec-amrefr.ul
	../utils/gen-hex-c $< $@

clean:
	rm -f *.gsm *.gsmx *.robe *.al *.ul *.tch *.inc