mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
a83eb31b00
HAVE_PURIFY etc. make variables in NSS files. Reviewed by nelson Bolyard. Modified Files: cmd/platrules.mk cmd/crmf-cgi/config.mk cmd/crmftest/config.mk cmd/lib/config.mk cmd/zlib/config.mk lib/base/config.mk lib/certdb/config.mk lib/certhigh/config.mk lib/ckfw/config.mk lib/crmf/config.mk lib/cryptohi/config.mk lib/fortcrypt/swfort/config.mk lib/freebl/config.mk lib/jar/config.mk lib/nss/config.mk lib/pk11wrap/config.mk lib/pkcs12/config.mk lib/pkcs7/config.mk lib/smime/config.mk lib/softoken/config.mk lib/ssl/config.mk lib/util/config.mk
108 lines
2.8 KiB
Makefile
108 lines
2.8 KiB
Makefile
#
|
|
# The contents of this file are subject to the Mozilla Public
|
|
# License Version 1.1 (the "License"); you may not use this file
|
|
# except in compliance with the License. You may obtain a copy of
|
|
# the License at http://www.mozilla.org/MPL/
|
|
#
|
|
# Software distributed under the License is distributed on an "AS
|
|
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
# implied. See the License for the specific language governing
|
|
# rights and limitations under the License.
|
|
#
|
|
# The Original Code is the Netscape security libraries.
|
|
#
|
|
# The Initial Developer of the Original Code is Netscape
|
|
# Communications Corporation. Portions created by Netscape are
|
|
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
|
|
# Rights Reserved.
|
|
#
|
|
# Contributor(s):
|
|
#
|
|
# Alternatively, the contents of this file may be used under the
|
|
# terms of the GNU General Public License Version 2 or later (the
|
|
# "GPL"), in which case the provisions of the GPL are applicable
|
|
# instead of those above. If you wish to allow use of your
|
|
# version of this file only under the terms of the GPL and not to
|
|
# allow others to use your version of this file under the MPL,
|
|
# indicate your decision by deleting the provisions above and
|
|
# replace them with the notice and other provisions required by
|
|
# the GPL. If you do not delete the provisions above, a recipient
|
|
# may use your version of this file under either the MPL or the
|
|
# GPL.
|
|
#
|
|
|
|
#
|
|
# Override TARGETS variable so that only static libraries
|
|
# are specifed as dependencies within rules.mk.
|
|
#
|
|
|
|
#TARGETS = $(LIBRARY)
|
|
#SHARED_LIBRARY =
|
|
#IMPORT_LIBRARY =
|
|
#PROGRAM =
|
|
|
|
ifeq ($(OS_ARCH), WINNT)
|
|
|
|
# don't want the 32 in the shared library name
|
|
SHARED_LIBRARY = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION).dll
|
|
IMPORT_LIBRARY = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION).lib
|
|
|
|
DLLFLAGS += -DEF:ssl.def
|
|
RES = $(OBJDIR)/ssl.res
|
|
RESNAME = ssl.rc
|
|
|
|
EXTRA_SHARED_LIBS += \
|
|
$(DIST)/lib/nss3.lib \
|
|
$(DIST)/lib/$(NSPR31_LIB_PREFIX)plc4.lib \
|
|
$(DIST)/lib/$(NSPR31_LIB_PREFIX)plds4.lib \
|
|
$(DIST)/lib/$(NSPR31_LIB_PREFIX)nspr4.lib \
|
|
$(NULL)
|
|
else
|
|
|
|
|
|
# $(PROGRAM) has NO explicit dependencies on $(EXTRA_SHARED_LIBS)
|
|
# $(EXTRA_SHARED_LIBS) come before $(OS_LIBS), except on AIX.
|
|
EXTRA_SHARED_LIBS += \
|
|
-L$(DIST)/lib/ \
|
|
-lnss3 \
|
|
-lplc4 \
|
|
-lplds4 \
|
|
-lnspr4 \
|
|
$(NULL)
|
|
endif
|
|
|
|
|
|
ifeq ($(OS_ARCH),SunOS)
|
|
MAPFILE = $(OBJDIR)/sslmap.sun
|
|
ALL_TRASH += $(MAPFILE)
|
|
MKSHLIB += -M $(MAPFILE)
|
|
endif
|
|
|
|
ifeq ($(OS_ARCH),AIX)
|
|
MAPFILE = $(OBJDIR)/sslmap.aix
|
|
ALL_TRASH += $(MAPFILE)
|
|
EXPORT_RULES = -bexport:$(MAPFILE)
|
|
endif
|
|
|
|
ifeq ($(OS_ARCH),HP-UX)
|
|
MAPFILE = $(OBJDIR)/sslmap.hp
|
|
ALL_TRASH += $(MAPFILE)
|
|
MKSHLIB += -c $(MAPFILE)
|
|
endif
|
|
|
|
ifeq ($(OS_ARCH), OSF1)
|
|
MAPFILE = $(OBJDIR)/sslmap.osf
|
|
ALL_TRASH += $(MAPFILE)
|
|
MKSHLIB += -hidden -input $(MAPFILE)
|
|
endif
|
|
|
|
ifeq ($(OS_ARCH),Linux)
|
|
MAPFILE = $(OBJDIR)/sslmap.linux
|
|
ALL_TRASH += $(MAPFILE)
|
|
MKSHLIB += -Wl,--version-script,$(MAPFILE)
|
|
endif
|
|
|
|
|
|
|
|
|