aboutsummaryrefslogtreecommitdiff
path: root/common.mak
AgeCommit message (Collapse)Author
2011-07-11build: remove unnecessary FFLDFLAGS variableMans Rullgard
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>
2011-07-10build: remove duplicates from order-only directory prerequisite listDiego Biurrun
This reduces startup latency for make invocations, which is especially noticeable on systems that are slow or have slow I/O, like Windows.
2011-07-10build: rework rules for things in the tools dirMans Rullgard
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>
2011-06-29build: create output directories as neededMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-28build: replace some addprefix/addsuffix with substitution refsMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-23build: move basic rules and variables to main MakefileMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-23build: move special targets to end of main MakefileMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-14build: move vpath directives to main MakefileMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-14build: move ALLFFLIBS to a more logical placeMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-07build: remove empty $(OBJS) targetMans Rullgard
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>
2011-06-06build: clean up .PHONY listsMans Rullgard
This removes nonexisting targets from phony lists and puts them all in one place. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-06build: move all (un)install* target aliases to toplevel MakefileMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-06build: remove stale dependencyMans Rullgard
This dependency is implicitly covered elsewhere. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-06build: do not add CFLAGS-yes to CFLAGSMans Rullgard
CFLAGS-yes is never set so this serves no purpose. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-29build: remove BUILD_ROOT variableMans Rullgard
This variable is unnecessary as absolute paths are not required. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-31Include dependencies for test programsMans Rullgard
This makes sure the various *-test programs are correctly rebuilt when necessary. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-29Remove support for stripping executablesMans Rullgard
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>
2011-02-15Merge libavcore into libavutilReinhard Tartler
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>
2010-09-03Create config.asm for use with yasmMåns Rullgård
Originally committed as revision 25039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-17Remove dep/depend targets and related variables.Diego Biurrun
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
2010-07-21Add libavcore.Stefano Sabatini
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
2010-07-04Stop make complaining about moved/deleted headersMåns Rullgård
Originally committed as revision 24041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-26Add -I flags to HOSTCFLAGSMåns Rullgård
Originally committed as revision 23805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-26Fix brief make messages when CC etc are specified on command lineMåns Rullgård
Originally committed as revision 23792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-17Make ranlib silent in brief output modeMåns Rullgård
Running ranlib is quick and uninteresting, no need to print it. Originally committed as revision 22582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-14Fix brief make output for generated tablesMåns Rullgård
Originally committed as revision 22526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10Remove .SECONDARY directiveMåns Rullgård
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
2010-03-10Improve version.h generationMåns Rullgård
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
2010-03-10Replace $(G) with more generic $(M) in silent make rulesMåns Rullgård
Originally committed as revision 22419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10Prettify make output for documentationMåns Rullgård
Originally committed as revision 22418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09Prettify make output when generating headersMåns Rullgård
Originally committed as revision 22401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09Simplify static/shared build rulesMåns Rullgård
Originally committed as revision 22394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09Remove duplicates from OBJSMåns Rullgård
Originally committed as revision 22391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08checkheaders: skip per-arch headers not meant for direct inclusionMåns Rullgård
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
2010-03-08Add TESTOBJS make variable for extra objects used by test appsMåns Rullgård
Originally committed as revision 22335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08Skip cmdutils_common_opts.h fragment in checkheadersMåns Rullgård
Originally committed as revision 22333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-07Define HAVE_AV_CONFIG_H only when building librariesMåns Rullgård
Originally committed as revision 22294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06Fix build with compilers using a separate dependency commandMåns Rullgård
Originally committed as revision 22249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06Prettify make outputMåns Rullgård
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
2010-02-27Stop make deleting intermediate files (ffmpeg.o and friends)Måns Rullgård
Originally committed as revision 22094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-25Disable suffix rulesMåns Rullgård
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
2010-01-28Move ECFLAGS so it doesn't get added multiple timesMåns Rullgård
Originally committed as revision 21520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-28Append ECFLAGS to CFLAGSMåns Rullgård
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
2010-01-26Revert r21226, it was a joke:Ramiro Polla
Get one step closer to world domination. Remove "make uninstall". Originally committed as revision 21466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16Add symbol versioning for shared librariesMåns Rullgård
Based on patch by Reinhard Tartler <siretart tauware de> Originally committed as revision 21236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-15Get one step closer to world domination.Ramiro Polla
Remove "make uninstall". Originally committed as revision 21226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-22Delete *.d files with make cleanMåns Rullgård
Originally committed as revision 20577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-29Add generic rules for building helpers with HOSTCCMåns Rullgård
Originally committed as revision 20412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-23Add PIC flags early so tests they affect give correct resultsMåns Rullgård
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
2009-08-23Skip headers requiring external libs not present in checkheadersMåns Rullgård
Originally committed as revision 19685 to svn://svn.ffmpeg.org/ffmpeg/trunk