summaryrefslogtreecommitdiff
path: root/common.mak
Commit message (Collapse)AuthorAgeFilesLines
* build: Ensure that output directories for header objects are createdDiego Biurrun2013-02-201-1/+2
|
* 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>
* 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>
* 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>
* build: allow non-standard variations of linker -l/-L flagsMans Rullgard2012-08-291-1/+2
| | | | | | | | | 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-281-1/+1
| | | | | | | 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-271-1/+1
|
* build: change checkheaders to use regular build rulesMans Rullgard2012-08-071-3/+5
| | | | | | | | | | | | | 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-261-2/+2
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: Drop leftover .exp pattern from LIBSUFFIXES list.Diego Biurrun2012-05-051-1/+1
|
* build: Consistently handle conditional compilation for all optimization OBJS.Diego Biurrun2012-04-121-1/+1
|
* build: remove unnecessary FFLDFLAGS variableMans Rullgard2011-07-111-1/+0
| | | | | | | | 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-101-3/+3
| | | | | 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-101-0/+6
| | | | | | | | 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-291-0/+6
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: replace some addprefix/addsuffix with substitution refsMans Rullgard2011-06-281-10/+10
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: move basic rules and variables to main MakefileMans Rullgard2011-06-231-40/+0
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: move special targets to end of main MakefileMans Rullgard2011-06-231-8/+0
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: move vpath directives to main MakefileMans Rullgard2011-06-141-5/+0
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: move ALLFFLIBS to a more logical placeMans Rullgard2011-06-141-2/+0
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: remove empty $(OBJS) targetMans Rullgard2011-06-071-2/+0
| | | | | | | | 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-061-2/+0
| | | | | | | 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-061-5/+0
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: remove stale dependencyMans Rullgard2011-06-061-2/+0
| | | | | | This dependency is implicitly covered elsewhere. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: do not add CFLAGS-yes to CFLAGSMans Rullgard2011-06-061-1/+0
| | | | | | 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-291-9/+3
| | | | | | 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-311-2/+2
| | | | | | | 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-291-1/+1
| | | | | | | | 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-151-1/+1
| | | | | | | | | | | | 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-031-0/+1
| | | | Originally committed as revision 25039 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove dep/depend targets and related variables.Diego Biurrun2010-08-171-4/+1
| | | | | | 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-211-1/+1
| | | | | | | | | | | 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-041-0/+4
| | | | Originally committed as revision 24041 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add -I flags to HOSTCFLAGSMåns Rullgård2010-06-261-1/+4
| | | | 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-261-2/+2
| | | | Originally committed as revision 23792 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ranlib silent in brief output modeMåns Rullgård2010-03-171-2/+2
| | | | | | 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-141-2/+2
| | | | Originally committed as revision 22526 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove .SECONDARY directiveMåns Rullgård2010-03-101-1/+1
| | | | | | | | | The presence of the .SECONDARY directive caused thing to not always be correctly rebuilt. Mentioning the object files explicitly as targets gives the desired result of make not deleting them without unpleasant side-effects. Originally committed as revision 22422 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Improve version.h generationMåns Rullgård2010-03-101-8/+0
| | | | | | | | | | | Force version.sh to run whenever the version might have changed, regardless of what is being built. This is done by attaching the dependencies to a dummy file (.version) which is included from the makefile. As make will always attempt to rebuild any included files before considering other rules, this ensures that the real version.h is (re-)created before it is required by any source file. Originally committed as revision 22420 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace $(G) with more generic $(M) in silent make rulesMåns Rullgård2010-03-101-2/+3
| | | | Originally committed as revision 22419 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prettify make output for documentationMåns Rullgård2010-03-101-0/+1
| | | | Originally committed as revision 22418 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prettify make output when generating headersMåns Rullgård2010-03-091-1/+2
| | | | Originally committed as revision 22401 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify static/shared build rulesMåns Rullgård2010-03-091-1/+3
| | | | Originally committed as revision 22394 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove duplicates from OBJSMåns Rullgård2010-03-091-1/+1
| | | | Originally committed as revision 22391 to svn://svn.ffmpeg.org/ffmpeg/trunk
* checkheaders: skip per-arch headers not meant for direct inclusionMåns Rullgård2010-03-081-0/+1
| | | | | | | | Some of the per-arch headers are only meant to be used through the parent header of the same name. Testing these standalone does not make sense. Originally committed as revision 22341 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add TESTOBJS make variable for extra objects used by test appsMåns Rullgård2010-03-081-0/+1
| | | | Originally committed as revision 22335 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Skip cmdutils_common_opts.h fragment in checkheadersMåns Rullgård2010-03-081-1/+1
| | | | Originally committed as revision 22333 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define HAVE_AV_CONFIG_H only when building librariesMåns Rullgård2010-03-071-1/+1
| | | | Originally committed as revision 22294 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix build with compilers using a separate dependency commandMåns Rullgård2010-03-061-1/+1
| | | | Originally committed as revision 22249 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prettify make outputMåns Rullgård2010-03-061-1/+13
| | | | | | | This gives brief messages from make by default. For full command echoing, add V=1 to make command line. Originally committed as revision 22244 to svn://svn.ffmpeg.org/ffmpeg/trunk