2000-10-30 06:14:55 -06:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
2008-04-10 11:36:27 -05:00
|
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
#
|
2010-02-12 08:01:35 -06:00
|
|
|
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
2000-10-30 06:14:55 -06:00
|
|
|
#
|
2008-04-10 11:36:27 -05:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2000-10-30 06:14:55 -06:00
|
|
|
#
|
2008-04-10 11:36:27 -05:00
|
|
|
# This file is part of OpenOffice.org.
|
2000-10-30 06:14:55 -06:00
|
|
|
#
|
2008-04-10 11:36:27 -05:00
|
|
|
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
# only, as published by the Free Software Foundation.
|
2000-10-30 06:14:55 -06:00
|
|
|
#
|
2008-04-10 11:36:27 -05:00
|
|
|
# OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU Lesser General Public License version 3 for more details
|
|
|
|
# (a copy is included in the LICENSE file that accompanied this code).
|
2000-10-30 06:14:55 -06:00
|
|
|
#
|
2008-04-10 11:36:27 -05:00
|
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
|
|
# version 3 along with OpenOffice.org. If not, see
|
|
|
|
# <http://www.openoffice.org/license.html>
|
|
|
|
# for a copy of the LGPLv3 License.
|
2000-10-30 06:14:55 -06:00
|
|
|
#
|
|
|
|
#*************************************************************************
|
2000-09-20 08:43:26 -05:00
|
|
|
|
|
|
|
MKFILENAME:=RULES.MK
|
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(OBJ)/%.obj : %.cxx
|
2009-11-27 08:48:45 -06:00
|
|
|
@echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE)
|
2000-09-20 08:43:26 -05:00
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
@$(RM) $@ $(@:s/.obj/.o/)
|
CWS-TOOLING: integrate CWS buildverbosity
2009-10-13 15:51:48 +0200 fs r276867 : allow building with 'nodep'==''
2009-10-11 22:39:56 +0200 fs r276820 : silence a compiler warning in a file only used when VERBOSE!=""
2009-10-09 14:37:43 +0200 fs r276807 : let not override the non-presence of $VERBOSE the given command line arguments
2009-10-09 14:36:25 +0200 fs r276806 : also deliver spirit/home/classic/debug/impl
2009-10-08 13:38:07 +0200 fs r276789 : not that many line feeds in --show mode
2009-10-08 13:13:01 +0200 fs r276788 : minor adjustments requested by hjs:
- replaced space/tab mixes at beginning of lines with mere tab
- made "nothing to update" message for the ZIPALLTARGET target more prominent
- removed useless "echo > /dev/nul" statements
2009-10-07 13:32:12 +0200 fs r276753 : #i105585#
2009-10-07 11:31:59 +0200 fs r276742 : #i10000# missing dependency between stoc/security and stoc/util
2009-10-06 22:59:59 +0200 fs r276729 : CWS-TOOLING: rebase CWS buildverbosity to trunk@276699 (milestone: DEV300:m61)
2009-09-29 12:04:58 +0200 fs r276518 : #i10000#
2009-09-29 12:04:25 +0200 fs r276517 : oops
2009-09-29 12:01:07 +0200 fs r276516 : #i84497# removed some more (non-diagnostic) 'echo ------' directives
2009-09-29 11:59:29 +0200 fs r276515 : #i84497# removed some more (non-diagnostic) 'echo ------' directives
2009-09-29 11:52:32 +0200 fs r276514 : #i84497# removed the various 'echo ------------' directives from verbose mode, as per hjs' request
2009-09-29 11:44:16 +0200 fs r276513 : do not duplicate IDLC call commands with different verbosity switches
2009-09-28 21:43:50 +0200 thb r276502 : #i84497# fixed potential recursive macro def + extra ls
* solenv/inc/settings.mk: now setting via VERBOSE!:=, removes warning
and my spurious "recursive macro definition" error
* solenv/inc/tg_app.mk: one extra ls silenced for app target (and
quiet mode, that goes without saying)
2009-09-23 08:57:01 +0200 fs r276366 : use ULFEX_VERBOSITY instead of duplicating the ULFEX call
2009-09-21 11:42:26 +0200 fs r276320 : ignore output paths
2009-09-21 11:04:27 +0200 fs r276318 : silence another compiler warning, which only hits us when actually using this (debug) file, which is the case only when slideshow is compiled with a env variable VERBOSE, thus came up in CWS buildverbosity
2009-09-21 10:30:14 +0200 fs r276313 : make some output depend on VERBOSE==TRUE, not COMMAND_ECHO=""
While both are equivalent at the moment, COMMAND_ECHO finally is an implementation
default of the VERBOSE flag only, so better rely on VERBOSE as the primary verbosity flag
2009-09-21 09:56:57 +0200 fs r276311 : forgot to re-generate from tg_zip before committing
2009-09-21 09:52:11 +0200 fs r276310 : #i84497# even less verbosity
2009-09-17 11:02:47 +0200 fs r276232 : #i84497# verbose implies VERBOSE nowadays, and VERBOSE==FALSE should not lead to -DVERBOSE
2009-09-15 22:59:37 +0200 fs r276189 : #i105022# copy fix for this P1 into this CWS
2009-09-15 11:56:35 +0200 fs r276165 : CWS-TOOLING: rebase CWS buildverbosity to trunk@276043 (milestone: DEV300:m58)
2009-09-14 17:45:10 +0200 fs r276137 : #i84497# don't duplicate zip lines w/ and w/o -q switch, use a variable instead (maintenance)
2009-09-14 15:01:33 +0200 fs r276124 : #i10000#
2009-09-11 23:58:46 +0200 thb r276083 : #i84497#: More quiet-build fine tuning
- silenced rsc for real (properly filtering options for
cpp, and a pretty brutal amputation of the tool blurp,
which would have needed cmd opt parser duplication)
- silenced deliver.pl
- silenced checkdll.sh
- silenced zip via -q (in quiet mode)
- silenced various idl, resource, transex whatever tool,
passing appropriate options down to them '-QQ' sometimes
- silenced dmake, pointless blurb that something does *not*
need update removed
- silenced the old starview idl compiler, to not output
tool's name & progress chars in quiet mode
2009-09-11 21:13:59 +0200 thb r276081 : #i84497#: More bits on the quiet mode of the build.
The bulk of the changes is disabling those annoying
"echo ------------------" lines for the quiet build,
which has the stretch goal of outputting *exactly*
one line per file compiled/linked/processed.
Apart from that, silenced a few especialy annoying
module-specific makefiles (basically adding
$(COMMAND_ECHO) in front of a gazillion rules).
Additionally, slightly tweaked what idlc regards
verbose, normal, and quiet mode; this was to have it
echo exactly one line per idl file processed (the
fact that quiet mode did not echo *anything* for idl
files was a bit too much for my taste)
2009-09-04 09:14:35 +0200 fs r275777 : don't emit the link parameters if VERBOSE!=TRUE
2009-09-02 10:31:15 +0200 fs r275700 : #i10000#
2009-09-02 08:44:14 +0200 fs r275697 : update svn:ignore to ignore the output paths
2009-09-02 08:40:54 +0200 fs r275695 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:40:28 +0200 fs r275694 : GRAPHITE is missing in the BUILD_TYPE
2009-09-02 08:40:05 +0200 fs r275693 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:39:25 +0200 fs r275692 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:39:02 +0200 fs r275691 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:38:09 +0200 fs r275690 : #i84497# less verbose output during build
2009-09-02 08:37:06 +0200 fs r275689 : #i84497# don't emit that much noise, unless a '-verbose' switch is given
2009-10-21 05:43:22 -05:00
|
|
|
$(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXOBJ) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $(CFLAGSINCXX)$(PWD)/$*.cxx
|
2004-08-23 03:17:36 -05:00
|
|
|
.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
|
|
|
|
.IF "$(noadjust)"==""
|
CWS-TOOLING: integrate CWS buildverbosity
2009-10-13 15:51:48 +0200 fs r276867 : allow building with 'nodep'==''
2009-10-11 22:39:56 +0200 fs r276820 : silence a compiler warning in a file only used when VERBOSE!=""
2009-10-09 14:37:43 +0200 fs r276807 : let not override the non-presence of $VERBOSE the given command line arguments
2009-10-09 14:36:25 +0200 fs r276806 : also deliver spirit/home/classic/debug/impl
2009-10-08 13:38:07 +0200 fs r276789 : not that many line feeds in --show mode
2009-10-08 13:13:01 +0200 fs r276788 : minor adjustments requested by hjs:
- replaced space/tab mixes at beginning of lines with mere tab
- made "nothing to update" message for the ZIPALLTARGET target more prominent
- removed useless "echo > /dev/nul" statements
2009-10-07 13:32:12 +0200 fs r276753 : #i105585#
2009-10-07 11:31:59 +0200 fs r276742 : #i10000# missing dependency between stoc/security and stoc/util
2009-10-06 22:59:59 +0200 fs r276729 : CWS-TOOLING: rebase CWS buildverbosity to trunk@276699 (milestone: DEV300:m61)
2009-09-29 12:04:58 +0200 fs r276518 : #i10000#
2009-09-29 12:04:25 +0200 fs r276517 : oops
2009-09-29 12:01:07 +0200 fs r276516 : #i84497# removed some more (non-diagnostic) 'echo ------' directives
2009-09-29 11:59:29 +0200 fs r276515 : #i84497# removed some more (non-diagnostic) 'echo ------' directives
2009-09-29 11:52:32 +0200 fs r276514 : #i84497# removed the various 'echo ------------' directives from verbose mode, as per hjs' request
2009-09-29 11:44:16 +0200 fs r276513 : do not duplicate IDLC call commands with different verbosity switches
2009-09-28 21:43:50 +0200 thb r276502 : #i84497# fixed potential recursive macro def + extra ls
* solenv/inc/settings.mk: now setting via VERBOSE!:=, removes warning
and my spurious "recursive macro definition" error
* solenv/inc/tg_app.mk: one extra ls silenced for app target (and
quiet mode, that goes without saying)
2009-09-23 08:57:01 +0200 fs r276366 : use ULFEX_VERBOSITY instead of duplicating the ULFEX call
2009-09-21 11:42:26 +0200 fs r276320 : ignore output paths
2009-09-21 11:04:27 +0200 fs r276318 : silence another compiler warning, which only hits us when actually using this (debug) file, which is the case only when slideshow is compiled with a env variable VERBOSE, thus came up in CWS buildverbosity
2009-09-21 10:30:14 +0200 fs r276313 : make some output depend on VERBOSE==TRUE, not COMMAND_ECHO=""
While both are equivalent at the moment, COMMAND_ECHO finally is an implementation
default of the VERBOSE flag only, so better rely on VERBOSE as the primary verbosity flag
2009-09-21 09:56:57 +0200 fs r276311 : forgot to re-generate from tg_zip before committing
2009-09-21 09:52:11 +0200 fs r276310 : #i84497# even less verbosity
2009-09-17 11:02:47 +0200 fs r276232 : #i84497# verbose implies VERBOSE nowadays, and VERBOSE==FALSE should not lead to -DVERBOSE
2009-09-15 22:59:37 +0200 fs r276189 : #i105022# copy fix for this P1 into this CWS
2009-09-15 11:56:35 +0200 fs r276165 : CWS-TOOLING: rebase CWS buildverbosity to trunk@276043 (milestone: DEV300:m58)
2009-09-14 17:45:10 +0200 fs r276137 : #i84497# don't duplicate zip lines w/ and w/o -q switch, use a variable instead (maintenance)
2009-09-14 15:01:33 +0200 fs r276124 : #i10000#
2009-09-11 23:58:46 +0200 thb r276083 : #i84497#: More quiet-build fine tuning
- silenced rsc for real (properly filtering options for
cpp, and a pretty brutal amputation of the tool blurp,
which would have needed cmd opt parser duplication)
- silenced deliver.pl
- silenced checkdll.sh
- silenced zip via -q (in quiet mode)
- silenced various idl, resource, transex whatever tool,
passing appropriate options down to them '-QQ' sometimes
- silenced dmake, pointless blurb that something does *not*
need update removed
- silenced the old starview idl compiler, to not output
tool's name & progress chars in quiet mode
2009-09-11 21:13:59 +0200 thb r276081 : #i84497#: More bits on the quiet mode of the build.
The bulk of the changes is disabling those annoying
"echo ------------------" lines for the quiet build,
which has the stretch goal of outputting *exactly*
one line per file compiled/linked/processed.
Apart from that, silenced a few especialy annoying
module-specific makefiles (basically adding
$(COMMAND_ECHO) in front of a gazillion rules).
Additionally, slightly tweaked what idlc regards
verbose, normal, and quiet mode; this was to have it
echo exactly one line per idl file processed (the
fact that quiet mode did not echo *anything* for idl
files was a bit too much for my taste)
2009-09-04 09:14:35 +0200 fs r275777 : don't emit the link parameters if VERBOSE!=TRUE
2009-09-02 10:31:15 +0200 fs r275700 : #i10000#
2009-09-02 08:44:14 +0200 fs r275697 : update svn:ignore to ignore the output paths
2009-09-02 08:40:54 +0200 fs r275695 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:40:28 +0200 fs r275694 : GRAPHITE is missing in the BUILD_TYPE
2009-09-02 08:40:05 +0200 fs r275693 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:39:25 +0200 fs r275692 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:39:02 +0200 fs r275691 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:38:09 +0200 fs r275690 : #i84497# less verbose output during build
2009-09-02 08:37:06 +0200 fs r275689 : #i84497# don't emit that much noise, unless a '-verbose' switch is given
2009-10-21 05:43:22 -05:00
|
|
|
$(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/)
|
2004-08-23 03:17:36 -05:00
|
|
|
.ENDIF # "$(noadjust)"==""
|
|
|
|
.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
|
CWS-TOOLING: integrate CWS buildverbosity
2009-10-13 15:51:48 +0200 fs r276867 : allow building with 'nodep'==''
2009-10-11 22:39:56 +0200 fs r276820 : silence a compiler warning in a file only used when VERBOSE!=""
2009-10-09 14:37:43 +0200 fs r276807 : let not override the non-presence of $VERBOSE the given command line arguments
2009-10-09 14:36:25 +0200 fs r276806 : also deliver spirit/home/classic/debug/impl
2009-10-08 13:38:07 +0200 fs r276789 : not that many line feeds in --show mode
2009-10-08 13:13:01 +0200 fs r276788 : minor adjustments requested by hjs:
- replaced space/tab mixes at beginning of lines with mere tab
- made "nothing to update" message for the ZIPALLTARGET target more prominent
- removed useless "echo > /dev/nul" statements
2009-10-07 13:32:12 +0200 fs r276753 : #i105585#
2009-10-07 11:31:59 +0200 fs r276742 : #i10000# missing dependency between stoc/security and stoc/util
2009-10-06 22:59:59 +0200 fs r276729 : CWS-TOOLING: rebase CWS buildverbosity to trunk@276699 (milestone: DEV300:m61)
2009-09-29 12:04:58 +0200 fs r276518 : #i10000#
2009-09-29 12:04:25 +0200 fs r276517 : oops
2009-09-29 12:01:07 +0200 fs r276516 : #i84497# removed some more (non-diagnostic) 'echo ------' directives
2009-09-29 11:59:29 +0200 fs r276515 : #i84497# removed some more (non-diagnostic) 'echo ------' directives
2009-09-29 11:52:32 +0200 fs r276514 : #i84497# removed the various 'echo ------------' directives from verbose mode, as per hjs' request
2009-09-29 11:44:16 +0200 fs r276513 : do not duplicate IDLC call commands with different verbosity switches
2009-09-28 21:43:50 +0200 thb r276502 : #i84497# fixed potential recursive macro def + extra ls
* solenv/inc/settings.mk: now setting via VERBOSE!:=, removes warning
and my spurious "recursive macro definition" error
* solenv/inc/tg_app.mk: one extra ls silenced for app target (and
quiet mode, that goes without saying)
2009-09-23 08:57:01 +0200 fs r276366 : use ULFEX_VERBOSITY instead of duplicating the ULFEX call
2009-09-21 11:42:26 +0200 fs r276320 : ignore output paths
2009-09-21 11:04:27 +0200 fs r276318 : silence another compiler warning, which only hits us when actually using this (debug) file, which is the case only when slideshow is compiled with a env variable VERBOSE, thus came up in CWS buildverbosity
2009-09-21 10:30:14 +0200 fs r276313 : make some output depend on VERBOSE==TRUE, not COMMAND_ECHO=""
While both are equivalent at the moment, COMMAND_ECHO finally is an implementation
default of the VERBOSE flag only, so better rely on VERBOSE as the primary verbosity flag
2009-09-21 09:56:57 +0200 fs r276311 : forgot to re-generate from tg_zip before committing
2009-09-21 09:52:11 +0200 fs r276310 : #i84497# even less verbosity
2009-09-17 11:02:47 +0200 fs r276232 : #i84497# verbose implies VERBOSE nowadays, and VERBOSE==FALSE should not lead to -DVERBOSE
2009-09-15 22:59:37 +0200 fs r276189 : #i105022# copy fix for this P1 into this CWS
2009-09-15 11:56:35 +0200 fs r276165 : CWS-TOOLING: rebase CWS buildverbosity to trunk@276043 (milestone: DEV300:m58)
2009-09-14 17:45:10 +0200 fs r276137 : #i84497# don't duplicate zip lines w/ and w/o -q switch, use a variable instead (maintenance)
2009-09-14 15:01:33 +0200 fs r276124 : #i10000#
2009-09-11 23:58:46 +0200 thb r276083 : #i84497#: More quiet-build fine tuning
- silenced rsc for real (properly filtering options for
cpp, and a pretty brutal amputation of the tool blurp,
which would have needed cmd opt parser duplication)
- silenced deliver.pl
- silenced checkdll.sh
- silenced zip via -q (in quiet mode)
- silenced various idl, resource, transex whatever tool,
passing appropriate options down to them '-QQ' sometimes
- silenced dmake, pointless blurb that something does *not*
need update removed
- silenced the old starview idl compiler, to not output
tool's name & progress chars in quiet mode
2009-09-11 21:13:59 +0200 thb r276081 : #i84497#: More bits on the quiet mode of the build.
The bulk of the changes is disabling those annoying
"echo ------------------" lines for the quiet build,
which has the stretch goal of outputting *exactly*
one line per file compiled/linked/processed.
Apart from that, silenced a few especialy annoying
module-specific makefiles (basically adding
$(COMMAND_ECHO) in front of a gazillion rules).
Additionally, slightly tweaked what idlc regards
verbose, normal, and quiet mode; this was to have it
echo exactly one line per idl file processed (the
fact that quiet mode did not echo *anything* for idl
files was a bit too much for my taste)
2009-09-04 09:14:35 +0200 fs r275777 : don't emit the link parameters if VERBOSE!=TRUE
2009-09-02 10:31:15 +0200 fs r275700 : #i10000#
2009-09-02 08:44:14 +0200 fs r275697 : update svn:ignore to ignore the output paths
2009-09-02 08:40:54 +0200 fs r275695 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:40:28 +0200 fs r275694 : GRAPHITE is missing in the BUILD_TYPE
2009-09-02 08:40:05 +0200 fs r275693 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:39:25 +0200 fs r275692 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:39:02 +0200 fs r275691 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:38:09 +0200 fs r275690 : #i84497# less verbose output during build
2009-09-02 08:37:06 +0200 fs r275689 : #i84497# don't emit that much noise, unless a '-verbose' switch is given
2009-10-21 05:43:22 -05:00
|
|
|
@$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI)
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE
|
2007-02-06 06:56:51 -06:00
|
|
|
@@-$(RM) $@
|
2000-09-20 08:43:26 -05:00
|
|
|
.IF "$(COM)"=="GCC"
|
CWS-TOOLING: integrate CWS buildverbosity
2009-10-13 15:51:48 +0200 fs r276867 : allow building with 'nodep'==''
2009-10-11 22:39:56 +0200 fs r276820 : silence a compiler warning in a file only used when VERBOSE!=""
2009-10-09 14:37:43 +0200 fs r276807 : let not override the non-presence of $VERBOSE the given command line arguments
2009-10-09 14:36:25 +0200 fs r276806 : also deliver spirit/home/classic/debug/impl
2009-10-08 13:38:07 +0200 fs r276789 : not that many line feeds in --show mode
2009-10-08 13:13:01 +0200 fs r276788 : minor adjustments requested by hjs:
- replaced space/tab mixes at beginning of lines with mere tab
- made "nothing to update" message for the ZIPALLTARGET target more prominent
- removed useless "echo > /dev/nul" statements
2009-10-07 13:32:12 +0200 fs r276753 : #i105585#
2009-10-07 11:31:59 +0200 fs r276742 : #i10000# missing dependency between stoc/security and stoc/util
2009-10-06 22:59:59 +0200 fs r276729 : CWS-TOOLING: rebase CWS buildverbosity to trunk@276699 (milestone: DEV300:m61)
2009-09-29 12:04:58 +0200 fs r276518 : #i10000#
2009-09-29 12:04:25 +0200 fs r276517 : oops
2009-09-29 12:01:07 +0200 fs r276516 : #i84497# removed some more (non-diagnostic) 'echo ------' directives
2009-09-29 11:59:29 +0200 fs r276515 : #i84497# removed some more (non-diagnostic) 'echo ------' directives
2009-09-29 11:52:32 +0200 fs r276514 : #i84497# removed the various 'echo ------------' directives from verbose mode, as per hjs' request
2009-09-29 11:44:16 +0200 fs r276513 : do not duplicate IDLC call commands with different verbosity switches
2009-09-28 21:43:50 +0200 thb r276502 : #i84497# fixed potential recursive macro def + extra ls
* solenv/inc/settings.mk: now setting via VERBOSE!:=, removes warning
and my spurious "recursive macro definition" error
* solenv/inc/tg_app.mk: one extra ls silenced for app target (and
quiet mode, that goes without saying)
2009-09-23 08:57:01 +0200 fs r276366 : use ULFEX_VERBOSITY instead of duplicating the ULFEX call
2009-09-21 11:42:26 +0200 fs r276320 : ignore output paths
2009-09-21 11:04:27 +0200 fs r276318 : silence another compiler warning, which only hits us when actually using this (debug) file, which is the case only when slideshow is compiled with a env variable VERBOSE, thus came up in CWS buildverbosity
2009-09-21 10:30:14 +0200 fs r276313 : make some output depend on VERBOSE==TRUE, not COMMAND_ECHO=""
While both are equivalent at the moment, COMMAND_ECHO finally is an implementation
default of the VERBOSE flag only, so better rely on VERBOSE as the primary verbosity flag
2009-09-21 09:56:57 +0200 fs r276311 : forgot to re-generate from tg_zip before committing
2009-09-21 09:52:11 +0200 fs r276310 : #i84497# even less verbosity
2009-09-17 11:02:47 +0200 fs r276232 : #i84497# verbose implies VERBOSE nowadays, and VERBOSE==FALSE should not lead to -DVERBOSE
2009-09-15 22:59:37 +0200 fs r276189 : #i105022# copy fix for this P1 into this CWS
2009-09-15 11:56:35 +0200 fs r276165 : CWS-TOOLING: rebase CWS buildverbosity to trunk@276043 (milestone: DEV300:m58)
2009-09-14 17:45:10 +0200 fs r276137 : #i84497# don't duplicate zip lines w/ and w/o -q switch, use a variable instead (maintenance)
2009-09-14 15:01:33 +0200 fs r276124 : #i10000#
2009-09-11 23:58:46 +0200 thb r276083 : #i84497#: More quiet-build fine tuning
- silenced rsc for real (properly filtering options for
cpp, and a pretty brutal amputation of the tool blurp,
which would have needed cmd opt parser duplication)
- silenced deliver.pl
- silenced checkdll.sh
- silenced zip via -q (in quiet mode)
- silenced various idl, resource, transex whatever tool,
passing appropriate options down to them '-QQ' sometimes
- silenced dmake, pointless blurb that something does *not*
need update removed
- silenced the old starview idl compiler, to not output
tool's name & progress chars in quiet mode
2009-09-11 21:13:59 +0200 thb r276081 : #i84497#: More bits on the quiet mode of the build.
The bulk of the changes is disabling those annoying
"echo ------------------" lines for the quiet build,
which has the stretch goal of outputting *exactly*
one line per file compiled/linked/processed.
Apart from that, silenced a few especialy annoying
module-specific makefiles (basically adding
$(COMMAND_ECHO) in front of a gazillion rules).
Additionally, slightly tweaked what idlc regards
verbose, normal, and quiet mode; this was to have it
echo exactly one line per idl file processed (the
fact that quiet mode did not echo *anything* for idl
files was a bit too much for my taste)
2009-09-04 09:14:35 +0200 fs r275777 : don't emit the link parameters if VERBOSE!=TRUE
2009-09-02 10:31:15 +0200 fs r275700 : #i10000#
2009-09-02 08:44:14 +0200 fs r275697 : update svn:ignore to ignore the output paths
2009-09-02 08:40:54 +0200 fs r275695 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:40:28 +0200 fs r275694 : GRAPHITE is missing in the BUILD_TYPE
2009-09-02 08:40:05 +0200 fs r275693 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:39:25 +0200 fs r275692 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:39:02 +0200 fs r275691 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:38:09 +0200 fs r275690 : #i84497# less verbose output during build
2009-09-02 08:37:06 +0200 fs r275689 : #i84497# don't emit that much noise, unless a '-verbose' switch is given
2009-10-21 05:43:22 -05:00
|
|
|
$(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $(CFLAGSINCXX)$(PWD)/$*.cxx
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE
|
CWS-TOOLING: integrate CWS buildverbosity
2009-10-13 15:51:48 +0200 fs r276867 : allow building with 'nodep'==''
2009-10-11 22:39:56 +0200 fs r276820 : silence a compiler warning in a file only used when VERBOSE!=""
2009-10-09 14:37:43 +0200 fs r276807 : let not override the non-presence of $VERBOSE the given command line arguments
2009-10-09 14:36:25 +0200 fs r276806 : also deliver spirit/home/classic/debug/impl
2009-10-08 13:38:07 +0200 fs r276789 : not that many line feeds in --show mode
2009-10-08 13:13:01 +0200 fs r276788 : minor adjustments requested by hjs:
- replaced space/tab mixes at beginning of lines with mere tab
- made "nothing to update" message for the ZIPALLTARGET target more prominent
- removed useless "echo > /dev/nul" statements
2009-10-07 13:32:12 +0200 fs r276753 : #i105585#
2009-10-07 11:31:59 +0200 fs r276742 : #i10000# missing dependency between stoc/security and stoc/util
2009-10-06 22:59:59 +0200 fs r276729 : CWS-TOOLING: rebase CWS buildverbosity to trunk@276699 (milestone: DEV300:m61)
2009-09-29 12:04:58 +0200 fs r276518 : #i10000#
2009-09-29 12:04:25 +0200 fs r276517 : oops
2009-09-29 12:01:07 +0200 fs r276516 : #i84497# removed some more (non-diagnostic) 'echo ------' directives
2009-09-29 11:59:29 +0200 fs r276515 : #i84497# removed some more (non-diagnostic) 'echo ------' directives
2009-09-29 11:52:32 +0200 fs r276514 : #i84497# removed the various 'echo ------------' directives from verbose mode, as per hjs' request
2009-09-29 11:44:16 +0200 fs r276513 : do not duplicate IDLC call commands with different verbosity switches
2009-09-28 21:43:50 +0200 thb r276502 : #i84497# fixed potential recursive macro def + extra ls
* solenv/inc/settings.mk: now setting via VERBOSE!:=, removes warning
and my spurious "recursive macro definition" error
* solenv/inc/tg_app.mk: one extra ls silenced for app target (and
quiet mode, that goes without saying)
2009-09-23 08:57:01 +0200 fs r276366 : use ULFEX_VERBOSITY instead of duplicating the ULFEX call
2009-09-21 11:42:26 +0200 fs r276320 : ignore output paths
2009-09-21 11:04:27 +0200 fs r276318 : silence another compiler warning, which only hits us when actually using this (debug) file, which is the case only when slideshow is compiled with a env variable VERBOSE, thus came up in CWS buildverbosity
2009-09-21 10:30:14 +0200 fs r276313 : make some output depend on VERBOSE==TRUE, not COMMAND_ECHO=""
While both are equivalent at the moment, COMMAND_ECHO finally is an implementation
default of the VERBOSE flag only, so better rely on VERBOSE as the primary verbosity flag
2009-09-21 09:56:57 +0200 fs r276311 : forgot to re-generate from tg_zip before committing
2009-09-21 09:52:11 +0200 fs r276310 : #i84497# even less verbosity
2009-09-17 11:02:47 +0200 fs r276232 : #i84497# verbose implies VERBOSE nowadays, and VERBOSE==FALSE should not lead to -DVERBOSE
2009-09-15 22:59:37 +0200 fs r276189 : #i105022# copy fix for this P1 into this CWS
2009-09-15 11:56:35 +0200 fs r276165 : CWS-TOOLING: rebase CWS buildverbosity to trunk@276043 (milestone: DEV300:m58)
2009-09-14 17:45:10 +0200 fs r276137 : #i84497# don't duplicate zip lines w/ and w/o -q switch, use a variable instead (maintenance)
2009-09-14 15:01:33 +0200 fs r276124 : #i10000#
2009-09-11 23:58:46 +0200 thb r276083 : #i84497#: More quiet-build fine tuning
- silenced rsc for real (properly filtering options for
cpp, and a pretty brutal amputation of the tool blurp,
which would have needed cmd opt parser duplication)
- silenced deliver.pl
- silenced checkdll.sh
- silenced zip via -q (in quiet mode)
- silenced various idl, resource, transex whatever tool,
passing appropriate options down to them '-QQ' sometimes
- silenced dmake, pointless blurb that something does *not*
need update removed
- silenced the old starview idl compiler, to not output
tool's name & progress chars in quiet mode
2009-09-11 21:13:59 +0200 thb r276081 : #i84497#: More bits on the quiet mode of the build.
The bulk of the changes is disabling those annoying
"echo ------------------" lines for the quiet build,
which has the stretch goal of outputting *exactly*
one line per file compiled/linked/processed.
Apart from that, silenced a few especialy annoying
module-specific makefiles (basically adding
$(COMMAND_ECHO) in front of a gazillion rules).
Additionally, slightly tweaked what idlc regards
verbose, normal, and quiet mode; this was to have it
echo exactly one line per idl file processed (the
fact that quiet mode did not echo *anything* for idl
files was a bit too much for my taste)
2009-09-04 09:14:35 +0200 fs r275777 : don't emit the link parameters if VERBOSE!=TRUE
2009-09-02 10:31:15 +0200 fs r275700 : #i10000#
2009-09-02 08:44:14 +0200 fs r275697 : update svn:ignore to ignore the output paths
2009-09-02 08:40:54 +0200 fs r275695 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:40:28 +0200 fs r275694 : GRAPHITE is missing in the BUILD_TYPE
2009-09-02 08:40:05 +0200 fs r275693 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:39:25 +0200 fs r275692 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:39:02 +0200 fs r275691 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:38:09 +0200 fs r275690 : #i84497# less verbose output during build
2009-09-02 08:37:06 +0200 fs r275689 : #i84497# don't emit that much noise, unless a '-verbose' switch is given
2009-10-21 05:43:22 -05:00
|
|
|
$(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $(CFLAGSINCXX)$(PWD)/$*.cxx
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF
|
|
|
|
.ENDIF
|
2008-01-16 07:27:03 -06:00
|
|
|
.IF "$(nodep)"==""
|
CWS-TOOLING: integrate CWS buildverbosity
2009-10-13 15:51:48 +0200 fs r276867 : allow building with 'nodep'==''
2009-10-11 22:39:56 +0200 fs r276820 : silence a compiler warning in a file only used when VERBOSE!=""
2009-10-09 14:37:43 +0200 fs r276807 : let not override the non-presence of $VERBOSE the given command line arguments
2009-10-09 14:36:25 +0200 fs r276806 : also deliver spirit/home/classic/debug/impl
2009-10-08 13:38:07 +0200 fs r276789 : not that many line feeds in --show mode
2009-10-08 13:13:01 +0200 fs r276788 : minor adjustments requested by hjs:
- replaced space/tab mixes at beginning of lines with mere tab
- made "nothing to update" message for the ZIPALLTARGET target more prominent
- removed useless "echo > /dev/nul" statements
2009-10-07 13:32:12 +0200 fs r276753 : #i105585#
2009-10-07 11:31:59 +0200 fs r276742 : #i10000# missing dependency between stoc/security and stoc/util
2009-10-06 22:59:59 +0200 fs r276729 : CWS-TOOLING: rebase CWS buildverbosity to trunk@276699 (milestone: DEV300:m61)
2009-09-29 12:04:58 +0200 fs r276518 : #i10000#
2009-09-29 12:04:25 +0200 fs r276517 : oops
2009-09-29 12:01:07 +0200 fs r276516 : #i84497# removed some more (non-diagnostic) 'echo ------' directives
2009-09-29 11:59:29 +0200 fs r276515 : #i84497# removed some more (non-diagnostic) 'echo ------' directives
2009-09-29 11:52:32 +0200 fs r276514 : #i84497# removed the various 'echo ------------' directives from verbose mode, as per hjs' request
2009-09-29 11:44:16 +0200 fs r276513 : do not duplicate IDLC call commands with different verbosity switches
2009-09-28 21:43:50 +0200 thb r276502 : #i84497# fixed potential recursive macro def + extra ls
* solenv/inc/settings.mk: now setting via VERBOSE!:=, removes warning
and my spurious "recursive macro definition" error
* solenv/inc/tg_app.mk: one extra ls silenced for app target (and
quiet mode, that goes without saying)
2009-09-23 08:57:01 +0200 fs r276366 : use ULFEX_VERBOSITY instead of duplicating the ULFEX call
2009-09-21 11:42:26 +0200 fs r276320 : ignore output paths
2009-09-21 11:04:27 +0200 fs r276318 : silence another compiler warning, which only hits us when actually using this (debug) file, which is the case only when slideshow is compiled with a env variable VERBOSE, thus came up in CWS buildverbosity
2009-09-21 10:30:14 +0200 fs r276313 : make some output depend on VERBOSE==TRUE, not COMMAND_ECHO=""
While both are equivalent at the moment, COMMAND_ECHO finally is an implementation
default of the VERBOSE flag only, so better rely on VERBOSE as the primary verbosity flag
2009-09-21 09:56:57 +0200 fs r276311 : forgot to re-generate from tg_zip before committing
2009-09-21 09:52:11 +0200 fs r276310 : #i84497# even less verbosity
2009-09-17 11:02:47 +0200 fs r276232 : #i84497# verbose implies VERBOSE nowadays, and VERBOSE==FALSE should not lead to -DVERBOSE
2009-09-15 22:59:37 +0200 fs r276189 : #i105022# copy fix for this P1 into this CWS
2009-09-15 11:56:35 +0200 fs r276165 : CWS-TOOLING: rebase CWS buildverbosity to trunk@276043 (milestone: DEV300:m58)
2009-09-14 17:45:10 +0200 fs r276137 : #i84497# don't duplicate zip lines w/ and w/o -q switch, use a variable instead (maintenance)
2009-09-14 15:01:33 +0200 fs r276124 : #i10000#
2009-09-11 23:58:46 +0200 thb r276083 : #i84497#: More quiet-build fine tuning
- silenced rsc for real (properly filtering options for
cpp, and a pretty brutal amputation of the tool blurp,
which would have needed cmd opt parser duplication)
- silenced deliver.pl
- silenced checkdll.sh
- silenced zip via -q (in quiet mode)
- silenced various idl, resource, transex whatever tool,
passing appropriate options down to them '-QQ' sometimes
- silenced dmake, pointless blurb that something does *not*
need update removed
- silenced the old starview idl compiler, to not output
tool's name & progress chars in quiet mode
2009-09-11 21:13:59 +0200 thb r276081 : #i84497#: More bits on the quiet mode of the build.
The bulk of the changes is disabling those annoying
"echo ------------------" lines for the quiet build,
which has the stretch goal of outputting *exactly*
one line per file compiled/linked/processed.
Apart from that, silenced a few especialy annoying
module-specific makefiles (basically adding
$(COMMAND_ECHO) in front of a gazillion rules).
Additionally, slightly tweaked what idlc regards
verbose, normal, and quiet mode; this was to have it
echo exactly one line per idl file processed (the
fact that quiet mode did not echo *anything* for idl
files was a bit too much for my taste)
2009-09-04 09:14:35 +0200 fs r275777 : don't emit the link parameters if VERBOSE!=TRUE
2009-09-02 10:31:15 +0200 fs r275700 : #i10000#
2009-09-02 08:44:14 +0200 fs r275697 : update svn:ignore to ignore the output paths
2009-09-02 08:40:54 +0200 fs r275695 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:40:28 +0200 fs r275694 : GRAPHITE is missing in the BUILD_TYPE
2009-09-02 08:40:05 +0200 fs r275693 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:39:25 +0200 fs r275692 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:39:02 +0200 fs r275691 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:38:09 +0200 fs r275690 : #i84497# less verbose output during build
2009-09-02 08:37:06 +0200 fs r275689 : #i84497# don't emit that much noise, unless a '-verbose' switch is given
2009-10-21 05:43:22 -05:00
|
|
|
$(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(OBJ) $(MKDEPFLAGS) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $< ) > $(MISC)/o_$(@:f:s/.obj/.dpcc/)
|
2008-01-16 07:27:03 -06:00
|
|
|
@noop $(assign DEPS_MADE+:=o_$(@:f:s/.obj/.dpcc/))
|
|
|
|
.ENDIF # "$(nodep)"==""
|
2000-09-20 08:43:26 -05:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(OBJ)/%.obj : %.cpp
|
2009-11-27 08:48:45 -06:00
|
|
|
@echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE)
|
2001-03-08 09:31:39 -06:00
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
@$(RM) $@ $(@:s/.obj/.o/)
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXOBJ) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $(CFLAGSINCXX)$(PWD)/$*.cpp
|
|
|
|
.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
|
|
|
|
$(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/)
|
|
|
|
.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
|
|
|
|
@$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI)
|
2001-03-08 09:31:39 -06:00
|
|
|
.ELSE
|
2007-02-06 06:56:51 -06:00
|
|
|
@@-$(RM) $@
|
2001-03-08 09:31:39 -06:00
|
|
|
.IF "$(COM)"=="GCC"
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $(CFLAGSINCXX)$(PWD)/$*.cpp
|
2001-03-08 09:31:39 -06:00
|
|
|
.ELSE
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $(CFLAGSINCXX)$(PWD)/$*.cpp
|
2001-03-08 09:31:39 -06:00
|
|
|
.ENDIF
|
|
|
|
.ENDIF
|
2008-01-16 07:27:03 -06:00
|
|
|
.IF "$(nodep)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(OBJ) $(MKDEPFLAGS) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $< ) > $(MISC)/o_$(@:f:s/.obj/.dpcc/)
|
2008-01-16 07:27:03 -06:00
|
|
|
@noop $(assign DEPS_MADE+:=o_$(@:f:s/.obj/.dpcc/))
|
|
|
|
.ENDIF # "$(nodep)"==""
|
2001-03-08 09:31:39 -06:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(OBJ)/%.obj : %.cc
|
2009-11-27 08:48:45 -06:00
|
|
|
@echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE)
|
2008-01-10 06:02:50 -06:00
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
@$(RM) $@ $(@:s/.obj/.o/)
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXOBJ) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $(CFLAGSINCXX)$(PWD)/$*.cc
|
|
|
|
.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
|
|
|
|
$(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/)
|
|
|
|
.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
|
|
|
|
@+$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI)
|
2008-01-10 06:02:50 -06:00
|
|
|
.ELSE
|
2008-06-06 03:28:56 -05:00
|
|
|
@@$(RM) $@
|
2008-01-10 06:02:50 -06:00
|
|
|
.IF "$(COM)"=="GCC"
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $(CFLAGSINCXX)$(PWD)/$*.cc
|
2008-01-10 06:02:50 -06:00
|
|
|
.ELSE
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) @$(mktmp $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $(CFLAGSINCXX)$(PWD)/$*.cc )
|
2008-01-10 06:02:50 -06:00
|
|
|
.ENDIF
|
|
|
|
.ENDIF
|
|
|
|
|
2008-07-11 08:11:08 -05:00
|
|
|
.IF "$(ENABLE_PCH)"!=""
|
|
|
|
# workaround for file locking problems on network volumes
|
|
|
|
.IF "$(NETWORK_BUILD)"==""
|
2009-09-07 08:35:07 -05:00
|
|
|
PCHOUTDIR=$(SLO)/pch
|
|
|
|
PCHEXOUTDIR=$(SLO)/pch_ex
|
2008-07-11 08:11:08 -05:00
|
|
|
.ELSE # "$(NETWORK_BUILD)"==""
|
2009-09-07 08:35:07 -05:00
|
|
|
PCHOUTDIR=$(TMP)/$(BUILD)$(CWS_WORK_STAMP)$(PRJNAME)$(PROEXT)
|
|
|
|
PCHEXOUTDIR=$(TMP)/$(BUILD)$(CWS_WORK_STAMP)$(PRJNAME)_ex$(PROEXT)
|
2008-07-11 08:11:08 -05:00
|
|
|
.ENDIF # "$(NETWORK_BUILD)"==""
|
2009-09-07 08:35:07 -05:00
|
|
|
$(SLO)/precompiled.% .PHONY:
|
|
|
|
-$(MKDIRHIER) $(SLO)/pch
|
2006-10-30 01:53:49 -06:00
|
|
|
.IF "$(COM)"=="MSC"
|
2008-07-11 08:11:08 -05:00
|
|
|
.IF "$(NETWORK_BUILD)"!=""
|
|
|
|
-$(MKDIRHIER) $(PCHOUTDIR)
|
|
|
|
.IF "$(HAVE_BIG_TMP)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)-$(COPY) $(SLO)/pch/precompiled_$(PRJNAME).hxx$(PCHPOST) $(PCHOUTDIR)/precompiled_$(PRJNAME).hxx$(PCHPOST)
|
2008-07-11 08:11:08 -05:00
|
|
|
.ENDIF # "$(HAVE_BIG_TMP)"==""
|
|
|
|
.ENDIF # "$(NETWORK_BUILD)"!=""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) @$(mktmp -Fp$(PCHOUTDIR)/precompiled_$(PRJNAME).hxx$(PCHPOST) $(CFLAGS_CREATE_PCH) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGS_NO_EXCEPTIONS) -DEXCEPTIONS_OFF $(CFLAGSAPPEND) $(INCPCH)/precompiled_$(PRJNAME).cxx)
|
2008-07-11 08:11:08 -05:00
|
|
|
.IF "$(NETWORK_BUILD)"!=""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(COPY) $(PCHOUTDIR)/precompiled_$(PRJNAME).hxx$(PCHPOST) $(SLO)/pch/precompiled_$(PRJNAME).hxx$(PCHPOST)
|
2008-07-11 08:11:08 -05:00
|
|
|
.IF "$(HAVE_BIG_TMP)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(RM) $(PCHOUTDIR)/precompiled_$(PRJNAME).hxx$(PCHPOST)
|
|
|
|
$(COMMAND_ECHO)$(RMDIR) $(PCHOUTDIR)
|
2008-07-11 08:11:08 -05:00
|
|
|
.ENDIF # "$(HAVE_BIG_TMP)"==""
|
|
|
|
.ENDIF # "$(NETWORK_BUILD)"!=""
|
2007-05-10 09:10:49 -05:00
|
|
|
.ELIF "$(COM)"=="GCC" && "$(CCNUMVER)">="000300040000"
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) -o$(SLO)/pch/precompiled_$(PRJNAME).hxx$(PCHPOST) $(CFLAGS_CREATE_PCH) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGS_NO_EXCEPTIONS) -DEXCEPTIONS_OFF $(CFLAGSAPPEND) $(INCPCH)/precompiled_$(PRJNAME).hxx
|
2009-09-07 08:35:07 -05:00
|
|
|
@echo "#error Tried to use wrong precompiled header" > $(SLO)/pch/precompiled_$(PRJNAME).hxx
|
2006-10-30 01:53:49 -06:00
|
|
|
.ELSE # "$(COM)"=="MSC"
|
2009-11-23 12:28:17 -06:00
|
|
|
@$(TOUCH) $(SLO)/pch/precompiled_$(PRJNAME).hxx$(PCHPOST)
|
2006-10-30 01:53:49 -06:00
|
|
|
.ENDIF # "$(COM)"=="MSC"
|
2009-09-07 08:35:07 -05:00
|
|
|
@echo USED_PCHFLAGS=$(CFLAGS)$(CFLAGSCXX)$(CFLAGSCXXSLO)$(CFLAGSSLO)$(CDEFS)$(CDEFSSLO)$(CDEFSMT)$(CFLAGS_NO_EXCEPTIONS) -DEXCEPTIONS_OFF$(CFLAGSAPPEND)> $(INCCOM)/pch.mk
|
2006-10-30 01:53:49 -06:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(SLO)/precompiled_ex.% .PHONY:
|
|
|
|
-$(MKDIRHIER) $(SLO)/pch_ex
|
2006-10-30 01:53:49 -06:00
|
|
|
.IF "$(COM)"=="MSC"
|
2008-07-11 08:11:08 -05:00
|
|
|
.IF "$(NETWORK_BUILD)"!=""
|
|
|
|
-$(MKDIRHIER) $(PCHEXOUTDIR)
|
|
|
|
.IF "$(HAVE_BIG_TMP)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)-$(COPY) $(SLO)/pch_ex/precompiled_$(PRJNAME).hxx$(PCHPOST) $(PCHEXOUTDIR)/precompiled_$(PRJNAME).hxx$(PCHPOST)
|
2008-07-11 08:11:08 -05:00
|
|
|
.ENDIF # "$(HAVE_BIG_TMP)"==""
|
|
|
|
.ENDIF # "$(NETWORK_BUILD)"!=""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) @$(mktmp -Fp$(PCHEXOUTDIR)/precompiled_$(PRJNAME).hxx$(PCHPOST) $(CFLAGS_CREATE_PCH:s/pchname/pchname_ex/) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSEXCEPTIONS) -DEXCEPTIONS_ON $(CFLAGSAPPEND) $(INCPCH)/precompiled_$(PRJNAME).cxx)
|
2008-07-11 08:11:08 -05:00
|
|
|
.IF "$(NETWORK_BUILD)"!=""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(COPY) $(PCHEXOUTDIR)/precompiled_$(PRJNAME).hxx$(PCHPOST) $(SLO)/pch_ex/precompiled_$(PRJNAME).hxx$(PCHPOST)
|
2008-07-11 08:11:08 -05:00
|
|
|
.IF "$(HAVE_BIG_TMP)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(RM) $(PCHEXOUTDIR)/precompiled_$(PRJNAME).hxx$(PCHPOST)
|
|
|
|
$(COMMAND_ECHO)$(RMDIR) $(PCHEXOUTDIR)
|
2008-07-11 08:11:08 -05:00
|
|
|
.ENDIF # "$(HAVE_BIG_TMP)"==""
|
|
|
|
.ENDIF # "$(NETWORK_BUILD)"!=""
|
2007-05-10 09:10:49 -05:00
|
|
|
.ELIF "$(COM)"=="GCC" && "$(CCNUMVER)">="000300040000"
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) -o$(SLO)/pch_ex/precompiled_$(PRJNAME).hxx$(PCHPOST) $(CFLAGS_CREATE_PCH) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSEXCEPTIONS) -DEXCEPTIONS_ON $(CFLAGSAPPEND) $(INCPCH)/precompiled_$(PRJNAME).hxx
|
2009-09-07 08:35:07 -05:00
|
|
|
@echo "#error Tried to use wrong precompiled header" > $(SLO)/pch_ex/precompiled_$(PRJNAME).hxx
|
2006-10-30 01:53:49 -06:00
|
|
|
.ELSE # "$(COM)"=="MSC"
|
2009-11-23 12:28:17 -06:00
|
|
|
@$(TOUCH) $(SLO)/pch_ex/precompiled_$(PRJNAME).hxx$(PCHPOST)
|
2006-10-30 01:53:49 -06:00
|
|
|
.ENDIF # "$(COM)"=="MSC"
|
2009-09-07 08:35:07 -05:00
|
|
|
@echo USED_EXCEPTIONS_PCHFLAGS=$(subst,$(CFLAGSDEBUG), $(CFLAGS))$(CFLAGSCXX)$(CFLAGSCXXSLO)$(CFLAGSSLO)$(CDEFS)$(CDEFSSLO)$(CDEFSMT)$(CFLAGSEXCEPTIONS) -DEXCEPTIONS_ON$(CFLAGSAPPEND)> $(INCCOM)/pch_ex.mk
|
2006-10-30 01:53:49 -06:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
.INCLUDE .IGNORE : $(INCCOM)/pch.mk
|
|
|
|
.INCLUDE .IGNORE : $(INCCOM)/pch_ex.mk
|
2006-10-30 01:53:49 -06:00
|
|
|
.ENDIF # "$(ENABLE_PCH)"!=""
|
2001-03-08 09:31:39 -06:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(SLO)/%.obj : %.cxx
|
2009-11-27 08:48:45 -06:00
|
|
|
@echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE)
|
2010-06-11 13:46:41 -05:00
|
|
|
.IF "$(ENABLE_PCH)"!=""
|
2009-11-23 12:28:17 -06:00
|
|
|
# just a helper var
|
2006-10-30 01:53:49 -06:00
|
|
|
@noop $(assign used_exc_switches=$(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)))
|
|
|
|
# cleanup first
|
|
|
|
@noop $(assign ACT_PCH_SWITCHES:=$(NULL))
|
|
|
|
# eq: first string is a copy of the compile line,
|
|
|
|
# second generated by pch creation
|
|
|
|
# use pch with exception support
|
2009-02-19 01:29:28 -06:00
|
|
|
@noop $(assign ACT_PCH_SWITCHES+=$(eq,$(strip $(USED_EXCEPTIONS_PCHFLAGS)),$(strip $(subst,$(CFLAGSDEBUG), $(CFLAGS))$(CFLAGSCXX)$(CFLAGSCXXSLO)$(CFLAGSSLO)$(CDEFS:s/\//)$(CDEFSSLO)$(CDEFSMT)$(used_exc_switches)$(CFLAGSAPPEND)) $(CFLAGS_USE_EXCEPTIONS_PCH) $(NULL)))
|
2006-10-30 01:53:49 -06:00
|
|
|
# use pch without exception support
|
2009-02-19 01:29:28 -06:00
|
|
|
@noop $(assign ACT_PCH_SWITCHES+=$(eq,$(strip $(USED_PCHFLAGS)),$(strip $(subst,$(CFLAGSDEBUG), $(CFLAGS))$(CFLAGSCXX)$(CFLAGSCXXSLO)$(CFLAGSSLO)$(CDEFS:s/\//)$(CDEFSSLO)$(CDEFSMT)$(used_exc_switches)$(CFLAGSAPPEND)) $(CFLAGS_USE_PCH) $(NULL)))
|
2006-10-30 01:53:49 -06:00
|
|
|
.ENDIF # "$(ENABLE_PCH)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
.IF "$(TEST)"!=""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) -E $(CFLAGSINCXX)$(PWD)/$*.cxx
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE
|
|
|
|
@$(RM) $@ $(@:s/.obj/.o/)
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CAPTURE_COMMAND) $(CXX) $(ACT_PCH_SWITCHES) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(SLO)/$*.o $(CFLAGSINCXX)$(PWD)/$*.cxx $(CAPTURE_OUTPUT)
|
2006-06-22 07:45:44 -05:00
|
|
|
.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"=="" && "$(CAPTURE_COMMAND)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/)
|
|
|
|
.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
|
|
|
|
@$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI)
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF
|
2001-02-02 06:55:52 -06:00
|
|
|
.ELSE # "$(GUI)"=="UNX"
|
2008-06-06 03:28:56 -05:00
|
|
|
@@-$(RM) $@
|
2007-03-26 08:43:45 -05:00
|
|
|
.IF "$(COM)"=="GCC"
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CAPTURE_COMMAND) $(CXX) $(ACT_PCH_SWITCHES) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO)/$*.obj $(CFLAGSINCXX)$(PWD)/$*.cxx $(CAPTURE_OUTPUT)
|
2007-03-26 08:43:45 -05:00
|
|
|
.ELSE
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CAPTURE_COMMAND) $(CXX) $(ACT_PCH_SWITCHES) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO)/$*.obj $(CFLAGSINCXX)$(PWD)/$*.cxx $(CAPTURE_OUTPUT)
|
|
|
|
.ENDIF # "$(COM)"=="GCC"
|
2001-02-02 06:55:52 -06:00
|
|
|
.ENDIF # "$(GUI)"=="UNX"
|
2008-01-16 07:27:03 -06:00
|
|
|
.IF "$(nodep)"==""
|
|
|
|
# fixme: write to file
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(SLO) $(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $< ) > $(MISC)/s_$(@:f:s/.obj/.dpcc/)
|
2008-01-16 07:27:03 -06:00
|
|
|
@noop $(assign DEPS_MADE+:=s_$(@:f:s/.obj/.dpcc/))
|
|
|
|
.ENDIF # "$(nodep)"==""
|
2000-09-20 08:43:26 -05:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(SLO)/%.obj : %.cpp
|
2009-11-27 08:48:45 -06:00
|
|
|
@echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE)
|
2000-09-20 08:43:26 -05:00
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
.IF "$(TEST)"!=""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) -E $(CFLAGSINCXX)$(PWD)/$*.cpp
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE
|
|
|
|
@$(RM) $@ $(@:s/.obj/.o/)
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(SLO)/$*.o $(CFLAGSINCXX)$(PWD)/$*.cpp
|
2004-08-23 03:17:36 -05:00
|
|
|
.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/)
|
2004-08-23 03:17:36 -05:00
|
|
|
.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
@$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI)
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF
|
|
|
|
.ELSE
|
2007-02-06 06:56:51 -06:00
|
|
|
@@-$(RM) $@
|
2007-03-26 08:43:45 -05:00
|
|
|
.IF "$(COM)"=="GCC"
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO)/$*.obj $(CFLAGSINCXX)$(PWD)/$*.cpp
|
2007-03-26 08:43:45 -05:00
|
|
|
.ELSE
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO)/$*.obj $(CFLAGSINCXX)$(PWD)/$*.cpp
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF
|
2007-03-26 08:43:45 -05:00
|
|
|
.ENDIF
|
2008-01-16 07:27:03 -06:00
|
|
|
.IF "$(nodep)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(SLO) $(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $< ) > $(MISC)/s_$(@:f:s/.obj/.dpcc/)
|
2008-01-16 07:27:03 -06:00
|
|
|
@noop $(assign DEPS_MADE+:=s_$(@:f:s/.obj/.dpcc/))
|
|
|
|
.ENDIF # "$(nodep)"==""
|
2000-09-20 08:43:26 -05:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(SLO)/%.obj : $(MISC)/%.cxx
|
2009-12-02 05:34:00 -06:00
|
|
|
@echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(INPATH)/misc/$(COMPILE_ECHO_FILE)
|
2000-09-20 08:43:26 -05:00
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
.IF "$(TEST)"!=""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) -E $(CFLAGSINCXX)$(MISC)/$*.cxx
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE
|
|
|
|
@$(RM) $@ $(@:s/.obj/.o/)
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(SLO)/$*.o $(CFLAGSINCXX)$(MISC)/$*.cxx
|
2004-08-23 03:17:36 -05:00
|
|
|
.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/)
|
2004-08-23 03:17:36 -05:00
|
|
|
.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
@$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI)
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF
|
|
|
|
.ELSE
|
2007-03-26 08:43:45 -05:00
|
|
|
.IF "$(COM)"=="GCC"
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO)/$*.obj $(CFLAGSINCXX)$(MISC)/$*.cxx
|
2007-03-26 08:43:45 -05:00
|
|
|
.ELSE
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO)/$*.obj $(CFLAGSINCXX)$(MISC)/$*.cxx
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF
|
2007-03-26 08:43:45 -05:00
|
|
|
.ENDIF
|
2008-01-16 07:27:03 -06:00
|
|
|
.IF "$(nodep)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(SLO) $(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $@ ) > $(MISC)/s_$(@:f:s/.obj/.dpcc/)
|
2008-01-16 07:27:03 -06:00
|
|
|
@noop $(assign DEPS_MADE+:=s_$(@:f:s/.obj/.dpcc/))
|
|
|
|
.ENDIF # "$(nodep)"==""
|
2000-09-20 08:43:26 -05:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(SLO)/%.obj : $(MISC)/%.cc
|
2009-12-02 05:34:00 -06:00
|
|
|
@echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(INPATH)/misc/$(COMPILE_ECHO_FILE)
|
2008-01-10 06:02:50 -06:00
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
.IF "$(TEST)"!=""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) -E $(CFLAGSINCXX)$(MISC)/$*.cc
|
2008-01-10 06:02:50 -06:00
|
|
|
.ELSE
|
|
|
|
@$(RM) $@ $(@:s/.obj/.o/)
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(SLO)/$*.o $(CFLAGSINCXX)$(MISC)/$*.cc
|
2008-01-10 06:02:50 -06:00
|
|
|
.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/)
|
2008-01-10 06:02:50 -06:00
|
|
|
.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
@+$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI)
|
2008-01-10 06:02:50 -06:00
|
|
|
.ENDIF
|
|
|
|
.ELSE
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) @$(mktmp $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO)/$*.obj $(CFLAGSINCXX)$(MISC)/$*.cc )
|
2008-01-10 06:02:50 -06:00
|
|
|
.ENDIF
|
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(OBJ)/%.obj : $(MISC)/%.cxx
|
2009-12-02 05:34:00 -06:00
|
|
|
@echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(INPATH)/misc/$(COMPILE_ECHO_FILE)
|
2000-09-20 08:43:26 -05:00
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
.IF "$(TEST)"!=""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXOBJ) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) -E $(CFLAGSINCXX)$(MISC)/$*.cxx
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE
|
|
|
|
@$(RM) $@ $(@:s/.obj/.o/)
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXOBJ) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $(CFLAGSINCXX)$(MISC)/$*.cxx
|
2004-08-23 03:17:36 -05:00
|
|
|
.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/)
|
2004-08-23 03:17:36 -05:00
|
|
|
.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
@$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI)
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF
|
|
|
|
.ELSE
|
2007-03-26 08:43:45 -05:00
|
|
|
.IF "$(COM)"=="GCC"
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $(CFLAGSINCXX)$(MISC)/$*.cxx
|
2007-03-26 08:43:45 -05:00
|
|
|
.ELSE
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CXX) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $(!eq,$(EXCEPTIONSFILES),$(subst,$@, $(EXCEPTIONSFILES)) $(LOCAL_EXCEPTIONS_FLAGS) $(GLOBAL_EXCEPTIONS_FLAGS)) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $(CFLAGSINCXX)$(MISC)/$*.cxx
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF
|
2007-03-26 08:43:45 -05:00
|
|
|
.ENDIF
|
2008-01-16 07:27:03 -06:00
|
|
|
.IF "$(nodep)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(OBJ) $(MKDEPFLAGS) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $< ) > $(MISC)/o_$(@:f:s/.obj/.dpcc/)
|
2008-01-16 07:27:03 -06:00
|
|
|
@noop $(assign DEPS_MADE+:=o_$(@:f:s/.obj/.dpcc/))
|
|
|
|
.ENDIF # "$(nodep)"==""
|
2000-09-20 08:43:26 -05:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(OBJ)/%.obj : %.c
|
2009-11-27 08:48:45 -06:00
|
|
|
@echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE)
|
2000-09-20 08:43:26 -05:00
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
.IF "$(TEST)"!=""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) -E $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $*.c
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE
|
|
|
|
@$(RM) $@ $(@:s/.obj/.o/)
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $*.c
|
2004-08-23 03:17:36 -05:00
|
|
|
.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
|
2008-01-16 07:27:03 -06:00
|
|
|
.IF "$(noadjust)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/)
|
2008-01-16 07:27:03 -06:00
|
|
|
.ENDIF # "$(noadjust)"==""
|
2004-08-23 03:17:36 -05:00
|
|
|
.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
@$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI)
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF
|
|
|
|
.ELSE
|
|
|
|
.IF "$(COM)"=="GCC"
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $*.c
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE
|
CWS-TOOLING: integrate CWS buildverbosity
2009-10-13 15:51:48 +0200 fs r276867 : allow building with 'nodep'==''
2009-10-11 22:39:56 +0200 fs r276820 : silence a compiler warning in a file only used when VERBOSE!=""
2009-10-09 14:37:43 +0200 fs r276807 : let not override the non-presence of $VERBOSE the given command line arguments
2009-10-09 14:36:25 +0200 fs r276806 : also deliver spirit/home/classic/debug/impl
2009-10-08 13:38:07 +0200 fs r276789 : not that many line feeds in --show mode
2009-10-08 13:13:01 +0200 fs r276788 : minor adjustments requested by hjs:
- replaced space/tab mixes at beginning of lines with mere tab
- made "nothing to update" message for the ZIPALLTARGET target more prominent
- removed useless "echo > /dev/nul" statements
2009-10-07 13:32:12 +0200 fs r276753 : #i105585#
2009-10-07 11:31:59 +0200 fs r276742 : #i10000# missing dependency between stoc/security and stoc/util
2009-10-06 22:59:59 +0200 fs r276729 : CWS-TOOLING: rebase CWS buildverbosity to trunk@276699 (milestone: DEV300:m61)
2009-09-29 12:04:58 +0200 fs r276518 : #i10000#
2009-09-29 12:04:25 +0200 fs r276517 : oops
2009-09-29 12:01:07 +0200 fs r276516 : #i84497# removed some more (non-diagnostic) 'echo ------' directives
2009-09-29 11:59:29 +0200 fs r276515 : #i84497# removed some more (non-diagnostic) 'echo ------' directives
2009-09-29 11:52:32 +0200 fs r276514 : #i84497# removed the various 'echo ------------' directives from verbose mode, as per hjs' request
2009-09-29 11:44:16 +0200 fs r276513 : do not duplicate IDLC call commands with different verbosity switches
2009-09-28 21:43:50 +0200 thb r276502 : #i84497# fixed potential recursive macro def + extra ls
* solenv/inc/settings.mk: now setting via VERBOSE!:=, removes warning
and my spurious "recursive macro definition" error
* solenv/inc/tg_app.mk: one extra ls silenced for app target (and
quiet mode, that goes without saying)
2009-09-23 08:57:01 +0200 fs r276366 : use ULFEX_VERBOSITY instead of duplicating the ULFEX call
2009-09-21 11:42:26 +0200 fs r276320 : ignore output paths
2009-09-21 11:04:27 +0200 fs r276318 : silence another compiler warning, which only hits us when actually using this (debug) file, which is the case only when slideshow is compiled with a env variable VERBOSE, thus came up in CWS buildverbosity
2009-09-21 10:30:14 +0200 fs r276313 : make some output depend on VERBOSE==TRUE, not COMMAND_ECHO=""
While both are equivalent at the moment, COMMAND_ECHO finally is an implementation
default of the VERBOSE flag only, so better rely on VERBOSE as the primary verbosity flag
2009-09-21 09:56:57 +0200 fs r276311 : forgot to re-generate from tg_zip before committing
2009-09-21 09:52:11 +0200 fs r276310 : #i84497# even less verbosity
2009-09-17 11:02:47 +0200 fs r276232 : #i84497# verbose implies VERBOSE nowadays, and VERBOSE==FALSE should not lead to -DVERBOSE
2009-09-15 22:59:37 +0200 fs r276189 : #i105022# copy fix for this P1 into this CWS
2009-09-15 11:56:35 +0200 fs r276165 : CWS-TOOLING: rebase CWS buildverbosity to trunk@276043 (milestone: DEV300:m58)
2009-09-14 17:45:10 +0200 fs r276137 : #i84497# don't duplicate zip lines w/ and w/o -q switch, use a variable instead (maintenance)
2009-09-14 15:01:33 +0200 fs r276124 : #i10000#
2009-09-11 23:58:46 +0200 thb r276083 : #i84497#: More quiet-build fine tuning
- silenced rsc for real (properly filtering options for
cpp, and a pretty brutal amputation of the tool blurp,
which would have needed cmd opt parser duplication)
- silenced deliver.pl
- silenced checkdll.sh
- silenced zip via -q (in quiet mode)
- silenced various idl, resource, transex whatever tool,
passing appropriate options down to them '-QQ' sometimes
- silenced dmake, pointless blurb that something does *not*
need update removed
- silenced the old starview idl compiler, to not output
tool's name & progress chars in quiet mode
2009-09-11 21:13:59 +0200 thb r276081 : #i84497#: More bits on the quiet mode of the build.
The bulk of the changes is disabling those annoying
"echo ------------------" lines for the quiet build,
which has the stretch goal of outputting *exactly*
one line per file compiled/linked/processed.
Apart from that, silenced a few especialy annoying
module-specific makefiles (basically adding
$(COMMAND_ECHO) in front of a gazillion rules).
Additionally, slightly tweaked what idlc regards
verbose, normal, and quiet mode; this was to have it
echo exactly one line per idl file processed (the
fact that quiet mode did not echo *anything* for idl
files was a bit too much for my taste)
2009-09-04 09:14:35 +0200 fs r275777 : don't emit the link parameters if VERBOSE!=TRUE
2009-09-02 10:31:15 +0200 fs r275700 : #i10000#
2009-09-02 08:44:14 +0200 fs r275697 : update svn:ignore to ignore the output paths
2009-09-02 08:40:54 +0200 fs r275695 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:40:28 +0200 fs r275694 : GRAPHITE is missing in the BUILD_TYPE
2009-09-02 08:40:05 +0200 fs r275693 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:39:25 +0200 fs r275692 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:39:02 +0200 fs r275691 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:38:09 +0200 fs r275690 : #i84497# less verbose output during build
2009-09-02 08:37:06 +0200 fs r275689 : #i84497# don't emit that much noise, unless a '-verbose' switch is given
2009-10-21 05:43:22 -05:00
|
|
|
.IF "$(VERBOSE)" == "TRUE"
|
2007-01-25 05:52:35 -06:00
|
|
|
-@echo Cflags: $(CFLAGS) $(INCLUDE)
|
CWS-TOOLING: integrate CWS buildverbosity
2009-10-13 15:51:48 +0200 fs r276867 : allow building with 'nodep'==''
2009-10-11 22:39:56 +0200 fs r276820 : silence a compiler warning in a file only used when VERBOSE!=""
2009-10-09 14:37:43 +0200 fs r276807 : let not override the non-presence of $VERBOSE the given command line arguments
2009-10-09 14:36:25 +0200 fs r276806 : also deliver spirit/home/classic/debug/impl
2009-10-08 13:38:07 +0200 fs r276789 : not that many line feeds in --show mode
2009-10-08 13:13:01 +0200 fs r276788 : minor adjustments requested by hjs:
- replaced space/tab mixes at beginning of lines with mere tab
- made "nothing to update" message for the ZIPALLTARGET target more prominent
- removed useless "echo > /dev/nul" statements
2009-10-07 13:32:12 +0200 fs r276753 : #i105585#
2009-10-07 11:31:59 +0200 fs r276742 : #i10000# missing dependency between stoc/security and stoc/util
2009-10-06 22:59:59 +0200 fs r276729 : CWS-TOOLING: rebase CWS buildverbosity to trunk@276699 (milestone: DEV300:m61)
2009-09-29 12:04:58 +0200 fs r276518 : #i10000#
2009-09-29 12:04:25 +0200 fs r276517 : oops
2009-09-29 12:01:07 +0200 fs r276516 : #i84497# removed some more (non-diagnostic) 'echo ------' directives
2009-09-29 11:59:29 +0200 fs r276515 : #i84497# removed some more (non-diagnostic) 'echo ------' directives
2009-09-29 11:52:32 +0200 fs r276514 : #i84497# removed the various 'echo ------------' directives from verbose mode, as per hjs' request
2009-09-29 11:44:16 +0200 fs r276513 : do not duplicate IDLC call commands with different verbosity switches
2009-09-28 21:43:50 +0200 thb r276502 : #i84497# fixed potential recursive macro def + extra ls
* solenv/inc/settings.mk: now setting via VERBOSE!:=, removes warning
and my spurious "recursive macro definition" error
* solenv/inc/tg_app.mk: one extra ls silenced for app target (and
quiet mode, that goes without saying)
2009-09-23 08:57:01 +0200 fs r276366 : use ULFEX_VERBOSITY instead of duplicating the ULFEX call
2009-09-21 11:42:26 +0200 fs r276320 : ignore output paths
2009-09-21 11:04:27 +0200 fs r276318 : silence another compiler warning, which only hits us when actually using this (debug) file, which is the case only when slideshow is compiled with a env variable VERBOSE, thus came up in CWS buildverbosity
2009-09-21 10:30:14 +0200 fs r276313 : make some output depend on VERBOSE==TRUE, not COMMAND_ECHO=""
While both are equivalent at the moment, COMMAND_ECHO finally is an implementation
default of the VERBOSE flag only, so better rely on VERBOSE as the primary verbosity flag
2009-09-21 09:56:57 +0200 fs r276311 : forgot to re-generate from tg_zip before committing
2009-09-21 09:52:11 +0200 fs r276310 : #i84497# even less verbosity
2009-09-17 11:02:47 +0200 fs r276232 : #i84497# verbose implies VERBOSE nowadays, and VERBOSE==FALSE should not lead to -DVERBOSE
2009-09-15 22:59:37 +0200 fs r276189 : #i105022# copy fix for this P1 into this CWS
2009-09-15 11:56:35 +0200 fs r276165 : CWS-TOOLING: rebase CWS buildverbosity to trunk@276043 (milestone: DEV300:m58)
2009-09-14 17:45:10 +0200 fs r276137 : #i84497# don't duplicate zip lines w/ and w/o -q switch, use a variable instead (maintenance)
2009-09-14 15:01:33 +0200 fs r276124 : #i10000#
2009-09-11 23:58:46 +0200 thb r276083 : #i84497#: More quiet-build fine tuning
- silenced rsc for real (properly filtering options for
cpp, and a pretty brutal amputation of the tool blurp,
which would have needed cmd opt parser duplication)
- silenced deliver.pl
- silenced checkdll.sh
- silenced zip via -q (in quiet mode)
- silenced various idl, resource, transex whatever tool,
passing appropriate options down to them '-QQ' sometimes
- silenced dmake, pointless blurb that something does *not*
need update removed
- silenced the old starview idl compiler, to not output
tool's name & progress chars in quiet mode
2009-09-11 21:13:59 +0200 thb r276081 : #i84497#: More bits on the quiet mode of the build.
The bulk of the changes is disabling those annoying
"echo ------------------" lines for the quiet build,
which has the stretch goal of outputting *exactly*
one line per file compiled/linked/processed.
Apart from that, silenced a few especialy annoying
module-specific makefiles (basically adding
$(COMMAND_ECHO) in front of a gazillion rules).
Additionally, slightly tweaked what idlc regards
verbose, normal, and quiet mode; this was to have it
echo exactly one line per idl file processed (the
fact that quiet mode did not echo *anything* for idl
files was a bit too much for my taste)
2009-09-04 09:14:35 +0200 fs r275777 : don't emit the link parameters if VERBOSE!=TRUE
2009-09-02 10:31:15 +0200 fs r275700 : #i10000#
2009-09-02 08:44:14 +0200 fs r275697 : update svn:ignore to ignore the output paths
2009-09-02 08:40:54 +0200 fs r275695 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:40:28 +0200 fs r275694 : GRAPHITE is missing in the BUILD_TYPE
2009-09-02 08:40:05 +0200 fs r275693 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:39:25 +0200 fs r275692 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:39:02 +0200 fs r275691 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:38:09 +0200 fs r275690 : #i84497# less verbose output during build
2009-09-02 08:37:06 +0200 fs r275689 : #i84497# don't emit that much noise, unless a '-verbose' switch is given
2009-10-21 05:43:22 -05:00
|
|
|
.ENDIF
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $*.c
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF
|
|
|
|
.ENDIF
|
2008-01-16 07:27:03 -06:00
|
|
|
.IF "$(nodep)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(OBJ) $(MKDEPFLAGS) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $< ) > $(MISC)/o_$(@:f:s/.obj/.dpcc/)
|
2008-01-16 07:27:03 -06:00
|
|
|
@noop $(assign DEPS_MADE+:=o_$(@:f:s/.obj/.dpcc/))
|
|
|
|
.ENDIF # "$(nodep)"==""
|
2000-09-20 08:43:26 -05:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(OBJ)/%.obj : $(MISC)/%.c
|
2009-12-02 05:34:00 -06:00
|
|
|
@echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(INPATH)/misc/$(COMPILE_ECHO_FILE)
|
2000-09-20 08:43:26 -05:00
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
@$(RM) $@ $(@:s/.obj/.o/)
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $(MISC)/$*.c
|
2004-08-23 03:17:36 -05:00
|
|
|
.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/)
|
2004-08-23 03:17:36 -05:00
|
|
|
.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
@$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI)
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE
|
2007-02-06 06:56:51 -06:00
|
|
|
@@-$(RM) $@
|
2007-03-26 08:43:45 -05:00
|
|
|
.IF "$(COM)"=="GCC"
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $(MISC)/$*.c
|
2007-03-26 08:43:45 -05:00
|
|
|
.ELSE
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)/$*.obj $(MISC)/$*.c
|
2007-03-26 08:43:45 -05:00
|
|
|
.ENDIF
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF
|
2008-01-16 07:27:03 -06:00
|
|
|
.IF "$(nodep)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(OBJ) $(MKDEPFLAGS) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $< ) > $(MISC)/o_$(@:f:s/.obj/.dpcc/)
|
2008-01-16 07:27:03 -06:00
|
|
|
@noop $(assign DEPS_MADE+:=o_$(@:f:s/.obj/.dpcc/))
|
|
|
|
.ENDIF # "$(nodep)"==""
|
2000-09-20 08:43:26 -05:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(SLO)/%.obj : $(MISC)/%.c
|
2009-12-02 05:34:00 -06:00
|
|
|
@echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(INPATH)/misc/$(COMPILE_ECHO_FILE)
|
2000-09-20 08:43:26 -05:00
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
@$(RM) $@ $(@:s/.obj/.o/)
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(SLO)/$*.o $(MISC)/$*.c
|
2004-08-23 03:17:36 -05:00
|
|
|
.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/)
|
2004-08-23 03:17:36 -05:00
|
|
|
.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
@$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI)
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE
|
2007-02-06 06:56:51 -06:00
|
|
|
@@-$(RM) $@
|
2000-09-20 08:43:26 -05:00
|
|
|
.IF "$(COM)"=="GCC"
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO)/$*.obj $(MISC)/$*.c
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO)/$*.obj $(MISC)/$*.c
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF
|
|
|
|
.ENDIF
|
2008-01-16 07:27:03 -06:00
|
|
|
.IF "$(nodep)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(SLO) $(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $< ) > $(MISC)/s_$(@:f:s/.obj/.dpcc/)
|
2008-01-16 07:27:03 -06:00
|
|
|
# avoid _version objects (see tg_shl.mk) - quite hacky...
|
|
|
|
@noop $(!eq,$@,$(@:s/_version.obj/.obj/) $(NULL) $(assign DEPS_MADE+:=s_$(@:f:s/.obj/.dpcc/)))
|
|
|
|
.ENDIF # "$(nodep)"==""
|
2000-09-20 08:43:26 -05:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(SLO)/%.obj : %.c
|
2009-11-27 08:48:45 -06:00
|
|
|
@echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE)
|
2000-09-20 08:43:26 -05:00
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
@$(RM) $@ $(@:s/.obj/.o/)
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(SLO)/$*.o $*.c
|
2004-08-23 03:17:36 -05:00
|
|
|
.IF "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(ADJUSTVISIBILITY) -p $(@:s/.obj/.o/)
|
2004-08-23 03:17:36 -05:00
|
|
|
.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
@$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI)
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE
|
2007-02-06 06:56:51 -06:00
|
|
|
@@-$(RM) $@
|
2000-09-20 08:43:26 -05:00
|
|
|
.IF "$(COM)"=="GCC"
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO)/$*.obj $*.c
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(CC) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO)/$*.obj $*.c
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF
|
|
|
|
.ENDIF
|
2008-01-16 07:27:03 -06:00
|
|
|
.IF "$(nodep)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(SLO) $(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $< ) > $(MISC)/s_$(@:f:s/.obj/.dpcc/)
|
2008-01-16 07:27:03 -06:00
|
|
|
@noop $(assign DEPS_MADE+:=s_$(@:f:s/.obj/.dpcc/))
|
|
|
|
.ENDIF # "$(nodep)"==""
|
2000-09-20 08:43:26 -05:00
|
|
|
|
|
|
|
# Objective-C files
|
2009-09-07 08:35:07 -05:00
|
|
|
$(OBJ)/%.obj : %.m
|
2009-11-27 08:48:45 -06:00
|
|
|
@echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE)
|
2000-09-20 08:43:26 -05:00
|
|
|
.IF "$(OS)"=="MACOSX"
|
|
|
|
.IF "$(TEST)"!=""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(objc) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(OBJCFLAGS) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) -E $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $*.m
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE
|
|
|
|
@$(RM) $@ $(@:s/.obj/.o/)
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(objc) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(OBJCFLAGS) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $*.m
|
|
|
|
@$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI)
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF
|
2008-06-06 03:28:56 -05:00
|
|
|
.ELSE # "$(OS)"=="MACOSX"
|
2000-09-20 08:43:26 -05:00
|
|
|
@echo "No recipe for compiling Objective-C files is available for this platform"
|
|
|
|
.ENDIF "$(OS)"=="MACOSX"
|
|
|
|
|
|
|
|
# Objective-C files
|
2009-09-07 08:35:07 -05:00
|
|
|
$(OBJ)/%.obj : $(MISC)/%.m
|
2009-12-02 05:34:00 -06:00
|
|
|
@echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(INPATH)/misc/$(COMPILE_ECHO_FILE)
|
2000-09-20 08:43:26 -05:00
|
|
|
.IF "$(OS)"=="MACOSX"
|
|
|
|
@$(RM) $@ $(@:s/.obj/.o/)
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(objc) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(OBJCFLAGS) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $(MISC)/$*.m
|
|
|
|
@$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI)
|
2008-06-06 03:28:56 -05:00
|
|
|
.ELSE # "$(OS)"=="MACOSX"
|
2000-09-20 08:43:26 -05:00
|
|
|
@echo "No recipe for compiling Objective-C files is available for this platform"
|
|
|
|
.ENDIF "$(OS)"=="MACOSX"
|
|
|
|
|
|
|
|
# Objective-C files
|
2009-09-07 08:35:07 -05:00
|
|
|
$(SLO)/%.obj : $(MISC)/%.m
|
2009-12-02 05:34:00 -06:00
|
|
|
@echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(INPATH)/misc/$(COMPILE_ECHO_FILE)
|
2000-09-20 08:43:26 -05:00
|
|
|
.IF "$(OS)"=="MACOSX"
|
|
|
|
@$(RM) $@ $(@:s/.obj/.o/)
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(objc) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(OBJCFLAGS) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(SLO)/$*.o $(MISC)/$*.m
|
|
|
|
@$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI)
|
2008-06-06 03:28:56 -05:00
|
|
|
.ELSE # "$(OS)"=="MACOSX"
|
2000-09-20 08:43:26 -05:00
|
|
|
@echo "No recipe for compiling Objective-C files is available for this platform"
|
|
|
|
.ENDIF "$(OS)"=="MACOSX"
|
|
|
|
|
|
|
|
# Objective-C files
|
2009-09-07 08:35:07 -05:00
|
|
|
$(SLO)/%.obj : %.m
|
2009-11-27 08:48:45 -06:00
|
|
|
@echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE)
|
2000-09-20 08:43:26 -05:00
|
|
|
.IF "$(OS)"=="MACOSX"
|
|
|
|
@$(RM) $@ $(@:s/.obj/.o/)
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(objc) $(CFLAGS) $(INCLUDE_C) $(CFLAGSCC) $(OBJCFLAGS) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(SLO)/$*.o $*.m
|
|
|
|
@$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI)
|
2008-06-06 03:28:56 -05:00
|
|
|
.ELSE # "$(OS)"=="MACOSX"
|
2000-09-20 08:43:26 -05:00
|
|
|
@echo "No recipe for compiling Objective-C files is available for this platform"
|
|
|
|
.ENDIF "$(OS)"=="MACOSX"
|
|
|
|
|
2001-02-02 06:55:52 -06:00
|
|
|
# dependencies c / c++
|
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
not_existing/s_%.dpcc : %.c;@noop $(assign all_local_slo+:=$<)
|
|
|
|
not_existing/o_%.dpcc : %.c;@noop $(assign all_local_obj+:=$<)
|
2001-02-02 06:55:52 -06:00
|
|
|
|
2007-07-05 03:04:05 -05:00
|
|
|
# Objective-C++ files
|
2009-09-07 08:35:07 -05:00
|
|
|
$(OBJ)/%.obj : %.mm
|
2009-11-27 08:48:45 -06:00
|
|
|
@echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE)
|
2007-07-05 03:04:05 -05:00
|
|
|
.IF "$(OS)"=="MACOSX"
|
|
|
|
.IF "$(TEST)"!=""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(objcpp) $(CFLAGS) $(INCLUDE) $(CFLAGSCC) $(OBJCXXFLAGS) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) -E $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $*.mm
|
2007-07-05 03:04:05 -05:00
|
|
|
.ELSE
|
|
|
|
@$(RM) $@ $(@:s/.obj/.o/)
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(objcpp) $(CFLAGS) $(INCLUDE) $(CFLAGSCC) $(OBJCXXFLAGS) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $*.mm
|
|
|
|
@$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI)
|
2007-07-05 03:04:05 -05:00
|
|
|
.ENDIF
|
2008-06-06 03:28:56 -05:00
|
|
|
.IF "$(nodep)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(OBJ) $(MKDEPFLAGS) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $< ) > $(MISC)/o_$(@:f:s/.obj/.dpcc/)
|
2008-06-06 03:28:56 -05:00
|
|
|
@noop $(assign DEPS_MADE+:=o_$(@:f:s/.obj/.dpcc/))
|
|
|
|
.ENDIF # "$(nodep)"==""
|
|
|
|
.ELSE # "$(OS)"=="MACOSX"
|
2007-07-05 03:04:05 -05:00
|
|
|
@echo "No recipe for compiling Objective-C++ files is available for this platform"
|
2008-06-06 03:28:56 -05:00
|
|
|
.ENDIF # "$(OS)"=="MACOSX"
|
2007-07-05 03:04:05 -05:00
|
|
|
|
|
|
|
# Objective-C++ files
|
2009-09-07 08:35:07 -05:00
|
|
|
$(OBJ)/%.obj : $(MISC)/%.mm
|
2009-12-02 05:34:00 -06:00
|
|
|
@echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(INPATH)/misc/$(COMPILE_ECHO_FILE)
|
2007-07-05 03:04:05 -05:00
|
|
|
.IF "$(OS)"=="MACOSX"
|
|
|
|
@$(RM) $@ $(@:s/.obj/.o/)
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(objcpp) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(OBJCXXFLAGS) $(CFLAGSOBJ) $(CDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(OBJ)/$*.o $(MISC)/$*.mm
|
|
|
|
@$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI)
|
2008-06-06 03:28:56 -05:00
|
|
|
.IF "$(nodep)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(OBJ) $(MKDEPFLAGS) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $< ) > $(MISC)/o_$(@:f:s/.obj/.dpcc/)
|
2008-06-06 03:28:56 -05:00
|
|
|
@noop $(assign DEPS_MADE+:=o_$(@:f:s/.obj/.dpcc/))
|
|
|
|
.ENDIF # "$(nodep)"==""
|
|
|
|
.ELSE # "$(OS)"=="MACOSX"
|
2007-07-05 03:04:05 -05:00
|
|
|
@echo "No recipe for compiling Objective-C++ files is available for this platform"
|
2008-06-06 03:28:56 -05:00
|
|
|
.ENDIF # "$(OS)"=="MACOSX"
|
2007-07-05 03:04:05 -05:00
|
|
|
|
|
|
|
# Objective-C++ files
|
2009-09-07 08:35:07 -05:00
|
|
|
$(SLO)/%.obj : $(MISC)/%.mm
|
2009-12-02 05:34:00 -06:00
|
|
|
@echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(INPATH)/misc/$(COMPILE_ECHO_FILE)
|
2007-07-05 03:04:05 -05:00
|
|
|
.IF "$(OS)"=="MACOSX"
|
|
|
|
@$(RM) $@ $(@:s/.obj/.o/)
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(objcpp) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(OBJCXXFLAGS) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(SLO)/$*.o $(MISC)/$*.mm
|
|
|
|
@$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI)
|
2008-06-06 03:28:56 -05:00
|
|
|
.IF "$(nodep)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(SLO) $(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $< ) > $(MISC)/s_$(@:f:s/.obj/.dpcc/)
|
2008-06-06 03:28:56 -05:00
|
|
|
@noop $(assign DEPS_MADE+:=s_$(@:f:s/.obj/.dpcc/))
|
|
|
|
.ENDIF # "$(nodep)"==""
|
|
|
|
.ELSE # "$(OS)"=="MACOSX"
|
2007-07-05 03:04:05 -05:00
|
|
|
@echo "No recipe for compiling Objective-C++ files is available for this platform"
|
2008-06-06 03:28:56 -05:00
|
|
|
.ENDIF # "$(OS)"=="MACOSX"
|
2007-07-05 03:04:05 -05:00
|
|
|
|
|
|
|
# Objective-C++ files
|
2009-09-07 08:35:07 -05:00
|
|
|
$(SLO)/%.obj : %.mm
|
2009-11-27 08:48:45 -06:00
|
|
|
@echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE)
|
2007-07-05 03:04:05 -05:00
|
|
|
.IF "$(OS)"=="MACOSX"
|
|
|
|
@$(RM) $@ $(@:s/.obj/.o/)
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(objcpp) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(OBJCXXFLAGS) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ) $(SLO)/$*.o $*.mm
|
|
|
|
@$(IFEXIST) $(@:s/.obj/.o/) $(THEN) $(TOUCH) $@ $(FI)
|
2008-06-06 03:28:56 -05:00
|
|
|
.IF "$(nodep)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(MAKEDEPEND) @$(mktmp -f - -p$(SLO) $(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $< ) > $(MISC)/s_$(@:f:s/.obj/.dpcc/)
|
2008-06-06 03:28:56 -05:00
|
|
|
@noop $(assign DEPS_MADE+:=s_$(@:f:s/.obj/.dpcc/))
|
|
|
|
.ENDIF # "$(nodep)"==""
|
|
|
|
.ELSE # "$(OS)"=="MACOSX"
|
2007-07-05 03:04:05 -05:00
|
|
|
@echo "No recipe for compiling Objective-C++ files is available for this platform"
|
2008-06-06 03:28:56 -05:00
|
|
|
.ENDIF # "$(OS)"=="MACOSX"
|
2007-07-05 03:04:05 -05:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(MISC)/%.dpslo :
|
2009-11-23 12:28:17 -06:00
|
|
|
@echo "Making: " $(@:f)
|
2007-04-17 07:27:19 -05:00
|
|
|
@@$(RM) $@
|
2008-01-16 07:27:03 -06:00
|
|
|
@@-$(CDD) $(MISC) && $(!null,$(all_local_slo) $(TYPE:s/+//) echo #) $(foreach,i,$(all_local_slo:b:+".dpcc") s_$(i)) > $(@:f)
|
|
|
|
@@-$(CDD) $(MISC) && $(!null,$(all_misc_slo) $(TYPE:s/+//) echo #) $(foreach,i,$(all_misc_slo:b:+".dpcc") s_$(i)) >> $(@:f)
|
2009-09-07 08:35:07 -05:00
|
|
|
@$(TYPE) $(mktmp $(foreach,i,$(all_local_slo:b:+".dpcc") $(@:s#\#/#:^"\n") : $(MISC:s#\#/#)/s_$i) $(foreach,i,$(all_misc_slo:b:+".dpcc") $(@:s#\#/#:^"\n") : $(MISC:s#\#/#)/s_$i)) >> $@
|
2008-01-16 07:27:03 -06:00
|
|
|
@$(TYPE) $(mktmp $(TARGET)_known_dpcc+=$(all_local_slo:b:+".dpcc":^"s_") $(all_misc_slo:b:+".dpcc":^"s_")) >> $@
|
2001-02-02 06:55:52 -06:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(MISC)/%.dpobj :
|
2009-11-23 12:28:17 -06:00
|
|
|
@echo "Making: " $(@:f)
|
2007-04-17 07:27:19 -05:00
|
|
|
@@$(RM) $@
|
2008-01-16 07:27:03 -06:00
|
|
|
@@-$(CDD) $(MISC) && $(!null,$(all_local_obj) $(TYPE:s/+//) echo #) $(foreach,i,$(all_local_obj:b:+".dpcc") o_$(i)) > $(@:f)
|
|
|
|
@@-$(CDD) $(MISC) && $(!null,$(all_misc_obj) $(TYPE:s/+//) echo #) $(foreach,i,$(all_misc_obj:b:+".dpcc") o_$(i)) >> $(@:f)
|
2009-04-23 10:52:08 -05:00
|
|
|
@$(TYPE) $(mktmp $(foreach,i,$(all_local_obj:b:+".dpcc") $(@:s#\#/#:^"\n") : $(MISC:s#\#/#)/o_$i) $(foreach,i,$(all_misc_obj:b:+".dpcc") $(@:s#\#/#:^"\n") : $(MISC:s#\#/#)/o_$i)) >> $@
|
2008-01-16 07:27:03 -06:00
|
|
|
@$(TYPE) $(mktmp $(TARGET)_known_dpcc+=$(all_local_obj:b:+".dpcc":^"s_") $(all_misc_obj:b:+".dpcc":^"s_")) >> $@
|
2006-10-30 01:53:49 -06:00
|
|
|
|
|
|
|
# see also %.dpslo
|
2009-09-07 08:35:07 -05:00
|
|
|
not_existing/s_%.dpcc : %.cxx;@noop $(assign all_local_slo+:=$<)
|
|
|
|
not_existing/o_%.dpcc : %.cxx;@noop $(assign all_local_obj+:=$<)
|
2006-10-30 01:53:49 -06:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
not_existing/s_%.dpcc : %.cpp;@noop $(assign all_local_slo+:=$<)
|
|
|
|
not_existing/o_%.dpcc : %.cpp;@noop $(assign all_local_obj+:=$<)
|
2006-11-07 07:46:12 -06:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
not_existing/s_%.dpcc : $(MISC)/%.c;@noop $(assign all_misc_slo+:=$<)
|
|
|
|
not_existing/o_%.dpcc : $(MISC)/%.c;@noop $(assign all_misc_obj+:=$<)
|
2006-11-07 07:46:12 -06:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
not_existing/s_%.dpcc : $(MISC)/%.cxx;@noop $(assign all_misc_slo+:=$<)
|
|
|
|
not_existing/o_%.dpcc : $(MISC)/%.cxx;@noop $(assign all_misc_obj+:=$<)
|
2006-11-07 07:46:12 -06:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
not_existing/s_%.dpcc : %.mm;@noop $(assign all_local_slo+:=$<)
|
|
|
|
not_existing/o_%.dpcc : %.mm;@noop $(assign all_local_obj+:=$<)
|
2008-06-06 03:28:56 -05:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
not_existing/s_%.dpcc : $(MISC)/%.mm;@noop $(assign all_misc_slo+:=$<)
|
|
|
|
not_existing/o_%.dpcc : $(MISC)/%.mm;@noop $(assign all_misc_obj+:=$<)
|
2008-06-06 03:28:56 -05:00
|
|
|
|
2001-02-02 06:55:52 -06:00
|
|
|
# dependencies objective-c
|
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(MISC)/s_%.dpcc : %.m
|
2007-02-06 06:56:51 -06:00
|
|
|
@@-$(RM) $@
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(MAKEDEPEND) -f - -p$(SLO) $(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $< > $@
|
2009-09-07 08:35:07 -05:00
|
|
|
@echo $@ : $(SLO)/$(<:b).obj >> $@
|
2006-11-07 07:46:12 -06:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(MISC)/o_%.dpcc : %.m
|
2007-02-06 06:56:51 -06:00
|
|
|
@@-$(RM) $@
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(MAKEDEPEND) -f - -p$(OBJ) $(MKDEPFLAGS) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $< > $@
|
2009-09-07 08:35:07 -05:00
|
|
|
@echo $@ : $(OBJ)/$(<:b).obj >> $@
|
2006-11-07 07:46:12 -06:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(MISC)/s_%.dpcc : $(MISC)/%.m
|
2007-02-06 06:56:51 -06:00
|
|
|
@@-$(RM) $@
|
2001-02-12 10:35:14 -06:00
|
|
|
.IF "$(GUI)"=="UNX"
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(MAKEDEPEND) -f - -p$(SLO) $(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $< | sed s\#$(MISC)/\#\# > $@
|
2001-02-12 10:35:14 -06:00
|
|
|
.ELSE # "$(GUI)"=="UNX"
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(MAKEDEPEND) -f - -p$(SLO) $(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $< | $(SED) s/$(MISC:s/\/\\/)\\// > $@
|
2001-02-12 10:35:14 -06:00
|
|
|
.ENDIF # "$(GUI)"=="UNX"
|
2009-09-07 08:35:07 -05:00
|
|
|
@echo $@ : $(SLO)/$(<:b).obj >> $@
|
2006-11-07 07:46:12 -06:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(MISC)/o_%.dpcc : $(MISC)/%.m
|
2007-02-06 06:56:51 -06:00
|
|
|
@@-$(RM) $@
|
2001-02-12 10:35:14 -06:00
|
|
|
.IF "$(GUI)"=="UNX"
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(MAKEDEPEND) -f - -p$(OBJ) $(MKDEPFLAGS) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $< | sed s\#$(MISC)/\#\# > $@
|
2001-02-12 10:35:14 -06:00
|
|
|
.ELSE # "$(GUI)"=="UNX"
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(MAKEDEPEND) -f - -p$(OBJ) $(MKDEPFLAGS) $(CDEFS) $(CDEFSOBJ) $(CDEFSMT) $< | $(SED) s/$(MISC:s/\/\\/)\\// > $@
|
2001-02-12 10:35:14 -06:00
|
|
|
.ENDIF # "$(GUI)"=="UNX"
|
2009-09-07 08:35:07 -05:00
|
|
|
@echo $@ : $(OBJ)/$(<:b).obj >> $@
|
2001-02-09 04:57:55 -06:00
|
|
|
|
|
|
|
# dependency dummy for *.s files
|
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(MISC)/s_%.dpcc : %.s
|
2007-02-06 06:56:51 -06:00
|
|
|
@@-$(RM) $@
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(MAKEDEPEND) -f - -p$(SLO) $(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $< > $@
|
2009-09-07 08:35:07 -05:00
|
|
|
@echo $@ : $(SLO)/$(<:b).obj >> $@
|
2001-02-09 04:57:55 -06:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(MISC)/s_%.dpcc : $(SLO)/%.obj
|
2008-01-16 07:27:03 -06:00
|
|
|
@noop $(assign DEPS_MISSING+:=$(@:f))
|
2001-02-12 09:17:43 -06:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(MISC)/o_%.dpcc : $(OBJ)/%.obj
|
2008-01-16 07:27:03 -06:00
|
|
|
@noop $(assign DEPS_MISSING+:=$(@:f))
|
2001-02-09 04:57:55 -06:00
|
|
|
|
2001-02-02 06:55:52 -06:00
|
|
|
# dependencies script files
|
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(MISC)/%.dpsc :
|
2007-02-06 06:56:51 -06:00
|
|
|
@@-$(RM) $@
|
2009-09-07 08:35:07 -05:00
|
|
|
@@-$(MKDIR) $(MISC)/{$(subst,$(@:d:d:d), $(@:d:d))}
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(MAKEDEPEND) -f - -p$(PAR)/{$(subst,$(@:d:d:d), $(@:d:d))} -o.par -D{$(subst,$(@:d:d:d:u), $(@:d:d:u))}_PRODUCT $(CDEFS) -DDLLPOSTFIX=$(DLLPOSTFIX) -I. -I$(INC) -I$(INCLOCAL) -I$(INCGUI) -I$(INCCOM) $(*:b).scp > $@
|
2009-09-07 08:35:07 -05:00
|
|
|
@echo $@ : $(PAR)/{$(subst,$(@:d:d:d), $(@:d:d))}/$(*:b).par >> $@
|
|
|
|
@echo $(PAR)/{$(subst,$(@:d:d:d), $(@:d:d))}/$(*:b).par : $(*:b).scp >> $@
|
2001-02-02 06:55:52 -06:00
|
|
|
|
2001-02-05 12:59:43 -06:00
|
|
|
# dependencies rc files (native resources for windows)
|
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(MISC)/%.dprc :
|
2007-02-06 06:56:51 -06:00
|
|
|
@@-$(RM) $@
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(MAKEDEPEND) -f - -p$(RES) -o.res $(RCLANGFLAGS_{$(subst,$(@:d:d:d:u), $(@:d:d:u))}:u:s/ //) $(CDEFS) -DDLLPOSTFIX=$(DLLPOSTFIX) -I. -I$(INC) -I$(INCLOCAL) -I$(INCGUI) -I$(INCCOM) -I$(SOLARENV)/inc $(*:b).rc >> $@
|
2009-09-07 08:35:07 -05:00
|
|
|
# @echo $@ : $(RES)/{$(subst,$(@:d:d:d), $(@:d:d))}/$(*:b).res >> $@
|
|
|
|
@echo $@ : $(RES)/$(*:b).res >> $@
|
2001-02-02 06:55:52 -06:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(MISC)/%.dpr :
|
2009-11-23 12:28:17 -06:00
|
|
|
@@noop
|
2002-08-21 07:04:19 -05:00
|
|
|
.IF "$(nodep)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
@echo "Making: " $(@:f)
|
2007-02-06 06:56:51 -06:00
|
|
|
@@-$(RM) $@
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)dmake $(MFLAGS) $(MAKEFILE) $(CALLMACROS) NO_HIDS=true make_srs_deps=true $(DEPSRSFILES)
|
|
|
|
$(COMMAND_ECHO)-$(TYPE) $(MISC)/$(TARGET).*.dprr >> $@
|
2002-08-21 07:04:19 -05:00
|
|
|
.ENDIF # "$(nodep)"==""
|
2000-09-20 08:43:26 -05:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(MISC)/%.dpz :
|
2009-11-23 12:28:17 -06:00
|
|
|
@@noop
|
2002-08-21 07:04:19 -05:00
|
|
|
.IF "$(nodep)"==""
|
2009-11-23 12:28:17 -06:00
|
|
|
@echo "Making: " $(@:f)
|
2007-02-06 06:56:51 -06:00
|
|
|
@@-$(RM) $@
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)dmake $(MFLAGS) $(MAKEFILE) $(CALLMACROS) make_zip_deps=true $(ZIPDEPFILES)
|
|
|
|
$(COMMAND_ECHO)$(TYPE) $(ZIPDEPFILES) $(mktmp $(NULL)) | grep -v "CVS" | grep -v "\.svn" >> $@
|
|
|
|
@echo zipdep_langs=$(alllangiso) >> $@
|
2007-02-06 06:56:51 -06:00
|
|
|
@@-$(RM) $(ZIPDEPFILES)
|
2002-08-21 07:04:19 -05:00
|
|
|
.ENDIF # "$(nodep)"==""
|
2000-09-20 08:43:26 -05:00
|
|
|
|
2001-08-07 08:04:44 -05:00
|
|
|
# Dependencies fuer java - Files
|
2000-09-20 08:43:26 -05:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(MISC)/%.dpj :
|
2009-11-23 12:28:17 -06:00
|
|
|
@echo "Making: " $(@:f)
|
2000-09-20 08:43:26 -05:00
|
|
|
.IF "$(nodep)"!=""
|
|
|
|
.IF "$(GUI)"=="UNX"
|
2006-10-05 06:36:17 -05:00
|
|
|
@echo > $@
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE
|
2007-01-25 05:52:35 -06:00
|
|
|
@$(ECHONL) > $@
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF
|
|
|
|
.ELSE # "$(ndep)"==""
|
|
|
|
.IF "$(GUI)"=="UNX"
|
2007-11-06 08:44:40 -06:00
|
|
|
@echo $(shell @$(STARDEP) @$(mktmp -o $@ -i $(CLASSDIR) $(foreach,i,$(JAVADEPINCLUDES:s/:/ /) -i $i) $(JAVACLASSFILES)))
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE
|
2006-10-05 06:36:17 -05:00
|
|
|
@echo javadeps
|
2007-11-06 08:44:40 -06:00
|
|
|
@echo $(shell @$(STARDEP) @$(mktmp -o $@ -i $(CLASSDIR) $(foreach,i,$(JAVADEPINCLUDES:s/;/ /) -i $i) $(JAVACLASSFILES)))
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF
|
|
|
|
.ENDIF # "$(nodep)"==""
|
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(SLO)/%.obj : %.asm
|
2009-11-27 08:48:45 -06:00
|
|
|
@echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE)
|
2007-03-26 08:43:45 -05:00
|
|
|
.IF "$(COM)"=="GCC"
|
|
|
|
.IF "$(ASM)"=="ml"
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(ASM) $(AFLAGS) -D$(COM) /Fo$(SLO)/$*.obj $*.asm
|
2007-05-25 04:51:40 -05:00
|
|
|
@@-$(RM) $*.err
|
2007-03-26 08:43:45 -05:00
|
|
|
.ELSE # "$(ASM)"=="ml"
|
2007-05-25 04:51:40 -05:00
|
|
|
@@-$(RM) $@
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(ASM) $(AFLAGS) $*.asm,$(SLO)/$*.obj;
|
2007-03-26 08:43:45 -05:00
|
|
|
.ENDIF # "$(ASM)"=="ml"
|
|
|
|
.ELSE
|
2000-09-20 08:43:26 -05:00
|
|
|
.IF "$(COM)"=="WTC"
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(ASM) $(AFLAGS) -D$(COM) $*.asm -fo=$(SLO)/$*.obj
|
|
|
|
@-$(IFEXIST) $*.err $(THEN) $(RM:s/+//) $*.err $(FI)
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE
|
2000-12-15 10:05:22 -06:00
|
|
|
.IF "$(COM)"=="MSC"
|
|
|
|
.IF "$(ASM)"=="ml"
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(ASM) $(AFLAGS) -D$(COM) /Fo$(SLO)/$*.obj $*.asm
|
|
|
|
@-$(IFEXIST) $*.err $(THEN) $(RM:s/+//) $*.err $(FI)
|
2000-12-15 10:05:22 -06:00
|
|
|
.ELSE # "$(ASM)"=="ml"
|
2007-02-06 06:56:51 -06:00
|
|
|
@@-$(RM) $@
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(ASM) $(AFLAGS) $*.asm,$(SLO)/$*.obj;
|
2000-12-15 10:05:22 -06:00
|
|
|
.ENDIF # "$(ASM)"=="ml"
|
|
|
|
.ENDIF "$(COM)"=="MSC"
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF
|
2007-03-26 08:43:45 -05:00
|
|
|
.ENDIF
|
2000-09-20 08:43:26 -05:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(OBJ)/%.obj : %.asm
|
2009-11-27 08:48:45 -06:00
|
|
|
@echo $(COMPILE_ECHO_SWITCH) Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(COMPILE_ECHO_FILE)
|
2007-03-26 08:43:45 -05:00
|
|
|
.IF "$(COM)"=="GCC"
|
|
|
|
.IF "$(ASM)"=="ml"
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(ASM) $(AFLAGS) -D$(COM) /Fo$(OBJ)/$*.obj $*.asm
|
2007-05-25 04:51:40 -05:00
|
|
|
@@-$(RM) $*.err
|
2007-03-26 08:43:45 -05:00
|
|
|
.ELSE # "$(ASM)"=="ml"
|
2007-05-25 04:51:40 -05:00
|
|
|
@@-$(RM) $@
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(ASM) $(AFLAGS) $*.asm,$(OBJ)/$*.obj;
|
2007-03-26 08:43:45 -05:00
|
|
|
.ENDIF # "$(ASM)"=="ml"
|
|
|
|
.ELSE
|
2000-12-15 10:05:22 -06:00
|
|
|
.IF "$(COM)"=="MSC"
|
|
|
|
.IF "$(ASM)"=="ml"
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(ASM) $(AFLAGS) -D$(COM) /Fo$(SLO)/$*.obj $*.asm
|
|
|
|
@-$(IFEXIST) $*.err $(THEN) $(RM:s/+//) $*.err $(FI)
|
2000-12-15 10:05:22 -06:00
|
|
|
.ELSE # "$(ASM)"=="ml"
|
2007-01-26 03:59:05 -06:00
|
|
|
@$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ >& $(NULLDEV) $(FI)
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(ASM) $(AFLAGS) $*.asm,$(OBJ)/$*.obj;
|
2000-12-15 10:05:22 -06:00
|
|
|
.ENDIF # "$(ASM)"=="ml"
|
|
|
|
.ENDIF "$(COM)"=="MSC"
|
2007-03-26 08:43:45 -05:00
|
|
|
.ENDIF
|
2003-03-27 04:48:49 -06:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(OUT)/ucr/$(IDLPACKAGE)/%.urd : %.idl
|
2007-02-06 06:56:51 -06:00
|
|
|
@noop $(assign all_outdated_idl+:=$<)
|
2001-08-07 08:57:42 -05:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(OUT)/ucrdoc/$(IDLPACKAGE)/%.urd : %.idl
|
2007-02-06 06:56:51 -06:00
|
|
|
@noop $(assign all_outdated_doc_idl+:=$<)
|
2001-08-07 08:57:42 -05:00
|
|
|
|
2003-04-29 11:34:18 -05:00
|
|
|
# generate hid files
|
2009-09-07 08:35:07 -05:00
|
|
|
$(SRS)/%.hid : %.src
|
2009-11-23 12:28:17 -06:00
|
|
|
@echo Compiling: $(PRJNAME)/$(PATH_IN_MODULE)/$(*:f).src
|
|
|
|
$(COMMAND_ECHO)$(AUGMENT_LIBRARY_PATH) $(PERL) $(SOLARENV)/bin/mhids.pl $*.src $(SRS) $(PRJNAME) $(CDEFS) $(INCLUDE)
|
2000-09-20 08:43:26 -05:00
|
|
|
|
2001-08-08 04:40:07 -05:00
|
|
|
# make *.xml descriptions available in $(MISC)
|
2009-09-07 08:35:07 -05:00
|
|
|
$(MISC)/%$($(WINVERSIONNAMES)_MAJOR).xml : %.xml
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(COPY) $< $@
|
2001-08-08 04:40:07 -05:00
|
|
|
|
2001-12-12 05:38:13 -06:00
|
|
|
# dummy rule to make sure xml file is in place when used in settings.mk
|
2009-09-07 08:35:07 -05:00
|
|
|
$(MISC)/%.mk : $(MISC)/%$($(WINVERSIONNAMES)_MAJOR).xml
|
2009-11-23 12:28:17 -06:00
|
|
|
@$(TOUCH) $@
|
|
|
|
@echo XML2MK_FILES += $(@:b) >> $@
|
2000-10-30 06:14:55 -06:00
|
|
|
|
|
|
|
#generate descriptions from xml
|
2009-09-07 08:35:07 -05:00
|
|
|
$(MISC)/%$($(WINVERSIONNAMES)_MAJOR)_description.cxx : $(MISC)/%$($(WINVERSIONNAMES)_MAJOR).xml
|
|
|
|
xml2cmp -func $(MISC)/$*$($(WINVERSIONNAMES)_MAJOR)_description.cxx $<
|
2000-10-30 06:14:55 -06:00
|
|
|
|
2000-09-20 08:43:26 -05:00
|
|
|
#generate private rdb
|
2009-09-07 08:35:07 -05:00
|
|
|
$(BIN)/%.rdb: $(MISC)/%$($(WINVERSIONNAMES)_MAJOR).xml
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)$(RDBMAKER) -BUCR -O$(BIN)/$*.rdb @$(mktmp $(foreach,i,$($(@:b)_XML2CMPTYPES) -T$i ) $(COMPRDB))
|
2000-09-20 08:43:26 -05:00
|
|
|
|
2000-09-21 07:12:00 -05:00
|
|
|
#strip dos lineends
|
2009-09-07 08:35:07 -05:00
|
|
|
$(MISC)/%.sh : %.sh
|
2007-02-06 06:56:51 -06:00
|
|
|
@@-$(RM) -f $@
|
2007-01-25 05:52:35 -06:00
|
|
|
@tr -d "\015" < $< > $@
|
2000-09-20 08:43:26 -05:00
|
|
|
|
2006-11-08 05:03:15 -06:00
|
|
|
# merge targets
|
|
|
|
.IF "$(WITH_LANG)"!=""
|
2009-09-07 08:35:07 -05:00
|
|
|
$(COMMONMISC)/$(TARGET)/%.ulf : %.ulf
|
CWS-TOOLING: integrate CWS buildverbosity
2009-10-13 15:51:48 +0200 fs r276867 : allow building with 'nodep'==''
2009-10-11 22:39:56 +0200 fs r276820 : silence a compiler warning in a file only used when VERBOSE!=""
2009-10-09 14:37:43 +0200 fs r276807 : let not override the non-presence of $VERBOSE the given command line arguments
2009-10-09 14:36:25 +0200 fs r276806 : also deliver spirit/home/classic/debug/impl
2009-10-08 13:38:07 +0200 fs r276789 : not that many line feeds in --show mode
2009-10-08 13:13:01 +0200 fs r276788 : minor adjustments requested by hjs:
- replaced space/tab mixes at beginning of lines with mere tab
- made "nothing to update" message for the ZIPALLTARGET target more prominent
- removed useless "echo > /dev/nul" statements
2009-10-07 13:32:12 +0200 fs r276753 : #i105585#
2009-10-07 11:31:59 +0200 fs r276742 : #i10000# missing dependency between stoc/security and stoc/util
2009-10-06 22:59:59 +0200 fs r276729 : CWS-TOOLING: rebase CWS buildverbosity to trunk@276699 (milestone: DEV300:m61)
2009-09-29 12:04:58 +0200 fs r276518 : #i10000#
2009-09-29 12:04:25 +0200 fs r276517 : oops
2009-09-29 12:01:07 +0200 fs r276516 : #i84497# removed some more (non-diagnostic) 'echo ------' directives
2009-09-29 11:59:29 +0200 fs r276515 : #i84497# removed some more (non-diagnostic) 'echo ------' directives
2009-09-29 11:52:32 +0200 fs r276514 : #i84497# removed the various 'echo ------------' directives from verbose mode, as per hjs' request
2009-09-29 11:44:16 +0200 fs r276513 : do not duplicate IDLC call commands with different verbosity switches
2009-09-28 21:43:50 +0200 thb r276502 : #i84497# fixed potential recursive macro def + extra ls
* solenv/inc/settings.mk: now setting via VERBOSE!:=, removes warning
and my spurious "recursive macro definition" error
* solenv/inc/tg_app.mk: one extra ls silenced for app target (and
quiet mode, that goes without saying)
2009-09-23 08:57:01 +0200 fs r276366 : use ULFEX_VERBOSITY instead of duplicating the ULFEX call
2009-09-21 11:42:26 +0200 fs r276320 : ignore output paths
2009-09-21 11:04:27 +0200 fs r276318 : silence another compiler warning, which only hits us when actually using this (debug) file, which is the case only when slideshow is compiled with a env variable VERBOSE, thus came up in CWS buildverbosity
2009-09-21 10:30:14 +0200 fs r276313 : make some output depend on VERBOSE==TRUE, not COMMAND_ECHO=""
While both are equivalent at the moment, COMMAND_ECHO finally is an implementation
default of the VERBOSE flag only, so better rely on VERBOSE as the primary verbosity flag
2009-09-21 09:56:57 +0200 fs r276311 : forgot to re-generate from tg_zip before committing
2009-09-21 09:52:11 +0200 fs r276310 : #i84497# even less verbosity
2009-09-17 11:02:47 +0200 fs r276232 : #i84497# verbose implies VERBOSE nowadays, and VERBOSE==FALSE should not lead to -DVERBOSE
2009-09-15 22:59:37 +0200 fs r276189 : #i105022# copy fix for this P1 into this CWS
2009-09-15 11:56:35 +0200 fs r276165 : CWS-TOOLING: rebase CWS buildverbosity to trunk@276043 (milestone: DEV300:m58)
2009-09-14 17:45:10 +0200 fs r276137 : #i84497# don't duplicate zip lines w/ and w/o -q switch, use a variable instead (maintenance)
2009-09-14 15:01:33 +0200 fs r276124 : #i10000#
2009-09-11 23:58:46 +0200 thb r276083 : #i84497#: More quiet-build fine tuning
- silenced rsc for real (properly filtering options for
cpp, and a pretty brutal amputation of the tool blurp,
which would have needed cmd opt parser duplication)
- silenced deliver.pl
- silenced checkdll.sh
- silenced zip via -q (in quiet mode)
- silenced various idl, resource, transex whatever tool,
passing appropriate options down to them '-QQ' sometimes
- silenced dmake, pointless blurb that something does *not*
need update removed
- silenced the old starview idl compiler, to not output
tool's name & progress chars in quiet mode
2009-09-11 21:13:59 +0200 thb r276081 : #i84497#: More bits on the quiet mode of the build.
The bulk of the changes is disabling those annoying
"echo ------------------" lines for the quiet build,
which has the stretch goal of outputting *exactly*
one line per file compiled/linked/processed.
Apart from that, silenced a few especialy annoying
module-specific makefiles (basically adding
$(COMMAND_ECHO) in front of a gazillion rules).
Additionally, slightly tweaked what idlc regards
verbose, normal, and quiet mode; this was to have it
echo exactly one line per idl file processed (the
fact that quiet mode did not echo *anything* for idl
files was a bit too much for my taste)
2009-09-04 09:14:35 +0200 fs r275777 : don't emit the link parameters if VERBOSE!=TRUE
2009-09-02 10:31:15 +0200 fs r275700 : #i10000#
2009-09-02 08:44:14 +0200 fs r275697 : update svn:ignore to ignore the output paths
2009-09-02 08:40:54 +0200 fs r275695 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:40:28 +0200 fs r275694 : GRAPHITE is missing in the BUILD_TYPE
2009-09-02 08:40:05 +0200 fs r275693 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:39:25 +0200 fs r275692 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:39:02 +0200 fs r275691 : #i84497# less verbose output during build, unless a dedicated '-verbose' switch is given
2009-09-02 08:38:09 +0200 fs r275690 : #i84497# less verbose output during build
2009-09-02 08:37:06 +0200 fs r275689 : #i84497# don't emit that much noise, unless a '-verbose' switch is given
2009-10-21 05:43:22 -05:00
|
|
|
@echo "Making: " $(@:f)
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)-$(MKDIR) $(@:d)
|
|
|
|
$(COMMAND_ECHO)-$(RM) $@
|
|
|
|
$(COMMAND_ECHO)$(ULFEX) $(ULFEX_VERBOSITY) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all
|
|
|
|
$(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
|
|
|
|
$(COMMAND_ECHO)-$(RM) $@.$(INPATH)
|
2004-06-25 10:12:09 -05:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(COMMONMISC)/$(TARGET)/%.xrb : %.xrb
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)-$(MKDIR) $(@:d)
|
|
|
|
$(COMMAND_ECHO)-$(RM) $@
|
|
|
|
$(COMMAND_ECHO)$(XMLEX) -t xrb -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all
|
|
|
|
$(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
|
|
|
|
$(COMMAND_ECHO)-$(RM) $@.$(INPATH)
|
2004-06-25 10:12:09 -05:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
$(COMMONMISC)/$(MYPATH)/%.xrm : %.xrm
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)-$(MKDIRHIER) $(@:d)
|
|
|
|
$(COMMAND_ECHO)-$(RM) $@
|
|
|
|
@echo trysdf = $(TRYSDF)
|
|
|
|
$(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all
|
|
|
|
$(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
|
|
|
|
$(COMMAND_ECHO)-$(RM) $@.$(INPATH)
|
2006-12-12 08:50:07 -06:00
|
|
|
|
2009-09-07 08:35:07 -05:00
|
|
|
#$(COMMONMISC)/$(TARGET)/%.xrm : %.xrm
|
2009-06-17 08:15:46 -05:00
|
|
|
# -$(MKDIRHIER) $(@:d)
|
|
|
|
# -$(RM) $@
|
|
|
|
# $(XRMEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all
|
|
|
|
# $(RENAME) $@.$(INPATH) $@
|
|
|
|
# -$(RM) $@.$(INPATH)
|
|
|
|
#
|
2009-09-07 08:35:07 -05:00
|
|
|
#$(COMMONMISC)/%.xrm : %.xrm
|
2009-06-17 08:15:46 -05:00
|
|
|
# -$(MKDIR) $(@:d)
|
|
|
|
# -$(RM) $@
|
|
|
|
# $(XRMEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all
|
|
|
|
# $(RENAME) $@.$(INPATH) $@
|
|
|
|
# -$(RM) $@.$(INPATH)
|
2006-11-08 05:03:15 -06:00
|
|
|
.ENDIF # "$(WITH_LANG)"!=""
|
2004-06-25 10:12:09 -05:00
|
|
|
|
2006-11-08 05:03:15 -06:00
|
|
|
.IF "$(WITH_LANG)"!=""
|
2009-09-07 08:35:07 -05:00
|
|
|
$(COMMONMISC)/$(TARGET)/%.jlf : $$(@:db).ulf
|
2006-11-08 05:03:15 -06:00
|
|
|
.ELSE # "$(WITH_LANG)"!=""
|
2009-09-07 08:35:07 -05:00
|
|
|
$(COMMONMISC)/$(TARGET)/%.jlf : $$(@:b).ulf
|
2006-11-08 05:03:15 -06:00
|
|
|
.ENDIF # "$(WITH_LANG)"!=""
|
|
|
|
@-$(MKDIRHIER) $(@:d)
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)-$(RM) $@
|
|
|
|
$(COMMAND_ECHO)$(ULFCONV) -o $@.$(INPATH) $<
|
|
|
|
$(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
|
|
|
|
$(COMMAND_ECHO)-$(RM) $@.$(INPATH)
|
2004-10-18 07:55:51 -05:00
|
|
|
|
2006-11-08 05:03:15 -06:00
|
|
|
.IF "$(WITH_LANG)"!=""
|
2009-09-07 08:35:07 -05:00
|
|
|
$(COMMONMISC)/$(TARGET)/%.mlf : $$(@:db).ulf
|
2006-11-08 05:03:15 -06:00
|
|
|
.ELSE # "$(WITH_LANG)"!=""
|
2009-09-07 08:35:07 -05:00
|
|
|
$(COMMONMISC)/$(TARGET)/%.mlf : $$(@:b).ulf
|
2006-11-08 05:03:15 -06:00
|
|
|
.ENDIF # "$(WITH_LANG)"!=""
|
|
|
|
@-$(MKDIRHIER) $(@:d)
|
2009-11-23 12:28:17 -06:00
|
|
|
@-$(RM) $@
|
2009-09-07 08:35:07 -05:00
|
|
|
@$(ULFCONV) -o $@.$(INPATH) -t $(SOLARBINDIR)/msi-encodinglist.txt $<
|
2007-01-25 05:52:35 -06:00
|
|
|
@$(RENAME) $@.$(INPATH) $@
|
|
|
|
@-$(RM) $@.$(INPATH)
|
2004-10-18 07:55:51 -05:00
|
|
|
|
2008-07-30 06:47:36 -05:00
|
|
|
.IF "$(WITH_LANG)"!=""
|
2009-09-07 08:35:07 -05:00
|
|
|
$(COMMONMISC)/$(TARGET)/%.uulf : $$(@:db).ulf
|
2008-07-30 06:47:36 -05:00
|
|
|
.ELSE # "$(WITH_LANG)"!=""
|
2009-09-07 08:35:07 -05:00
|
|
|
$(COMMONMISC)/$(TARGET)/%.uulf : $$(@:b).ulf
|
2008-07-30 06:47:36 -05:00
|
|
|
.ENDIF # "$(WITH_LANG)"!=""
|
|
|
|
@-$(MKDIRHIER) $(@:d)
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)-$(RM) $@
|
2008-07-30 06:47:36 -05:00
|
|
|
@$(COPY) $< $@.$(INPATH)
|
|
|
|
@$(RENAME) $@.$(INPATH) $@
|
|
|
|
@-$(RM) $@.$(INPATH)
|
|
|
|
|
2009-06-17 08:15:46 -05:00
|
|
|
# This is still needed?????
|
2009-09-07 08:35:07 -05:00
|
|
|
$(COMMONMISC)/$(TARGET)/%.xrm : %.xrm
|
2009-11-23 12:28:17 -06:00
|
|
|
$(COMMAND_ECHO)-$(MKDIR) $(@:d)
|
|
|
|
$(COMMAND_ECHO)-$(RM) $@
|
|
|
|
$(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all
|
|
|
|
$(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
|
|
|
|
$(COMMAND_ECHO)-$(RM) $@.$(INPATH)
|
2004-10-18 07:55:51 -05:00
|
|
|
|
2004-06-25 10:12:09 -05:00
|
|
|
# dirty hack
|
|
|
|
# if local *.sdf file is missing
|
2009-06-17 08:15:46 -05:00
|
|
|
#%.sdf:
|
|
|
|
# echo > $@
|
2004-06-25 10:12:09 -05:00
|
|
|
|