Commit graph

169 commits

Author SHA1 Message Date
2f5e82f4a5
Do not extract .a files to link them in
This is only required to combine multiple .a files into one.
2017-10-25 00:07:16 +02:00
78aa912fc1
Check for codesign 2017-10-24 23:48:38 +02:00
d35a7f1bb8
Allow flags per source in addition to per object 2017-10-20 22:19:36 +02:00
16e662fb88
Sign framework after copying Info.plist
Otherwise the signature is wrong.
2017-10-20 00:21:09 +02:00
687567e857
Codesign frameworks 2017-10-19 23:44:18 +02:00
297bc60f00
Add support for building iOS frameworks
Those use a different install name than macOS frameworks.
2017-10-19 22:54:02 +02:00
d7a5ac12cd
Fix copying .framework headers into wrong dir 2017-10-17 00:48:01 +02:00
fcd2b51d19
Use module.modulemap instead of module.map 2017-10-15 22:50:28 +02:00
b7dfe42375
Do not use LIB_LDFLAGS for .frameworks
Instead, use FRAMEWORK_LDFLAGS.
2017-10-15 22:22:10 +02:00
77cbe02256
Include Info.plist in .framework 2017-10-15 21:32:24 +02:00
a14e5d7e93
Improve building .frameworks
* Recursively install framework headers, by adding and using a new
  install-includes target.
* Install module.map if it exists.
* Don't include .framework in all target.
* Remove .frameworks with make clean.
2017-10-15 21:05:47 +02:00
b2a58d571d
Add support for building .frameworks 2017-10-15 19:50:58 +02:00
ed15fe408b
OpenBSD wants setaf * 0 0 on *-256color terms 2017-09-10 22:56:12 +02:00
1a884a9510
Properly clean for MorphOS libraries 2017-07-16 20:28:20 +02:00
1884d1beab
Add support for building MorphOS libraries 2017-07-08 22:10:28 +02:00
060bcd3202
Only use OBJCXXFLAGS and CPPFLAGS with OBJCXX 2017-04-18 01:50:21 +02:00
932a1fc478
Make sure we never end up with "for i in ;"
DJGPP's bash.exe bails out on this.
2017-01-16 03:53:23 +01:00
a4288737c4
Always use -Wl,--export-all-symbols for libs
While this should be the default, it seems it's not the default when
using Clang.
2017-01-08 00:07:32 +01:00
15b9bf12c6
Update copyright 2016-07-09 22:09:53 +02:00
61097f9d19
Don't match against androideabi*, but android*
On AArch64, it's just -android and not -androideabi.
2016-07-09 21:58:56 +02:00
953b1d1e78
Don't use ${MFLAGS} with ${MAKE}
gmake starts complaining about this starting with 4.2.
2016-07-03 21:03:27 +02:00
d9cf426fe1
Disable rpath for Android EABI
Android's dynamic linker does not support rpath and issues a warning
when starting a binary linked with rpath.
2016-06-27 18:07:09 +02:00
0b0ece0849
Add support for per-object flags 2015-03-24 23:31:03 +01:00
9407b955af Move install name to new variable 2014-12-24 16:30:02 +01:00
8d95b6e820 Add print-hierarchy and print-var 2014-08-01 22:59:48 +02:00
beaa0c0f15 Include the lib major in the install_name 2014-05-25 14:04:05 +02:00
2ebb6f11e1 Add variables in and out to be used in *FLAGS 2014-05-25 14:00:14 +02:00
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