]> git.sesse.net Git - ffmpeg/blobdiff - doc/build_system.txt
merge read and and in add_paeth_prediction
[ffmpeg] / doc / build_system.txt
index b22ff8487d915dc6ef81a432887841479ccff214..36c141e9e43659fb9a7f48e3f493ba6825d57fc7 100644 (file)
@@ -1,9 +1,38 @@
 FFmpeg currently uses a custom build system, this text attempts to document
 some of its obscure features and options.
 
-Options to make:
-make V=1 <target>
-    Build target with verbosity 1, instead of 1, 2 can be used too
+Makefile variables:
+
+V
+    Disable the default terse mode, the full command issued by make and its
+    output will be shown on the screen.
+
+DESTDIR
+    Destination directory for the install targets, useful to prepare packages
+    or install FFmpeg in cross-environments.
+
+Makefile targets:
+
+all
+    Default target, builds all the libraries and the executables.
+
+fate
+    Run the fate test suite, note you must have installed it
+
+fate-list
+    Will list all fate/regression test targets
+
+install
+    Install headers, libraries and programs.
+
+libavformat/output-example
+    Build the libavformat basic example.
+
+libavcodec/api-example
+    Build the libavcodec basic example.
+
+libswscale/swscale-test
+    Build the swscale self-test (useful also as example).
 
 
 Useful standard make commands:
@@ -19,16 +48,3 @@ make -k
     continue build in case of errors, this is useful for the regression tests
     sometimes but note it will still not run all reg tests.
 
-
-Targets to make:
-fate-list
-    Will list all fate/regression test targets
-
-fate
-    Run the fate test suite, note you must have installed it
-
-
-Setting up local fate:
-use the following command to get the fate test samples
-rsync -aL rsync://rsync.mplayerhq.hu:/samples/fate-suite/ fate/fate-suite
-pass --samples=<path to the samples> to configure