Statistics
| Branch: | Revision:

ffmpeg / common.mak @ 900a129f

History | View | Annotate | Download (3.15 KB)

# Date Author Comment
2f97b12e 03/31/2011 11:01 AM Mans Rullgard

Include dependencies for test programs

This makes sure the various *-test programs are correctly rebuilt
when necessary.

Signed-off-by: Mans Rullgard <>

e0be794a 03/29/2011 09:05 PM Mans Rullgard

Remove support for stripping executables

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 <>

737eb597 02/15/2011 03:18 PM Reinhard Tartler

Merge libavcore into libavutil

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...

55127e7b 09/03/2010 09:27 PM Måns Rullgård

Create config.asm for use with yasm

Originally committed as revision 25039 to svn://svn.ffmpeg.org/ffmpeg/trunk

6fa5a91b 08/17/2010 03:02 PM Diego Biurrun

Remove dep/depend targets and related variables.
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

aac6ca69 07/21/2010 06:28 PM Stefano Sabatini

Add libavcore.

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...

11d788ca 07/04/2010 06:33 PM Måns Rullgård

Stop make complaining about moved/deleted headers

Originally committed as revision 24041 to svn://svn.ffmpeg.org/ffmpeg/trunk

7f02d357 06/26/2010 08:28 PM Måns Rullgård

Add -I flags to HOSTCFLAGS

Originally committed as revision 23805 to svn://svn.ffmpeg.org/ffmpeg/trunk

bf9aa44b 06/26/2010 10:03 AM Måns Rullgård

Fix brief make messages when CC etc are specified on command line

Originally committed as revision 23792 to svn://svn.ffmpeg.org/ffmpeg/trunk

de5aba8c 03/17/2010 02:43 PM Måns Rullgård

Make ranlib silent in brief output mode

Running ranlib is quick and uninteresting, no need to print it.

Originally committed as revision 22582 to svn://svn.ffmpeg.org/ffmpeg/trunk

7732f641 03/14/2010 07:48 PM Måns Rullgård

Fix brief make output for generated tables

Originally committed as revision 22526 to svn://svn.ffmpeg.org/ffmpeg/trunk

0680c40a 03/10/2010 02:57 AM Måns Rullgård

Remove .SECONDARY directive

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

6a53fffd 03/10/2010 02:56 AM Måns Rullgård

Improve version.h generation

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...

93bff1de 03/10/2010 02:56 AM Måns Rullgård

Replace $(G) with more generic $(M) in silent make rules

Originally committed as revision 22419 to svn://svn.ffmpeg.org/ffmpeg/trunk

86be2bc3 03/10/2010 02:56 AM Måns Rullgård

Prettify make output for documentation

Originally committed as revision 22418 to svn://svn.ffmpeg.org/ffmpeg/trunk

a736e0e5 03/09/2010 03:56 PM Måns Rullgård

Prettify make output when generating headers

Originally committed as revision 22401 to svn://svn.ffmpeg.org/ffmpeg/trunk

451db983 03/09/2010 02:58 PM Måns Rullgård

Simplify static/shared build rules

Originally committed as revision 22394 to svn://svn.ffmpeg.org/ffmpeg/trunk

7acc0104 03/09/2010 02:58 PM Måns Rullgård

Remove duplicates from OBJS

Originally committed as revision 22391 to svn://svn.ffmpeg.org/ffmpeg/trunk

f89c1402 03/08/2010 08:17 PM Måns Rullgård

checkheaders: skip per-arch headers not meant for direct inclusion

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

2a5500b1 03/08/2010 06:43 PM Måns Rullgård

Add TESTOBJS make variable for extra objects used by test apps

Originally committed as revision 22335 to svn://svn.ffmpeg.org/ffmpeg/trunk

9b55e2e7 03/08/2010 06:43 PM Måns Rullgård

Skip cmdutils_common_opts.h fragment in checkheaders

Originally committed as revision 22333 to svn://svn.ffmpeg.org/ffmpeg/trunk

72c2bdeb 03/07/2010 10:18 PM Måns Rullgård

Define HAVE_AV_CONFIG_H only when building libraries

Originally committed as revision 22294 to svn://svn.ffmpeg.org/ffmpeg/trunk

a0ac9501 03/06/2010 07:29 PM Måns Rullgård

Fix build with compilers using a separate dependency command

Originally committed as revision 22249 to svn://svn.ffmpeg.org/ffmpeg/trunk

63611f31 03/06/2010 05:14 PM Måns Rullgård

Prettify make output

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

