2011-03-17 16:55:58 +01:00
|
|
|
|
FFmpeg currently uses a custom build system, this text attempts to document
|
2010-10-06 19:53:02 +02:00
|
|
|
|
some of its obscure features and options.
|
|
|
|
|
|
2011-03-22 00:20:56 +01:00
|
|
|
|
Makefile variables:
|
2010-10-06 19:53:02 +02:00
|
|
|
|
|
2011-03-22 00:20:56 +01:00
|
|
|
|
V
|
|
|
|
|
Disable the default terse mode, the full command issued by make and its
|
|
|
|
|
output will be shown on the screen.
|
2010-10-06 19:53:02 +02:00
|
|
|
|
|
2015-02-08 12:18:27 +01:00
|
|
|
|
DBG
|
|
|
|
|
Preprocess x86 external assembler files to a .dbg.asm file in the object
|
2015-10-08 15:01:04 +02:00
|
|
|
|
directory, which then gets compiled. Helps in developing those assembler
|
2015-02-08 12:18:27 +01:00
|
|
|
|
files.
|
|
|
|
|
|
2011-03-22 00:20:56 +01:00
|
|
|
|
DESTDIR
|
|
|
|
|
Destination directory for the install targets, useful to prepare packages
|
2011-03-28 21:57:00 +02:00
|
|
|
|
or install FFmpeg in cross-environments.
|
2010-10-06 19:53:02 +02:00
|
|
|
|
|
2015-05-27 12:23:01 +02:00
|
|
|
|
GEN
|
|
|
|
|
Set to ‘1’ to generate the missing or mismatched references.
|
|
|
|
|
|
2011-03-22 00:20:56 +01:00
|
|
|
|
Makefile targets:
|
2010-10-06 19:53:02 +02:00
|
|
|
|
|
2011-03-22 00:20:56 +01:00
|
|
|
|
all
|
|
|
|
|
Default target, builds all the libraries and the executables.
|
2010-10-06 19:53:02 +02:00
|
|
|
|
|
2011-03-26 02:42:40 +01:00
|
|
|
|
fate
|
2015-10-08 15:01:04 +02:00
|
|
|
|
Run the fate test suite, note that you must have installed it.
|
2011-03-26 02:42:40 +01:00
|
|
|
|
|
|
|
|
|
fate-list
|
2015-10-08 15:01:04 +02:00
|
|
|
|
List all fate/regression test targets.
|
2011-03-26 02:42:40 +01:00
|
|
|
|
|
2011-03-22 00:20:56 +01:00
|
|
|
|
install
|
|
|
|
|
Install headers, libraries and programs.
|
2010-10-06 19:53:02 +02:00
|
|
|
|
|
2014-06-25 00:40:09 +02:00
|
|
|
|
examples
|
|
|
|
|
Build all examples located in doc/examples.
|
|
|
|
|
|
2019-05-22 06:46:05 +02:00
|
|
|
|
checkheaders
|
|
|
|
|
Check headers dependencies.
|
2010-10-06 19:53:02 +02:00
|
|
|
|
|
2019-05-22 06:46:05 +02:00
|
|
|
|
alltools
|
|
|
|
|
Build all tools in tools directory.
|
2010-10-06 19:53:02 +02:00
|
|
|
|
|
2014-06-25 00:40:09 +02:00
|
|
|
|
config
|
2015-10-08 15:01:04 +02:00
|
|
|
|
Reconfigure the project with the current configuration.
|
2014-06-25 00:40:09 +02:00
|
|
|
|
|
2017-05-06 02:02:08 +02:00
|
|
|
|
tools/target_dec_<decoder>_fuzzer
|
|
|
|
|
Build fuzzer to fuzz the specified decoder.
|
|
|
|
|
|
2010-10-06 19:53:02 +02:00
|
|
|
|
|
|
|
|
|
Useful standard make commands:
|
|
|
|
|
make -t <target>
|
2015-10-08 15:01:04 +02:00
|
|
|
|
Touch all files that otherwise would be built, this is useful to reduce
|
|
|
|
|
unneeded rebuilding when changing headers, but note that you must force rebuilds
|
2010-10-06 19:53:02 +02:00
|
|
|
|
of files that actually need it by hand then.
|
|
|
|
|
|
|
|
|
|
make -j<num>
|
2015-10-08 15:01:04 +02:00
|
|
|
|
Rebuild with multiple jobs at the same time. Faster on multi processor systems.
|
2010-10-06 19:53:02 +02:00
|
|
|
|
|
|
|
|
|
make -k
|
2015-10-08 15:01:04 +02:00
|
|
|
|
Continue build in case of errors, this is useful for the regression tests
|
|
|
|
|
sometimes but note that it will still not run all reg tests.
|
2010-10-06 19:53:02 +02:00
|
|
|
|
|