# HG changeset patch # User Mychaela Falconia # Date 1715664998 0 # Node ID e96e8d8973c066ef5d5b69da400f264404806685 # Parent f8a6ea314c5ffbd605fb87ebbd681bef9071f3d9 ul-test: generate hex include files for PCMU diff -r f8a6ea314c5f -r e96e8d8973c0 .hgignore --- a/.hgignore Tue May 14 04:39:30 2024 +0000 +++ b/.hgignore Tue May 14 05:36:38 2024 +0000 @@ -1,6 +1,7 @@ syntax: regexp \.[oa]$ +\.inc$ ^amrdiff/amrdiff$ ^amrdiff/readone-amr$ diff -r f8a6ea314c5f -r e96e8d8973c0 Makefile --- a/Makefile Tue May 14 04:39:30 2024 +0000 +++ b/Makefile Tue May 14 05:36:38 2024 +0000 @@ -5,7 +5,7 @@ pcma2efr: utils pcmu2efr: utils ringing: utils -ul-test: dhf dmw +ul-test: dhf dmw utils ${SUBDIR}: FRC cd $@; ${MAKE} ${MFLAGS} diff -r f8a6ea314c5f -r e96e8d8973c0 ul-test/Makefile --- a/ul-test/Makefile Tue May 14 04:39:30 2024 +0000 +++ b/ul-test/Makefile Tue May 14 05:36:38 2024 +0000 @@ -1,9 +1,10 @@ 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_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-amrefr.al efr-dec-amrefr.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} @@ -26,6 +27,9 @@ 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 $< $@ @@ -44,6 +48,9 @@ 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 $< $@ @@ -53,5 +60,8 @@ 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 + rm -f *.gsm *.gsmx *.robe *.al *.ul *.tch *.inc