tools-make/Instance
Nicola Pero c5fd7a5359 Updated for the new framework/subproject interaction (which supports multiple
framework instances) - use OWNING_PROJECT_HEADER_DIR, not FRAMEWORK_NAME
and FRAMEWORK_VERSION_DIR_NAME etc - when deciding if and how to copy/install
headers


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@14939 72102866-910b-0410-8b05-ffd578937521
2002-11-06 13:26:36 +00:00
..
Documentation Removed spurious ifneq(,)/endifs ... forgotten during the break-up 2002-11-04 12:55:12 +00:00
Shared Implemented new target shared-instance-bundle-copy_into_dir 2002-10-31 13:57:28 +00:00
application.make Implemented copying the application into another bundle 2002-11-06 10:59:52 +00:00
bundle.make Include Instance/Shared/strings.make 2002-10-22 00:27:39 +00:00
clibrary.make Tidied: removed comments, newlines 2002-10-22 00:26:19 +00:00
ctool.make Include Instance/Shared/strings.make 2002-10-22 00:27:39 +00:00
documentation.make Fixed order or installation rules in Instance/documentation.make 2002-11-04 15:03:11 +00:00
framework.make Changed to support multiple instances; set FRAMEWORK_VERSION_DIR_NAME and 2002-11-06 13:25:19 +00:00
gswapp.make Include Instance/Shared/strings.make 2002-10-22 00:27:39 +00:00
gswbundle.make Include Instance/Shared/strings.make 2002-10-22 00:27:39 +00:00
java-tool.make Simplified implementation of before-xxx-all and after-xxx-all; implemented 2002-03-19 13:06:56 +00:00
java.make Renamed JAVA_INSTALLATION_DIR to JAVA_INSTALL_DIR 2002-09-26 00:31:23 +00:00
library.make Unified link commands for libraries and frameworks 2002-10-30 13:20:26 +00:00
objc.make Include Instance/Shared/strings.make 2002-10-22 00:27:39 +00:00
palette.make Include Instance/Shared/strings.make 2002-10-22 00:27:39 +00:00
README New file - written in a rush but that's it 2002-01-30 21:01:43 +00:00
resource-set.make Simplified implementation of before-xxx-all and after-xxx-all; implemented 2002-03-19 13:06:56 +00:00
rules.make Implemented new xxx_COPY_INTO_DIR framework 2002-10-31 13:58:38 +00:00
service.make Include Instance/Shared/strings.make 2002-10-22 00:27:39 +00:00
subproject.make Updated for the new framework/subproject interaction (which supports multiple 2002-11-06 13:26:36 +00:00
test-application.make Simplified implementation of before-xxx-all and after-xxx-all; implemented 2002-03-19 13:06:56 +00:00
test-library.make Include Instance/Shared/strings.make 2002-10-22 00:27:39 +00:00
test-tool.make Simplified implementation of before-xxx-all and after-xxx-all; implemented 2002-03-19 13:06:56 +00:00
tool.make Added emacs -*-makefile-*- line at the start of file 2002-11-06 10:59:19 +00:00

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.