Commit graph

149 commits

Author SHA1 Message Date
Nicola Pero
390886de4d Do not set framework-specific variables such as FRAMEWORK_NAME or
FRAMEWORK_VERSION_DIR_NAME at this level; renamed CURRENT_FRAMEWORK_HEADER_FLAGS
to DERIVED_SOURCES_HEADER_FLAGS; include it also if OWNING_PROJECT_HEADER_DIR
is non empty


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@14934 72102866-910b-0410-8b05-ffd578937521
2002-11-06 13:19:13 +00:00
Nicola Pero
14d3e3f854 Added rule to make sure make is not trying to rebuild documentation makefiles
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@14917 72102866-910b-0410-8b05-ffd578937521
2002-11-04 12:34:34 +00:00
Nicola Pero
ee4f586e96 Documentation specific flags moved into Instance/documentation.make and
reorganized for this change


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@14902 72102866-910b-0410-8b05-ffd578937521
2002-11-01 14:13:01 +00:00
Nicola Pero
2ee57fd161 Tidied some comments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@14896 72102866-910b-0410-8b05-ffd578937521
2002-10-31 22:35:27 +00:00
Nicola Pero
d31ac13425 Prevent make from spending time trying to compute if the Shared/Instance
makefiles need rebuilding


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@14812 72102866-910b-0410-8b05-ffd578937521
2002-10-21 23:06:00 +00:00
Nicola Pero
aafd6c32a3 Fixes for choosing compilation and linking flags depending on shared=yes/no
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@14435 72102866-910b-0410-8b05-ffd578937521
2002-09-12 13:59:04 +00:00
Nicola Pero
e66f44e1a8 Use the new ECHO_XXX variables to print out user-friendly messages when
compiling


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@13865 72102866-910b-0410-8b05-ffd578937521
2002-06-13 16:12:24 +00:00
Nicola Pero
9e4ef4d0c8 Simplified preprocessor defines on Windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@13495 72102866-910b-0410-8b05-ffd578937521
2002-04-18 10:00:25 +00:00
Nicola Pero
6f25c49744 Include Instance/rules.make sooner; remove unused variable SUBPROJECT_ROOT_DIR
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@13039 72102866-910b-0410-8b05-ffd578937521
2002-03-07 16:21:12 +00:00
Nicola Pero
622f6a90e7 Define DERIVED_SOURCES (used by frameworks)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@12830 72102866-910b-0410-8b05-ffd578937521
2002-02-27 16:28:04 +00:00
Nicola Pero
46875b36e0 Rule to build the GNUSTEP_OBJ_DIR moved back here
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@12310 72102866-910b-0410-8b05-ffd578937521
2002-01-30 20:49:19 +00:00
Nicola Pero
f730807b8a Generic code setting flags and stating generic compilation rules moved
from Instance/rules.make back to rules.make ... instance specific code
retained inside Instance/rules.make.  I'm slowly figuring out all the bits :-)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@12309 72102866-910b-0410-8b05-ffd578937521
2002-01-30 20:25:40 +00:00
Nicola Pero
bc5ce4060a Improvements and renamings in the instance/type variables used to tell to
Instance invocation submakes what the instance/type is


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@12308 72102866-910b-0410-8b05-ffd578937521
2002-01-30 20:04:36 +00:00
Nicola Pero
d831fffd51 Some minor variables for frameworks and bundles moved from rules.make to common.make
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@12307 72102866-910b-0410-8b05-ffd578937521
2002-01-30 19:51:21 +00:00
Nicola Pero
90625ca0e8 Always include Instance/rules.make, fixing problems in GNUmakefile.postamble
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@12305 72102866-910b-0410-8b05-ffd578937521
2002-01-30 19:38:44 +00:00
Nicola Pero
de55aa780c Master or Instance rules moved from the top level rules.make into
Master/rules.make and Instance/rules.make


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@12289 72102866-910b-0410-8b05-ffd578937521
2002-01-30 17:25:53 +00:00
Nicola Pero
5b8fede68e Include Instance/rules.make; rule for $(GNUSTEP_OBJ_DIR) moved there
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@12285 72102866-910b-0410-8b05-ffd578937521
2002-01-30 17:02:50 +00:00
Nicola Pero
2db4ebce72 First changes for the Master/Instance reorganization
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@12281 72102866-910b-0410-8b05-ffd578937521
2002-01-30 16:52:36 +00:00
Nicola Pero
5163cbb275 Fixed double linker flags ... now -L libraries should be passed only once
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@12274 72102866-910b-0410-8b05-ffd578937521
2002-01-30 13:18:36 +00:00
Nicola Pero
8594476b67 Do not run a which_lib per-submake invocation - now done inside library.make
if and only if needed


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@12257 72102866-910b-0410-8b05-ffd578937521
2002-01-29 13:45:23 +00:00
Nicola Pero
7c7c420fbe Added long comment explaining the difference between AUXILIARY_XXX and
ADDITIONAL_XXX


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@12214 72102866-910b-0410-8b05-ffd578937521
2002-01-25 12:11:17 +00:00
Nicola Pero
ab7e9ad4b2 Updated for removal of framework specific compiler/linker flags
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@12191 72102866-910b-0410-8b05-ffd578937521
2002-01-22 23:04:42 +00:00
Nicola Pero
76495f25a5 Simplified building header and library flags
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@12140 72102866-910b-0410-8b05-ffd578937521
2002-01-20 03:55:38 +00:00
Nicola Pero
d242cff3d3 Reorganized to get rid of some variables and get header include order right
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@12138 72102866-910b-0410-8b05-ffd578937521
2002-01-20 02:16:04 +00:00
Richard Frith-Macdonald
7455bd35e5 Basic autogsdoc support added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@11753 72102866-910b-0410-8b05-ffd578937521
2001-12-15 07:50:48 +00:00
Nicola Pero
c9c86c17f8 Implemented strip=yes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@11751 72102866-910b-0410-8b05-ffd578937521
2001-12-14 14:51:27 +00:00
Nicola Pero
971db120c5 Export INSTALL_AS_USER and INSTALL_AS_GROUP if defined so that
`make install INSTALL_AS_USER=nicola' works


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@11737 72102866-910b-0410-8b05-ffd578937521
2001-12-13 12:52:28 +00:00
Nicola Pero
ccd9a1f372 Moved code concerning INSTALL_AS_USER and INSTALL_AS_GROUP from
common.make to rules.make so that they can be defined in
GNUmakefile.premable


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@11731 72102866-910b-0410-8b05-ffd578937521
2001-12-12 19:18:22 +00:00
Nicola Pero
fdb2846d7c Added rule to build %.h files from %.psw files - needed in frameworks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@11691 72102866-910b-0410-8b05-ffd578937521
2001-12-11 01:27:16 +00:00
Nicola Pero
71ee8103f3 Only set AUTO_DEPENDENCIES_FLAGS if not already set to allow user-level
makefiles to override them


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@11482 72102866-910b-0410-8b05-ffd578937521
2001-11-22 13:32:30 +00:00
Nicola Pero
0083818fbd Implemented support for auto-dependencies ... generated by gcc => 3.0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@11476 72102866-910b-0410-8b05-ffd578937521
2001-11-22 03:07:56 +00:00
Nicola Pero
49f383e602 Use INTERNAL_JAVACFLAGS when setting the javac flags; do not add
-deprecation manually because this is now included in INTERNAL_JAVACFLAGS


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@11449 72102866-910b-0410-8b05-ffd578937521
2001-11-21 15:38:57 +00:00
Nicola Pero
76db4af066 Only check that GNUSTEP_INSTALLATION_DIR is writable if it exists ...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@11400 72102866-910b-0410-8b05-ffd578937521
2001-11-13 15:09:07 +00:00
Nicola Pero
d7e43d2c4b Put the file-specific flags (if any) after the common flags so that they
take precedence


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@11321 72102866-910b-0410-8b05-ffd578937521
2001-11-07 09:32:10 +00:00
Nicola Pero
8bffb3faeb Implemented support for file-specific compilation flags
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@11319 72102866-910b-0410-8b05-ffd578937521
2001-11-07 09:16:59 +00:00
Richard Frith-Macdonald
ea95d35f1b Use -deprecation flag for java
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@11207 72102866-910b-0410-8b05-ffd578937521
2001-10-18 16:36:28 +00:00
Nicola Pero
5222f1f83a Updated, simplified for change in common.make
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@11051 72102866-910b-0410-8b05-ffd578937521
2001-10-01 00:35:17 +00:00
Nicola Pero
d6cc3b4a3b Use new variables provided by common.make when building flags
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@11042 72102866-910b-0410-8b05-ffd578937521
2001-09-30 23:49:29 +00:00
Nicola Pero
c80756cb99 Renamed everywre some internal variables from XXX_YYY_FLAG to XXX_YYY_FLAGS
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@11039 72102866-910b-0410-8b05-ffd578937521
2001-09-30 23:33:14 +00:00
Nicola Pero
416bb070ad Added comment about -Dlib{library_name}_DLL=1
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@10969 72102866-910b-0410-8b05-ffd578937521
2001-09-24 10:53:57 +00:00
Nicola Pero
cf3fc0875a Fixed inclusion of framework headers in framework subprojects
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@10910 72102866-910b-0410-8b05-ffd578937521
2001-09-16 15:39:39 +00:00
Nicola Pero
ff1f202333 Implemented support for C++ files; define OBJ_FILES_TO_LINK so that other
makefiles can use it when they link rather than attempting to list all
object files to list manually (btw that fixes omissions in those makefiles)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@10907 72102866-910b-0410-8b05-ffd578937521
2001-09-15 12:03:12 +00:00
Nicola Pero
19235a56a2 Improved check for installation permissions and extended messages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@10863 72102866-910b-0410-8b05-ffd578937521
2001-09-11 12:12:20 +00:00
Nicola Pero
cda89c9de0 Check that we have write permissions to GNUSTEP_INSTALLATION_DIR before
attempting to install, and if we don't, abort with an error message


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@10836 72102866-910b-0410-8b05-ffd578937521
2001-09-03 11:08:22 +00:00
Nicola Pero
95da3ea1f3 Fixed bug in javadoc flags which slipped in
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@10569 72102866-910b-0410-8b05-ffd578937521
2001-07-24 12:51:27 +00:00
Nicola Pero
2c3dd21d22 Removed usage of $(call ...) for compatibility with old versions of GNU
make


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@10451 72102866-910b-0410-8b05-ffd578937521
2001-07-13 12:54:19 +00:00
Nicola Pero
62526c8090 Attempt to fix reported shell crash by using __done trick
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@10449 72102866-910b-0410-8b05-ffd578937521
2001-07-13 09:29:02 +00:00
Nicola Pero
8dc0061eec Strategical reorganization - broken the %.variables rule into a
%.variables, a %.tools and a %.subprojects rule


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@10445 72102866-910b-0410-8b05-ffd578937521
2001-07-12 16:25:38 +00:00
Nicola Pero
76f9c82135 Fixed before-$(TARGET)-all and after-$(TARGET)-all
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@10443 72102866-910b-0410-8b05-ffd578937521
2001-07-12 15:55:42 +00:00
Nicola Pero
521ada0a92 Merged the %.variables rule with the %.build rule. This is a major
structural change which saves a make invocation per operation


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@10439 72102866-910b-0410-8b05-ffd578937521
2001-07-12 11:47:34 +00:00