summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-03-17 09:41:47 +0000
committerOliver Bolte <obo@openoffice.org>2004-03-17 09:41:47 +0000
commit1f92895d1162a237a767a55b314742b312301c57 (patch)
treeb2c0ccb4202e4255de0d1cce5c441640fa7535d0 /connectivity
parentff511aa8c75b4572dfa9190e423bacc21e0be6dd (diff)
INTEGRATION: CWS mozab03 (1.11.22); FILE MERGED
2004/02/13 05:54:17 windly 1.11.22.1: #17620# Add authentification support to LDAP Address Book
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/mozab/makefile.mk25
1 files changed, 21 insertions, 4 deletions
diff --git a/connectivity/source/drivers/mozab/makefile.mk b/connectivity/source/drivers/mozab/makefile.mk
index 64e644e57254..c5026e6142a0 100644
--- a/connectivity/source/drivers/mozab/makefile.mk
+++ b/connectivity/source/drivers/mozab/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.11 $
+# $Revision: 1.12 $
#
-# last change: $Author: vg $ $Date: 2003-12-17 15:41:27 $
+# last change: $Author: obo $ $Date: 2004-03-17 10:41:47 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -79,9 +79,26 @@ MOZ_INC=$(SOLARVERSION)$/$(INPATH)$/inc$(UPDMINOREXT)$/mozilla
#.ENDIF
.IF "$(OS)"=="WNT"
+.IF "$(SHELL)=="4NT"
+MOZ_EMBED_LIB := $(shell +-dir /ba:f $(MOZ_LIB)$/embed_base_s.lib 2>$(NULLDEV) )
+MOZ_REG_LIB := $(shell +-dir /ba:f $(MOZ_LIB)$/mozreg_s.lib 2>$(NULLDEV) )
+.ELSE #"$(SHELL)=="4NT"
+MOZ_EMBED_LIB := $(shell +-test -f $(MOZ_LIB)$/embed_base_s.lib && echo $(MOZ_LIB)$/embed_base_s.lib )
+MOZ_REG_LIB := $(shell +-test -f $(MOZ_LIB)$/mozreg_s.lib && echo $(MOZ_LIB)$/mozreg_s.lib )
+.ENDIF
+
+.IF X"$(MOZ_EMBED_LIB)"=="X"
+MOZ_EMBED_LIB := $(MOZ_LIB)$/baseembed_s.lib
+.ENDIF
+.IF X"$(MOZ_REG_LIB)" == "X"
+MOZ_REG_LIB := $(MOZ_LIB)$/mozreg.lib
+.ENDIF
+.ENDIF
+
+.IF "$(OS)"=="WNT"
LIB += $(MOZ_LIB)
-MOZ_LIB_XPCOM= $(MOZ_LIB)$/baseembed_s.lib $(MOZ_LIB)$/nspr4.lib $(MOZ_LIB)$/mozreg.lib $(MOZ_LIB)$/xpcom.lib
-.ELSE
+MOZ_LIB_XPCOM= $(MOZ_EMBED_LIB) $(MOZ_LIB)$/nspr4.lib $(MOZ_REG_LIB) $(MOZ_LIB)$/xpcom.lib
+.ELSE "$(OS)"=="WNT"
MOZ_LIB_XPCOM= -L$(MOZ_LIB) -lembed_base_s -lnspr4 -lmozreg_s -lxpcom
.ENDIF
#End of mozilla specific stuff.