Commit graph

216 commits

Author SHA1 Message Date
5288efb30d Don't use rpath on Windows
Windows does not support rpath, and while GNU ld just ignores it, lld
fails with the flag.

FossilOrigin-Name: dffa232bd2032733a473c6af73a4875e4543fcccb4c8f22569fdd38bea0fc4de
2021-09-04 10:24:14 +00:00
32463020dd Add option to disable rpath
FossilOrigin-Name: 2a5ae2a51be86f1f2474e8a457f59faa3a30a712bf5a05911fd421f201a0b4b6
2021-09-02 17:04:29 +00:00
8f6780aa80 Fix installing DLLs on Windows
This was broken by the change to include the library major version in
the DLL name.

FossilOrigin-Name: ae68a88dd93140ff8b34d3584e226fe65395680f880e6a91b15ba3dfa4d22439
2021-05-02 22:18:38 +00:00
727b876e34 Include library major version in DLL name
FossilOrigin-Name: 8dfc32139c470e8e3bc79b0fc13ed3ddb8641f720e87a7e213490c59cbf7cf25
2021-05-02 15:08:48 +00:00
247451fb7a Create potential include subdirectories
FossilOrigin-Name: 00d6e0e99a136ff2a1726325054411abda6b24c8f0e2b9d4c075f578ac384018
2021-05-01 03:26:03 +00:00
5ace575f1e Fix installing using build-aux/install-sh
FossilOrigin-Name: 3a8b331cffbb7ec79c016e46b9e45f65bc6c52bdff2c345c7f29ebf3685b11e3
2021-01-16 16:10:37 +00:00
3d013eecc9 Add support for HP-UX (Itanium)
FossilOrigin-Name: 867bf6b44cbbfac232a510401db6e2b7add81efdb2186fa2890aad3918831574
2021-01-13 17:31:00 +00:00
a92c5caaf6 Fix handling of empty DEPS
FossilOrigin-Name: 908535244490c2b8c2ca63e80c8e38f326e06f9f0344ec31092871fcbad173d0
2021-01-01 15:58:47 +00:00
12d0a54c50 Delete .sl file before symlinking to it
FossilOrigin-Name: 944247deeb50fb8bfa020d9f0c463e6eb23f279159d20030d12b9355f0357d45
2021-01-01 15:49:14 +00:00
20094016fa Update copyright
FossilOrigin-Name: dbe1c3e2fd921d702543ab8b55ea768fc33bea8f36d5eba1a26cf1a230564b84
2021-01-01 14:15:50 +00:00
baa555fd2f Add support for HP-UX (PA-RISC)
FossilOrigin-Name: df36c4ab085b4a142b1a9aa8e6274962b8f28724ec6b67f52cdcd6d3f476cd38
2021-01-01 14:14:10 +00:00
cf1e9f5cde Include AMIGA_LIB_OBJS_START in clean
FossilOrigin-Name: 858b26298b67b2af63b02730ef9ddbf2f3b7290e82e9795cfd0f1fd3f91a8147
2020-12-29 22:41:25 +00:00
c1c320628c Style change: Don't indent cases
FossilOrigin-Name: 8bd9a9831b530887ada806b1e4780d7de929f9e17c2de9806b194a8fdec1ce8c
2020-12-22 23:03:12 +00:00
766a8158c0 Don't use tput on MorphOS
The colored output is quite unreadable and in some MorphOS versions, the
output from tput is not 8-bit safe, with awk (for AC_SUBST) failing as a
result.

FossilOrigin-Name: 349e5fb9d2ed4181d6db16fb995e496d4a1730add9c8e2984a0a9b53b0d5cbff
2020-11-21 22:28:53 +00:00
95b2b15893 Add AC_SUBST for FRAMEWORK_LIBS
FossilOrigin-Name: 558c812e4b2225cd949d12599b09e410e2740b36be3e86c4fdc681aea6289aae
2020-10-02 23:32:09 +00:00
7486d98b50 Don't use --timestamp=none with codesign
It is unsupported on macOS 10.5.

FossilOrigin-Name: f123f063df5e356faee441d06724c32b9b27ecbe5c7714f77ec8febfbb6e664a
2020-09-27 03:36:15 +00:00
4eafbd7498 Move m4 to build-aux, update example configure.ac
FossilOrigin-Name: 540c37570d7603c375c1c0c2c55732a8caa4b74bc457cf28cac18b80803deaa0
2020-08-29 14:24:11 +00:00
af9ad5bf6c Add STATIC_AMIGA_LIB
This allows building static libraries in subdirectories that then get
linked into the final Amiga .library.

