aboutsummaryrefslogtreecommitdiff
path: root/subdir.mak
AgeCommit message (Collapse)Author
2011-12-13build: rename subdir.mak ---> library.makDiego Biurrun
2011-07-30build: make examples build normallyLuca Barbato
The link target was missing $(EXAMPLES)
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: 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-07-07build: clean up library installation rulesMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-28build: include sub-makefiles using full path instead of symlinksMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-26build: improve rules for test programsMans Rullgard
This generates dependencies for the *-test.o files ensuring rebuilds when necessary. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-25build: Add DEP_LIBS dependency directly to the shared library build rule.Diego Biurrun
The dependency was added conditional to a variable that is always defined, so it is safe to add it directly.
2011-06-23build: remove SRC_PATH_BARE variableMans Rullgard
Setting SRC_PATH to "." when building in-tree removes the need for a quoted version of the source path since out-of-tree builds are not possible if the pathname contains spaces. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-03build: simplify commands for clean targetMans Rullgard
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>
2010-12-07fix building test programs with gnu make 3.82Ramiro Polla
Test programs may be named either %.c or %-test.c. In some cases (ie. fft), both files exist and make has to choose which rule to use. Up to gnu make 3.81, rules were applied in definition order, in this case favouring the generic %.c rule from common.mak. gnu make 3.82 uses a shortest stem first order, applying definition order for same length stems. In this case, %-test.c must come first in order for make to pick the proper source file. Originally committed as revision 25918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-17Remove $(MSG) override for install-lib targetsMåns Rullgård
This is no longer needed and causes incorrect output in some cases. Originally committed as revision 22583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09Reorder some make rulesMåns Rullgård
I like it better this way. Originally committed as revision 22397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09Remove superflous ifdef CONFIG_{STATIC,SHARED} in makefilesMåns Rullgård
Originally committed as revision 22396 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-09Move some make rules outside of eval'd blockMåns Rullgård
These rules use only global variables and thus do not need to be expanded. Originally committed as revision 22393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09cosmetic: move some makefile variable definitionsMåns Rullgård
Originally committed as revision 22392 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-08Define HAVE_AV_CONFIG_H for checkheaders in libsMåns Rullgård
Originally committed as revision 22332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08Define HAVE_AV_CONFIG_H when building test appsMåns Rullgård
Originally committed as revision 22330 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-0710l: fix make install with only shared libsMåns Rullgård
Originally committed as revision 22280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06Fix install with shared libs on weird systemsMåns Rullgård
Originally committed as revision 22246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06Fix make installMåns Rullgård
Originally committed as revision 22245 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-03-06Split install-headers target and simplify rulesMåns Rullgård
Originally committed as revision 22243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06Add INSTALL makefile variableMåns Rullgård
Originally committed as revision 22242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06Use mkdir -p to create directoriesMåns Rullgård
Originally committed as revision 22241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06Add YASMDEP variable; use for deps on yasm filesMåns Rullgård
Originally committed as revision 22239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06Use $(RM) to delete filesMåns Rullgård
Originally committed as revision 22234 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-20Use $(CC_O) in %-test.o rulesMåns Rullgård
Originally committed as revision 21350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-19Add rules to install generated headersMåns Rullgård
Originally committed as revision 21320 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-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-10-28Makefile cosmeticsMåns Rullgård
Originally committed as revision 20410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-23Fix dependency generation for yasm assembler filesMåns Rullgård
Originally committed as revision 19683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-28Replace BUILD_{SHARED,STATIC} with CONFIG_ counterpartsMåns Rullgård
Originally committed as revision 19527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-16Use CPPFLAGS when building testsMåns Rullgård
Originally committed as revision 19446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12Use LD for linking, default to same as CCMåns Rullgård
Originally committed as revision 19407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-20Create shared libs correctly, fix mingw buildMåns Rullgård
Originally committed as revision 18884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-20Remove example programs with a wildcard expression.Diego Biurrun
Originally committed as revision 18632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-01Add $(ELIBS) to example/test app link commandMåns Rullgård
Originally committed as revision 18298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-01Make examples and test progs depend on librariesMåns Rullgård
Originally committed as revision 18297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-01Link tests/examples with -lfoo instead of libfoo.aMåns Rullgård
Originally committed as revision 18296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-01Move make rules applicable only to subdirs into subdir.makMåns Rullgård
Originally committed as revision 18294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-22Use $< automatic variable to simplify some commands.Diego Biurrun
Originally committed as revision 18143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13Remove other shared lib names from linker command line for shared libsMåns Rullgård
Originally committed as revision 16103 to svn://svn.ffmpeg.org/ffmpeg/trunk