Commit graph

192 commits

Author SHA1 Message Date
60fdb38a94 Order shared library systems alphabetically 2014-05-25 13:29:42 +02:00
1a9b3e09d3 Better naming for shared library systems 2014-05-25 13:28:38 +02:00
d74fc957f6 @rpath is not even needed as install_name
It is possible to set it to the path where the library will be installed
and still have in-tree applications work by setting DYLD_LIBRARY_PATH.
Even if the library is already installed, it will use the in-tree
library if DYLD_LIBRARY_PATH is set.
2014-05-15 17:52:30 +02:00
45b155c8f9 Use @rpath/foo.dylib as install_name
This makes it behave like on ELF systems where rpath is used to tell the
linker where to look for libraries.
2014-05-15 03:09:37 +02:00
a5383ac643 Don't insert the file name into the printf format 2014-05-06 23:07:15 +02:00
313384fdfe Fix dependency checking with bmake
gmake always includes files relative to the current directory, while
bmake includes them relative to the current Makefile - and current
Makefile means the current include. However, bmake has a variable
.CURDIR that always points to the current directory, but is missing in
gmake. Thus, .CURDIR is just set to "." if it's not set and always in
the include, thus making it work with both, bmake and gmake.
2014-05-06 22:35:07 +02:00
271b94aa6b Do not automatically call AC_CONFIG_COMMANDS_*
This causes problems with some versions of autoconf / m4. Moving it to a
function called BUILDSYS_INIT and calling that fixes it.
2014-02-24 03:55:15 +01:00
c67285b68e Update copyright 2014-02-23 18:39:19 +01:00
b2556bd1e8 Add SUBDIRS_AFTER. 2013-12-20 01:20:24 +01:00
7ba9cc696d Add pre-all and post-all. 2013-12-10 18:26:15 +01:00
05e30dae9d Remove BUILDSYS_INIT and BUILDSYS_TOUCH_DEPS. 2013-07-01 14:56:28 +02:00
037fef6232 Add missing AS_DEPENDS. 2012-11-27 00:13:46 +01:00
bd9b6c0825 Only generate depends if the compiler supports it.
For assembly files, AS_DEPENDS needs to be set. As usually AS is set to
CC, it can be done using AS_DEPENDS = ${CC_DEPENDS}.
2012-04-25 11:51:03 +02:00
514e0e32be Allow building directories in parallel.
Inter-dir dependencies can be specified like this:
dir1 dir2: dir3 dir4
2012-04-19 17:41:20 +02:00
d8904788fa Use the language specific flags for deps. 2012-04-08 19:51:03 +02:00
5caec8a409 Let make install depend on make all. 2012-03-27 11:53:46 +02:00
3673d0ff5c OS X: Only add -install_name after installation. 2012-03-21 21:28:32 +01:00
6fb50c0f73 Use PACKAGE_NAME and PACKAGE_VERSION. 2012-03-21 13:13:25 +01:00
5ba5720278 Update URL in copyright. 2012-03-21 13:13:25 +01:00
c0e86bd270 Update copyright. 2012-03-21 13:13:25 +01:00
c7615089f4 Use -install_name on OS X for shared libs. 2012-03-21 13:13:25 +01:00
6fd067b52d Use .bundle instead of .impl. 2012-03-21 13:13:19 +01:00
5645ee0c74 Add OBJS_EXTRA and LIB_OBJS_EXTRA. 2012-03-14 10:02:48 +01:00
0ac0a11410 Better handling of .a files in ${SHARED_LIB} and friends. 2012-02-27 13:15:10 +01:00
86f1fb914f Fix usage of ar instead of ${AR}. 2011-10-12 16:56:59 +02:00
74861c8967 Add a check for install in the example configure.ac. 2011-09-21 21:34:26 +02:00
cb670b780d Add a default autogen.sh. 2011-09-21 21:33:03 +02:00
af2f9d8e47 Fix forgotten variable rename in buildsys.m4. 2011-09-15 13:18:05 +02:00
0252887d47 Make sure printf does not override $?. 2011-09-13 13:06:34 +02:00
73fcbc7356 Delete old .a file before creating a new one. 2011-09-13 02:33:02 +02:00
ecbc8123b7 Keep error codes instead of exiting with 1. 2011-09-13 02:32:25 +02:00
e9743550ee Rename LIB to SHARED_LIB.
The reason is that the Intel compiler (and maybe others) set LIB in the
environment, this causing the buildsys to fail.
2011-09-13 02:31:26 +02:00
ba639801a2 Add support for Java and Windows RC files. 2011-04-23 19:23:52 +02:00
5f99f9e089 Add missing BUILDSYS_INIT to example configure.ac. 2011-04-23 19:15:28 +02:00
d11332966d Add STATIC_PIC_LIB. 2011-03-24 16:56:25 +01:00
914073dc3c Make it possible to add .a files to OBJS when building static libs. 2011-03-24 16:29:14 +01:00
934052397c Prevent a possible syntax error when not using shared libs. 2011-01-17 17:08:29 +01:00
0e749cf744 Get rid of tput warnings if capability is unavailable. 2010-12-27 00:52:31 +01:00
f0742c4a65 Remove an unnecessary fork of a new sh. 2010-09-26 13:36:18 +02:00
a2afc622e0 Fix generating dependencies for .lib.o and .plugin.o. 2010-09-19 04:05:14 +02:00
ec588cb00a It seems there are very different versions of tput. Handle both. 2010-09-16 03:04:43 +02:00
30ec01f110 Include original extension in temporary .dep files. 2010-09-16 00:23:49 +02:00
4cc08fb4de Use tput for colour output, if available. 2010-08-11 13:09:27 +02:00
3c0eca6b77 Fix a bug in buildsys.m4 that would cause some shells to fail. 2010-08-10 16:30:28 +02:00
dca8547c38 Adjust configure.ac to recent changes. 2010-07-30 03:24:23 +02:00
b1accdb375 More parallelism. 2010-07-29 20:23:01 +02:00
03f94ad79c Use different object files for libs and plugins.
This allows building a shared and static lib at once.
2010-07-25 13:20:55 +02:00
f6125d9bb3 No need for -flat_namespace and -undefined dynamic_lookup is better. 2010-05-08 21:27:43 +02:00
018059ef5c Include the library version in the resulting .dylib. 2010-05-08 16:40:58 +02:00
c1bdcbc084 Properly delete data dir. 2010-04-18 03:55:11 +02:00