summaryrefslogtreecommitdiff
path: root/build
AgeCommit message (Collapse)Author
2010-10-25Add sparc-solaris-gcc as a build target.Aaron Watry
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
2010-10-25NASM: trailing slash for ASFLAGS includesJohn Koleszar
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
2010-10-05nasm: add configure supportJan Kratochvil
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
2010-09-24darwin-icc: build for specific SDKsJohn Koleszar
Add the missing -isysroot and -mmacosx-version-min flags to ICC builds. Fixes issue #185. Change-Id: I2fb37fcaaafef7122a61ced603569f4aa17f8bbc
2010-09-24configure: enable PIC for shared libs by defaultJohn Koleszar
Shared libs generally require PIC, so this saves a little typing at configure time. Change-Id: I357d70cc68434f3283fee78873052d2b7d77c777
2010-09-24configure: add --enable-smallJohn Koleszar
Build with -O2 rather than -O3, to dissuade the compiler from inlining so much. See issue #1. Change-Id: Iacb8ddb59125d3f01c5fea846b45a1c004c9aee0
2010-09-13configure: support for ppc32-linux-gccJohn Koleszar
Fixes issue 89. Thanks to josejx for the patch. Change-Id: I7e664fed703b49f2fb3af4c5e6ce1173742000c2
2010-09-13cosmetics: expand tabs in configureJohn Koleszar
Change-Id: I88ddb0afb56ef2be8184b56fe125ad938ead7a84
2010-09-09Use WebM in copyright notice for consistencyJohn Koleszar
Changes 'The VP8 project' to 'The WebM project', for consistency with other webmproject.org repositories. Fixes issue #97. Change-Id: I37c13ed5fbdb9d334ceef71c6350e9febed9bbba
2010-09-02Fix target detection on mingw32John Koleszar
gcc -dumpmachine returns only 'mingw32' Change-Id: I774d05a97c5131fc12009e436712c319e54490a5
2010-09-02Use -fno-common for mingwJohn Koleszar
Fixes http://code.google.com/p/webm/issues/detail?id=112 Thanks to Ramiro Polla for the issue/fix. Change-Id: I7f7b547a4ea3270e183f59280510066cc29a619e
2010-08-24Allow --cpu= to work for x86.Fritz Koenig
--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
2010-08-02configure: support directories containing .oJohn Koleszar
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
2010-07-27configure: pass original arguments through to make distJohn Koleszar
When running configure automatically through the make dist target, reuse the arguments passed to the original configure command. Change-Id: I40e5b8384d6485a565b91e6d2356d5bc9c4c5928
2010-07-22msvs: fix install of codec sourcesJohn Koleszar
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
2010-07-22Change devenv.com command line.Tom Finegan
Change /build to -build to avoid problems when builds are run within msys bash shells. Change-Id: Ie68d72f702adad00d99be8a01c7a388c3af7657d
2010-07-22Add vs9 targets.Tom Finegan
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
2010-07-07msvs: disable CRT deprecation warningsJohn Koleszar
Disables the warnings produced for so-called insecure standard C functions. Change-Id: I0e6f448e27f899a0eaefc1151185945fbe15718e
2010-06-30Merge "ARM WinCE VS8 build update"John Koleszar
2010-06-29ARM WinCE VS8 build updateJames Zern
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
2010-06-24Remove INLINE/FORCEINLINEJohn Koleszar
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
2010-06-21Remove deprecated `svnstat' rule from MakefileGiuseppe Scrivano
2010-06-18Merge "cosmetics: trim trailing whitespace"John Koleszar
2010-06-18Add x86_64-linux-icc target to build VP8 with iccYunqing Wang
Add a target for icc. Change-Id: Ia1db82373d9c7268848bbb65c9483d408b9d933f
2010-06-18cosmetics: trim trailing whitespaceJohn Koleszar
When the license headers were updated, they accidentally contained trailing whitespace, so unfortunately we have to touch all the files again. Change-Id: I236c05fade06589e417179c0444cb39b09e4200d
2010-06-14VisualStudio projects: asm tool updatesJames Zern
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
2010-06-11platform autodetect: accept amd64 as a synonym for x86_64John Koleszar
Thanks to James Cloos <cloos at jhcloos dot com> for the tip. Change-Id: If377cc084dd7c16a4f51191a2aa0d83e7117ebec
2010-06-10Fix MinGW toolchain detectionJohn Koleszar
Updated the comment in change I6bef2ab5, but missed adding the code to the commit. Change-Id: I14d300489b79730e3995175bfe5f9271b569abe3
2010-06-10Merge "Detect toolchain based on gcc -dumpmachine"John Koleszar
2010-06-10Detect toolchain based on gcc -dumpmachinePhilip Jägenstedt
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
2010-06-06Make shared object use extralibsLuca Barbato
this way -lm doesn't get ignored if additional LDFLAGS get passed from env Change-Id: Ie630369ae6ed2780377c35aa2726e759d527bb50
2010-06-05shared library support (.so)John Koleszar
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
2010-06-05Remove some bashism from the shell scripts.Alex Converse
Note that configure.sh still uses the bashism $(RANDOM).
2010-06-04LICENSE: update with latest textJohn Koleszar
Change-Id: Ieebea089095d9073b3a94932791099f614ce120c
2010-05-28configure: update script headersJohn Koleszar
The libvpx build system was influenced by the clever design of the FFmpeg configure script. Say so in the script header, and provide a little introduction. Change-Id: I4d134c77f9032d1dde72b852b444e98676b85326
2010-05-27configure: support --prefix, --libdirJohn Koleszar
Support --prefix, --libdir as a conventional way of specifying the default installation directories. libdir is required to be a subdirectory of prefix at this time. Change-Id: If45d9e3129efcde83c05b7766accc9017988e715
2010-05-25Merge "configure: detect toolchain if not specified"John Koleszar
2010-05-25configure: detect toolchain if not specifiedJohn Koleszar
Try to select an optimized target based on the host's uname, as this is the expected behavior of most configure scripts. Change-Id: I1408ece70c43487902ea6edc6450d6a55abc424a
2010-05-24Merge "configure: support --enable-pic for generic-gnu"John Koleszar
2010-05-24install includes in DIST_DIR/include/vpx, move vpx_codec/ to vpx/John Koleszar
This renames the vpx_codec/ directory to vpx/, to allow applications to more consistently reference these includes with the vpx/ prefix. This allows the includes to be installed in /usr/local/include/vpx rather than polluting the system includes directory with an excessive number of includes. Change-Id: I7b0652a20543d93f38f421c60b0bbccde4d61b4f
2010-05-24make: make install target behave as expectedJohn Koleszar
Split the 'make install' target into two: install and dist. dist retains the old make install behavior of building a "distribution" release, with source files, build system, etc. install does what one one expects -- installs into a tree in the filesystem, /usr/local by default. Change-Id: I0805681ac10f853ef94cdc3aa70981c6bea81b45
2010-05-24configure: support --enable-pic for generic-gnuJohn Koleszar
Allows the default generic-gnu target, which is selected if no target is specified, to be build in PIC mode. The generic-gnu target was not being selected as a gcc target, because it doesn't end in gcc. Change-Id: I28a2a420109c34fd87a20911f6455c8d8d5ded75
2010-05-21configure: remove HAVE_CONFIG_HJohn Koleszar
This doesn't play well with autotools, and the preprocessor magic is confusing and unhelpful in the vp8-only context. Change-Id: I2fcb57e6eb7876ecb58509da608dc21f26077ff1
2010-05-21makefile: fix error message due to missing quotesJustin Clift
1 liner bug fix for issue #10. Surrounding quotation marks were missing from a variable, causing a warning message inside a test clause. Change-Id: Ia21421f77c309bbd87332547374241269bbe5326
2010-05-18Initial WebM releaseJohn Koleszar