summaryrefslogtreecommitdiff
path: root/soltools/mkdepend
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2009-11-10 10:36:57 +0100
committerMathias Bauer <mba@openoffice.org>2009-11-10 10:36:57 +0100
commitd1eacba8a2be9f82557ba795a2ea4f6b67549cad (patch)
tree77a2a83772b4f979454a029da90a254cf4eaf146 /soltools/mkdepend
parent2b557516512b365b4b691f1357d53d084d23efc4 (diff)
#i103496#: fix for building nonpro of mkdepend on Windows
Diffstat (limited to 'soltools/mkdepend')
-rwxr-xr-xsoltools/mkdepend/makefile.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/soltools/mkdepend/makefile.mk b/soltools/mkdepend/makefile.mk
index b8e3d85200b8..7ee0d7f20a09 100755
--- a/soltools/mkdepend/makefile.mk
+++ b/soltools/mkdepend/makefile.mk
@@ -37,6 +37,7 @@ LIBTARGET=NO
# noadjust here to have dependencies over there
noadjust=TRUE
nodep=true
+ENABLE_EXCEPTIONS=TRUE
# "mkdepend" is written in K&R style C. Modern compilers will generate
# lots of warning. There is no point in cleaning this up, so we just
@@ -49,7 +50,7 @@ EXTERNAL_WARNINGS_NOT_ERRORS=TRUE
LIBSALCPPRT=
UWINAPILIB=
-CDEFS+=-DNO_X11 -DXP_PC -DHW_THREADS
+CDEFS+=-DNO_X11 -DXP_PC -DHW_THREADS
OBJFILES= \
$(OBJ)$/cppsetup.obj \
@@ -66,7 +67,12 @@ APP1OBJS=$(OBJFILES)
APP1RPATH=NONE
.IF "$(COM)"=="MSC"
+.IF "$(dbgutil)"==""
APP1STDLIBS+=msvcprt.lib
+.ELSE
+APP1STDLIBS+=msvcprtd.lib
+CDEFS+=-D_DEBUG
+.ENDIF # "$(DBG_UTIL)"==""
.ENDIF # "$(COM)"=="MSC"
.IF "$(OS)"=="SOLARIS"