1 --- misc/mozilla/nsprpub/config/autoconf.mk.in 2007-06-10 01:28:46.000000000 +0900
2 +++ misc/build/mozilla/nsprpub/config/autoconf.mk.in 2009-07-26 19:50:43.845875000 +0900
4 RELEASE_OBJDIR_NAME = @RELEASE_OBJDIR_NAME@
5 OBJDIR_NAME = @OBJDIR_NAME@
7 +LIB_PREFIX = @LIB_PREFIX@
8 OBJ_SUFFIX = @OBJ_SUFFIX@
9 LIB_SUFFIX = @LIB_SUFFIX@
10 DLL_SUFFIX = @DLL_SUFFIX@
11 --- misc/mozilla/nsprpub/config/rules.mk 2009-03-25 07:49:17.000000000 +0900
12 +++ misc/build/mozilla/nsprpub/config/rules.mk 2009-07-26 19:50:44.002125000 +0900
14 # other platforms do not.
16 ifeq (,$(filter-out WIN95 OS2,$(OS_TARGET)))
17 -LIBRARY = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION)_s.$(LIB_SUFFIX)
18 +LIBRARY = $(OBJDIR)/$(LIB_PREFIX)$(LIBRARY_NAME)$(LIBRARY_VERSION)_s.$(LIB_SUFFIX)
19 SHARED_LIBRARY = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX)
20 -IMPORT_LIBRARY = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION).$(LIB_SUFFIX)
21 +IMPORT_LIBRARY = $(OBJDIR)/$(LIB_PREFIX)$(LIBRARY_NAME)$(LIBRARY_VERSION).$(LIB_SUFFIX)
22 SHARED_LIB_PDB = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION).pdb
24 LIBRARY = $(OBJDIR)/lib$(LIBRARY_NAME)$(LIBRARY_VERSION)_s.$(LIB_SUFFIX)
25 --- misc/mozilla/nsprpub/configure 2008-12-05 09:46:50.000000000 +0900
26 +++ misc/build/mozilla/nsprpub/configure 2009-07-26 19:50:45.158375000 +0900
32 MKSHLIB='$(LD) $(DSO_LDOPTS) -o $@'
41 # Determine compiler version
42 CC_VERSION=`"${CC}" -v 2>&1 | grep Version | sed -e 's|.* Version ||' -e 's| .*||'`
44 s%@LIB_SUFFIX@%$LIB_SUFFIX%g
45 s%@DLL_SUFFIX@%$DLL_SUFFIX%g
46 s%@ASM_SUFFIX@%$ASM_SUFFIX%g
47 +s%@LIB_PREFIX@%$LIB_PREFIX%g
48 s%@MKSHLIB@%$MKSHLIB%g
49 s%@DSO_CFLAGS@%$DSO_CFLAGS%g
50 s%@DSO_LDOPTS@%$DSO_LDOPTS%g
51 --- misc/mozilla/nsprpub/pr/src/Makefile.in 2008-06-08 05:25:59.000000000 +0900
52 +++ misc/build/mozilla/nsprpub/pr/src/Makefile.in 2009-07-26 20:57:15.324875000 +0900
55 ifeq ($(OS_ARCH),WINNT)
57 -OS_LIBS = -ladvapi32 -lwsock32 -lwinmm
58 +OS_LIBS += -ladvapi32 -lwsock32 -lwinmm
60 OS_LIBS = advapi32.lib wsock32.lib winmm.lib
62 --- misc/mozilla/security/coreconf/WIN32.mk 2009-04-01 09:49:48.000000000 +0900
63 +++ misc/build/mozilla/security/coreconf/WIN32.mk 2009-07-26 19:50:45.252125000 +0900
75 --- misc/mozilla/security/coreconf/WIN95.mk 2009-02-14 14:51:10.000000000 +0900
76 +++ misc/build/mozilla/security/coreconf/WIN95.mk 2009-07-26 19:50:45.377125000 +0900
80 # WINNT uses the lib prefix, Win95 and WinCE don't
81 -NSPR31_LIB_PREFIX = $(NULL)
83 + NSPR31_LIB_PREFIX = lib
85 + NSPR31_LIB_PREFIX = $(NULL)
87 --- misc/mozilla/security/coreconf/rules.mk 2009-01-21 08:30:57.000000000 +0900
88 +++ misc/build/mozilla/security/coreconf/rules.mk 2009-07-26 19:50:45.689625000 +0900
91 endif # MSVC with manifest tool
93 +ifeq (,$(filter-out WIN%,$(OS_TARGET)))
94 + $(MKPROG) -o $@ $(CFLAGS) $(OBJS) $(LDFLAGS) -Wl,--start-group $(EXTRA_LIBS) -Wl,--end-group $(EXTRA_SHARED_LIBS) $(OS_LIBS)
96 $(MKPROG) -o $@ $(CFLAGS) $(OBJS) $(LDFLAGS) $(EXTRA_LIBS) $(EXTRA_SHARED_LIBS) $(OS_LIBS)
102 --- misc/mozilla/security/nss/Makefile 2008-12-03 08:24:39.000000000 +0900
103 +++ misc/build/mozilla/security/nss/Makefile 2009-07-26 19:50:45.845875000 +0900
105 NSPR_CONFIGURE_OPTS += --enable-debug-rtl
108 -NSPR_COMPILERS = CC=gcc CXX=g++
109 +NSPR_COMPILERS = CC="$(CC)" CXX="$(CXX)"
113 --- misc/mozilla/security/nss/cmd/crmftest/Makefile 2005-11-14 09:17:21.000000000 +0900
114 +++ misc/build/mozilla/security/nss/cmd/crmftest/Makefile 2009-07-26 19:50:45.970875000 +0900
118 ifeq (,$(filter-out WIN%,$(OS_TARGET)))
119 -EXTRA_LIBS += $(LDDIST)/sectool.lib
120 +EXTRA_LIBS += $(LDDIST)/$(LIB_PREFIX)sectool.$(LIB_SUFFIX)
123 include ../platrules.mk
124 --- misc/mozilla/security/nss/cmd/shlibsign/Makefile 2008-11-21 00:44:11.000000000 +0900
125 +++ misc/build/mozilla/security/nss/cmd/shlibsign/Makefile 2009-07-26 22:58:48.687625000 +0900
126 @@ -112,10 +112,16 @@
127 $(call core_abspath,$(OBJDIR)) $(OS_TARGET) \
128 $(call core_abspath,$(NSPR_LIB_DIR)) $(call core_abspath,$<)
130 +ifeq ($(OS_TARGET), WIN95)
131 + sh ./sign.sh $(shell cygpath -m -a $(DIST)) \
132 + $(shell cygpath -m -a $(OBJDIR)) $(OS_TARGET) \
133 + $(shell cygpath -m -a $(NSPR_LIB_DIR)) $(shell cygpath -m -a $<)
135 cd $(OBJDIR) ; sh $(SRCDIR)/sign.sh $(call core_abspath,$(DIST)) \
136 $(call core_abspath,$(OBJDIR)) $(OS_TARGET) \
137 $(call core_abspath,$(NSPR_LIB_DIR)) $(call core_abspath,$<)
141 libs install :: $(CHECKLOC)
143 --- misc/mozilla/security/nss/lib/freebl/config.mk 2009-02-03 06:57:23.000000000 +0900
144 +++ misc/build/mozilla/security/nss/lib/freebl/config.mk 2009-07-26 19:50:46.127125000 +0900
146 RES = $(OBJDIR)/$(LIBRARY_NAME).res
150 -OS_LIBS += shell32.lib
154 EXTRA_SHARED_LIBS += \
161 +OS_LIBS += shell32.lib
164 EXTRA_SHARED_LIBS += \
165 $(DIST)/lib/nssutil3.lib \
166 $(NSPR_LIB_DIR)/$(NSPR31_LIB_PREFIX)nspr4.lib \