summaryrefslogtreecommitdiff
path: root/common.mak
Commit message (Collapse)AuthorAge
* 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
* Remove .SECONDARY directiveMåns Rullgård2010-03-10
| | | | | | | | | 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-10
| | | | | | | | | | | 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-10
| | | | Originally committed as revision 22419 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prettify make output for documentationMåns Rullgård2010-03-10
| | | | Originally committed as revision 22418 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prettify make output when generating headersMåns Rullgård2010-03-09
| | | | Originally committed as revision 22401 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify static/shared build rulesMåns Rullgård2010-03-09
| | | | Originally committed as revision 22394 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove duplicates from OBJSMåns Rullgård2010-03-09
| | | | 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-08
| | | | | | | | 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-08
| | | | Originally committed as revision 22335 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Skip cmdutils_common_opts.h fragment in checkheadersMåns Rullgård2010-03-08
| | | | 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-07
| | | | 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-06
| | | | Originally committed as revision 22249 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prettify make outputMåns Rullgård2010-03-06
| | | | | | | 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
* Stop make deleting intermediate files (ffmpeg.o and friends)Måns Rullgård2010-02-27
| | | | Originally committed as revision 22094 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Disable suffix rulesMåns Rullgård2010-02-25
| | | | | | | | Most of the make builtin rules, which we do not need, are suffix rules, and we use only new-style pattern rules. Disabling suffix rules saves some time when building on slow systems. Originally committed as revision 22064 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move ECFLAGS so it doesn't get added multiple timesMåns Rullgård2010-01-28
| | | | Originally committed as revision 21520 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Append ECFLAGS to CFLAGSMåns Rullgård2010-01-28
| | | | | | | This makes it easy to supply extra flags on the make command line for testing purposes. Originally committed as revision 21515 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert r21226, it was a joke:Ramiro Polla2010-01-26
| | | | | | | Get one step closer to world domination. Remove "make uninstall". Originally committed as revision 21466 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add symbol versioning for shared librariesMåns Rullgård2010-01-16
| | | | | | Based on patch by Reinhard Tartler <siretart tauware de> Originally committed as revision 21236 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get one step closer to world domination.Ramiro Polla2010-01-15
| | | | | | Remove "make uninstall". Originally committed as revision 21226 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Delete *.d files with make cleanMåns Rullgård2009-11-22
| | | | Originally committed as revision 20577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add generic rules for building helpers with HOSTCCMåns Rullgård2009-10-29
| | | | Originally committed as revision 20412 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add PIC flags early so tests they affect give correct resultsMåns Rullgård2009-08-23
| | | | | | This is mainly the checks for ebx on x86, but possibly others too. Originally committed as revision 19687 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Skip headers requiring external libs not present in checkheadersMåns Rullgård2009-08-23
| | | | Originally committed as revision 19685 to svn://svn.ffmpeg.org/ffmpeg/trunk