1d536203 02/27/2010 03:25 PM Måns Rullgård

Stop make deleting intermediate files (ffmpeg.o and friends)

Originally committed as revision 22094 to svn://svn.ffmpeg.org/ffmpeg/trunk

f3a572ca 02/25/2010 11:27 PM Måns Rullgård

Disable suffix rules

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

8be0a5c3 01/28/2010 11:30 PM Måns Rullgård

Move ECFLAGS so it doesn't get added multiple times

Originally committed as revision 21520 to svn://svn.ffmpeg.org/ffmpeg/trunk

604b2f52 01/28/2010 08:13 PM Måns Rullgård

Append ECFLAGS to CFLAGS

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

d3cb93b3 01/26/2010 10:23 PM Ramiro Polla

Revert r21226, it was a joke:
Get one step closer to world domination.
Remove "make uninstall".

Originally committed as revision 21466 to svn://svn.ffmpeg.org/ffmpeg/trunk

a482e61b 01/16/2010 04:49 AM Måns Rullgård

Add symbol versioning for shared libraries

Based on patch by Reinhard Tartler <siretart tauware de>

Originally committed as revision 21236 to svn://svn.ffmpeg.org/ffmpeg/trunk

93fe7eb6 01/15/2010 07:16 PM Ramiro Polla

Get one step closer to world domination.
Remove "make uninstall".

Originally committed as revision 21226 to svn://svn.ffmpeg.org/ffmpeg/trunk

79de9c83 11/22/2009 02:22 PM Måns Rullgård

Delete *.d files with make clean

Originally committed as revision 20577 to svn://svn.ffmpeg.org/ffmpeg/trunk

de4070b5 10/29/2009 12:55 AM Måns Rullgård

Add generic rules for building helpers with HOSTCC

Originally committed as revision 20412 to svn://svn.ffmpeg.org/ffmpeg/trunk

bce7b696 08/23/2009 01:46 PM Måns Rullgård

Add PIC flags early so tests they affect give correct results

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

95f2c769 08/23/2009 11:02 AM Måns Rullgård

Skip headers requiring external libs not present in checkheaders

Originally committed as revision 19685 to svn://svn.ffmpeg.org/ffmpeg/trunk

07dec06e 08/08/2009 06:27 PM Måns Rullgård

Generate dependencies while compiling if supported by compiler

Originally committed as revision 19609 to svn://svn.ffmpeg.org/ffmpeg/trunk

c1c3933a 08/08/2009 06:27 PM Måns Rullgård

Generate dependencies when object files are built

Originally committed as revision 19608 to svn://svn.ffmpeg.org/ffmpeg/trunk

bea81a52 07/28/2009 08:58 AM Måns Rullgård

Replace BUILD_{SHARED,STATIC} with CONFIG_ counterparts

Originally committed as revision 19527 to svn://svn.ffmpeg.org/ffmpeg/trunk

adcb2190 07/22/2009 10:30 PM Måns Rullgård

Move output redirection of deps generation from make rule to DEPEND_CMD

Originally committed as revision 19493 to svn://svn.ffmpeg.org/ffmpeg/trunk

04a803be 07/12/2009 03:50 PM Stefano Sabatini

Append the user CPPFLAGS value to the CPPFLAGS used for compilation,
rather than prepend it.

This way there is the guarantee that the included headers are those in
the FFmpeg sources, rather than pre-installed headers referenced by
the user CPPFLAGS.

Originally committed as revision 19416 to svn://svn.ffmpeg.org/ffmpeg/trunk

2f2e6c7c 07/12/2009 01:29 PM Måns Rullgård

Pass ASFLAGS to assembler instead of CFLAGS

Originally committed as revision 19412 to svn://svn.ffmpeg.org/ffmpeg/trunk

7e6c86e6 07/12/2009 01:29 PM Måns Rullgård

Allow unusual ways of specifying compiler output file

Some compilers do not use the typical -c -o foo.o style.
This allows compiler-specific equivalents to be set by the
configure script.

Originally committed as revision 19409 to svn://svn.ffmpeg.org/ffmpeg/trunk

3198f618 07/12/2009 01:29 PM Måns Rullgård

Set CFLAGS directly in config.mak instead of using OPTFLAGS

Originally committed as revision 19406 to svn://svn.ffmpeg.org/ffmpeg/trunk

50a334e4 07/12/2009 01:29 PM Måns Rullgård

Separate C preprocessor flags into CPPFLAGS variable

Originally committed as revision 19404 to svn://svn.ffmpeg.org/ffmpeg/trunk

