summaryrefslogtreecommitdiffstats
path: root/tools/rbspeex/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2020-10-21rbutil: Fix native Windows build for tools.Dominik Riebeling1-0/+1
- When make on Windows finds sh.exe it will try to use that. We use cmd.exe calls when detecting Windows, so make sure we use cmd.exe as shell. - Add missing Windows compatibility to tomcrypt Makefile. Change-Id: Iaef133ca27472a5ddf449174d540983f15c66aea
2020-10-18rbutil: Pass isysroot to rbutil libs on macOS.Dominik Riebeling1-0/+3
On macOS we pass the full path to the compiler. On recent versions this causes the compiler to not find its SDK path, this needs to get passed via the isysroot option. Change-Id: Iea2820e1755cc80e12691119dfa31d70938ea511
2020-10-18tools: Modernize rbspeex Makefile.Dominik Riebeling1-27/+28
- Replace echo with make internal info function. - Make dependency generation implicit to avoid another compiler call. - Align object handling with libtools.make. Change-Id: Iaaddd17af04039dcd8948399bc99d21def05181d
2015-06-20Fix rebuilding librbspeex on OS X and make rm work on Windows.Dominik Riebeling1-3/+6
OS X ar operates on fat libaries and cannot update existing archives. Remove it first to avoid this. Use a make function when removing files to allow calling the correct command on Windows, which doesn't know about rm. Change-Id: Ia0c13ef7907239a1e6f4abc26bb08238a226c476
2014-03-20OS X: detect clang and build for x86 target only.Dominik Riebeling1-3/+9
Newer versions of Xcode / OS X don't support PPC code anymore and replace gcc with clang. When clang is detected assume we want to build for the default architecture only and change the minimum OS X version to 10.5. Change-Id: I5843fa9bb3d957ec6f0a537e857608ad99c31517
2013-06-09Don't pass ar output to /dev/null.Dominik Riebeling1-2/+1
Since ar is not running in verbose mode there is normally no output to get rid of, and in case of errors it's useful to see them. Also, Windows doesn't know about /dev/null. Make dependency generation for librbspeex more silent as well. Change-Id: Ie0d4a406e665ebd67331d6cd1fa2fc02f8bf21b9
2013-05-11Rework rbspeex dependency generation to use single dependency files.Dominik Riebeling1-21/+11
Similar as done in d2b8f91 change dependency generation to use one file per source file. This removes the need to have external tools installed on Windows. Previously Cygwin or msys tools needed to be in the system PATH which was problematic at times. This means that now building on Windows (using MinGW) doesn't require additional tools anymore. Change-Id: I4c0675e99c3cc3a729b91beefd58320db498ae0a
2013-05-11Change mkdir -p to work on Windows.Dominik Riebeling1-1/+7
Windows mkdir doesn't know about the -p option and requires paths to use \ as path separator. Try to detect when building on Windows and use the Windows internal function instead of relying on a compatible mkdir in the path. Change-Id: I47d47d45edeb38c672321f77d6e91268bf744dba
2013-05-06Remove leftover debugging warning.Dominik Riebeling1-1/+0
Change-Id: Icb7d2de4284c1db5766f0039e5546b8956ef5afa
2013-05-04Replace use of uname by checking the compiler output.Dominik Riebeling1-6/+16
Similar as done in ea0bfe7 ask the compiler for the binary it creates instead of using uname to figure the target. Simplify source file preprocessing to avoid using grep to improve compatibility with Windows. Change-Id: I39ecfe690c9bb70b07b0af5a7804d7e5ab512d71
2012-04-25Add codecs to librbcodec.Sean Bartell1-1/+1
Change-Id: Id7f4717d51ed02d67cb9f9cb3c0ada4a81843f97 Reviewed-on: http://gerrit.rockbox.org/137 Reviewed-by: Nils Wallménius <nils@rockbox.org> Tested-by: Nils Wallménius <nils@rockbox.org>
2012-01-05librbspeex.a: simplify Makefile for OS X.Dominik Riebeling1-42/+38
- As done with the libucl Makefile replace the universal library handling and use ar to create a library from fat objects instead. - Replace OUT with BUILD_DIR to be in line with the other Makefiles. As a result librbspeex will now be build in a subfolder better named than "build" when building with Rockbox Utility. - Make the Makefile depend on the depencency file. This should fix problems with a broken dependency file not being regenerated properly, causing the build to fail. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31587 a1c6a512-1295-4272-9138-f99709370657
2012-01-02Allow passing additional CFLAGS.Dominik Riebeling1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31524 a1c6a512-1295-4272-9138-f99709370657
2011-12-17rbspeex: fix cross compiling rbspeex.dll.Dominik Riebeling1-9/+13
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31341 a1c6a512-1295-4272-9138-f99709370657
2011-12-16rbspeex, libucl: add rule to build DLL.Dominik Riebeling1-0/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31332 a1c6a512-1295-4272-9138-f99709370657
2011-12-03Don't show the full path when building librbspeex.aDominik Riebeling1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31118 a1c6a512-1295-4272-9138-f99709370657
2010-12-23Tweak Makefiles a bit to allow cross compiling Rockbox Utility.Dominik Riebeling1-1/+1
- pass AR to the lib Makefiles to make sure the correct one gets used. - create an archive index for archives. - simplify ucl Makefile a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28883 a1c6a512-1295-4272-9138-f99709370657
2010-09-05Don't search for libspeex on Windows and Mac.Dominik Riebeling1-1/+1
Make sure to not try to dynamically link libspeex on Mac, since it's not a standard library, and application bundles aren't statically linked anyway. Remove looking up libspeex on Windows since it's not a standard library there either. Don't search for libspeex multiple times but instead pass it to the librbspeex Makefile. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27999 a1c6a512-1295-4272-9138-f99709370657
2009-12-13Make lipo calls silent.Dominik Riebeling1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23982 a1c6a512-1295-4272-9138-f99709370657
2009-12-06Improve detection of system libspeex and fallback earlier.Dominik Riebeling1-4/+1
libspeex is split into libspeex and libspeexdsp. We need both, so check for them the same time instead of trying to respect the fact that old versions didn't have the libspeexdsp part. Should fix issues with distributions that have libspeex and libspeexdsp split into separate packages and only the libspeex one is installed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23872 a1c6a512-1295-4272-9138-f99709370657
2009-11-28Fix building universal binaries.Dominik Riebeling1-4/+0
When building various libraries for Rockbox Utility make sure they use the same compiler as Qt. Pass Qt's CC instead of explicitly setting it. This fixes issues linking on OS X (with recent XCode building universal binaries requires the use of gcc-4-0 while the default one is 4.2). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23779 a1c6a512-1295-4272-9138-f99709370657
2009-10-13Fix building Rockbox Utility when using newer versions of libspeex.Dominik Riebeling1-1/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23164 a1c6a512-1295-4272-9138-f99709370657
2009-10-08If available, use the systems libspeex when linking rbspeex(enc|dec) and ↵Dominik Riebeling1-2/+12
rbutil dynamically. This is similar to FS#9233 but utilizes pkg-config. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23016 a1c6a512-1295-4272-9138-f99709370657
2009-09-04rbutil: modify buildsystem so you can build outside of the rbutilqt ↵Dominik Wenger1-12/+12
directoy. (similar to the normal buildsystem). Attention: Spaces in the path will cause errors. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22624 a1c6a512-1295-4272-9138-f99709370657
2009-06-27Create the output directory in the dependency rule instead of depending on ↵Dominik Riebeling1-1/+4
it to prevent recreating it every time. Thanks to amiconn for clarifying the issue. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21534 a1c6a512-1295-4272-9138-f99709370657
2009-06-27Make sure the build folder is created before trying to generate the ↵Dominik Riebeling1-1/+1
dependencies file. Fixes issues building Rockbox Utility and voice file creation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21527 a1c6a512-1295-4272-9138-f99709370657
2009-06-12Don't rebuild rbspeex(enc|dec) everytime when making voice files.Jens Arnold1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21265 a1c6a512-1295-4272-9138-f99709370657
2008-09-01rename ARCH define because of conflict with some systems. see (FS#9321)Dominik Wenger1-16/+16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18379 a1c6a512-1295-4272-9138-f99709370657
2008-07-20Extend rbspeex Makefile to allow easier building a universal binary needed ↵Dominik Riebeling1-17/+37
for rbutil. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18103 a1c6a512-1295-4272-9138-f99709370657
2008-07-19rbspeex: hopefully fixes compiling of rbspeexenc/dec on mac.Dominik Wenger1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18096 a1c6a512-1295-4272-9138-f99709370657
2008-07-09rbutil/rbspeex fix some small mistakes.Dominik Wenger1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18004 a1c6a512-1295-4272-9138-f99709370657
2008-07-09modify Makefile so its possible to build a universal lib. Building is still ↵Dominik Wenger1-4/+12
complicated. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18002 a1c6a512-1295-4272-9138-f99709370657
2007-12-15when building on MinGW, make sure to set CC to gcc. Make ar call silent.Dominik Riebeling1-1/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15935 a1c6a512-1295-4272-9138-f99709370657
2007-12-14refactor rbspeex, so we build a librbspeex.a for linking into rbutil.Dominik Wenger1-9/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15924 a1c6a512-1295-4272-9138-f99709370657
2007-11-28Add rbspeexdec, decoder for the Rockbox voice clips. Also nitpick a bit on ↵Thom Johansen1-2/+6
rbspeexenc while I'm at it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15842 a1c6a512-1295-4272-9138-f99709370657
2007-11-18Revert r15664 and instead define a HOSTAR variable in the main Makefile and ↵Dave Chapman1-1/+1
pass it to tools/Makefile, the same way CC is handled. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15669 a1c6a512-1295-4272-9138-f99709370657
2007-11-18Make rbspeexenc Makefile use system "ar" tool.Thom Johansen1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15664 a1c6a512-1295-4272-9138-f99709370657
2007-11-17Create a libspeex.a as part of the compilation process - the intention is ↵Dave Chapman1-5/+11
that this can then be used by other tools (namely rbutilqt) to directly encode rockbox-compatible speex files. Also make the building slightly less verbose. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15654 a1c6a512-1295-4272-9138-f99709370657
2007-11-16Build a standalone win32 executable of rbspeexenc on cygwin, for reuse in ↵Jens Arnold1-1/+6
VoiceBox etc. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15649 a1c6a512-1295-4272-9138-f99709370657
2007-11-16Remove an unneeded -iquote (which caused problems with pre 4.0.0 versions of ↵Dave Chapman1-2/+2
gcc) and replace a gcc with $(CC) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15644 a1c6a512-1295-4272-9138-f99709370657
2007-11-16Fix the clean: rule and also set svn keywordsDave Chapman1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15641 a1c6a512-1295-4272-9138-f99709370657
2007-11-16Speex encoder specially tailored to create voice UI snippets. Small fixups ↵Thom Johansen1-0/+56
to libspeex to allow it to be built. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15640 a1c6a512-1295-4272-9138-f99709370657