rfm
76a1df3b61
Use javac -h if javah is not present
2024-02-11 13:34:31 +00:00
Hugo Melder
5ee21206a8
Windows MSVC debug symbols, gnustep-tests extension, and typo fixes ( #30 )
...
* Conditionally add PDB Debug Info on Windows MSVC
* Add make debug and no-silent options
* Update gnustep-tests help prompt
2023-01-09 23:30:22 +01:00
Riccardo
58d9d3a9e5
since newer autoconf detects linux-musl as separate, try to support it ( #32 )
...
* since newer autoconf detects linux-musl as separate, try to support it
2022-12-04 23:14:34 +01:00
Frederik Seiffert
d71ed3371f
Windows MSVC: suppress Clang warning -Wmicrosoft-include
2021-08-11 10:23:48 +02:00
Frederik Seiffert
39e556b037
Link against debug or release UCRT DLLs for Windows MSVC and remove unused -pthread flag.
2021-03-13 09:42:15 +01:00
Richard Frith-Macdonald
2270671e94
It turns out that, in gnustep-make the mingw64 support was incomplete,
...
so when we correctly detect mingw64 rather than mingw32 we actually
broke building of Gorm on mingw64. Additionally, examination of the
cases where we do differentiate between mingw32 and mingw64, in all but
one of them we do the same thing for both. That being the case, it
makes more sense to scrap the code to differentiate between the two
systems (except in the one case in target.make where we need to be aware
that the two systems prefix class names differently in the object
files), and adopt the triplet used by the mingw-w64 project (where os is
always mingw32 and we differentaiate 64bit windows using the vendor part
of the triplet) rather than the one returned by autoconf (config.guess).
2021-03-06 12:50:53 +00:00
Frederik Seiffert
49fa0681af
Support building on Windows with Clang MSVC target
2021-02-03 12:29:02 +01:00
Frederik Seiffert
e9f89d5459
Check $CLANG_CC instead of comparing $CC with "clang"
...
Fixes checks when $CC is set to something like /path/to/clang.
2021-02-03 12:29:02 +01:00
Richard Frith-Macdonald
b9984cae70
New variables FINAL_LDFLAGS and CORE_LDFLAGS such that ALL_LDFLAGS is now a combination of the two, and is used for final linking of an executable re shared library/bundle, while CORE_LDFLAGS is used when performing a partial link in a subproject.
2020-11-14 07:31:16 +00:00
Patryk Laurent
de94ae6fec
adopt rfm's combined sed for the other OSes
2020-02-28 03:49:56 +00:00
Patryk Laurent
3af60d8cce
Merge branch 'fix_extract_class_names_for_runtime2.0' into fix_extract_class_names_for_runtime2.0_ALL_OSES
2020-02-28 03:44:59 +00:00
Patryk Laurent
a3bed018c1
adopt rfm's combined sed that works across runtimes
2020-02-28 03:41:49 +00:00
Patryk Laurent
0627fb4eb7
Fix class name extraction for Darwin, OpenBSD, Mingw32/64
2020-02-22 03:34:43 +00:00
Patryk Laurent
29d6accada
Condition on kind of runtime
2020-02-22 02:59:51 +00:00
Patryk Laurent
77f7aed44c
Fix extract class names for runtime 2.
2020-02-18 01:16:27 +00:00
Richard Frith-Macdonald
14a1d33b46
Use -fobjec-runtime=gcc for targetting the gnu/gcc runtime ABI
2018-07-10 10:46:40 +01:00
Riccardo Mottola
1ce6058205
Remove legacy Rhapsody and FreeBSD-out support
2018-03-05 16:07:02 +01:00
Riccardo Mottola
ad4d7ca0cc
cleanup old X11R6 directories and generally remove additional dir
2018-03-05 15:56:56 +01:00
Doug Simons
94a1c9acb3
Fix EXTRACT_CLASS_NAMES_COMMAND for Mingw64
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@40230 72102866-910b-0410-8b05-ffd578937521
2016-11-22 22:43:57 +00:00
Richard Frith-MacDonald
6743fe4f95
applied mingw updates patch
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39778 72102866-910b-0410-8b05-ffd578937521
2016-05-19 07:10:06 +00:00
Marcian Lytwyn
fcb63d3e64
Changes to generate exe's using Clang on MinGW/Windows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39224 72102866-910b-0410-8b05-ffd578937521
2015-12-09 19:29:00 +00:00
Riccardo Mottola
b31da7bdb6
Check for nm and gnm as gnu nm, use a $(NM) variable instead of hard-coding the binary name of nm
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@38605 72102866-910b-0410-8b05-ffd578937521
2015-06-09 08:39:35 +00:00
Wolfgang Lux
451497ee3c
Add -keep_private_externs to linker flags on OS X when merging the
...
object files of a subproject for compatibility with other platforms.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@37436 72102866-910b-0410-8b05-ffd578937521
2013-12-07 17:37:58 +00:00
Adam Fedor
d953c47143
target.make: Add no-omit-framepointer on mingw32
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@37434 72102866-910b-0410-8b05-ffd578937521
2013-12-06 03:51:54 +00:00
Richard Frith-MacDonald
7cdc25ba25
add target for android by Emmanuel Maillard
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@36365 72102866-910b-0410-8b05-ffd578937521
2013-03-16 05:29:52 +00:00
Niels Grewe
4f1f0b30f3
Add QNX target definitions.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@35489 72102866-910b-0410-8b05-ffd578937521
2012-09-01 20:20:54 +00:00
Wolfgang Lux
661d05deb9
Don't use -undefined dynamic_lookup when linking executables on OS X.
...
This fixes some false positive results for library function tests in
configure and also prevents programs crashing at load time due to
unresolved references.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@34200 72102866-910b-0410-8b05-ffd578937521
2011-11-21 09:12:32 +00:00
Richard Frith-MacDonald
f24805b244
fixup for compiler bug on windows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@34028 72102866-910b-0410-8b05-ffd578937521
2011-10-19 14:36:26 +00:00
Richard Frith-MacDonald
5c0b3d7846
Get the compiler to ensure that we use thread-safe system calls and errno etc.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@34001 72102866-910b-0410-8b05-ffd578937521
2011-10-15 15:40:01 +00:00
Wolfgang Lux
3795c60175
Use configure time check for Objective-C runtime header directory
...
workaround on Darwin/OS X.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32956 72102866-910b-0410-8b05-ffd578937521
2011-04-30 07:43:56 +00:00
Nicola Pero
deba875741
Added FIXME
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32839 72102866-910b-0410-8b05-ffd578937521
2011-04-12 16:51:34 +00:00
Wolfgang Lux
1b4a236839
Add workaround to target.make to pick up the right Objective-C runtime
...
headers when compiling plain C files with the GNU runtime on Darwin/OS X.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32838 72102866-910b-0410-8b05-ffd578937521
2011-04-12 09:32:40 +00:00
Nicola Pero
a70a23a808
Use -Wl,-r to do partial linking with clang, and -r to do partial linking with GCC. Hopefully this fixes building with GCC 4.6.0 while still working with GCC on sparc, and with clang on all platforms
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32835 72102866-910b-0410-8b05-ffd578937521
2011-04-11 20:23:50 +00:00
Riccardo Mottola
ad291a70ce
Override gcc's default relax option sent to the linker in case of relative linking -Wl,-r. This shuld affect only SPARC and a few others uncommon archs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32811 72102866-910b-0410-8b05-ffd578937521
2011-04-08 22:15:58 +00:00
Adam Fedor
073b0c24e6
Add c99 flag for solaris
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@31546 72102866-910b-0410-8b05-ffd578937521
2010-10-20 21:43:50 +00:00
Nicola Pero
82b39718b8
Fixed linking subprojects when using clang
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@31136 72102866-910b-0410-8b05-ffd578937521
2010-08-14 00:06:33 +00:00
Nicola Pero
8513fe919c
Fixed extracting list of classes from frameworks when a class name contains numbers (eg, testFramework1)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@31036 72102866-910b-0410-8b05-ffd578937521
2010-07-26 14:02:29 +00:00
Nicola Pero
66d819e592
Updated MinGW building instructions, fixed building gnustep-base on MinGW
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@29861 72102866-910b-0410-8b05-ffd578937521
2010-03-06 21:13:58 +00:00
Riccardo Mottola
aa9a2dfcde
Update and un-Win32-ify Cygwin rules.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@28595 72102866-910b-0410-8b05-ffd578937521
2009-09-01 23:19:02 +00:00
Nicola Pero
06301c9ada
Patch by Yaakov Selkowitz to get Cygwin port work again
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@28463 72102866-910b-0410-8b05-ffd578937521
2009-08-15 21:59:04 +00:00
Nicola Pero
85a03b3339
Fixed linking programs that contain both C/ObjC and C++/ObjC++ files
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@28131 72102866-910b-0410-8b05-ffd578937521
2009-03-24 23:08:59 +00:00
Adam Fedor
77675a872f
Don't use -flat_namespace
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@27656 72102866-910b-0410-8b05-ffd578937521
2009-01-22 20:51:57 +00:00
Nicola Pero
bf5b212e0e
Implemented xxx_NEEDS_GUI to control if we should be linking against gnustep-gui or not
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@26099 72102866-910b-0410-8b05-ffd578937521
2008-02-19 10:49:20 +00:00
Nicola Pero
8075fb0cd2
Updated rules for hpux
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@25960 72102866-910b-0410-8b05-ffd578937521
2008-01-17 02:12:12 +00:00
Adam Fedor
6ef7c3e512
Update license to GPL 3
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@25539 72102866-910b-0410-8b05-ffd578937521
2007-10-30 14:18:41 +00:00
Nicola Pero
375f33aba3
Fixed copyright notices to tell the user they can read the GPL in the COPYING file, not COPYING.LIB
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@25329 72102866-910b-0410-8b05-ffd578937521
2007-07-13 10:11:48 +00:00
Nicola Pero
5264b5d3d6
Implemented versioning of DLLs in a way that works exactly in the same way as it works under Unix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@24833 72102866-910b-0410-8b05-ffd578937521
2007-03-09 11:42:00 +00:00
Nicola Pero
e238b0239a
removed unused indentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@24744 72102866-910b-0410-8b05-ffd578937521
2007-03-02 02:58:21 +00:00
Adam Fedor
3ee9acedac
* Instance/Documentation/latex.make: Add correct extension to target.
...
Filter out 'no' when getting LATEX2HMTL exec.
* Instance/pallette.make: Link with all libs even on darwin.
* target.make (darwin): Use gnu runtime as test for gnu compilation.
(Based on suggestions from Yves de Champlain).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@24608 72102866-910b-0410-8b05-ffd578937521
2007-02-16 16:40:13 +00:00
Nicola Pero
e0a6d8aa55
Removed reference to GNUSTEP_SYSTEM_ROOT
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@24538 72102866-910b-0410-8b05-ffd578937521
2007-02-14 04:00:19 +00:00