8e8a67fa 05/29/2009 11:56 AM Dave Yeo

Move *.map from LIBSUFFIXES to CLEANSUFFIXES, executables on OS/2 have
generated map files as well, so map files need to be removed in all
places where executables are removed.
patch by Dave Yeo, daveryeo telus net

Originally committed as revision 18981 to svn://svn.ffmpeg.org/ffmpeg/trunk

b4c80b64 05/20/2009 10:24 AM Måns Rullgård

Fix building from within subdirs

Originally committed as revision 18881 to svn://svn.ffmpeg.org/ffmpeg/trunk

c5662879 04/12/2009 10:48 PM Diego Biurrun

Move addition of MMX-OBJS to OBJS into common.mak instead of duplicating it.

Originally committed as revision 18478 to svn://svn.ffmpeg.org/ffmpeg/trunk

bdc2cc16 04/01/2009 12:53 AM Måns Rullgård

Always use -L flags for all subdirs

Originally committed as revision 18295 to svn://svn.ffmpeg.org/ffmpeg/trunk

3fd422ff 04/01/2009 12:53 AM Måns Rullgård

Move make rules applicable only to subdirs into subdir.mak

Originally committed as revision 18294 to svn://svn.ffmpeg.org/ffmpeg/trunk

43a0cb7c 03/29/2009 02:35 PM Diego Biurrun

Generalize example target rule in common.mak so that it sets a -example$(EXESUF)
suffix for all example files instead of doing this in individual Makefiles.

Originally committed as revision 18217 to svn://svn.ffmpeg.org/ffmpeg/trunk

3344cf85 03/26/2009 10:12 AM Diego Biurrun

Use a wildcard match instead of a list to remove test programs.
This is robust against renames and also removes test programs not
(yet) hooked up in the main Makefiles.

Originally committed as revision 18193 to svn://svn.ffmpeg.org/ffmpeg/trunk

7304c2c4 03/25/2009 06:19 PM Diego Biurrun

Move adding the '-test$(EXESUF)' suffix to test programs into common.mak.

Originally committed as revision 18189 to svn://svn.ffmpeg.org/ffmpeg/trunk

6ccf540f 03/25/2009 06:14 PM Diego Biurrun

prettyprinting cosmetics

Originally committed as revision 18188 to svn://svn.ffmpeg.org/ffmpeg/trunk

661ce289 03/22/2009 11:13 PM Diego Biurrun

Rename 'tests' target to 'testprogs'. It is too easily confused with the
'test' target and a directory named tests exists.

Originally committed as revision 18165 to svn://svn.ffmpeg.org/ffmpeg/trunk

6708cfc4 03/22/2009 10:33 PM Diego Biurrun

Add rule for building API example programs.

Originally committed as revision 18161 to svn://svn.ffmpeg.org/ffmpeg/trunk

0cc647cb 03/13/2009 03:55 PM Diego Biurrun

Mark all clean targets as phony.

Originally committed as revision 17950 to svn://svn.ffmpeg.org/ffmpeg/trunk

313c46a6 03/05/2009 09:20 PM Måns Rullgård

Compile .S files with $(AS), set it in configure

Assembler files using the GNU syntax need to be processed by gcc,
whichever compiler is used for C files.

Originally committed as revision 17827 to svn://svn.ffmpeg.org/ffmpeg/trunk

9d821fc2 03/03/2009 12:52 PM Diego Biurrun

Do not add -D_FILE_OFFSET_BITS=64 and -D_LARGEFILE_SOURCE unconditionally to
CFLAGS. Apparently there are some systems that do not like these definitions.

Originally committed as revision 17755 to svn://svn.ffmpeg.org/ffmpeg/trunk

873b0923 03/02/2009 09:33 AM Diego Biurrun

version.h should depend on config.mak.
The extra version string that is passed to configure is recorded in config.mak
and changes to config.mak can therefore make version.h rebuilds necessary.

Originally committed as revision 17730 to svn://svn.ffmpeg.org/ffmpeg/trunk

f2f35d33 01/26/2009 09:24 AM Måns Rullgård

Fix version.h dependency on version.sh

Originally committed as revision 16801 to svn://svn.ffmpeg.org/ffmpeg/trunk

1db2c5c9 01/26/2009 09:10 AM Diego Biurrun

version.h depends on version.sh.

Originally committed as revision 16799 to svn://svn.ffmpeg.org/ffmpeg/trunk

7b5e8a27 01/11/2009 10:48 PM Diego Biurrun

Extend 'checkheaders' target to architecture-specific subdirectories.

