summaryrefslogtreecommitdiff
path: root/tools/source
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2005-01-11 11:43:10 +0000
committerRüdiger Timm <rt@openoffice.org>2005-01-11 11:43:10 +0000
commitba15ae6538d06e997c009224cb8e48c3153aae26 (patch)
tree78aafd04e90275673096e348d95c04dfcf3aa33a /tools/source
parente884d8bb0f772f174e9f798c57dd122469570c99 (diff)
INTEGRATION: CWS dbgdump1 (1.3.256); FILE MERGED
2005/01/10 17:03:32 cmc 1.3.256.2: #i40089# Changes made for #i17295# not reflected into 2.0 series (alternative) 2005/01/07 09:53:58 cmc 1.3.256.1: #i40089# Changes made for #i17295# not reflected into 2.0 series
Diffstat (limited to 'tools/source')
-rw-r--r--tools/source/string/makefile.mk36
1 files changed, 32 insertions, 4 deletions
diff --git a/tools/source/string/makefile.mk b/tools/source/string/makefile.mk
index 88eb4c58189a..953ef3d65b34 100644
--- a/tools/source/string/makefile.mk
+++ b/tools/source/string/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.3 $
+# $Revision: 1.4 $
#
-# last change: $Author: hr $ $Date: 2003-03-27 17:04:49 $
+# last change: $Author: rt $ $Date: 2005-01-11 12:43:10 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -72,17 +72,45 @@ TARGET=str
.INCLUDE : sv.mk
# --- Files --------------------------------------------------------
+ALWAYSDBGFILES = $(SLO)$/debugprint.obj
+
+.IF "$(ALWAYSDBGFILES)" != ""
+ALWAYSDBGTARGET=do_it_alwaysdebug
+.ENDIF
SLOFILES= $(SLO)$/tstring.obj \
$(SLO)$/tustring.obj \
$(SLO)$/charset.obj \
- $(SLO)$/tenccvt.obj
+ $(SLO)$/tenccvt.obj \
+ $(SLO)$/debugprint.obj
OBJFILES= $(OBJ)$/tstring.obj \
$(OBJ)$/tustring.obj \
$(OBJ)$/charset.obj \
- $(OBJ)$/tenccvt.obj
+ $(OBJ)$/tenccvt.obj \
+ $(OBJ)$/debugprint.obj
# --- Targets ------------------------------------------------------
+.IF "$(ALWAYSDBG_FLAG)"==""
+TARGETDEPS+=$(ALWAYSDBGTARGET)
+.ENDIF
+
.INCLUDE : target.mk
+
+.IF "$(ALWAYSDBGTARGET)" != ""
+.IF "$(ALWAYSDBG_FLAG)" == ""
+# --------------------------------------------------
+# - ALWAYSDBG - files always compiled with debugging
+# --------------------------------------------------
+$(ALWAYSDBGTARGET):
+ @+echo --- ALWAYSDBGFILES ---
+ @dmake $(MFLAGS) $(MAKEFILE) debug=true $(ALWAYSDBGFILES) ALWAYSDBG_FLAG=TRUE $(CALLMACROS)
+ @+echo --- ALWAYSDBGFILES OVER ---
+
+$(ALWAYSDBGFILES):
+ @+echo --- ALWAYSDBG ---
+ @dmake $(MFLAGS) $(MAKEFILE) debug=true ALWAYSDBG_FLAG=TRUE $(CALLMACROS) $@
+ @+echo --- ALWAYSDBG OVER ---
+.ENDIF
+.ENDIF