mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-22 20:34:01 +00:00
Commit to the trunk the fix for bug # 223987 - Fix LDAP library
makefile to play nice with "make -jN" builds with MSVC.
This commit is contained in:
parent
49b7ed67db
commit
b32baea218
@ -278,7 +278,18 @@ versiont.c: Makefile.client Version.c
|
||||
-e "s|%VERSION%|$${v}|" \
|
||||
< Version.c > $@)
|
||||
|
||||
export:: $(OBJDIR_NAME) $(LIBDIR) $(OBJS) $(LIBLDAP) $(DLLLDAP)
|
||||
# Set the default sources for the export target
|
||||
EXPDEPS = $(OBJDIR_NAME) $(LIBDIR) $(OBJS) $(LIBLDAP) $(DLLLDAP)
|
||||
# Remove the LIB source if on win32 and using MSVC
|
||||
# This avoids problems with -jX builds where 'link' will make both the
|
||||
# .dll and .lib files in one pass
|
||||
ifeq ($(OS_ARCH), WINNT)
|
||||
ifeq ($(LD),link)
|
||||
EXPDEPS = $(OBJDIR_NAME) $(LIBDIR) $(OBJS) $(DLLLDAP)
|
||||
endif
|
||||
endif
|
||||
|
||||
export:: $(EXPDEPS)
|
||||
|
||||
ltest:: $(LIBLDAP) test.o
|
||||
$(LINK_EXE) test.o
|
||||
@ -315,7 +326,18 @@ veryclean:: clean
|
||||
# the $(dist_bindir) line is for the mozilla client, which for reasons
|
||||
# unknown wants shared libraries in /bin also
|
||||
#
|
||||
export:: $(LIBLDAP) $(DLLLDAP)
|
||||
# Set the default sources for the export target
|
||||
EXPDEPS2 = $(LIBLDAP) $(DLLLDAP)
|
||||
# Remove the LIB source if on win32 and using MSVC
|
||||
# This avoids problems with -jX builds where 'link' will make both the
|
||||
# .dll and .lib files in one pass
|
||||
ifeq ($(OS_ARCH), WINNT)
|
||||
ifeq ($(LD),link)
|
||||
EXPDEPS2 = $(DLLLDAP)
|
||||
endif
|
||||
endif
|
||||
|
||||
export:: $(EXPDEPS2)
|
||||
ifdef MKSHLIB
|
||||
$(INSTALL) -m 444 $(LIBLDAP) $(dist_libdir)
|
||||
$(INSTALL) -m 444 $(DLLLDAP) $(dist_libdir)
|
||||
|
@ -235,7 +235,18 @@ $(OBJDEST):
|
||||
# the $(dist_bindir) line is for the mozilla client, which for reasons
|
||||
# unknown wants shared libraries in /bin also
|
||||
#
|
||||
export:: $(LIBPRLDAP) $(DLLPRLDAP)
|
||||
# Set the default sources for the export target
|
||||
EXPDEPS2 = $(LIBPRLDAP) $(DLLPRLDAP)
|
||||
# Remove the LIB source if on win32 and using MSVC
|
||||
# This avoids problems with -jX builds where 'link' will make both the
|
||||
# .dll and .lib files in one pass
|
||||
ifeq ($(OS_ARCH), WINNT)
|
||||
ifeq ($(LD),link)
|
||||
EXPDEPS2 = $(DLLPRLDAP)
|
||||
endif
|
||||
endif
|
||||
|
||||
export:: $(EXPDEPS2)
|
||||
ifeq ($(OS_ARCH), WINNT)
|
||||
$(INSTALL) -m 555 $(LIBPRLDAP) $(dist_libdir)
|
||||
$(INSTALL) -m 555 $(DLLPRLDAP) $(dist_libdir)
|
||||
|
Loading…
x
Reference in New Issue
Block a user