Originally committed as revision 16559 to svn://svn.ffmpeg.org/ffmpeg/trunk

a6493a8f 12/22/2008 09:12 AM Diego Biurrun

Rename libavcodec/i386/ --> libavcodec/x86/.
It contains optimizations that are not specific to i386 and
libavutil uses this naming scheme already.

Originally committed as revision 16270 to svn://svn.ffmpeg.org/ffmpeg/trunk

c87348a9 10/25/2008 02:00 PM Måns Rullgård

Use OBJS variable for all object files

There is no longer any need to differentiate the object files
by source type.

Originally committed as revision 15708 to svn://svn.ffmpeg.org/ffmpeg/trunk

0ca1656a 10/25/2008 02:00 PM Måns Rullgård

Remove unused SRCS make variable

Originally committed as revision 15707 to svn://svn.ffmpeg.org/ffmpeg/trunk

ac63af34 09/26/2008 09:37 PM Diego Biurrun

Add support for passing a version string to configure that is appended to
FFmpeg's version string output. This can be used by distributions to mark
their packages as being modified versions without hacking the sources.

Originally committed as revision 15433 to svn://svn.ffmpeg.org/ffmpeg/trunk

488b1ca4 08/13/2008 06:20 PM Michael Niedermayer

10000l, revert mistakely commited and unrelated hunk.

Originally committed as revision 14730 to svn://svn.ffmpeg.org/ffmpeg/trunk

ad1d8710 08/13/2008 06:17 PM Michael Niedermayer

Move -D_ISOC9X_SOURCE to configure so its available to all tests.

Originally committed as revision 14729 to svn://svn.ffmpeg.org/ffmpeg/trunk

304d586d 08/11/2008 11:53 PM Loren Merritt

yasm buildsystem

Originally committed as revision 14696 to svn://svn.ffmpeg.org/ffmpeg/trunk

18c64005 07/09/2008 07:09 PM Måns Rullgård

regenerate dependencies when building object files

Originally committed as revision 14143 to svn://svn.ffmpeg.org/ffmpeg/trunk

9e6165b5 06/19/2008 04:57 PM Måns Rullgård

enable version.h to be created from subdirs

Originally committed as revision 13819 to svn://svn.ffmpeg.org/ffmpeg/trunk

25cd5cb3 06/16/2008 06:01 PM Diego Biurrun

Generate pkg-config files in each library subdirectory so that they do
not clutter the root of the source tree.

Originally committed as revision 13780 to svn://svn.ffmpeg.org/ffmpeg/trunk

0147b92e 05/26/2008 06:34 AM Måns Rullgård

Revert "Add version information to DLLs."
Revert "Forgot to commit changes to subdir.mak in last revision."

Originally committed as revision 13426 to svn://svn.ffmpeg.org/ffmpeg/trunk

3f28da61 05/25/2008 02:09 PM Jeremy Kolb

Add version information to DLLs.
Patch by Jeremy Kolb.

Originally committed as revision 13379 to svn://svn.ffmpeg.org/ffmpeg/trunk

9b3cdc2e 05/09/2008 12:12 PM Diego Biurrun

Remove -I flags pointing to local paths, they are no longer necessary.

Originally committed as revision 13100 to svn://svn.ffmpeg.org/ffmpeg/trunk

bf237413 04/18/2008 07:28 PM Måns Rullgård

fix make tests in subdirs

Originally committed as revision 12893 to svn://svn.ffmpeg.org/ffmpeg/trunk

b153c68b 04/16/2008 09:50 PM Måns Rullgård

fix building of test programs (make tests)

Originally committed as revision 12867 to svn://svn.ffmpeg.org/ffmpeg/trunk

16507ddd 04/14/2008 09:39 PM Diego Biurrun

Add DIRS variable to the list of variables to be cleared instead of
unsetting it manually.

Originally committed as revision 12825 to svn://svn.ffmpeg.org/ffmpeg/trunk

e825656f 04/13/2008 10:37 AM Diego Biurrun

Clear DIRS variable in common.mak, so it does not have to be cleared in
each subdirectory Makefile.

Originally committed as revision 12803 to svn://svn.ffmpeg.org/ffmpeg/trunk

95d2afec 04/13/2008 10:23 AM Diego Biurrun

Remove all dependency files on distclean.

Originally committed as revision 12802 to svn://svn.ffmpeg.org/ffmpeg/trunk

adc39350 04/13/2008 10:09 AM Diego Biurrun

Generate the list of files to clean in subdirectories in common.mak.
This way, it can be used from all directories.

