Commit Graph

64 Commits

Author SHA1 Message Date
Diego Biurrun 9bcc2883ac bandaid fix for broken shared library installation
Originally committed as revision 12617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-28 03:13:21 +00:00
Diego Biurrun 7b3ca33fb6 Fix circular dependency between install-progs and install-libs targets.
Originally committed as revision 12611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-28 01:40:49 +00:00
François Revol 0d14ab27a8 Fix building with C++ objects, variable names were inconsistent.
Originally committed as revision 12608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-27 16:10:18 +00:00
Diego Biurrun 7716f7ffa3 Use common.mak in the top-level Makefile as well.
Originally committed as revision 12599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-26 09:39:12 +00:00
Måns Rullgård c415857d06 rename LIBSRC to SRC_DIR, add quotes where SRC_DIR was used
Originally committed as revision 12452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-15 19:24:03 +00:00
Diego Biurrun 315c741d3d 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
2008-03-12 23:30:35 +00:00
Diego Biurrun 7853bf93b2 Replace the awkward '1>' with the more natural '>'.
Originally committed as revision 12413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 20:12:27 +00:00
Diego Biurrun 88855b51cd 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
2008-03-09 18:29:41 +00:00
Måns Rullgård 0e32c8c65a simplify library version handling
Originally committed as revision 12362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-07 19:27:17 +00:00
Måns Rullgård 5671fc14f6 consolidate CFLAGS, LDFLAGS, EXTRALIBS assignment
Originally committed as revision 12354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 20:44:44 +00:00
Måns Rullgård de2f77d865 allow vpath search only for source files
Originally committed as revision 12343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 21:27:58 +00:00
Måns Rullgård 76a448ed4f 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
2008-02-25 09:22:11 +00:00
Diego Biurrun bca9e0bcf1 Move common test program infrastructure to common.mak.
Originally committed as revision 11645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 23:28:56 +00:00
Dave Yeo d22e844250 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
2007-12-05 23:15:24 +00:00
Diego Biurrun 582c1c47da 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
2007-10-30 07:54:18 +00:00
Diego Biurrun 71fa13e875 Simplify install-libs prerequisite generation.
Originally committed as revision 10844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-23 06:51:44 +00:00
Diego Biurrun 24743a767f Rename LIB to LIBNAME for consistency.
Originally committed as revision 10774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 09:34:49 +00:00
Dave Yeo 5b5d0491b5 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
2007-10-17 13:48:47 +00:00
Dave Yeo 2036977325 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
2007-09-15 11:09:30 +00:00
Diego Biurrun 22a324da72 cosmetics: Use uppercase names for installation directories in makefiles.
Originally committed as revision 9776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-21 18:53:06 +00:00
Ramiro Polla b8ef6423c7 Remove EXTRADEPS from common.mak since it is no longer used
Originally committed as revision 9766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 21:44:33 +00:00
Måns Rullgård e4d86a5790 add "checkheaders" target
Originally committed as revision 9346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 00:05:39 +00:00
Diego Biurrun b8d4082552 We do not create .d files, thus no need to remove them.
Originally committed as revision 9278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-10 21:48:54 +00:00
Diego Biurrun fa62bdb868 Move libpostproc-specific uninstallation command to the libpostproc Makefile.
Originally committed as revision 9277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-10 21:29:56 +00:00
Diego Biurrun 1963f5e379 readability cosmetics
Originally committed as revision 9195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 23:11:13 +00:00
Diego Biurrun 2d93bcc784 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
2007-04-03 16:32:11 +00:00
Diego Biurrun 6ca0c110f5 Simplify .depend file inclusion.
Originally committed as revision 8104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 23:44:48 +00:00
Ramiro Polla ca3798dc22 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
2007-01-25 12:29:48 +00:00
Diego Biurrun 722dabcc94 Move conditional CFLAGS and OBJS setting to common place.
Originally committed as revision 7699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 00:34:38 +00:00
Diego Biurrun 6718659c0f Remove BeOS hack.
Originally committed as revision 7634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 23:27:30 +00:00
Ramiro Polla 8fbec4f4d0 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
2006-12-22 05:29:14 +00:00
Diego Biurrun 167de74f10 Remove redundant comment.
Originally committed as revision 7167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-25 15:44:55 +00:00
Diego Biurrun 009618ea0d Remove duplicate *.lib from rm command.
Originally committed as revision 7084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-15 01:55:46 +00:00
Måns Rullgård 997baf0141 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
2006-11-08 00:02:15 +00:00
Diego Biurrun 14f29f795d Revert putting EXTRALIBS in common.mak, linking fails on MinGW.
Originally committed as revision 6700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-15 12:59:45 +00:00
Diego Biurrun dadb850a50 Move CFLAGS handling to common.mak.
Originally committed as revision 6642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 08:30:13 +00:00
Víctor Paesa 76808d6e7e 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
2006-10-08 14:14:33 +00:00
Diego Biurrun c6c4651138 Simplify test program build.
Originally committed as revision 6563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-05 17:10:33 +00:00
Diego Biurrun 3aba428998 Libraries are created in the build tree, not in the source tree.
Originally committed as revision 6555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-04 16:22:14 +00:00
Diego Biurrun db671614cc 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
2006-10-04 13:47:30 +00:00
Diego Biurrun 0533322ea3 Move EXTRALIBS handling to common.mak.
Originally committed as revision 6545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-03 19:23:39 +00:00
Diego Biurrun 9d0199f450 depend and dep are really the same target.
Originally committed as revision 6539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-03 17:47:04 +00:00
Diego Biurrun 3263626feb Mark all phony targets as such.
Originally committed as revision 6538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-03 17:42:17 +00:00
Diego Biurrun d7e27559b1 Mac OS X requires running ranlib on static libraries after installation.
Originally committed as revision 6001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-15 19:30:38 +00:00
Diego Biurrun e35a3b7d65 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
2006-08-04 10:23:06 +00:00
Diego Biurrun afa615327b Add quotes where necessary.
Originally committed as revision 5929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-04 10:13:10 +00:00
Diego Biurrun a1309f8f61 Shared libraries now go in $(shlibdir), not $(libdir).
Originally committed as revision 5927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 22:50:54 +00:00
Diego Biurrun 5cb854e1c6 Move MinGW special casing for shared lib creation to configure.
Originally committed as revision 5921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 16:27:30 +00:00
Diego Biurrun eb9ab5834c prettyprinting cosmetics
Originally committed as revision 5875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-31 22:34:51 +00:00
Diego Biurrun b8e10478eb Create $(shlibdir), not $(libdir) for shared libs.
Originally committed as revision 5874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-31 22:30:32 +00:00