Alexander Strasser
bd9d4a6bb9
build: Try to find fate_config.sh.template in source path
...
The FATE documentation depends on the mentioned file. But that
did break out of tree builds because the file was not found.
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
144904e901
build: rename subdir.mak ---> library.mak
13 years ago
Mans Rullgard
878dda5db1
build: move inclusion of subdir.mak to main subdir loop
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
c83ef636a6
build: Disable avconv more completely while leaving the user the option to enable it
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4ac862f43c
Makefile: disable compiling avconv by default.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reimar Döffinger
840ecc9e07
Add coverage support.
...
Adds --enable-coverage to configure and a "coverage-html" make target.
The dependency stuff in the Makefile is a bit questionable, but the
best I could think of so far.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Janne Grunau
8096fdf0b6
presets: rename presets directory
13 years ago
Anton Khirnov
df3ca34a56
Makefile: change presets extension to .avpreset
...
Fixes make install.
13 years ago
Michael Niedermayer
b5875b9111
Add libswresample.
...
Similar to libswscale this does resampling and format convertion, just for audio
instead of video.
changing sampling rate, sample formats, channel layouts and sample packing all
in one with a very simple public interface.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
c975cfaef2
build: fix install rule with --progs-suffix.
13 years ago
Clément Bœsch
f738388bba
Makefile: remove unused PROGS_G.
14 years ago
Clément Bœsch
33d9077001
build: introduce --progs-suffix option.
14 years ago
Mohamed Naufal
006d2ab484
C++ Support ;)
14 years ago
Dave Yeo
cc73511e8e
Fix NASM include directive
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
6291d7e416
Make a copy of ffmpeg under a new name -- avconv.
...
It will be further developed with a few incompatible changes.
ffmpeg.c will stay as is for some time, so any scripts using it won't be
broken.
14 years ago
Anton Khirnov
4d58e4cb4c
Rename ffserver to avserver.
14 years ago
Anton Khirnov
9e12f0bf5f
Rename ffprobe to avprobe.
14 years ago
Anton Khirnov
266463daff
Rename ffplay to avplay.
14 years ago
Mans Rullgard
371584c42b
build: add -L flags before existing LDFLAGS
...
This ensures the linker picks the just built libraries even
if LDFLAGS for some reason contains -L flags pointing at
other directories containing libav libraries.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
1fef92fd73
build: remove unnecessary dependency on libs from 'all' target
...
The libs are added to the all target elsewhere, no need to do it
again here.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
ca9036155d
build: remove unnecessary FFLDFLAGS variable
...
This variable is set to the same value for all directories.
Adding the -L flags directly to LDFLAGS is simpler and achieves
the same thing.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
28e1c97916
build: rework rules for things in the tools dir
...
Declaring tools associated with each library in their respective
makefiles allows these tools to easily depend on the correct
prerequisites and link against the libs they need.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
db54be09c2
build: Remove deleted 'check' target from .PHONY list.
14 years ago
Diego Biurrun
bd9a9a2f18
build: Eliminate obsolete test targets.
...
The targets are now part of FATE and can be run as individual FATE targets.
14 years ago
Reimar Döffinger
e1a54304be
Move SRC_PATH hack around to allow compilation from subdir again.
14 years ago
Mans Rullgard
f68069868b
build: fix creation of tools dir with make 3.81
...
GNU make 3.81 apparently does not support order-only prerequisites
with pattern rules, and thus fails to create the tools directory
if it is missing. Naming the objects explicitly in the rule makes
it work properly.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
e2542dcc6e
build: Mark all-yes Makefile target as phony.
14 years ago
Mans Rullgard
5e27ec28f0
build: create output directories as needed
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
57b4a3dd2b
build: include sub-makefiles using full path instead of symlinks
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
bc877faf7f
build: factor out the .c and .S compile commands as a macro
...
These commands have the same form, and using a common macro allows
it to be used elsewhere without further duplication.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Reimar Döffinger
fe343286ec
Restore some more rules to common.mak to improve building in subdirs.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago
Reimar Döffinger
95dd1741af
Allow running make in subdirs again.
14 years ago
Reimar Döffinger
2ec899222b
Revert "build: move basic rules and variables to main Makefile"
...
This reverts commit bb5249244d
.
This is necessary to allow running "make" in subdirs again.
Conflicts:
Makefile
14 years ago
Mans Rullgard
f038cf3c74
build: remove SRC_PATH_BARE variable
...
Setting SRC_PATH to "." when building in-tree removes the need
for a quoted version of the source path since out-of-tree builds
are not possible if the pathname contains spaces.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
bb5249244d
build: move basic rules and variables to main Makefile
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
8d853efe53
build: move special targets to end of main Makefile
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
f87b03b50d
build: move documentation rules to doc/Makefile
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
698a183e30
build: move test rules to tests/Makefile
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
d530e57944
build: move vpath directives to main Makefile
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
cf53c48615
build: move ALLFFLIBS to a more logical place
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
151c584188
build: fix "make install" with documentation disabled
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
623ffe8c82
build: simplify some conditional targets
...
Use intermediate targets instead of variables for conditional
parts of "all" and "install" targets.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Michael Niedermayer
40da61eff5
Makefile: critical build fix after the merge. make fate passed locally due to ffmpeg/ffmpeg_g being there from before
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mans Rullgard
6d170962bd
build: make rule for linking ff* apply only to these targets
...
This ensures that the special link command using cmdutils.o
only applies to the targets it should.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
d93d7349ce
build: rearrange some lines in a more logical way
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
0018b7f043
build: clean up .PHONY lists
...
This removes nonexisting targets from phony lists and puts them
all in one place.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
d7a72d250b
build: move all (un)install* target aliases to toplevel Makefile
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
a5514a8474
build: Simplify texi2html invocation through the --output option.
...
The --output option is available in texi2html since at least version 1.78.
14 years ago
Mans Rullgard
798b264678
build: remove BUILD_ROOT variable
...
This variable is unnecessary as absolute paths are not required.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
59748689f6
build: Remove generated .version file on distclean.
14 years ago