summaryrefslogtreecommitdiff
path: root/common.mak
Commit message (Collapse)AuthorAge
* tests: Move all test programs to a subdirectoryDiego Biurrun2016-05-13
|
* build: Drop redundant removal of compiled object filesDiego Biurrun2016-03-24
| | | | This is already taken care of by CLEANSUFFIXES.
* build: add Solaris symbol versioningSean McGovern2015-10-11
| | | | | | | | | | | | | | | | | | 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>
* checkasm: Always link staticallyLuca Barbato2015-07-21
| | | | Checkasm needs to use internal symbols that should not be made public.
* build: export library dependencies in ${name}_FFLIBSJanne Grunau2014-05-20
| | | | | Removes an ugly $(if) to avoid conflicts with $(FFLIBS-) in the top-level MAkefile.
* build: do not append $(FFLIBS-) to $(FFLIBS) if $(NAME) is not definedJanne Grunau2014-05-14
| | | | Avoids including disabled library Makefiles.
* build: handle library dependencies in configureJanne Grunau2014-05-13
| | | | | Instead of setting FFLIBS in each library Makefile configure exports FFLIBS-$library in config.mak.
* Move all example programs to doc/examplesDiego Biurrun2014-02-16
| | | | Also drop support for building examples in library directories.
* build: Add shorthand for HOSTCC compile macroDiego Biurrun2013-12-02
|
* build: Allow specifying extra object files when linking HOSTPROGSDiego Biurrun2013-11-15
|
* avformat/output-example: Declare link dependency on libswscale in the MakefileDiego Biurrun2013-10-03
|
* Integrate lcov/gcov into LibavReinhard Tartler2013-04-05
| | | | | | | 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/
* build: Move setting of SRC_DIR to the only place it is usedDiego Biurrun2013-03-27
|
* build: Ensure that output directories for header objects are createdDiego Biurrun2013-02-20
|
* build: fix 'clean' targetMans Rullgard2012-12-10
| | | | | | | | 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>
* build: Include HEADERS-yes in the HEADERS variableMartin Storsjö2012-10-25
| | | | | | | 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>
* build: Properly remove object files while cleaningMans Rullgard2012-09-15
| | | | | | | 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>
* build: allow non-standard variations of linker -l/-L flagsMans Rullgard2012-08-29
| | | | | | | | | This enables replacing the -l and -L flags used to specify the just-built libraries when linking the tools and shared libs with non-standard syntaxes. System library flags are already handled by the filtering mechanism in configure. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: add separate setting for host linkerMans Rullgard2012-08-28
| | | | | | | This adds new HOSTLD and related settings for host linker allowing it to be different from HOSTCC. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: Use portable abstraction for linker/hostcc output file syntaxDiego Biurrun2012-08-27
|
* build: change checkheaders to use regular build rulesMans Rullgard2012-08-07
| | | | | | | | | | | | | Many compilers need special flags to compile *.h files as regular source code, if they will do so at all. Rather than hoping all compilers will have such a flag and adding mappings for it, create wrapper .c files for test building single headers. This allows using the regular rule for compiling C files without the need for special flags, and it also provides proper dependency tracking for these objects. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: use COMPILE template for HOSTOBJSMans Rullgard2012-07-26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: Drop leftover .exp pattern from LIBSUFFIXES list.Diego Biurrun2012-05-05
|
* build: Consistently handle conditional compilation for all optimization OBJS.Diego Biurrun2012-04-12
|
* build: remove unnecessary FFLDFLAGS variableMans Rullgard2011-07-11
| | | | | | | | 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>
* build: remove duplicates from order-only directory prerequisite listDiego Biurrun2011-07-10
| | | | | This reduces startup latency for make invocations, which is especially noticeable on systems that are slow or have slow I/O, like Windows.
* build: rework rules for things in the tools dirMans Rullgard2011-07-10
| | | | | | | | 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>
* build: create output directories as neededMans Rullgard2011-06-29
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: replace some addprefix/addsuffix with substitution refsMans Rullgard2011-06-28
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: move basic rules and variables to main MakefileMans Rullgard2011-06-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: move special targets to end of main MakefileMans Rullgard2011-06-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: move vpath directives to main MakefileMans Rullgard2011-06-14
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: move ALLFFLIBS to a more logical placeMans Rullgard2011-06-14
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: remove empty $(OBJS) targetMans Rullgard2011-06-07
| | | | | | | | This target was added to prevent some files being deleted by make when using chains of implicit rules. This is no longer required. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: clean up .PHONY listsMans Rullgard2011-06-06
| | | | | | | This removes nonexisting targets from phony lists and puts them all in one place. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: move all (un)install* target aliases to toplevel MakefileMans Rullgard2011-06-06
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: remove stale dependencyMans Rullgard2011-06-06
| | | | | | This dependency is implicitly covered elsewhere. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: do not add CFLAGS-yes to CFLAGSMans Rullgard2011-06-06
| | | | | | CFLAGS-yes is never set so this serves no purpose. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: remove BUILD_ROOT variableMans Rullgard2011-05-29
| | | | | | This variable is unnecessary as absolute paths are not required. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Include dependencies for test programsMans Rullgard2011-03-31
| | | | | | | This makes sure the various *-test programs are correctly rebuilt when necessary. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove support for stripping executablesMans Rullgard2011-03-29
| | | | | | | | Stripping is generally best left to package management tools, and since unstripped copies are kept in the build tree, any arguments about saving space (no matter how insignificant) are void. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Merge libavcore into libavutilReinhard Tartler2011-02-15
| | | | | | | | | | | | It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* Create config.asm for use with yasmMåns Rullgård2010-09-03
| | | | Originally committed as revision 25039 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove dep/depend targets and related variables.Diego Biurrun2010-08-17
| | | | | | We no longer create dependency files directly, so the rules are now pointless. Originally committed as revision 24807 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add libavcore.Stefano Sabatini2010-07-21
| | | | | | | | | | | The new library is meant to contain the core multimedia utilities for FFmpeg, to make them shareable between more libav* libraries. See thread: Subject: [FFmpeg-devel] [RFC] New library for shared non-generic libav* utils Date: Fri, 9 Jul 2010 01:07:40 +0200 Originally committed as revision 24393 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Stop make complaining about moved/deleted headersMåns Rullgård2010-07-04
| | | | Originally committed as revision 24041 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add -I flags to HOSTCFLAGSMåns Rullgård2010-06-26
| | | | Originally committed as revision 23805 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix brief make messages when CC etc are specified on command lineMåns Rullgård2010-06-26
| | | | Originally committed as revision 23792 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ranlib silent in brief output modeMåns Rullgård2010-03-17
| | | | | | Running ranlib is quick and uninteresting, no need to print it. Originally committed as revision 22582 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix brief make output for generated tablesMåns Rullgård2010-03-14
| | | | Originally committed as revision 22526 to svn://svn.ffmpeg.org/ffmpeg/trunk