1# 2# messages.make 3# 4# Prepare messages 5# 6# Copyright (C) 2002, 2009 Free Software Foundation, Inc. 7# 8# Author: Nicola Pero <nicola.pero@meta-innovation.com> 9# 10# This file is part of the GNUstep Makefile Package. 11# 12# This library is free software; you can redistribute it and/or 13# modify it under the terms of the GNU General Public License 14# as published by the Free Software Foundation; either version 3 15# of the License, or (at your option) any later version. 16# 17# You should have received a copy of the GNU General Public 18# License along with this library; see the file COPYING. 19# If not, write to the Free Software Foundation, 20# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 21 22# Helpful messages which are always printed 23 24# Instance/Shared/strings.make 25ALWAYS_ECHO_NO_FILES = @(echo " No files specified ... nothing done.") 26ALWAYS_ECHO_NO_LANGUAGES = @(echo " No LANGUAGES specified ... nothing done.") 27 28# Instance/Documentation/texi.make. This is special because as it 29# doesn't have the initial '@(' for technical reasons. We use 30# 'INSIDE_ECHO_' instead of 'ECHO_' to mark the difference. 31ALWAYS_INSIDE_ECHO_MISSING_DOCUMENTATION = echo " Nothing to install because nothing was built (usually because makeinfo is not available)"; 32 33# Eventual translation of the ALWAYS_ECHO_XXX messages should be done 34# here ... 35 36ifneq ($(messages),yes) 37 38 # General messages 39 ECHO_PREPROCESSING = @(echo " Preprocessing file $< ..."; 40 ECHO_PRECOMPILING = @(echo " Precompiling header file $< ..."; 41 ECHO_COMPILING = @(echo " Compiling file $< ..."; 42 # The following two are special as they don't have the initial '@(' for technical reasons. 43 # We use 'INSIDE_ECHO_' instead of 'ECHO_' to mark the difference. 44 INSIDE_ECHO_JAVA_COMPILING = echo "Compiling file $< ..."; 45 INSIDE_ECHO_JAVA_BATCH_COMPILING = echo " Compiling Java files for $(GNUSTEP_INSTANCE) ..."; 46 ECHO_LINKING = @(echo " Linking $(GNUSTEP_TYPE) $(GNUSTEP_INSTANCE) ..."; 47 ECHO_JAVAHING = @(echo " Running javah on $< ..."; 48 ECHO_INSTALLING = @(echo " Installing $(GNUSTEP_TYPE) $(GNUSTEP_INSTANCE)..."; 49 ECHO_UNINSTALLING = @(echo " Uninstalling $(GNUSTEP_TYPE) $(GNUSTEP_INSTANCE)..."; 50 ECHO_COPYING_INTO_DIR = @(echo " Copying $(GNUSTEP_TYPE) $(GNUSTEP_INSTANCE) into $(COPY_INTO_DIR)..."; 51 ECHO_CREATING = @(echo " Creating $@..."; 52 ECHO_CHOWNING = @(echo " Fixing ownership of installed file(s)..."; 53 ECHO_STRIPPING = @(echo " Stripping object file..."; 54 55 # ECHO_NOTHING is still better than hardcoding @(, because ECHO_NOTHING 56 # prints nothing if messages=no, but it prints all messages when 57 # messages=yes, while hardcoding @( never prints anything. 58 ECHO_NOTHING = @( 59 60 # Instance/framework.make 61 ECHO_UPDATING_VERSION_SYMLINK = @(echo " Updating Version/Current symlink..."; 62 63 # Instance/Shared/bundle.make 64 ECHO_COPYING_RESOURCES = @(echo " Copying resources into the $(GNUSTEP_TYPE) wrapper..."; 65 ECHO_COPYING_LOC_RESOURCES = @(echo " Copying localized resources into the $(GNUSTEP_TYPE) wrapper..."; 66 ECHO_CREATING_LOC_RESOURCE_DIRS = @(echo " Creating localized resource dirs into the $(GNUSTEP_TYPE) wrapper..."; 67 ECHO_COPYING_RESOURCES_FROM_SUBPROJS = @(echo " Copying resources from subprojects into the $(GNUSTEP_TYPE) wrapper..."; 68 ECHO_COPYING_WEBSERVER_RESOURCES = @(echo " Copying webserver resources into the $(GNUSTEP_TYPE) wrapper..."; 69 ECHO_COPYING_WEBSERVER_LOC_RESOURCES = @(echo " Copying localized webserver resources into the $(GNUSTEP_TYPE) wrapper..."; 70 ECHO_CREATING_WEBSERVER_LOC_RESOURCE_DIRS = @(echo " Creating localized webserver resource dirs into the $(GNUSTEP_TYPE) wrapper..."; 71 ECHO_INSTALLING_BUNDLE = @(echo " Installing bundle directory..."; 72 ECHO_COPYING_BUNDLE_INTO_DIR = @(echo " Copying bundle directory into $(COPY_INTO_DIR)..."; 73 74 # Instance/Shared/headers.make 75 ECHO_INSTALLING_HEADERS = @(echo " Installing headers..."; 76 77 # Instance/Shared/java.make 78 ECHO_INSTALLING_CLASS_FILES = @(echo " Installing class files..."; 79 ECHO_INSTALLING_ADD_CLASS_FILES = @(echo " Installing nested class files..."; 80 ECHO_INSTALLING_PROPERTIES_FILES = @(echo " Installing property files..."; 81 ECHO_CREATING_JAR_FILE = @(echo " Creating jar file..."; 82 83 # Instance/Shared/pkgconfig.make 84 ECHO_INSTALLING_PKGCONFIG = @(echo " Installing pkg-config files..."; 85 86 # Instance/Shared/stamp-string.make 87 ECHO_CREATING_STAMP_FILE = @(echo " Creating stamp file..."; 88 89 # Instance/Shared/strings.make 90 ECHO_MAKING_STRINGS = @(echo " Making/updating strings files..."; 91 92 # Instance/Documentation/autogsdoc.make 93 ECHO_AUTOGSDOC = @(echo " Generating reference documentation..."; 94 95 # Instance/Documentation/javadoc.make 96 ECHO_JAVADOC = @(echo " Generating javadoc documentation..."; 97 98 END_ECHO = ) 99 100# 101# Translation of messages: 102# 103# In case a translation is appropriate (FIXME - decide how to 104# determine if this is the case), here we will determine which 105# translated messages.make file to use, and include it here; this file 106# can override any of the ECHO_XXX variables providing new definitions 107# which print out the translated messages. (if it fails to provide a 108# translation of any variable, the original untranslated message would 109# then be automatically print out). 110# 111 112else 113 114 ECHO_PREPROCESSING = 115 ECHO_PRECOMPILING = 116 ECHO_COMPILING = 117 INSIDE_ECHO_JAVA_COMPILING = 118 INSIDE_ECHO_JAVA_BATCH_COMPILING = 119 ECHO_LINKING = 120 ECHO_JAVAHING = 121 ECHO_INSTALLING = 122 ECHO_UNINSTALLING = 123 ECHO_COPYING_INTO_DIR = 124 ECHO_CREATING = 125 ECHO_NOTHING = 126 127 ECHO_UPDATING_VERSION_SYMLINK = 128 129 ECHO_CHOWNING = 130 ECHO_STRIPPING = 131 132 ECHO_COPYING_RESOURCES = 133 ECHO_COPYING_LOC_RESOURCES = 134 ECHO_CREATING_LOC_RESOURCE_DIRS = 135 ECHO_COPYING_RESOURCES_FROM_SUBPROJS = 136 ECHO_COPYING_WEBSERVER_RESOURCES = 137 ECHO_COPYING_WEBSERVER_LOC_RESOURCES = 138 ECHO_CREATING_WEBSERVER_LOC_RESOURCE_DIRS = 139 ECHO_INSTALLING_BUNDLE = 140 ECHO_COPYING_BUNDLE_INTO_DIR = 141 142 ECHO_INSTALLING_HEADERS = 143 144 ECHO_INSTALLING_CLASS_FILES = 145 ECHO_INSTALLING_ADD_CLASS_FILES = 146 ECHO_INSTALLING_PROPERTIES_FILES = 147 ECHO_CREATING_JAR_FILE = 148 ECHO_CREATING_STAMP_FILE = 149 150 ECHO_MAKING_STRINGS = 151 ECHO_AUTOGSDOC = 152 ECHO_JAVADOC = 153 154 END_ECHO = 155 156endif 157 158# The following are warnings that are always displayed, no matter if 159# messages=yes or messages=no 160 161# Instance/tool.make 162WARNING_EMPTY_LINKING = @(echo " Warning! No files to link. Please check your GNUmakefile! Make sure you set $(GNUSTEP_INSTANCE)_OBJC_FILES (or similar variables)") 163 164# Instance/bundle.make 165NOTICE_EMPTY_LINKING = @(echo " Notice: No files to link - creating a bundle with no object file and only resources") 166 167# Instance/application.make, Instance/bundle.make, Instance/framework.make 168WARNING_INFO_GNUSTEP_PLIST = @(echo "Warning! You have specified Info-gnustep.plist in $(GNUSTEP_INSTANCE)_RESOURCE_FILES"; \ 169 echo " Unfortunately, it will not work because Info-gnustep.plist is automatically generated."; \ 170 echo " To customize Info-gnustep.plist, please create a $(GNUSTEP_INSTANCE)Info.plist file with your custom entries."; \ 171 echo " $(GNUSTEP_INSTANCE)Info.plist will be automatically merged into Info-gnustep.plist.") 172WARNING_INFO_PLIST = @(echo "Warning! You have specified Info.plist in $(GNUSTEP_INSTANCE)_RESOURCE_FILES"; \ 173 echo " Unfortunately, it will not work because Info.plist is automatically generated."; \ 174 echo " To customize Info.plist, please create a $(GNUSTEP_INSTANCE)Info.plist file with your custom entries."; \ 175 echo " $(GNUSTEP_INSTANCE)Info.plist will be automatically merged into Info.plist.") 176 177# The following are messages that are related to the recursive make invocations. 178# Most users will never want to see the recursive make invocations, so we use the messages 179# are always displayed unless internalmessages=yes is used. 180ifneq ($(internalmessages),yes) 181 182 # ECHO_NOTHING_RECURSIVE_MAKE should be used instead of ECHO_NOTHING 183 # shell code that does recursive make invocations. It prints nothing, unless 184 # internalmessages=yes is passed. In that case we display the recursive 185 # invocation commands. 186 ECHO_NOTHING_RECURSIVE_MAKE = @( 187 END_ECHO_RECURSIVE_MAKE = ) 188 189 # Important - the following are special in that it's inside the shell 190 # code, not at the beginning. 191 INSIDE_ECHO_MAKING_OPERATION = echo "Making $$operation for $$type $$instance..."; 192 INSIDE_ECHO_MAKING_OPERATION_IN_DIRECTORY = echo "Making $$operation in $$directory ..."; 193 INSIDE_ECHO_MAKING_OPERATION_IN_SUBPROJECTS = echo "Making $$operation in subprojects of $$type $$instance..."; 194 195else 196 197 ECHO_NOTHING_RECURSIVE_MAKE = 198 END_ECHO_RECURSIVE_MAKE = 199 200 INSIDE_ECHO_MAKING_OPERATION = 201 INSIDE_ECHO_MAKING_OPERATION_IN_DIRECTORY = 202 INSIDE_ECHO_MAKING_OPERATION_IN_SUBPROJECTS = 203 204endif 205 206