FossilOrigin-Name: 66a1703bc1fab73f862b6b46e29eba8472439fe608aa41be778a39bf3f700d55
2020-06-06 22:34:06 +00:00
0f13bfebbc Don't use regular LDFLAGS and LIBS for AMIGA_LIB
FossilOrigin-Name: 11eb5bbf09cd21232bdccf8e60ca520d836990004c5108e300aecac4b7a0a475
2020-06-04 22:24:19 +00:00
b6a43041aa Update URL
FossilOrigin-Name: 7491c585ed483411c2a56618e3eee1940f7b17c5055842f6db50e285c15015ac
2020-05-31 16:50:08 +00:00
212fae9980
Make newer gmake versions silent for real 2020-05-04 23:45:41 +02:00
2096fab322
Make newer gmake versions not double print dirs 2020-05-02 21:13:09 +02:00
8b506ab993
Don't use lib prefix for DLLs 2020-04-19 16:06:16 +02:00
59839af13c
Make use of -include again
OpenBSD make supports it now, so there's no need anymore to touch empty
deps files.
2020-02-19 00:52:12 +01:00
8a66174c54
Eliminate dependency generation step entirely
Instead, create an empty .dep file that is replaced with the actual
dependencies once the file is compiled.
2020-02-18 22:57:45 +01:00
c0b3a8bd35
Keep .dep files to avoid unnecessary regeneration
This prevents regenerating all dependencies even when only a single file
was changed, which can be prohibitively expensive.
2020-02-18 02:47:54 +01:00
966a80e855
Do not use - prefix to suppress errors
While this suppresses the errors, OpenBSD make still emits an error.
2018-11-10 11:55:29 +01:00
4a595a025e
Allow specifying start files for Amiga libraries
This has already been in ObjFW for a while.
2018-11-10 11:54:28 +01:00
4736b3c162
Install Amiga libraries 2018-05-06 04:15:51 +02:00
77f95cc9d8
Improve Amiga library support 2018-04-29 20:38:31 +02:00
3c3a971059
Replace MORPHOS_LIB with more generic AMIGA_LIB 2018-04-29 01:39:09 +02:00
a44616d977
Use OBJCXXFLAGS to generate deps for .mm 2018-03-11 00:06:17 +01:00
43a9c14622
Fall back to using no colors if tput is missing 2018-02-11 16:17:32 +01:00
517f3ac632
Unbreak building without shared 2018-02-10 12:41:00 +01:00
ec57014019
Make building .frameworks less noisy 2018-02-09 00:35:57 +01:00
3c08b8b64a
Copy Info.plist into .bundle, if it exists 2018-02-09 00:13:45 +01:00
9462fbe785
Remove deprecated -undefined dynamic_lookup
Instead, use ${PLUGIN_LDFLAGS_BUNDLE_LOADER} when building a .bundle,
which can then be set to -bundle_loader path_to_executable.
2018-02-07 23:38:16 +01:00
f4f8be325a
Build plugins as proper .bundles 2018-02-07 22:05:21 +01:00
4c0591c56f
Small cleanup 2018-02-07 21:14:57 +01:00
6b639af512
Use FRAMEWORK_LIBS instead of LIBS for .frameworks
This allows linking the framework against other frameworks rather than
other shared libs.
2018-01-21 22:45:44 +01:00
639eb974c9
Allow BUILDSYS_FRAMEWORK to take a code block 2018-01-21 20:00:25 +01:00
1ae4553a83
Update copyright 2018-01-21 19:39:34 +01:00
60c40342c4
Delete existing .framework before installing it 2018-01-20 20:11:26 +01:00
863de1adea
Automatically build and (un)install .frameworks 2018-01-20 17:47:44 +01:00
7add4e1c99
Fix using wrong .o files with Apple libtool 2018-01-20 00:16:11 +01:00
408f3121a3
Use Apple libtool if build and host are Darwin
This allows combining fat .a files.
2018-01-19 01:17:05 +01:00
d49633ffc4
Fix make install running several times 2017-10-29 03:25:24 +01:00
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