summaryrefslogtreecommitdiffstats
path: root/common.mak
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit '3dfbf32b95ae69a9b15cd4912bc1c68fa16b4093'Derek Buitenhuis2016-04-211-1/+0
|\ | | | | | | | | | | | | * commit '3dfbf32b95ae69a9b15cd4912bc1c68fa16b4093': build: Drop redundant removal of compiled object files Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * build: Drop redundant removal of compiled object filesDiego Biurrun2016-03-241-1/+0
| | | | | | | | This is already taken care of by CLEANSUFFIXES.
* | build: use a link instead of changing current directory when compilingAndreas Cadhalpun2016-01-251-4/+3
| | | | | | | | | | | | | | | | | | | | If links don't work, fall back to using the full source path as was previously done. This should fix build failures with MSVC. Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | common.mak: Use CCFLAGS for assembly generation as wellTimothy Gu2016-01-241-1/+1
| | | | | | | | | | CCFLAGS is equivalent to CPPFLAGS + CFLAGS, and it is already being used by other make rules like %.i and %.o. Simplifies common.mak.
* | build: fix make checkheaders in out-of-tree buildsAndreas Cadhalpun2016-01-231-1/+2
| | | | | | | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | build: make out-of-tree builds bit-identical to in-tree buildsAndreas Cadhalpun2016-01-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the full source path was embedded inconsistently in the debug information between in-tree/out-of-tree builds. The 'vpath %.inc' becomes necessary for finding libavfilter/all_channel_layouts.inc in out-of-tree builds. The full source path is still embedded in the debug information, but it's now independent of whether building in-tree or out-of-tree. The biggest improvement of this patch is that gdb now always searches for the path relative to the source directory. It still also searches for the full path. Previously it searched only for the full path in out-of-tree builds, making the debug information generated by Debian's buildds rather hard to use. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | Merge commit '9f57f134c19773d54269b6cb9ee455ff87c2e9e1'Hendrik Leppkes2015-12-051-2/+5
|\ \ | |/ | | | | | | | | | | * commit '9f57f134c19773d54269b6cb9ee455ff87c2e9e1': configure: ObjC support Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
* | Merge commit 'c1aac39eaccd32dc3b74ccfcce701d3d888fbc6b'Hendrik Leppkes2015-10-141-2/+4
|\ \ | |/ | | | | | | | | | | * commit 'c1aac39eaccd32dc3b74ccfcce701d3d888fbc6b': build: add Solaris symbol versioning Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * build: add Solaris symbol versioningSean McGovern2015-10-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The versioning facility in the Solaris linker differs from Linux in 3 ways: 1. It does not support globs in linker scripts for symbol versioning -- this is a GNU extension. 2. The linker argument is '-M', instead of '--version-script'. 3. It is picky about line endings. Each symbol or directive must be on a line of it's own. Let's use make_sunver.pl from GCC to generate a version script that works correctly with the Solaris linker. It's function is to correctly expand the globs in the original generated version script. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '3ae0e721c7b6e0483801b9039b3d140e3b68b7f5'Michael Niedermayer2015-07-221-2/+3
|\ \ | |/ | | | | | | | | | | * commit '3ae0e721c7b6e0483801b9039b3d140e3b68b7f5': checkasm: Always link statically Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * checkasm: Always link staticallyLuca Barbato2015-07-211-2/+3
| | | | | | | | Checkasm needs to use internal symbols that should not be made public.
* | x86: Makefile: fix DBG parameter evaluationChristophe Gisquet2015-03-111-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Makefile: improve DBG option for asmChristophe Gisquet2015-02-211-5/+5
| | | | | | | | | | | | This improves the cleanup, dependency generation and DBG command issuing. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86/doc/Makefile: DBG=1 to preprocess external asmChristophe Gisquet2015-02-171-1/+9
| | | | | | | | | | | | | | | | | | | | | | The macro hell sometimes make it difficult to trace the source of an error, so it is easier to analyze the preprocessed output. This patch makes this automatical by specifying DBG=1 on the command line: a file ffmpeg/dir/file.asm gets preprocessed to builddir/dir/file.dbg.asm, which is then compiled. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'afe176265480880e1f702c96a8ba434b0d88728b'Michael Niedermayer2014-05-201-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | * commit 'afe176265480880e1f702c96a8ba434b0d88728b': build: export library dependencies in ${name}_FFLIBS Conflicts: common.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: export library dependencies in ${name}_FFLIBSJanne Grunau2014-05-201-1/+1
| | | | | | | | | | Removes an ugly $(if) to avoid conflicts with $(FFLIBS-) in the top-level MAkefile.
* | Merge commit '7e90133f6420b1c53652f972b9561600822881ee'Michael Niedermayer2014-05-141-4/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit '7e90133f6420b1c53652f972b9561600822881ee': build: do not append $(FFLIBS-) to $(FFLIBS) if $(NAME) is not defined Conflicts: common.mak See: efa95968317411179b0016af54745906029c2295 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: do not append $(FFLIBS-) to $(FFLIBS) if $(NAME) is not definedJanne Grunau2014-05-141-1/+1
| | | | | | | | Avoids including disabled library Makefiles.
* | common.mak: fix (not)building disabled libsMichael Niedermayer2014-05-131-1/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '449511740f06a4675b0066730fa45cdb764ffafc'Michael Niedermayer2014-05-131-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * commit '449511740f06a4675b0066730fa45cdb764ffafc': build: handle library dependencies in configure Conflicts: common.mak configure libavdevice/Makefile libavfilter/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: handle library dependencies in configureJanne Grunau2014-05-131-1/+1
| | | | | | | | | | Instead of setting FFLIBS in each library Makefile configure exports FFLIBS-$library in config.mak.
* | lavd: Add QTKit input device.Vadim Kalinsky2014-03-301-0/+3
| | | | | | | | | | Signed-off-by: Thilo Borgmann <thilo.borgmann@mail.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'b339182eba34f28de5f1a477cdd2c84f1ef35d90'Michael Niedermayer2014-02-171-1/+0
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b339182eba34f28de5f1a477cdd2c84f1ef35d90': Move all example programs to doc/examples Conflicts: configure doc/Makefile doc/doxy-wrapper.sh doc/examples/avcodec.c doc/examples/decoding_encoding.c doc/examples/metadata.c doc/examples/muxing.c doc/examples/transcode_aac.c libavcodec/Makefile libavcodec/api-example.c libavformat/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Move all example programs to doc/examplesDiego Biurrun2014-02-161-1/+0
| | | | | | | | Also drop support for building examples in library directories.
* | common.mak: Less ugly version of the previous windres fixJames Almer2013-12-091-1/+1
| | | | | | | | | | | | | | Using subst here is a really ugly hack Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | common.mak: fix the current fate failures with windresJames Almer2013-12-091-1/+1
| | | | | | | | | | Tested-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | windres: Track dependenciesJames Almer2013-12-071-2/+2
| | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add Windows resource file support for shared librariesJames Almer2013-12-051-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Originally written by James Almer <jamrial@gmail.com> With the following contributions by Timothy Gu <timothygu99@gmail.com> * Use descriptions of libraries from the pkg-config file generation function * Use "FFmpeg Project" as CompanyName (suggested by Alexander Strasser) * Use "FFmpeg" for ProductName as MSDN says "name of the product with which the file is distributed" [1]. * Use FFmpeg's version (N-xxxxx-gxxxxxxx) for ProductVersion per MSDN [1]. * Only build the .rc files when --enable-small is not enabled. [1] http://msdn.microsoft.com/en-us/library/windows/desktop/aa381058.aspx Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '5a9fcc7d2524d6c0f86b2855019ee9f4cf360276'Michael Niedermayer2013-12-021-0/+3
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '5a9fcc7d2524d6c0f86b2855019ee9f4cf360276': build: Add rule for building host-specific object files Conflicts: Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'ad477710244c761ad1c21246c34e0075fee12d11'Michael Niedermayer2013-12-021-1/+2
|\ \ | |/ | | | | | | | | | | | | | | | | * commit 'ad477710244c761ad1c21246c34e0075fee12d11': build: Add shorthand for HOSTCC compile macro Conflicts: Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: Add shorthand for HOSTCC compile macroDiego Biurrun2013-12-021-1/+1
| |
* | Merge commit 'e8fcdebb17fc59375fd9fc6c0a02a1d2e6d9fb23'Michael Niedermayer2013-11-151-1/+1
|\ \ | |/ | | | | | | | | | | * commit 'e8fcdebb17fc59375fd9fc6c0a02a1d2e6d9fb23': build: Allow specifying extra object files when linking HOSTPROGS Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: Allow specifying extra object files when linking HOSTPROGSDiego Biurrun2013-11-151-1/+1
| |
* | Merge commit '47b6cfc2a0333fb24f074d27830bf35ae5007050'Michael Niedermayer2013-10-041-1/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * commit '47b6cfc2a0333fb24f074d27830bf35ae5007050': avformat/output-example: Declare link dependency on libswscale in the Makefile Conflicts: libavformat/Makefile Changes to libavformat/Makefile are not merged as our build system for the examples is different. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avformat/output-example: Declare link dependency on libswscale in the MakefileDiego Biurrun2013-10-031-1/+2
| |
| * Integrate lcov/gcov into LibavReinhard Tartler2013-04-051-1/+1
| | | | | | | | | | | | | | The gcov/lcov are a common toolchain for visualizing code coverage with the GNU/Toolchain. The documentation and implementation of this integration was heavily inspired from the blog entry by Mike Melanson: http://multimedia.cx/eggs/using-lcov-with-ffmpeg/
* | Merge commit '472391b9a7e15e3bff33b016e7b6dbfa6a555975'Michael Niedermayer2013-03-281-0/+1
|\ \ | |/ | | | | | | | | | | | | * commit '472391b9a7e15e3bff33b016e7b6dbfa6a555975': ape: use correct context for the bit table printed in debug build: Move setting of SRC_DIR to the only place it is used Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: Move setting of SRC_DIR to the only place it is usedDiego Biurrun2013-03-271-0/+1
| |
* | Merge commit '4cc4b33f71d3982df404fceb4405d656c538bc74'Michael Niedermayer2013-02-241-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit '4cc4b33f71d3982df404fceb4405d656c538bc74': build: Add proper infrastructure for adding and checking host CPPFLAGS Conflicts: Makefile configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '8a11ce43d08352f7a290355ebb5b29c495ad9609'Michael Niedermayer2013-02-201-2/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit '8a11ce43d08352f7a290355ebb5b29c495ad9609': build: Ensure that output directories for header objects are created h264: Get rid of unnecessary casts Conflicts: common.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: Ensure that output directories for header objects are createdDiego Biurrun2013-02-201-1/+2
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-12-111-0/+6
|\ \ | |/ | | | | | | | | | | | | | | | | | | * qatar/master: build: fix 'clean' target ZeroCodec: Flip output Conflicts: libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: fix 'clean' targetMans Rullgard2012-12-101-0/+6
| | | | | | | | | | | | | | | | This fixes removal of TOOLS as well as HOSTPROGS declared in the top-level Makefile. The clean target in common.mak needs to be eval'd since the variables used within are reset for each library. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge commit '4a606c830ae664013cea33800094d4d0f4ec62da'Michael Niedermayer2012-11-231-0/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | * commit '4a606c830ae664013cea33800094d4d0f4ec62da': av_memcpy_backptr: optimise some special cases mpegvideo: simplify dxy calculation in hpel_motion() build: add rules to generate preprocessed source files Conflicts: Makefile libavutil/mem.c library.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '04581c8c77ce779e4e70684ac45302972766be0f'Michael Niedermayer2012-10-311-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '04581c8c77ce779e4e70684ac45302972766be0f': x86: yasm: Use complete source path for macro helper %includes Conflicts: Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-10-261-0/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: configure: sanitise sparc vis check configure: recognise more sparc variants as --cpu argument build: Include HEADERS-yes in the HEADERS variable pcm: change references to raw to pcm ffv1: set the range coder state in decode_slice_header pcmdec: change default of channels parameter to 1 Conflicts: libavformat/pcmdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: Include HEADERS-yes in the HEADERS variableMartin Storsjö2012-10-251-0/+1
| | | | | | | | | | | | | | This makes sure the previously always installed public header lzo.h is installed if the LZO functionality is enabled. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-09-161-0/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mpegvideo: drop unnecessary arguments to hpel_motion() mpegvideo: drop 'inline' from some functions nellymoserdec: drop support for s16 output. bmpdec: only initialize palette for pal8. build: Properly remove object files while cleaning flacdsp: arm optimised lpc filter compat/vsnprintf: return number of bytes required on truncation. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: Properly remove object files while cleaningMans Rullgard2012-09-151-0/+3
| | | | | | | | | | | | | | Previously, object files in, for example, compat/ were left after a clean or distclean was run. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-301-2/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: build: allow non-standard variations of linker -l/-L flags Add reminders to update the codec descriptor list with new codec IDs. Conflicts: Makefile configure libavcodec/avcodec.h libavformat/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
OpenPOWER on IntegriCloud