Måns Rullgård
11d788cade
Stop make complaining about moved/deleted headers
...
Originally committed as revision 24041 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
7f02d3570a
Add -I flags to HOSTCFLAGS
...
Originally committed as revision 23805 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
bf9aa44bf4
Fix brief make messages when CC etc are specified on command line
...
Originally committed as revision 23792 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
de5aba8cca
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
15 years ago
Måns Rullgård
7732f641ff
Fix brief make output for generated tables
...
Originally committed as revision 22526 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
0680c40a25
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
15 years ago
Måns Rullgård
6a53fffd77
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
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
15 years ago
Måns Rullgård
93bff1de77
Replace $(G) with more generic $(M) in silent make rules
...
Originally committed as revision 22419 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
86be2bc36f
Prettify make output for documentation
...
Originally committed as revision 22418 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
a736e0e5c2
Prettify make output when generating headers
...
Originally committed as revision 22401 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
451db9832c
Simplify static/shared build rules
...
Originally committed as revision 22394 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
7acc01042e
Remove duplicates from OBJS
...
Originally committed as revision 22391 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
f89c14027a
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
15 years ago
Måns Rullgård
2a5500b13e
Add TESTOBJS make variable for extra objects used by test apps
...
Originally committed as revision 22335 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
9b55e2e727
Skip cmdutils_common_opts.h fragment in checkheaders
...
Originally committed as revision 22333 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
72c2bdebcf
Define HAVE_AV_CONFIG_H only when building libraries
...
Originally committed as revision 22294 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
a0ac950109
Fix build with compilers using a separate dependency command
...
Originally committed as revision 22249 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
63611f31e8
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
15 years ago
Måns Rullgård
1d53620311
Stop make deleting intermediate files (ffmpeg.o and friends)
...
Originally committed as revision 22094 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
f3a572ca14
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
15 years ago
Måns Rullgård
8be0a5c384
Move ECFLAGS so it doesn't get added multiple times
...
Originally committed as revision 21520 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
604b2f5276
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
15 years ago
Ramiro Polla
d3cb93b374
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
15 years ago
Måns Rullgård
a482e61bd6
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
15 years ago
Ramiro Polla
93fe7eb68d
Get one step closer to world domination.
...
Remove "make uninstall".
Originally committed as revision 21226 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
79de9c83e0
Delete *.d files with make clean
...
Originally committed as revision 20577 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
de4070b520
Add generic rules for building helpers with HOSTCC
...
Originally committed as revision 20412 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
bce7b696a2
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
15 years ago
Måns Rullgård
95f2c769c3
Skip headers requiring external libs not present in checkheaders
...
Originally committed as revision 19685 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
07dec06e6a
Generate dependencies while compiling if supported by compiler
...
Originally committed as revision 19609 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
c1c3933a98
Generate dependencies when object files are built
...
Originally committed as revision 19608 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
bea81a52c9
Replace BUILD_{SHARED,STATIC} with CONFIG_ counterparts
...
Originally committed as revision 19527 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
adcb219081
Move output redirection of deps generation from make rule to DEPEND_CMD
...
Originally committed as revision 19493 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
04a803bef4
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
16 years ago
Måns Rullgård
2f2e6c7ce1
Pass ASFLAGS to assembler instead of CFLAGS
...
Originally committed as revision 19412 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
7e6c86e65d
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
16 years ago
Måns Rullgård
3198f6187a
Set CFLAGS directly in config.mak instead of using OPTFLAGS
...
Originally committed as revision 19406 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
50a334e426
Separate C preprocessor flags into CPPFLAGS variable
...
Originally committed as revision 19404 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Dave Yeo
8e8a67faec
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
16 years ago
Måns Rullgård
b4c80b649e
Fix building from within subdirs
...
Originally committed as revision 18881 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
c5662879ff
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
16 years ago
Måns Rullgård
bdc2cc16eb
Always use -L flags for all subdirs
...
Originally committed as revision 18295 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
3fd422ff77
Move make rules applicable only to subdirs into subdir.mak
...
Originally committed as revision 18294 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
43a0cb7ca2
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
16 years ago
Diego Biurrun
3344cf851c
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
16 years ago
Diego Biurrun
7304c2c4ce
Move adding the '-test$(EXESUF)' suffix to test programs into common.mak.
...
Originally committed as revision 18189 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
6ccf540fa5
prettyprinting cosmetics
...
Originally committed as revision 18188 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
661ce28996
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
16 years ago
Diego Biurrun
6708cfc4d3
Add rule for building API example programs.
...
Originally committed as revision 18161 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
0cc647cbfb
Mark all clean targets as phony.
...
Originally committed as revision 17950 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago