2011-03-17 15:55:58 +00:00
|
|
|
|
FFmpeg currently uses a custom build system, this text attempts to document
|
2010-10-06 17:53:02 +00:00
|
|
|
|
some of its obscure features and options.
|
|
|
|
|
|
2011-03-21 23:20:56 +00:00
|
|
|
|
Makefile variables:
|
2010-10-06 17:53:02 +00:00
|
|
|
|
|
2011-03-21 23:20:56 +00: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 17:53:02 +00:00
|
|
|
|
|
2015-02-08 11:18:27 +00:00
|
|
|
|
DBG
|
|
|
|
|
Preprocess x86 external assembler files to a .dbg.asm file in the object
|
2015-10-08 13:01:04 +00:00
|
|
|
|
directory, which then gets compiled. Helps in developing those assembler
|
2015-02-08 11:18:27 +00:00
|
|
|
|
files.
|
|
|
|
|
|
2011-03-21 23:20:56 +00:00
|
|
|
|
DESTDIR
|
|
|
|
|
Destination directory for the install targets, useful to prepare packages
|
2011-03-28 19:57:00 +00:00
|
|
|
|
or install FFmpeg in cross-environments.
|
2010-10-06 17:53:02 +00:00
|
|
|
|
|
2015-05-27 10:23:01 +00:00
|
|
|
|
GEN
|
|
|
|
|
Set to ‘1’ to generate the missing or mismatched references.
|
|
|
|
|
|
2011-03-21 23:20:56 +00:00
|
|
|
|
Makefile targets:
|
2010-10-06 17:53:02 +00:00
|
|
|
|
|
2011-03-21 23:20:56 +00:00
|
|
|
|
all
|
|
|
|
|
Default target, builds all the libraries and the executables.
|
2010-10-06 17:53:02 +00:00
|
|
|
|
|
2011-03-26 01:42:40 +00:00
|
|
|
|
fate
|
2015-10-08 13:01:04 +00:00
|
|
|
|
Run the fate test suite, note that you must have installed it.
|
2011-03-26 01:42:40 +00:00
|
|
|
|
|
|
|
|
|
fate-list
|
2015-10-08 13:01:04 +00:00
|
|
|
|
List all fate/regression test targets.
|
2011-03-26 01:42:40 +00:00
|
|
|
|
|
2011-03-21 23:20:56 +00:00
|
|
|
|
install
|
|
|
|
|
Install headers, libraries and programs.
|
2010-10-06 17:53:02 +00:00
|
|
|
|
|
2014-06-24 22:40:09 +00:00
|
|
|
|
examples
|
|
|
|
|
Build all examples located in doc/examples.
|
|
|
|
|
|
2011-03-21 23:20:56 +00:00
|
|
|
|
libavformat/output-example
|
|
|
|
|
Build the libavformat basic example.
|
2010-10-06 17:53:02 +00:00
|
|
|
|
|
2011-03-21 23:20:56 +00:00
|
|
|
|
libswscale/swscale-test
|
2015-10-08 13:01:04 +00:00
|
|
|
|
Build the swscale self-test (useful also as an example).
|
2010-10-06 17:53:02 +00:00
|
|
|
|
|
2014-06-24 22:40:09 +00:00
|
|
|
|
config
|
2015-10-08 13:01:04 +00:00
|
|
|
|
Reconfigure the project with the current configuration.
|
2014-06-24 22:40:09 +00:00
|
|
|
|
|
2017-05-06 00:02:08 +00:00
|
|
|
|
tools/target_dec_<decoder>_fuzzer
|
|
|
|
|
Build fuzzer to fuzz the specified decoder.
|
|
|
|
|
|
2010-10-06 17:53:02 +00:00
|
|
|
|
|
|
|
|
|
Useful standard make commands:
|
|
|
|
|
make -t <target>
|
2015-10-08 13:01:04 +00: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 17:53:02 +00:00
|
|
|
|
of files that actually need it by hand then.
|
|
|
|
|
|
|
|
|
|
make -j<num>
|
2015-10-08 13:01:04 +00:00
|
|
|
|
Rebuild with multiple jobs at the same time. Faster on multi processor systems.
|
2010-10-06 17:53:02 +00:00
|
|
|
|
|
|
|
|
|
make -k
|
2015-10-08 13:01:04 +00: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 17:53:02 +00:00
|
|
|
|
|