summaryrefslogtreecommitdiff
path: root/build/make
Commit message (Collapse)AuthorAgeFilesLines
* make two compiler options explicit for Visual Studio projectsbaliJames Berry2011-05-061-0/+2
| | | | | | | | | | | This patch changes the release configuration of MS VS projects to explicitly use two compiler options "Maximize Speed (/O2)" and "Favor fast code(/Ot)". This change was back ported from the master branch, with the additional change to remove a dependency on obj_int_extract.bat Change-Id: Ie059bdf772e0976e480503af28e1756ecf5bb9b9
* update configure for ios sdk 4.3Joshua Bleecher Snyder2011-04-211-5/+4
| | | | | | | | | update for the latest version of the ios sdk. adding usr/lib/system fixes a missing libcache.dylib issue make isysroot path more DRY Change-Id: Ifd8832c0a02a514d46b9b3a466f5ebbf8a6c01a0
* Merge "change CFLAGS for 64 bit icc builds"Johann2011-03-041-1/+1
|\
| * change CFLAGS for 64 bit icc buildsJohn Koleszar2011-02-281-1/+1
| | | | | | | | | | | | | | | | | | AMD64 only implies SSE2, not SSE3. There aren't any known cases where icc was generating SSE3 instructions since all the vectorizable code is already in handwritten asm, so this fix is included mostly for correctness. Fixes issue #259. Change-Id: I993335a4740b68b559035305fb52ca725a6beaff
* | clean up msvs project generationJohann2011-03-021-166/+189
|/ | | | | | | | | | | add visual studio 9 to --help remove cpp, cxx, hpp, hxx files from filter add the ability to target project names. this will be necessary to enable obj_int_extract Change-Id: I407583320d8b67a0df40c07221838c42678792f7
* Fix crash on Sparc Solaris.Aaron Watry2011-02-251-0/+4
| | | | | | Sparc on Solaris requires memory copies in reconinter.c to be aligned. Change-Id: I6c5b75fb80d6fd501ae4b41b533c3109c2f32be2
* purge wince configurationJohann2011-02-222-252/+0
| | | | | | this has been broken since the initial release Change-Id: If0d4deb2de9f7d0c4c05641e2bbf9cc1bf11e171
* Merge "build: Change to iOS SDK 4.2"Fritz Koenig2011-02-081-4/+4
|\
| * build: Change to iOS SDK 4.2Fritz Koenig2011-02-081-4/+4
| | | | | | | | | | | | Brings configure/build system inline with current iOS SDK. Change-Id: If391693a80cab371f75708214f3882424ead9e96
* | move one of the offset filesJohann2011-02-071-1/+1
|/ | | | | | | common/arm/vpx_asm_offsets moves up a level. prepare for muxing with encoder/arm/vpx_vp8_enc_asm_offsets Change-Id: I89a04a5235447e66571995c9d9b4b6edcb038e24
* Translates -g from LDFLAGS as --debug in armlink_adapter.shAttila Nagy2011-02-071-2/+4
| | | | Change-Id: I23ad88db2149ab788ff39aed8624a7ef0e97da2e
* Merge "Adds "armvX-none-rvct" targets"Johann2011-01-281-5/+8
|\
| * Adds "armvX-none-rvct" targetsTero Rintaluoma2011-01-281-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds following targets to configure script to support RVCT compilation without operating system support (for Profiler or bare metal images). - armv5te-none-rvct - armv6-none-rvct - armv7-none-rvct To strip OS specific parts from the code "os_support"-config was added to script and CONFIG_OS_SUPPORT flag is used in the code to exclude OS specific parts such as OS specific includes and function calls for timers and threads etc. This was done to enable RVCT compilation for profiling purposes or running the image on bare metal target with Lauterbach. Removed separate AREA directives for READONLY data in armv6 and neon assembly files to fix the RVCT compilation. Otherwise "ldr <reg>, =label" syntax would have been needed to prevent linker errors. This syntax is not supported by older gnu assemblers. Change-Id: I14f4c68529e8c27397502fbc3010a54e505ddb43
* | configure.sh fix for visual studioJames Berry2011-01-241-2/+4
|/ | | | | | | | -For targets with external build systems like visual studio CC is not set so check_add_cflags will fail. Only call this function if extra_cflags is set. Change-Id: I3531bad69e9b6a59c5be1b0e8b6053ccccbc332c
* Update configure scriptsAttila Nagy2011-01-201-1/+10
| | | | | | | Add --extra-cflags as config parameter for user defined extra CFLAGS. Add -g to asflags when debug enabled for arm targets. Change-Id: Ibdde7cfdda6736c1c1db45e6466bd08504a51f15
* make yasm generate cv8 debug data on win32John Koleszar2010-12-221-1/+1
| | | | | | | Native Windows targets should use CV8 format debugging symbols, not DWARF. Change-Id: I9489163fcd9d749b72f6c70ecbce67a6f0790802
* Add x86_64-darwin10-gcc target.tomfinegan2010-11-161-0/+10
| | | | | | | Adds native build configuration for Snow Leopard. Useful when users configure without arguments on OSX 10.6. Change-Id: I0bd63912a25bbfb9d4c8d58a781d0f390792429c
* Full search SAD function optimization in SSE4.1Yunqing Wang2010-10-271-0/+1
| | | | | | | | | | | | | | | | Use mpsadbw, and calculate 8 sad at once. Function list: vp8_sad16x16x8_sse4 vp8_sad16x8x8_sse4 vp8_sad8x16x8_sse4 vp8_sad8x8x8_sse4 vp8_sad4x4x8_sse4 (test clip: tulip) For best quality mode, this gave encoder a 5% performance boost. For good quality mode with speed=1, this gave encoder a 3% performance boost. Change-Id: I083b5a39d39144f88dcbccbef95da6498e490134
* Add sparc-solaris-gcc as a build target.Aaron Watry2010-10-251-0/+13
| | | | | | | | | | | | | Solaris 10 requires -lposix4 to build successfully on gcc. I only have a Sparc machine to test with on Solaris 10, but this change leaves OpenSolaris x86 in a usable state w/ gnu-generic. I am of the belief that this change should fix Solaris 10 on Sparc, but will leave other Solaris architectures as is. If someone has an x86 Solaris 10 machine to test on, they may add x86-solaris-gcc to libvpx/configure and give it a go. Change-Id: I17a282028bb4d3e9fd8764159f95665160f7b62a
* NASM: trailing slash for ASFLAGS includesJohn Koleszar2010-10-251-1/+1
| | | | | | | | Fix out-of-tree builds using NASM. NASM expects its include paths to have a trailing slash. These aren't used used when doing in-tree builds (./configure) Change-Id: I38d469d15acb1b7e65733a2e5ca8c9d86fa4ad86
* nasm: add configure supportJan Kratochvil2010-10-051-5/+38
| | | | | | | | | | | | | | | | | | | | yasm has to be preferred as currently nasm produces marginally less efficient code (longer opcodes). Filed for nasm as: https://sourceforge.net/tracker/?func=detail&atid=106208&aid=3037462&group_id=6208 OTOH package should be built always the same, no matter which additional packages are / are not present on the system. As the package should be built with nasm (as yasm may not be available) we should not use yasm even if it is possibly available. nasm >= approx. 2.09 is required for the nasm compilation as the former versions had a section alignment bug. Provide nasm compatibility. No binary change by this patch with yasm on {x86_64,i686}-fedora13-linux-gnu. Few longer opcodes with nasm on {x86_64,i686}-fedora13-linux-gnu have been checked as safe. Change-Id: Icb0fe39c64bbcc3bcd7972e392fd03f3273340df
* darwin-icc: build for specific SDKsJohn Koleszar2010-09-241-2/+2
| | | | | | | Add the missing -isysroot and -mmacosx-version-min flags to ICC builds. Fixes issue #185. Change-Id: I2fb37fcaaafef7122a61ced603569f4aa17f8bbc
* configure: enable PIC for shared libs by defaultJohn Koleszar2010-09-241-0/+3
| | | | | | | Shared libs generally require PIC, so this saves a little typing at configure time. Change-Id: I357d70cc68434f3283fee78873052d2b7d77c777
* configure: add --enable-smallJohn Koleszar2010-09-241-3/+3
| | | | | | | Build with -O2 rather than -O3, to dissuade the compiler from inlining so much. See issue #1. Change-Id: Iacb8ddb59125d3f01c5fea846b45a1c004c9aee0
* configure: support for ppc32-linux-gccJohn Koleszar2010-09-131-1/+8
| | | | | | Fixes issue 89. Thanks to josejx for the patch. Change-Id: I7e664fed703b49f2fb3af4c5e6ce1173742000c2
* cosmetics: expand tabs in configureJohn Koleszar2010-09-131-3/+3
| | | | Change-Id: I88ddb0afb56ef2be8184b56fe125ad938ead7a84
* Use WebM in copyright notice for consistencyJohn Koleszar2010-09-0910-10/+10
| | | | | | | | | Changes 'The VP8 project' to 'The WebM project', for consistency with other webmproject.org repositories. Fixes issue #97. Change-Id: I37c13ed5fbdb9d334ceef71c6350e9febed9bbba
* Fix target detection on mingw32John Koleszar2010-09-021-0/+1
| | | | | | gcc -dumpmachine returns only 'mingw32' Change-Id: I774d05a97c5131fc12009e436712c319e54490a5
* Use -fno-common for mingwJohn Koleszar2010-09-021-0/+3
| | | | | | | | Fixes http://code.google.com/p/webm/issues/detail?id=112 Thanks to Ramiro Polla for the issue/fix. Change-Id: I7f7b547a4ea3270e183f59280510066cc29a619e
* Allow --cpu= to work for x86.Fritz Koenig2010-08-241-0/+10
| | | | | | | | | --cpu was already implemented for most of our embedded platforms, this just extends it to x86. Corner case for Atom processor as it doesn't respond to the --march= option under icc. Change-Id: I2d57a7a6e9d0b55c0059e9bc46cfc9bf9468c185
* configure: support directories containing .oJohn Koleszar2010-08-021-1/+1
| | | | | | | | | | | | | | | Fixes http://code.google.com/p/webm/issues/detail?id=96 The regex which postprocesses the gcc make-deps (-M) output was too greedy and matching in the dependencies part of the rule rather than the target only. The patch provided with the issue was not correct, as it tried to match the .o at the end of the line, which isn't correct at least for my GCC version. This patch matches word characters instead of .* Thanks to raimue and the MacPorts community for isolating this issue. Change-Id: I28510da2252e03db910c017101d9db12e5945a27
* configure: pass original arguments through to make distJohn Koleszar2010-07-271-7/+2
| | | | | | | When running configure automatically through the make dist target, reuse the arguments passed to the original configure command. Change-Id: I40e5b8384d6485a565b91e6d2356d5bc9c4c5928
* msvs: fix install of codec sourcesJohn Koleszar2010-07-221-0/+1
| | | | | | | | | | The libs.mk file must be installed for the vpx.vcproj file to be generated. It was being installed, but not in the src/ directory as expected. Also missed include files yasm.rules, quantize_x86.h Change-Id: Ic1a6f836e953bfc954d6e42a18c102a0114821eb
* Change devenv.com command line.Tom Finegan2010-07-221-2/+2
| | | | | | | Change /build to -build to avoid problems when builds are run within msys bash shells. Change-Id: Ie68d72f702adad00d99be8a01c7a388c3af7657d
* Add vs9 targets.Tom Finegan2010-07-222-4/+9
| | | | | | | | Add targets x86-win32-vs9 and x86_64-win64-vs9 for support of Visual Studio 2008-- this removes the need to convert the vs8 projects before using them within the IDE. Change-Id: Idb83e2ae701e07d98db1be71638280a493d770a2
* msvs: disable CRT deprecation warningsJohn Koleszar2010-07-071-2/+2
| | | | | | | Disables the warnings produced for so-called insecure standard C functions. Change-Id: I0e6f448e27f899a0eaefc1151185945fbe15718e
* Merge "ARM WinCE VS8 build update"John Koleszar2010-06-301-5/+5
|\
| * ARM WinCE VS8 build updateJames Zern2010-06-291-5/+5
| | | | | | | | | | | | | | | | The generated project is vpx.vcproj, change vpx_decoder references to match. Remove .rules file dependency as it will be pulled from the source tree. Change-Id: I679db2748b37adae3bafd764dba8575fc3abde72
* | Remove INLINE/FORCEINLINEJohn Koleszar2010-06-241-2/+0
|/ | | | | | | These are mostly vestigial, it's up to the compiler to decide what should be inlined, and this collided with certain Windows platform SDKs. Change-Id: I80dd35de25eda7773156e355b5aef8f7e44e179b
* Remove deprecated `svnstat' rule from MakefileGiuseppe Scrivano2010-06-211-10/+0
|
* Merge "cosmetics: trim trailing whitespace"John Koleszar2010-06-1810-26/+26
|\
| * cosmetics: trim trailing whitespaceJohn Koleszar2010-06-1810-26/+26
| | | | | | | | | | | | | | | | When the license headers were updated, they accidentally contained trailing whitespace, so unfortunately we have to touch all the files again. Change-Id: I236c05fade06589e417179c0444cb39b09e4200d
* | Add x86_64-linux-icc target to build VP8 with iccYunqing Wang2010-06-181-0/+2
|/ | | | | | Add a target for icc. Change-Id: Ia1db82373d9c7268848bbb65c9483d408b9d933f
* VisualStudio projects: asm tool updatesJames Zern2010-06-141-6/+7
| | | | | | | | | | | | | | | | vs8 - pull yasm.rules [1] into the source tree to avoid need to install file into VC/VCProjectDefaults - reference same w/ToolFile & RelativePath - update arm branch to match vs7: - quote source file paths passed to yasm [1]: http://www.tortall.net/svn/yasm/trunk/yasm/Mkfiles/vc9/yasm.rules@2271 Change-Id: I52b801496340cd7b1d0023d12afbc04624ecefc3
* platform autodetect: accept amd64 as a synonym for x86_64John Koleszar2010-06-111-1/+1
| | | | | | Thanks to James Cloos <cloos at jhcloos dot com> for the tip. Change-Id: If377cc084dd7c16a4f51191a2aa0d83e7117ebec
* Fix MinGW toolchain detectionJohn Koleszar2010-06-101-1/+1
| | | | | | | Updated the comment in change I6bef2ab5, but missed adding the code to the commit. Change-Id: I14d300489b79730e3995175bfe5f9271b569abe3
* Merge "Detect toolchain based on gcc -dumpmachine"John Koleszar2010-06-101-7/+7
|\
| * Detect toolchain based on gcc -dumpmachinePhilip Jägenstedt2010-06-101-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Using uname fails e.g. on a 64-bit machine with a 32-bit toolchain. The following gcc -dumpmachine strings have been verified: * 32-bit Linux gives i486-linux-gnu * 64-bit Linux gives x86_64-linux-gnu * Mac OS X 10.5 gives i686-apple-darwin9 * MinGW gives mingw32 *darwin8* and *bsd* can safely be assumed to be correct, but *cygwin* is a guess. Change-Id: I6bef2ab5e97cbd3410aa66b0c4f84d2231884b05
* | Make shared object use extralibsLuca Barbato2010-06-061-1/+1
|/ | | | | | | this way -lm doesn't get ignored if additional LDFLAGS get passed from env Change-Id: Ie630369ae6ed2780377c35aa2726e759d527bb50
* shared library support (.so)John Koleszar2010-06-051-0/+15
| | | | | | | | | | | | | | | This patch adds support for building shared libraries when configured with the --enable-shared switch. Building DLLs would require more invasive changes to the sample utilities than I want to make in this patch, since on Windows you can't use the address of an imported symbol in a static initializer. The best way to work around this is proably to build the codec interface mapping table with an init() function, but dll support is of questionable value anyway, since most windows users will probably use a media framework lib like webmdshow, which links this library in staticly. Change-Id: Iafb48900549b0c6b67f4a05d3b790b2643d026f4