Originally committed as revision 12800 to svn://svn.ffmpeg.org/ffmpeg/trunk

d4210e2a 04/13/2008 09:59 AM Diego Biurrun

Split CLEANFILES variable into CLEANSUFFIXES and LIBSUFFIXES.

Originally committed as revision 12799 to svn://svn.ffmpeg.org/ffmpeg/trunk

76ca42a8 04/09/2008 09:11 PM Måns Rullgård

move DEP_LIBS to common.mak

Originally committed as revision 12777 to svn://svn.ffmpeg.org/ffmpeg/trunk

caec74dd 04/09/2008 08:48 PM Måns Rullgård

generate separate dependency files per object file

Originally committed as revision 12775 to svn://svn.ffmpeg.org/ffmpeg/trunk

8e255b8b 04/07/2008 10:17 PM Måns Rullgård

replace some ifeq with prettier ifdef

Originally committed as revision 12764 to svn://svn.ffmpeg.org/ffmpeg/trunk

dbe6c6ff 04/07/2008 10:17 PM Måns Rullgård

append TESTS-yes to TESTS; one ifeq less

Originally committed as revision 12763 to svn://svn.ffmpeg.org/ffmpeg/trunk

71c61f62 04/07/2008 09:16 PM Måns Rullgård

non-recursive makefiles

Originally committed as revision 12760 to svn://svn.ffmpeg.org/ffmpeg/trunk

9bcc2883 03/28/2008 03:13 AM Diego Biurrun

bandaid fix for broken shared library installation

Originally committed as revision 12617 to svn://svn.ffmpeg.org/ffmpeg/trunk

7b3ca33f 03/28/2008 01:40 AM Diego Biurrun

Fix circular dependency between install-progs and install-libs targets.

Originally committed as revision 12611 to svn://svn.ffmpeg.org/ffmpeg/trunk

0d14ab27 03/27/2008 04:10 PM François Revol

Fix building with C++ objects, variable names were inconsistent.

Originally committed as revision 12608 to svn://svn.ffmpeg.org/ffmpeg/trunk

7716f7ff 03/26/2008 09:39 AM Diego Biurrun

Use common.mak in the top-level Makefile as well.

Originally committed as revision 12599 to svn://svn.ffmpeg.org/ffmpeg/trunk

c415857d 03/15/2008 07:24 PM Måns Rullgård

rename LIBSRC to SRC_DIR, add quotes where SRC_DIR was used

Originally committed as revision 12452 to svn://svn.ffmpeg.org/ffmpeg/trunk

315c741d 03/12/2008 11:30 PM Diego Biurrun

Move dependency generation commands into configure.
This will allow specifying gcc-independent commands in the future.

Originally committed as revision 12426 to svn://svn.ffmpeg.org/ffmpeg/trunk

7853bf93 03/10/2008 08:12 PM Diego Biurrun

Replace the awkward '1>' with the more natural '>'.

Originally committed as revision 12413 to svn://svn.ffmpeg.org/ffmpeg/trunk

88855b51 03/09/2008 06:29 PM Diego Biurrun

Work around gcc stupidity: With -MM gcc outputs just the basename of files as
target name. This breaks when compiling targets in subdirectories, so prepend
the subdirectory name to the target name.

Originally committed as revision 12398 to svn://svn.ffmpeg.org/ffmpeg/trunk

0e32c8c6 03/07/2008 07:27 PM Måns Rullgård

simplify library version handling

Originally committed as revision 12362 to svn://svn.ffmpeg.org/ffmpeg/trunk

5671fc14 03/06/2008 08:44 PM Måns Rullgård

consolidate CFLAGS, LDFLAGS, EXTRALIBS assignment

Originally committed as revision 12354 to svn://svn.ffmpeg.org/ffmpeg/trunk

de2f77d8 03/05/2008 09:27 PM Måns Rullgård

allow vpath search only for source files

Originally committed as revision 12343 to svn://svn.ffmpeg.org/ffmpeg/trunk

76a448ed 02/25/2008 09:22 AM Måns Rullgård

Install headers in $prefix/include/$libname

Install each library's headers in $prefix/include/$libname.
The installed headers use #include "lib*/*.h"; applications
are expected to do the same.

Specify only $prefix/include in .pc files.

Originally committed as revision 12194 to svn://svn.ffmpeg.org/ffmpeg/trunk

bca9e0bc 01/27/2008 11:28 PM Diego Biurrun

Move common test program infrastructure to common.mak.

Originally committed as revision 11645 to svn://svn.ffmpeg.org/ffmpeg/trunk