summaryrefslogtreecommitdiffstats
path: root/library.mak
Commit message (Collapse)AuthorAgeFilesLines
* Move all example programs to doc/examplesDiego Biurrun2014-02-161-8/+6
| | | | Also drop support for building examples in library directories.
* build: doxy: Include code examples in Doxygen documentationDiego Biurrun2014-02-141-0/+1
|
* configure: add strip flags checksVittorio Giovara2013-11-281-1/+1
| | | | | | This will check if -wN '..@*' is available and fall back on -x if not; when none are available, do not run strip at all to prevent removing functions that might be actually needed.
* build: remove pointless conditionIngo Brückl2013-10-291-1/+1
| | | | | | | | $(STRIP) always expands to something, because it is one of the commands in the BRIEF list. This renders the condition pointless. Signed-off-by: Ingo Brückl <ib@wupperonline.de> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* build: Strip spurious labelsLoren Merritt2013-10-071-0/+1
| | | | | | | | | | | | | | The implementation of 25cb0c1a involves lots of spurious labels. The effect of keeping those labels around is making debugging harder. Those labels are meaningless, and complicate the disassembly. Also, gdb can't tell the difference between them and function entry points. This new strip command is irrelevant to any usage of Libav that would have used the old fully stripped version, because the old one was for non-debug use. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* build: Move setting of SRC_DIR to the only place it is usedDiego Biurrun2013-03-271-2/+0
|
* build: Make library minor version visible in the MakefileDiego Biurrun2013-02-111-0/+1
| | | | This allows employing that number in library install commands.
* build: fix 'clean' targetMans Rullgard2012-12-101-1/+1
| | | | | | | | 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: add rules to generate preprocessed source filesMans Rullgard2012-11-231-2/+9
| | | | | | | This is useful for debugging. Dependencies for these files are not generated due to limitations in many compilers. Signed-off-by: Mans Rullgard <mans@mansr.com>
* doc: add apidoc target for doxygen API documentationJanne Grunau2012-11-021-0/+2
| | | | | | | | | Documentation includes only the externally visible API of the installed headers. Based on a patch by Anton Khirnov <anton@khirnov.net>. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* build: allow targets to specify extra objects to link with executablesMans Rullgard2012-10-231-1/+1
| | | | | | | This allows targets to include special objects when linking executables without including them in (shared) libraries. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: do not use LIB as variable nameMans Rullgard2012-10-101-3/+3
| | | | | | | The Microsoft linker uses the LIB environment variable which clashes with a make variable of the same name. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: whitespace cosmeticsMans Rullgard2012-10-101-1/+1
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: remove single-use variable THIS_LIBMans Rullgard2012-10-101-2/+1
| | | | | | Replace the single use of THIS_LIB with its value. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: remove references to unused EXTRAOBJS variableMans Rullgard2012-10-101-2/+2
| | | | | | This was part of a ghastly hack that is long since gone. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: sanitize linking of tools and test programsMans Rullgard2012-10-101-1/+4
| | | | | | | | | This makes sure proper linker arguments are used for the tools and test programs when shared libraries are enabled. The tools are linked using the usual -l flag while for test programs the full name of the static library is used. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: link test programs only against static libsMans Rullgard2012-10-091-3/+3
| | | | | | | | | | The test programs use internal symbols so cannot be linked against the shared libs. Linking against both shared and static is pointless and might do something strange depending on the linker. This changes the dependencies so the test programs are linked only against the static library for the component they belong to. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: support some non-standard ar variantsMans Rullgard2012-09-191-1/+1
| | | | | | | This adds support for the TI and Microsoft (lib.exe) variants of the ar utility. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: allow non-standard variations of linker -l/-L flagsMans Rullgard2012-08-291-1/+1
| | | | | | | | | 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: Use portable abstraction for linker/hostcc output file syntaxDiego Biurrun2012-08-271-2/+2
|
* build: Remove all installed headers and header directories on uninstallDiego Biurrun2012-08-071-2/+2
|
* build: change checkheaders to use regular build rulesMans Rullgard2012-08-071-1/+1
| | | | | | | | | | | | | 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: Rename YASMDEP variable to DEPYASM for consistencyDiego Biurrun2012-07-281-1/+1
|
* build: Only clean the architecture subdirectory we build for.Diego Biurrun2012-03-261-4/+2
| | | | | This allows simplifying the Makefiles; it is no longer necessary to register arch subdirectory Makefiles, just putting them in place is enough.
* build: link test programs with static librariesMans Rullgard2011-12-171-0/+1
| | | | | | | | Many of the test programs directly access internal symbols not exported from the shared libraries. This allows tests to run when configured with shared libraries. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: rename subdir.mak ---> library.makDiego Biurrun2011-12-131-0/+97
OpenPOWER on IntegriCloud