Commit graph

217 commits

Author SHA1 Message Date
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
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
Wolfgang Lux
2e41a77191 Fix variable name in rules.make to make compiling for ARC actually work. 2020-07-09 17:57:32 +02:00
Richard Frith-Macdonald
2e4a65737d Changes to make activation of ARC for a project easier and more flexible 2020-02-17 11:35:55 +00:00
Richard Frith-MacDonald
e62c615757 Changed to restructure subdirectory layout for binaries and system dependent
resources in a non-flattened installation.  First step towards seamless
Debian multiarch support.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39918 72102866-910b-0410-8b05-ffd578937521
2016-06-25 07:12:41 +00:00
Richard Frith-MacDonald
53158f361d try to clarify usage a little
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39785 72102866-910b-0410-8b05-ffd578937521
2016-05-19 10:31:25 +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
Niels Grewe
e09f16de72 Add an as_jar option that can be passed to make install in order to install the jar
archive instead of the expanded class hierarchy.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@38255 72102866-910b-0410-8b05-ffd578937521
2014-12-21 12:03:32 +00:00
Richard Frith-MacDonald
4bfe421e45 fix order of include directories
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@36835 72102866-910b-0410-8b05-ffd578937521
2013-07-04 10:05:44 +00:00
Richard Frith-MacDonald
e01a6395fe fallback mechanism for missing gnustep-config
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@35777 72102866-910b-0410-8b05-ffd578937521
2012-11-02 20:25:40 +00:00
Nicola Pero
135e8760ce Fix for preprocessing property lists on Apple
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@30345 72102866-910b-0410-8b05-ffd578937521
2010-05-10 13:21:47 +00:00
Nicola Pero
7ad56c712e Fixed precompiled header code to not assume they have .h extension - now the .pch extension used by XCode should work too.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@30230 72102866-910b-0410-8b05-ffd578937521
2010-04-24 09:42:53 +00:00
Nicola Pero
75140210ee Fixed typo in precompiled header support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@29642 72102866-910b-0410-8b05-ffd578937521
2010-02-15 12:47:31 +00:00
Nicola Pero
40f2775b7a Implemented parallel building of multiple instances of apps, bundles, libraries, ctools, clibraries, test-tools, test-apps, test-libraries, services, palettes, gswbundles, gswapps
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@29577 72102866-910b-0410-8b05-ffd578937521
2010-02-12 10:46:32 +00:00
Nicola Pero
44fb9c993e Store object files for gdomap in ./obj/gdomap.obj/ instead of simply ./obj/ to make it safe to parallel build multiple instances of everything
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@29571 72102866-910b-0410-8b05-ffd578937521
2010-02-12 09:19:25 +00:00
Nicola Pero
96d7a27285 Implemented batch-compilation of Java files. Reduced compilation time of a large Java project I used as a test case by 5 times.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@28783 72102866-910b-0410-8b05-ffd578937521
2009-10-08 00:31:00 +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
b208832d48 Updated comments on parallel building
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@27879 72102866-910b-0410-8b05-ffd578937521
2009-02-16 09:52:53 +00:00
Nicola Pero
17d81326f5 Implemented experimental parallel building support for tools and libraries
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@27823 72102866-910b-0410-8b05-ffd578937521
2009-02-09 11:23:24 +00:00
Nicola Pero
e8116c0433 Bug fix to properly display the name of GNU make on various systems
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@27819 72102866-910b-0410-8b05-ffd578937521
2009-02-08 21:38:59 +00:00
Nicola Pero
67c70b37e0 Improved uninstallation - more accurate attempts to remove all directories that were created when installing. Moved creation of ADDITIONAL_INSTALL_DIRS in Master invocation so they can also be removed accurately. Added .NOTPARALLEL as a safety measure
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@27716 72102866-910b-0410-8b05-ffd578937521
2009-01-29 00:21:36 +00:00
Nicola Pero
5d1905c5f3 Removed some unusual make syntax in favour of the standard one we use everywhere
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@27714 72102866-910b-0410-8b05-ffd578937521
2009-01-28 22:33:02 +00:00
Nicola Pero
11db3de492 Added .DELETE_ON_ERROR that should make GNU make react better to errors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@27652 72102866-910b-0410-8b05-ffd578937521
2009-01-22 14:19:34 +00:00
Nicola Pero
8cd003b26a Added new gnustep-config option --installation-domain=xxx to print the default installation domain for a certain package as configured in the installation-domains.conf file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@27412 72102866-910b-0410-8b05-ffd578937521
2008-12-24 17:05:18 +00:00
Nicola Pero
e4da3e0371 Allow to have both file.c and file.m in the same project
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@26798 72102866-910b-0410-8b05-ffd578937521
2008-07-22 15:32:35 +00:00
Nicola Pero
7f2a73decd Updated C++ and ObjC++ support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@26186 72102866-910b-0410-8b05-ffd578937521
2008-03-03 23:24:48 +00:00
David Ayers
49278a5c55 * rules.make: Implement ADDITIONAL_NATIVE_LIB_DIRS.
* Documentation/make.texi: Document ADDITIONAL_NATIVE_LIB_DIRS.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@25543 72102866-910b-0410-8b05-ffd578937521
2007-10-31 04:48:02 +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
5dceef3c0e Added missing PHONY target declaration
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@24645 72102866-910b-0410-8b05-ffd578937521
2007-02-18 21:11:29 +00:00
Nicola Pero
2aa566c1ee Extended gnustep-config to be able to print out compile/link flags. Added quiet=yes option to silent the gnustep-make version message
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@24616 72102866-910b-0410-8b05-ffd578937521
2007-02-17 00:12:16 +00:00
Nicola Pero
8f0c6fc005 Added print-gnustep-make-help target
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@24514 72102866-910b-0410-8b05-ffd578937521
2007-02-12 22:59:16 +00:00
Matt Rice
c5813818eb * rules.make (ALL_CCFLAGS): Fix typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@24397 72102866-910b-0410-8b05-ffd578937521
2007-01-23 10:07:25 +00:00
Nicola Pero
a181393476 Fixed precompiled headers when -I. is early in the command-line (eg, gnustep-gui)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@24395 72102866-910b-0410-8b05-ffd578937521
2007-01-22 01:33:39 +00:00
Nicola Pero
f13b3ebb61 Tidied GCC_WITH_PRECOMPILED_HEADERS variable. Explicit compare to yes/no to make it clearer and more robust, eg so that changes in the default value will not cause problems
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@24372 72102866-910b-0410-8b05-ffd578937521
2007-01-16 17:40:33 +00:00
Nicola Pero
001e61ec46 Small fix to prevent PrecompiledHeaders dirs from being continuously remade
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@24362 72102866-910b-0410-8b05-ffd578937521
2007-01-16 03:24:08 +00:00
Nicola Pero
effa404c14 Implemented precompiled headers support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@24360 72102866-910b-0410-8b05-ffd578937521
2007-01-16 02:04:51 +00:00
Nicola Pero
c03a26ae50 Added comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@24356 72102866-910b-0410-8b05-ffd578937521
2007-01-16 00:33:19 +00:00
Nicola Pero
1db9347273 Introduced new variable GNUSTEP_IS_FLATTENED to switch the default flattened status from no to yes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@23718 72102866-910b-0410-8b05-ffd578937521
2006-10-02 15:54:56 +00:00
Nicola Pero
239fd6fdd1 Added empty rules for config files and .PHONY declarations for frameworks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@23556 72102866-910b-0410-8b05-ffd578937521
2006-09-19 00:45:34 +00:00
Nicola Pero
fbae9c1783 Fixed rule for config.make and print a friendly error if the target/library-combo one can not be found
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@23554 72102866-910b-0410-8b05-ffd578937521
2006-09-19 00:33:14 +00:00
Nicola Pero
3e2a966690 Use the same obj directory for building no matter what type of build we're doing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@23431 72102866-910b-0410-8b05-ffd578937521
2006-09-08 17:45:16 +00:00
Richard Frith-MacDonald
3888e4b22f Only define config.make rule where non-flattened
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@23137 72102866-910b-0410-8b05-ffd578937521
2006-07-06 05:37:14 +00:00
Richard Frith-MacDonald
60676650ae Fixup for alternative config.make rules
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@23136 72102866-910b-0410-8b05-ffd578937521
2006-07-06 05:32:51 +00:00
Richard Frith-MacDonald
d0050bedd9 Try to get make package working with non-flattened hierarchy again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@23132 72102866-910b-0410-8b05-ffd578937521
2006-07-05 17:23:22 +00:00
Richard Frith-Macdonald
91d966811b Apply patch #4209
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@21855 72102866-910b-0410-8b05-ffd578937521
2005-10-23 08:10:34 +00:00
Adam Fedor
4d0e99ab89 * Fixes for cygwin.
* Instance/rules.make: Add Windows resource files for cygwin
* config.make.in: Cygwin does not have ln-s
* rules.make: Add Windows resource rules for cygwin
* target.make (cygwin): Fix shared link cmd.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@21781 72102866-910b-0410-8b05-ffd578937521
2005-10-07 02:39:08 +00:00
Nicola Pero
5c057dd87d Make it easier to have separate ObjC and ObjC++ additional flags
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@21779 72102866-910b-0410-8b05-ffd578937521
2005-10-06 02:25:44 +00:00
Nicola Pero
fce27dc627 Support .mm files for ObjC++
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@21778 72102866-910b-0410-8b05-ffd578937521
2005-10-06 02:10:50 +00:00
Adam Fedor
5f5e85cb40 * Add runtime flags everywhere for Mac OS/gcc dual runtimes
* rules.make (CC_LDFLAGS): New variable for extra ld flags
* target.make (darwin/SHARED_LD_PREFLAGS): Use it.
* Instance/application.make (APP_FILE),
Instance/gswapp.make (GSWAPP_FILE), Instance/objc.make,
Instance/service.make (SERVICE_FILE), Instance/tool.make: Idem.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@21737 72102866-910b-0410-8b05-ffd578937521
2005-09-22 22:07:57 +00:00