mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-20 21:00:46 +00:00
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). |
||
---|---|---|
.. | ||
Documentation | ||
Shared | ||
application.make | ||
bundle.make | ||
clibrary.make | ||
ctool.make | ||
documentation.make | ||
framework.make | ||
gswapp.make | ||
gswbundle.make | ||
java-tool.make | ||
java.make | ||
library.make | ||
objc.make | ||
palette.make | ||
README | ||
resource-set.make | ||
rules.make | ||
service.make | ||
subproject.make | ||
test-application.make | ||
test-library.make | ||
test-tool.make | ||
tool.make |
Makefiles in this directory are only used during the 'Instance' make invocation. The 'Master' invocation (see explanation in Master/README) decides which tasks are to be done; for each of them, it calls a recursive make invocation (called an 'Instance' make invocation), setting GNUSTEP_INSTANCE to the instance name (for example, 'defaults'), and GNUSTEP_TYPE to the type of instance type (for example, 'tool'). The make target to build is as in internal-tool-all. This means that all makefiles in this directory are executed with a well defined GNUSTEP_INSTANCE, GNUSTEP_TYPE, and target. It is safe/required in all these makefiles/makefile fragments to access the variables needed to build the target for this instance by using $($(GNUSTEP_INSTANCE)_VARIABLE). For example, the list of OBJC_FILES needed to compile the `defaults' instance will have been defined by the user in the defaults_OBJC_FILES variable. In this directory, we access this list using $($(GNUSTEP_INSTANCE)_OBJC_FILES). Please note that this makefiles/makefile fragments can't be included in the Master invocation, they are actually useless in the Master invocation, because $(GNUSTEP_INSTANCE) is undefined in that case.