summaryrefslogtreecommitdiff
path: root/libs.mk
AgeCommit message (Collapse)Author
2013-02-22Append .exe to the executable on OS/2KO Myung-Hun
Change-Id: I1c3b17450b08d2fdfacb7b94055da29d4d20f9c8
2013-01-28obj_int_extract.bat is not a generated fileJohann
Trying to create Visual Studio project files would fail with: make[1]: *** No rule to make target `obj_int_extract.bat', needed by `.projects'. Stop. Change-Id: Ie55458427ddea199a3de9973eaf2a37f711f839e
2013-01-18Link pthread when it is availableJohann
Linking when we don't use it but it is available is probably harmless. Gtest requires pthreads. Don't automatically enable unit tests if we don't have it. Change-Id: I5e6c3b609f840c7b6dbb36fc65809f0ef84685f8
2013-01-16Don't include x86inc.asm on non-x86 targetsJohn Koleszar
This file is currently unused, as the asm that depended on it has been disabled for the current roll into Chromium. It's expected that it will return in some form, so wrap it in an x86 check rather than deleting it. This extra file isn't really an issue with the libvpx build system, but affects the gyp builds since on ARM (android) it tries to do the ADS->GAS conversion on all .asm files reported in libvpx_srcs.txt. Change-Id: I080fbc22ab59fff41264ae230a48fa753594135b
2012-12-27Merge branch 'vp9-preview' of review:webm/libvpxJohn Koleszar
Merge the vp9-preview branch into master. Change-Id: If700b9054676f24bed9deb59050af546c1ca5296
2012-12-26Build fixes to merge vp9-preview into masterJohn Koleszar
Various fixups to resolve issues when building vp9-preview under the more stringent checks placed on the experimental branch. Change-Id: I21749de83552e1e75c799003f849e6a0f1a35b07
2012-12-05Remove ARM optimizations from VP9Johann
Change-Id: I9f0ae635fb9a95c4aa1529c177ccb07e2b76970b
2012-12-05Update ARM for vpx_scale changesJohann
Refactor asm_offsets for vpx_scale. Change-Id: I2db0eeb28c8e757bd033c6614a1e5319a1a204a5
2012-12-04Enable unit tests to build with MSVCYaowu Xu
Change-Id: Ie80597221bee494679ae2ba50cca22dea2609cba
2012-11-27Revert "make: flatten object file directories"John Koleszar
This reverts commit b72373de79800e801ce730d24cb115daf78ae660. Change-Id: Ic1601160e11df1a018ef12da25967cfb5eebd5ba
2012-11-16Move documentation file list to relevant make fileJohann
Change-Id: I2fe3095c4eb60233f00830d4124583ce7a64caa4
2012-11-15Each make file is responsible for its own directoryJohann
Change-Id: Ia8a59ce79045af209e49c68810bae44616422db5
2012-11-15Sequester vpx_ports file listJohann
Move BUILD_LIBVPX evaluation before the include. Change-Id: I8860414c42a8161765a17bf433ff2607c0d027ca
2012-11-15support building vp8 and vp9 into a single libJohn Koleszar
Change-Id: Ib8f8a66c9fd31e508cdc9caa662192f38433aa3d
2012-11-15make: flatten object file directoriesJohn Koleszar
Rather than building an object file directory heirarchy matching the source tree's layout, rename the object files so that the object file name contains the path in the source file tree. The intent here is to allow two files in different parts of the source tree to have the same name and still not collide when put into an ar archive. Change-Id: Id627737dc95ffc65b738501215f34a995148c5a2
2012-11-07Rough merge of master into experimentalJohn Koleszar
Creates a merge between the master and experimental branches. Fixes a number of conflicts in the build system to allow *either* VP8 or VP9 to be built. Specifically either: $ configure --disable-vp9 $ configure --disable-vp8 --disable-unit-tests VP9 still exports its symbols and files as VP8, so that will be resolved in the next commit. Unit tests are broken in VP9, but this isn't a new issue. They are fixed upstream on origin/experimental as of this writing, but rebasing this merge proved difficult, so will tackle that in a second merge commit. Change-Id: I2b7d852c18efd58d1ebc621b8041fe0260442c21
2012-11-01Rename vp8/ codec directory to vp9/.Ronald S. Bultje
Change-Id: Ic084c475844b24092a433ab88138cf58af3abbe4
2012-08-21build: hide msvs project command in non-verbose modeJames Zern
Change-Id: Id1d0deb6a2c556a0213d916c2638ef6285c2eb00
2012-08-21Merge "fix msvc configure"James Zern
2012-08-21vpx.pc: move -lm to Libs.privateJohn Koleszar
Users of libvpx should not use libm transitively, so mark it as private. Change-Id: Ic940aefe737a6f9a780ea742ea5c6be40c30a73e
2012-08-15fix msvc configureJames Zern
visual studio targets do not depend on executables, only the projects produced. tested with --target=x86-win32-vs9 fixes: ... make[1]: *** No rule to make target `test_libvpx', needed by `.bins'. Stop. Makefile:17: recipe for target `.DEFAULT' failed Change-Id: I606ab32d5e26fee352f25c822e0f496eff165382
2012-08-09vpx.pc: add missing library for static linksAndoni Morales Alastruey
Change-Id: Ic4be3145e8a90d66aa4499416094bd08a9e09af4
2012-08-08Partial import of "New RTCD implementation" from master branch.Christian Duvivier
Latest version of all scripts/makefile but rtcd_defs.sh is empty, all existing functions are still selected using the old/current way. Change-Id: Ib92946a48a31d6c8d1d7359eca524bc1d3e66174
2012-07-25shared object on mac osxjimbankoski
Change-Id: Ibf357eb492e7d5883fbdf1ddf455e28767c1d65d
2012-07-23Dll build of libvpxJim Bankoski
Change-Id: I74e50b4dfbe73eb98e1dce1695a9973f637220c0
2012-06-29Build unit test driver from the default targetJohn Koleszar
We need an easy way to build the unit test driver without running the tests. This enables passing options like --gtest_filter to the executable, which can't be done very cleanly when running under `make test`. Fixed a number of compiler errors/warnings when building the tests in various configurations by Jenkins. Change-Id: I9198122600bcf02520688e5f052ab379f963b77b
2012-06-26Enable unit test framework in experimental branch.Ronald S. Bultje
Change-Id: I27c98025b2857e2911005a52dd57c46e2524e815
2012-06-21Add support for downloading test dataJohn Koleszar
The commit introduces a make target 'testdata' that downloads the required test data from the WebM project website. The data will also be downloaded if invoking `make test` but is not a strict requirement for only building the test executable. The download directory is taken from the LIBVPX_TEST_DATA_PATH environment variable, or may be specified as part of the make command. If unset, it defaults to the current directory. It's expected that most developers will want to set this environment variable to a place outside their source/build trees, to avoid having to download the data more than once. To add test data file: 1) add a line to test/test.mk: LIBVPX_TEST_DATA-yes += foo-bar-file.y4m 2) add its sha1sum to the test/test-data.sha1 file in the following format: 528cc88c821e5f5b133c2b40f9c8e3f22eaacc4c foo-bar-file.y4m 3) upload the file to the website $ gsutil cp foo-bar-file.y4m gs://downloads.webmproject.org/test_data/libvpx This implementation will check the integrity of the test data automatically if the `sha1sum` executable is available. Change-Id: If6910fe304bb3f5cdcc5cb9e5f9afa5be74720d2
2012-06-19libs.mk: add x86inc.asm to the CODEC_SRCS.Ronald S. Bultje
Change-Id: I45ea0369ad489080c2505269855a46ca1d3624f7
2012-06-15Fix pkg-config file to pull in libmRob Bradford
vpx uses symbols in libm and thus we need to provide an indication to the user of libvpx that if they want to link against libvpx they must also link against libm. Change-Id: I31d4068bf7f6f5b1fd222bcdf9e6a1a92fb6696f
2012-06-11Merge "Fix MSVS builds for unit test changes"John Koleszar
2012-06-09build: hide grep/obj_int_extract commands when verbose=0James Zern
Change-Id: Ic30d7335b5bf912b39ea55f2b759fe5b7d523ca8
2012-06-01Fix MSVS builds for unit test changesJohn Koleszar
Update the Visual Studio builds to support the new monolithic unit test binary. Includes minor semi-cosmetic refactoring of solution.mk, as the %vpx.vcproj match is no longer appropriate given the test_libvpx target. Change-Id: I29e6e07c39e72b54a4b3eaca5b9b7877ef3fb134
2012-05-22Build unit tests monolithicallyJohn Koleszar
Rework unit tests to have a single executable rather than many, which should avoid pollution of the visual studio project namespace, improve build times, and make it easier to use the gtest test sharding system when we get these going on the continuous build cluster. Change-Id: If4c3e5d4b3515522869de6c89455c2a64697cca6
2012-05-22configure: initial support for CXX, CXXFLAGS variablesJohn Koleszar
Use CXX rather than assuming g++ to invoke the compiler. Also introduce separate CXXFLAGS, as certain CFLAGS we enable by default cause warnings with g++. Change-Id: Ia2f40ef27c93e45c971d070cc58bdcde9da2ac7c
2012-05-11Merge branch 'origin/eider' into masterJohn Koleszar
Conflicts: vp8/common/entropymode.c vp8/common/entropymode.h vp8/encoder/encodeframe.c vp8/vp8_cx_iface.c Change-Id: I708b0f30449b9502b382e47b745d56f5ed2ce265
2012-05-11add unit test support via google testJames Berry
adds unit testing via google test Change-Id: I144b50a976d79251fc5135186a4e0a5051ed0e8c
2012-05-04remove deprecated pre-v0.9.0 APIJohn Koleszar
Remove a bunch of compatibility code dating back to before the initial libvpx release. Change-Id: Ie50b81e7d665955bec3d692cd6521c9583e85ca3
2012-05-02update unit tests to support --enable-static-msvcrtJames Berry
update unit tests to support --enable-static-msvcrt Change-Id: I7e6e9ef2a0a8e2054076c8debe35ee317e9ab2e3
2012-04-20Use LIBSUBDIR for vpx.pc.Takanori MATSUURA
Change-Id: Ibba635696e8c23086e5d3c0e8452ab97c460d7d7
2012-03-16darwin universal builds need BUILD_PFXJohann
Universal builds create subdirectories for each target. Without BUILD_PFX we only generated one vpx_rtcd.h instead of one for each. Change-Id: I1caed4e018c8865ffc8da15e434cae2b96154fb4
2012-03-14Fix build under Estonian localePriit Laes
Change-Id: Ifb536403ef302b597864eae1d05aa9e2bb15d4c7
2012-03-05include CHANGELOG in CODEC_SRCSJohann
build/make/version.sh requires CHANGELOG to generate vpx_version.h The file is already included when building the documentation. However, documentation is not build if doxygen/php are not present. This is necessary when using '--enable-install-srcs --enable-codec-srcs' and 'make dist' Change-Id: Icada883a056a4713d24934ea44e0f6969b68f9c2
2012-02-17Refine offset patternJohann
When compiling with -ggdb3 the output includes an extraneous EQU from vpx_ports/asm_offsets.h https://trac.macports.org/ticket/33285 Change-Id: Iba93ddafec414c152b87001a7542e7a894781231
2012-02-15Fix rtcd build process for Android.mkFritz Koenig
Add a dependency so ndk-build will generate the needed vpx_rtcd.h file. Change-Id: I92c82e0996943dd0403c9956e1ba60e92e2837a9
2012-01-30New RTCD implementationJohn Koleszar
This is a proof of concept RTCD implementation to replace the current system of nested includes, prototypes, INVOKE macros, etc. Currently only the decoder specific functions are implemented in the new system. Additional functions will be added in subsequent commits. Overview: RTCD "functions" are implemented as either a global function pointer or a macro (when only one eligible specialization available). Functions which have RTCD specializations are listed using a simple DSL identifying the function's base name, its prototype, and the architecture extensions that specializations are available for. Advantages over the old system: - No INVOKE macros. A call to an RTCD function looks like an ordinary function call. - No need to pass vtables around. - If there is only one eligible function to call, the function is called directly, rather than indirecting through a function pointer. - Supports the notion of "required" extensions, so in combination with the above, on x86_64 if the best function available is sse2 or lower it will be called directly, since all x86_64 platforms implement sse2. - Elides all references to functions which will never be called, which could reduce binary size. For example if sse2 is required and there are both mmx and sse2 implementations of a certain function, the code will have no link time references to the mmx code. - Significantly easier to add a new function, just one file to edit. Disadvantages: - Requires global writable data (though this is not a new requirement) - 1 new generated source file. Change-Id: Iae6edab65315f79c168485c96872641c5aa09d55
2011-11-04fix file permissionsJames Zern
all of googletest import (0ab00a22) was marked executable Change-Id: Id7b7ee03efc21ab998bb03349bd91644e8af25da
2011-11-04Add unit test support via google testJames Berry
Change-Id: I0ab00a22fbea1f38c96ef92ef7eaeda782c0c8d3
2011-09-20Reduce grep match when generating offset files.Fritz Koenig
Search for the word EQU so that extraneous symbols are not matched. Change-Id: Ice6c9ca886211e2ca8a2f5174bdd4103db5c4989
2011-08-12Generate libvpx_srcs.txt from current configurationJohn Koleszar
To get a list of files that the libvpx library depends on in the current configuration, run: $ make target=libs libvpx_srcs.txt Change-Id: I68a69648ecf212f0fe29c325297728ac2a9393d9