Skip to content

Commit

Permalink
Bug 487858: Remove obsolete variables MOZILLA_SECURITY_BUILD,
Browse files Browse the repository at this point in the history
MOZILLA_BSAFE_BUILD, and CRYPTODIR.  r=emaldona.
Modified Files:
	cmd/platlibs.mk lib/Makefile lib/softoken/config.mk
	lib/softoken/legacydb/config.mk lib/ssl/config.mk
  • Loading branch information
wtc%google.com committed Apr 12, 2009
1 parent ee281cc commit 096f9f3
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 49 deletions.
14 changes: 0 additions & 14 deletions security/nss/cmd/platlibs.mk
Expand Up @@ -88,13 +88,6 @@ ifeq ($(OS_ARCH), WINNT)
DEFINES += -DNSS_USE_STATIC_LIBS
# $(PROGRAM) has explicit dependencies on $(EXTRA_LIBS)
CRYPTOLIB=$(SOFTOKEN_LIB_DIR)/$(LIB_PREFIX)freebl.$(LIB_SUFFIX)
ifdef MOZILLA_SECURITY_BUILD
CRYPTOLIB=$(DIST)/lib/crypto.lib
endif
ifdef MOZILLA_BSAFE_BUILD
CRYPTOLIB+=$(DIST)/lib/bsafe$(BSAFEVER).lib
CRYPTOLIB+=$(DIST)/lib/freebl.lib
endif

PKIXLIB = \
$(DIST)/lib/$(LIB_PREFIX)pkixcertsel.$(LIB_SUFFIX) \
Expand Down Expand Up @@ -144,13 +137,6 @@ else

# $(PROGRAM) has explicit dependencies on $(EXTRA_LIBS)
CRYPTOLIB=$(SOFTOKEN_LIB_DIR)/$(LIB_PREFIX)freebl.$(LIB_SUFFIX)
ifdef MOZILLA_SECURITY_BUILD
CRYPTOLIB=$(DIST)/lib/$(LIB_PREFIX)crypto.$(LIB_SUFFIX)
endif
ifdef MOZILLA_BSAFE_BUILD
CRYPTOLIB+=$(DIST)/lib/$(LIB_PREFIX)bsafe.$(LIB_SUFFIX)
CRYPTOLIB+=$(DIST)/lib/$(LIB_PREFIX)freebl.$(LIB_SUFFIX)
endif

PKIXLIB = \
$(DIST)/lib/$(LIB_PREFIX)pkixtop.$(LIB_SUFFIX) \
Expand Down
15 changes: 0 additions & 15 deletions security/nss/lib/Makefile
Expand Up @@ -84,18 +84,3 @@ include $(CORE_DEPTH)/coreconf/rules.mk
# (7) Execute "local" rules. (OPTIONAL). #
#######################################################################

ifdef MOZILLA_SECURITY_BUILD
FILES=$(shell ls -d $(CORE_DEPTH)/../../ns/security/lib/crypto/*)

export::
if test -d $(CORE_DEPTH)/../../ns/security/lib/crypto; then \
$(NSINSTALL) -D crypto; \
for file in $(FILES) ; do \
if test -f $$file; then \
$(INSTALL) -m 444 $$file crypto; \
fi; \
done; \
$(INSTALL) -m 444 freebl/sha_fast.c crypto; \
$(INSTALL) -m 444 freebl/sha_fast.h crypto; \
fi
endif
5 changes: 0 additions & 5 deletions security/nss/lib/softoken/config.mk
Expand Up @@ -37,11 +37,6 @@

# $(PROGRAM) has explicit dependencies on $(EXTRA_LIBS)
CRYPTOLIB=$(DIST)/lib/$(LIB_PREFIX)freebl.$(LIB_SUFFIX)
CRYPTODIR=../freebl
ifdef MOZILLA_SECURITY_BUILD
CRYPTOLIB=$(DIST)/lib/$(LIB_PREFIX)crypto.$(LIB_SUFFIX)
CRYPTODIR=../crypto
endif

EXTRA_LIBS += \
$(CRYPTOLIB) \
Expand Down
5 changes: 0 additions & 5 deletions security/nss/lib/softoken/legacydb/config.mk
Expand Up @@ -37,11 +37,6 @@

# $(PROGRAM) has explicit dependencies on $(EXTRA_LIBS)
CRYPTOLIB=$(DIST)/lib/$(LIB_PREFIX)freebl.$(LIB_SUFFIX)
CRYPTODIR=../freebl
ifdef MOZILLA_SECURITY_BUILD
CRYPTOLIB=$(DIST)/lib/$(LIB_PREFIX)crypto.$(LIB_SUFFIX)
CRYPTODIR=../crypto
endif

EXTRA_LIBS += $(CRYPTOLIB)

Expand Down
10 changes: 0 additions & 10 deletions security/nss/lib/ssl/config.mk
Expand Up @@ -75,11 +75,6 @@ endif # NS_USE_GCC

# $(PROGRAM) has explicit dependencies on $(EXTRA_LIBS)
CRYPTOLIB=$(SOFTOKEN_LIB_DIR)/$(LIB_PREFIX)freebl.$(LIB_SUFFIX)
CRYPTODIR=../freebl
ifdef MOZILLA_SECURITY_BUILD
CRYPTOLIB=$(DIST)/lib/$(LIB_PREFIX)crypto.$(LIB_SUFFIX)
CRYPTODIR=../crypto
endif

EXTRA_LIBS += \
$(CRYPTOLIB) \
Expand All @@ -89,11 +84,6 @@ else

# $(PROGRAM) has explicit dependencies on $(EXTRA_LIBS)
CRYPTOLIB=$(SOFTOKEN_LIB_DIR)/$(LIB_PREFIX)freebl.$(LIB_SUFFIX)
CRYPTODIR=../freebl
ifdef MOZILLA_SECURITY_BUILD
CRYPTOLIB=$(DIST)/lib/$(LIB_PREFIX)crypto.$(LIB_SUFFIX)
CRYPTODIR=../crypto
endif

EXTRA_LIBS += \
$(CRYPTOLIB) \
Expand Down

0 comments on commit 096f9f3

Please sign in to comment.