tools-make/Instance
Nicola Pero e48d75f238 Added FIXME/TODO
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@12914 72102866-910b-0410-8b05-ffd578937521
2002-03-01 10:43:50 +00:00
..
Shared New file to factor out bundle-like copying of resources 2002-02-28 14:11:17 +00:00
application.make Updated definition of PRINCIPAL_CLASS now that Master/rules.make no longer 2002-02-28 18:30:07 +00:00
bundle.make Updated definition of PRINCIPAL_CLASS now that Master/rules.make no longer 2002-02-28 18:30:07 +00:00
clibrary.make Inherit all makefile code from library.make not that it is finally possible! 2002-02-20 17:02:27 +00:00
ctool.make Moved declaration of {before,after}-$(GNUSTEP_INSTANCE)-all as .PHONY 2002-02-28 14:38:36 +00:00
documentation.make Moved declaration of {before,after}-$(GNUSTEP_INSTANCE)-all as .PHONY 2002-02-28 14:38:36 +00:00
framework.make Updated definition of PRINCIPAL_CLASS now that Master/rules.make no longer 2002-02-28 18:30:07 +00:00
gswapp.make Added FIXME/TODO 2002-03-01 10:43:50 +00:00
gswbundle.make Updated definition of PRINCIPAL_CLASS now that Master/rules.make no longer 2002-02-28 18:30:07 +00:00
java-tool.make Updated definition of PRINCIPAL_CLASS now that Master/rules.make no longer 2002-02-28 18:30:07 +00:00
java.make Moved declaration of {before,after}-$(GNUSTEP_INSTANCE)-all as .PHONY 2002-02-28 14:38:36 +00:00
library.make Moved declaration of {before,after}-$(GNUSTEP_INSTANCE)-all as .PHONY 2002-02-28 14:38:36 +00:00
objc.make Moved declaration of {before,after}-$(GNUSTEP_INSTANCE)-all as .PHONY 2002-02-28 14:38:36 +00:00
palette.make Updated definition of PRINCIPAL_CLASS now that Master/rules.make no longer 2002-02-28 18:30:07 +00:00
README New file - written in a rush but that's it 2002-01-30 21:01:43 +00:00
rules.make Moved declaration of {before,after}-$(GNUSTEP_INSTANCE)-all as .PHONY 2002-02-28 14:38:36 +00:00
service.make Moved declaration of {before,after}-$(GNUSTEP_INSTANCE)-all as .PHONY 2002-02-28 14:38:36 +00:00
subproject.make Moved declaration of {before,after}-$(GNUSTEP_INSTANCE)-all as .PHONY 2002-02-28 14:38:36 +00:00
test-application.make Use test-app, not testapp, as GNUSTEP_TYPE for test-application 2002-02-22 12:36:41 +00:00
test-library.make Moved before-$(GNUSTEP_INSTANCE)-all and after-$(GNUSTEP_INSTANCE)-all into 2002-02-28 13:09:11 +00:00
test-tool.make Broken into Master and Instace 2002-02-22 12:49:08 +00:00
tool.make Moved declaration of {before,after}-$(GNUSTEP_INSTANCE)-all as .PHONY 2002-02-28 14:38:36 +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.