Statistics
| Branch: | Revision:

ffmpeg / common.mak @ 0eb4ff9e

History | View | Annotate | Download (2.07 KB)

# Date Author Comment
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

d22e8442 12/05/2007 11:15 PM Dave Yeo

OS/2 support restored in cleaner form.
patch by Dave Yeo, daveryeo telus net

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

582c1c47 10/30/2007 07:54 AM Diego Biurrun

Declare libpostproc prerequisites directly instead of using a layer of
indirection. This moves build system workarounds closer to libpostproc
where they are really needed.

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

71fa13e8 10/23/2007 06:51 AM Diego Biurrun

Simplify install-libs prerequisite generation.

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

24743a76 10/18/2007 09:34 AM Diego Biurrun

Rename LIB to LIBNAME for consistency.

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

5b5d0491 10/17/2007 01:48 PM Dave Yeo

Add SLIB_UNINSTALL_EXTRA_COMMAND to uninstall the things installed via
SLIB_INSTALL_EXTRA_COMMAND.
patch by Dave Yeo, daveryeo telus net

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

20369773 09/15/2007 11:09 AM Dave Yeo

ln is not available on all platforms, so introduce a variable for it
that can be set to a suitable platform-specific command.
patch by Dave Yeo, daveryeo telus net

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

22a324da 07/21/2007 06:53 PM Diego Biurrun

cosmetics: Use uppercase names for installation directories in makefiles.

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

b8ef6423 07/19/2007 09:44 PM Ramiro Polla

Remove EXTRADEPS from common.mak since it is no longer used

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

e4d86a57 06/17/2007 12:05 AM Måns Rullgård

add "checkheaders" target

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

b8d40825 06/10/2007 09:48 PM Diego Biurrun

We do not create .d files, thus no need to remove them.

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

fa62bdb8 06/10/2007 09:29 PM Diego Biurrun

Move libpostproc-specific uninstallation command to the libpostproc Makefile.

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

1963f5e3 06/03/2007 11:11 PM Diego Biurrun

readability cosmetics

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

2d93bcc7 04/03/2007 04:32 PM Diego Biurrun

Add CPP_OBJS-yes to CPP_OBJS, same as the other *_OBJS variables.

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

6ca0c110 02/23/2007 11:44 PM Diego Biurrun

Simplify .depend file inclusion.

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

ca3798dc 01/25/2007 12:29 PM Ramiro Polla

Remove installstrip in favor of explicit strip; better for cross-compilation.
patch by Ramiro Ribeiro Polla, ramiro lisha.ufsc br

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

722dabcc 01/25/2007 12:34 AM Diego Biurrun

Move conditional CFLAGS and OBJS setting to common place.

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

6718659c 01/21/2007 11:27 PM Diego Biurrun

Remove BeOS hack.

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

8fbec4f4 12/22/2006 05:29 AM Ramiro Polla

Install generated .lib files in shlibdir on MinGW.
patch by Ramiro Polla, ramiro lisha.ufsc br

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

167de74f 11/25/2006 03:44 PM Diego Biurrun

Remove redundant comment.

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

009618ea 11/15/2006 01:55 AM Diego Biurrun

Remove duplicate *.lib from rm command.

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

997baf01 11/08/2006 12:02 AM Måns Rullgård

allow spaces in source and build directory names
out of tree builds from a source dir with spaces is impossible
due to how make handles vpath

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

14f29f79 10/15/2006 12:59 PM Diego Biurrun

Revert putting EXTRALIBS in common.mak, linking fails on MinGW.

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

dadb850a 10/11/2006 08:30 AM Diego Biurrun

Move CFLAGS handling to common.mak.

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

76808d6e 10/08/2006 02:14 PM Víctor Paesa

Quote names individually, since otherwise the whole list was understood
as a single long filename by the shell.
patch by Víctor Paesa, wzrlpy arsystel com

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

c6c46511 10/05/2006 05:10 PM Diego Biurrun

Simplify test program build.

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

3aba4289 10/04/2006 04:22 PM Diego Biurrun

Libraries are created in the build tree, not in the source tree.

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

db671614 10/04/2006 01:47 PM Diego Biurrun

Replace .. by $(SRC_PATH), otherwise there might be problems with
out-of-tree builds.

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

0533322e 10/03/2006 07:23 PM Diego Biurrun

Move EXTRALIBS handling to common.mak.

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

9d0199f4 10/03/2006 05:47 PM Diego Biurrun

depend and dep are really the same target.

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

3263626f 10/03/2006 05:42 PM Diego Biurrun

Mark all phony targets as such.

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

d7e27559 08/15/2006 07:30 PM Diego Biurrun

Mac OS X requires running ranlib on static libraries after installation.

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

e35a3b7d 08/04/2006 10:23 AM Diego Biurrun

Remove MinGW specialcasing and make shared library installation compatible
with MinGW where ln is emulated by cp.

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

afa61532 08/04/2006 10:13 AM Diego Biurrun

Add quotes where necessary.

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