2001-01-10 01:32:29 +00:00
|
|
|
#
|
2004-04-25 15:03:26 +00:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
2001-01-10 01:32:29 +00:00
|
|
|
#
|
2004-04-25 15:03:26 +00:00
|
|
|
# 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.
|
2001-01-10 01:32:29 +00:00
|
|
|
#
|
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
2004-04-25 15:03:26 +00:00
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Netscape Communications Corporation.
|
|
|
|
# Portions created by the Initial Developer are Copyright (C) 1998
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
|
|
|
# Brian Ryner <bryner@brianryner.com>
|
|
|
|
#
|
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
# the provisions above, a recipient may use your version of this file under
|
|
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
2001-01-10 01:32:29 +00:00
|
|
|
#
|
2004-04-25 15:03:26 +00:00
|
|
|
# ***** END LICENSE BLOCK *****
|
2001-01-10 01:32:29 +00:00
|
|
|
|
|
|
|
DEPTH = ../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
2001-04-16 00:50:16 +00:00
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2004-01-07 13:37:00 +00:00
|
|
|
MODULE = psm
|
|
|
|
|
|
|
|
PACKAGE_FILE = psm.pkg
|
2005-12-20 09:47:11 +00:00
|
|
|
|
|
|
|
ifndef MOZ_NATIVE_NSS
|
2004-01-07 13:37:00 +00:00
|
|
|
PACKAGE_VARS += \
|
|
|
|
NSS3_LIB \
|
|
|
|
SMIME3_LIB \
|
|
|
|
SSL3_LIB \
|
|
|
|
SOFTOKEN3_LIB \
|
|
|
|
SOFTOKEN3_CHK \
|
|
|
|
LOADABLE_ROOT_MODULE \
|
2006-01-13 18:09:32 +00:00
|
|
|
HAVE_FREEBL_LIBS \
|
|
|
|
HAVE_FREEBL_LIBS_32 \
|
|
|
|
HAVE_FREEBL_LIBS_32INT64 \
|
|
|
|
HAVE_FREEBL_LIBS_64 \
|
2004-01-07 13:37:00 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2003-04-23 00:54:38 +00:00
|
|
|
LOADABLE_ROOT_MODULE = $(DLL_PREFIX)nssckbi$(DLL_SUFFIX)
|
2005-12-20 09:47:11 +00:00
|
|
|
endif
|
2002-01-10 00:47:07 +00:00
|
|
|
|
2003-04-23 00:54:38 +00:00
|
|
|
NSS3_LIB = $(DLL_PREFIX)nss3$(DLL_SUFFIX)
|
|
|
|
SMIME3_LIB = $(DLL_PREFIX)smime3$(DLL_SUFFIX)
|
|
|
|
SSL3_LIB = $(DLL_PREFIX)ssl3$(DLL_SUFFIX)
|
|
|
|
SOFTOKEN3_LIB = $(DLL_PREFIX)softokn3$(DLL_SUFFIX)
|
|
|
|
SOFTOKEN3_CHK = $(DLL_PREFIX)softokn3.chk
|
2002-01-10 00:47:07 +00:00
|
|
|
|
2006-01-13 18:09:32 +00:00
|
|
|
# Default
|
|
|
|
HAVE_FREEBL_LIBS = 1
|
|
|
|
|
|
|
|
# 32-bit HP-UX PA-RISC
|
|
|
|
ifeq ($(OS_ARCH), HP-UX)
|
|
|
|
ifneq ($(OS_TEST), ia64)
|
2002-10-01 14:42:41 +00:00
|
|
|
ifndef HAVE_64BIT_OS
|
2006-01-13 18:09:32 +00:00
|
|
|
HAVE_FREEBL_LIBS =
|
|
|
|
HAVE_FREEBL_LIBS_32 = 1
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
# SunOS SPARC
|
|
|
|
ifeq ($(OS_ARCH), SunOS)
|
|
|
|
ifneq ($(OS_TEST), i86pc)
|
|
|
|
ifdef HAVE_64BIT_OS
|
|
|
|
HAVE_FREEBL_LIBS =
|
|
|
|
HAVE_FREEBL_LIBS_64 = 1
|
|
|
|
else
|
|
|
|
HAVE_FREEBL_LIBS =
|
|
|
|
HAVE_FREEBL_LIBS_32 = 1
|
|
|
|
HAVE_FREEBL_LIBS_32INT64 = 1
|
2002-10-01 14:42:41 +00:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
2001-01-10 01:32:29 +00:00
|
|
|
|
2006-01-13 18:09:32 +00:00
|
|
|
ifdef HAVE_FREEBL_LIBS
|
|
|
|
FREEBL_LIB = $(DLL_PREFIX)freebl3$(DLL_SUFFIX)
|
|
|
|
FREEBL_CHK = $(DLL_PREFIX)freebl3.chk
|
|
|
|
endif
|
|
|
|
ifdef HAVE_FREEBL_LIBS_32
|
|
|
|
FREEBL_32INT_LIB = libfreebl_32int_3$(DLL_SUFFIX)
|
|
|
|
FREEBL_32INT_CHK = libfreebl_32int_3.chk
|
|
|
|
FREEBL_32FPU_LIB = libfreebl_32fpu_3$(DLL_SUFFIX)
|
|
|
|
FREEBL_32FPU_CHK = libfreebl_32fpu_3.chk
|
|
|
|
endif
|
|
|
|
ifdef HAVE_FREEBL_LIBS_32INT64
|
|
|
|
FREEBL_32INT64_LIB = libfreebl_32int64_3$(DLL_SUFFIX)
|
|
|
|
FREEBL_32INT64_CHK = libfreebl_32int64_3.chk
|
|
|
|
endif
|
|
|
|
ifdef HAVE_FREEBL_LIBS_64
|
|
|
|
FREEBL_64INT_LIB = libfreebl_64int_3$(DLL_SUFFIX)
|
|
|
|
FREEBL_64INT_CHK = libfreebl_64int_3.chk
|
|
|
|
FREEBL_64FPU_LIB = libfreebl_64fpu_3$(DLL_SUFFIX)
|
|
|
|
FREEBL_64FPU_CHK = libfreebl_64fpu_3.chk
|
|
|
|
endif
|
2006-03-27 16:21:55 +00:00
|
|
|
|
2006-01-13 18:09:32 +00:00
|
|
|
ABS_DIST := $(shell cd $(DIST) && pwd)
|
|
|
|
ifeq ($(HOST_OS_ARCH),WINNT)
|
|
|
|
ifdef CYGDRIVE_MOUNT
|
|
|
|
ABS_DIST := $(shell cygpath -w $(ABS_DIST) | sed -e 's|\\|/|g')
|
|
|
|
endif
|
2006-01-18 21:32:27 +00:00
|
|
|
ifneq (,$(filter mingw%,$(host_os)))
|
|
|
|
ABS_DIST := $(shell cd $(DIST) && pwd -W)
|
|
|
|
endif
|
2006-01-13 18:09:32 +00:00
|
|
|
endif
|
|
|
|
NSPR_INCLUDE_DIR = $(firstword $(filter -I%,$(NSPR_CFLAGS)))
|
|
|
|
ifneq (,$(strip $(NSPR_INCLUDE_DIR)))
|
|
|
|
NSPR_INCLUDE_DIR := $(subst -I,,$(subst -I$(DIST),-I$(ABS_DIST),$(NSPR_INCLUDE_DIR)))
|
|
|
|
else
|
|
|
|
NSPR_INCLUDE_DIR = $(ABS_DIST)/include/nspr
|
|
|
|
endif
|
|
|
|
NSPR_LIB_DIR = $(firstword $(filter -L%,$(NSPR_LIBS)))
|
|
|
|
ifneq (,$(strip $(NSPR_LIB_DIR)))
|
|
|
|
NSPR_LIB_DIR := $(subst -L,,$(subst -L$(DIST),-L$(ABS_DIST),$(NSPR_LIB_DIR)))
|
|
|
|
else
|
|
|
|
NSPR_LIB_DIR = $(ABS_DIST)/lib
|
|
|
|
endif
|
2001-05-22 21:11:57 +00:00
|
|
|
# NSS makefiles are not safe for parallel execution.
|
|
|
|
DEFAULT_GMAKE_FLAGS = MAKE="$(MAKE) -j1" -j1
|
2005-06-02 02:03:05 +00:00
|
|
|
DEFAULT_GMAKE_FLAGS += CC="$(CC)"
|
2006-01-13 18:09:32 +00:00
|
|
|
DEFAULT_GMAKE_FLAGS += SOURCE_MD_DIR=$(ABS_DIST)
|
|
|
|
DEFAULT_GMAKE_FLAGS += DIST=$(ABS_DIST)
|
|
|
|
DEFAULT_GMAKE_FLAGS += NSPR_INCLUDE_DIR=$(NSPR_INCLUDE_DIR)
|
|
|
|
DEFAULT_GMAKE_FLAGS += NSPR_LIB_DIR=$(NSPR_LIB_DIR)
|
2001-05-22 21:11:57 +00:00
|
|
|
DEFAULT_GMAKE_FLAGS += MOZILLA_CLIENT=1
|
|
|
|
DEFAULT_GMAKE_FLAGS += NO_MDUPDATE=1
|
2006-06-22 18:47:44 +00:00
|
|
|
DEFAULT_GMAKE_FLAGS += NSS_ENABLE_ECC=1
|
2001-06-14 00:08:16 +00:00
|
|
|
ABS_topsrcdir := $(shell cd $(topsrcdir); pwd)
|
|
|
|
ifneq ($(ABS_topsrcdir),$(MOZ_BUILD_ROOT))
|
|
|
|
DEFAULT_GMAKE_FLAGS += BUILD_TREE=$(MOZ_BUILD_ROOT)
|
|
|
|
endif
|
2001-04-11 00:11:47 +00:00
|
|
|
ifndef MOZ_DEBUG
|
2001-05-22 21:11:57 +00:00
|
|
|
DEFAULT_GMAKE_FLAGS += BUILD_OPT=1
|
2001-04-11 00:11:47 +00:00
|
|
|
endif
|
2001-05-22 21:11:57 +00:00
|
|
|
ifdef GNU_CC
|
|
|
|
DEFAULT_GMAKE_FLAGS += NS_USE_GCC=1 NS_USE_NATIVE=
|
2001-01-10 01:32:29 +00:00
|
|
|
else
|
2001-05-22 21:11:57 +00:00
|
|
|
DEFAULT_GMAKE_FLAGS += NS_USE_GCC= NS_USE_NATIVE=1
|
2001-01-10 01:32:29 +00:00
|
|
|
endif
|
2001-05-22 21:11:57 +00:00
|
|
|
ifdef USE_N32
|
|
|
|
# It is not really necessary to specify USE_PTHREADS=1. USE_PTHREADS
|
|
|
|
# merely adds _PTH to coreconf's OBJDIR name.
|
|
|
|
DEFAULT_GMAKE_FLAGS += USE_N32=1 USE_PTHREADS=1
|
2001-05-09 10:08:34 +00:00
|
|
|
endif
|
2001-08-09 01:38:08 +00:00
|
|
|
ifdef HAVE_64BIT_OS
|
|
|
|
DEFAULT_GMAKE_FLAGS += USE_64=1
|
|
|
|
endif
|
2001-12-18 09:14:29 +00:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
DEFAULT_GMAKE_FLAGS += OS_TARGET=WIN95
|
|
|
|
ifdef MOZ_DEBUG
|
|
|
|
ifndef MOZ_NO_DEBUG_RTL
|
|
|
|
DEFAULT_GMAKE_FLAGS += USE_DEBUG_RTL=1
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif # WINNT
|
2003-04-01 15:07:41 +00:00
|
|
|
# OS_CFLAGS needs to be passed on down.
|
|
|
|
ifeq ($(OS_ARCH),OpenVMS)
|
|
|
|
DEFAULT_GMAKE_FLAGS += XCFLAGS="$(OS_CFLAGS)"
|
|
|
|
endif
|
2005-02-05 01:43:09 +00:00
|
|
|
ifeq ($(OS_ARCH),Darwin)
|
|
|
|
# Make nsinstall use absolute symlinks by default when building NSS
|
|
|
|
# for Mozilla on Mac OS X. (Bugzilla bug 193164)
|
|
|
|
ifndef NSDISTMODE
|
|
|
|
DEFAULT_GMAKE_FLAGS += NSDISTMODE=absolute_symlink
|
|
|
|
endif
|
2005-10-26 19:01:18 +00:00
|
|
|
ifdef MACOS_SDK_DIR
|
|
|
|
DEFAULT_GMAKE_FLAGS += MACOS_SDK_DIR=$(MACOS_SDK_DIR)
|
|
|
|
endif
|
2005-02-05 01:43:09 +00:00
|
|
|
endif
|
2004-03-23 04:15:56 +00:00
|
|
|
ifdef CROSS_COMPILE
|
|
|
|
DEFAULT_GMAKE_FLAGS += \
|
|
|
|
NSINSTALL="$(NSINSTALL)" \
|
|
|
|
NATIVE_CC="$(HOST_CC)" \
|
|
|
|
CC="$(CC)" \
|
|
|
|
CCC="$(CXX)" \
|
|
|
|
LINK="$(LD)" \
|
|
|
|
AS="$(AS)" \
|
|
|
|
AR='$(AR) $(AR_FLAGS:$@=$$@)' \
|
|
|
|
RANLIB="$(RANLIB)" \
|
|
|
|
RC="$(RC) $(RCFLAGS)" \
|
|
|
|
OS_ARCH="$(OS_ARCH)" \
|
2006-02-22 22:40:03 +00:00
|
|
|
CPU_ARCH="$(TARGET_CPU)" \
|
2004-03-23 04:15:56 +00:00
|
|
|
$(NULL)
|
|
|
|
SKIP_CHK=1
|
|
|
|
endif
|
2005-03-14 10:00:58 +00:00
|
|
|
SUBMAKEFILES = boot/Makefile ssl/Makefile pki/Makefile locales/Makefile
|
2001-01-10 01:32:29 +00:00
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2002-09-20 08:46:21 +00:00
|
|
|
# Attempt to properly handle NSS' refusal to implement a dependency system
|
2003-05-21 20:13:24 +00:00
|
|
|
export:: .nss.cleaned
|
|
|
|
|
|
|
|
.nss.cleaned: .nss.checkout
|
2005-12-20 09:47:11 +00:00
|
|
|
ifndef MOZ_NATIVE_NSS
|
2003-05-21 20:13:24 +00:00
|
|
|
$(MAKE) -C $(topsrcdir)/security/coreconf $(DEFAULT_GMAKE_FLAGS) clean
|
|
|
|
$(MAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS) clean
|
2004-03-23 04:15:56 +00:00
|
|
|
ifndef SKIP_CHK
|
2003-05-21 20:13:24 +00:00
|
|
|
$(MAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS) clean
|
|
|
|
$(MAKE) -C $(topsrcdir)/security/nss/cmd/shlibsign $(DEFAULT_GMAKE_FLAGS) clean
|
2004-03-23 04:15:56 +00:00
|
|
|
endif
|
2003-05-21 20:13:24 +00:00
|
|
|
touch $@
|
2005-12-20 09:47:11 +00:00
|
|
|
endif
|
2003-05-21 20:13:24 +00:00
|
|
|
|
2006-04-28 14:54:54 +00:00
|
|
|
GARBAGE += .nss.cleaned
|
|
|
|
|
2003-05-21 20:13:24 +00:00
|
|
|
.nss.checkout:
|
2005-12-20 09:47:11 +00:00
|
|
|
ifndef MOZ_NATIVE_NSS
|
2003-05-21 20:13:24 +00:00
|
|
|
touch $(srcdir)/$@
|
2005-12-20 09:47:11 +00:00
|
|
|
endif
|
2002-09-20 08:46:21 +00:00
|
|
|
|
2004-01-07 13:37:00 +00:00
|
|
|
dependclean export packages chrome::
|
2001-11-29 23:36:34 +00:00
|
|
|
$(MAKE) -C boot $@
|
2001-03-04 22:55:18 +00:00
|
|
|
$(MAKE) -C ssl $@
|
2005-03-14 10:00:58 +00:00
|
|
|
$(MAKE) -C locales $@
|
2003-04-11 00:56:27 +00:00
|
|
|
ifdef MOZ_XUL
|
2001-03-04 22:55:18 +00:00
|
|
|
$(MAKE) -C pki $@
|
2003-04-11 00:56:27 +00:00
|
|
|
endif
|
2001-03-04 22:55:18 +00:00
|
|
|
|
2001-11-21 08:55:59 +00:00
|
|
|
libs::
|
2005-12-20 09:47:11 +00:00
|
|
|
ifndef MOZ_NATIVE_NSS
|
2001-06-14 00:08:16 +00:00
|
|
|
$(MAKE) -C $(topsrcdir)/security/coreconf $(DEFAULT_GMAKE_FLAGS)
|
2006-03-27 16:21:55 +00:00
|
|
|
$(MAKE) -C $(topsrcdir)/security/dbm $(DEFAULT_GMAKE_FLAGS)
|
2001-06-14 00:08:16 +00:00
|
|
|
$(MAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS)
|
2004-03-23 04:15:56 +00:00
|
|
|
ifndef SKIP_CHK
|
2003-03-20 18:03:22 +00:00
|
|
|
$(MAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS)
|
|
|
|
$(MAKE) -C $(topsrcdir)/security/nss/cmd/shlibsign $(DEFAULT_GMAKE_FLAGS)
|
2004-03-23 04:15:56 +00:00
|
|
|
endif
|
2001-05-22 21:11:57 +00:00
|
|
|
$(INSTALL) -m 755 $(DIST)/lib/$(LOADABLE_ROOT_MODULE) $(DIST)/bin
|
2004-03-23 04:15:56 +00:00
|
|
|
ifndef SKIP_CHK
|
2003-03-20 18:03:22 +00:00
|
|
|
$(INSTALL) -m 644 $(DIST)/lib/$(SOFTOKEN3_CHK) $(DIST)/bin
|
2004-03-23 04:15:56 +00:00
|
|
|
endif
|
2002-01-10 00:47:07 +00:00
|
|
|
$(INSTALL) -m 755 $(DIST)/lib/$(SOFTOKEN3_LIB) $(DIST)/bin
|
|
|
|
$(INSTALL) -m 755 $(DIST)/lib/$(NSS3_LIB) $(DIST)/bin
|
|
|
|
$(INSTALL) -m 755 $(DIST)/lib/$(SSL3_LIB) $(DIST)/bin
|
|
|
|
$(INSTALL) -m 755 $(DIST)/lib/$(SMIME3_LIB) $(DIST)/bin
|
2006-01-13 18:09:32 +00:00
|
|
|
ifdef HAVE_FREEBL_LIBS
|
2006-01-20 21:52:18 +00:00
|
|
|
ifndef SKIP_CHK
|
2006-01-13 18:09:32 +00:00
|
|
|
$(INSTALL) -m 644 $(DIST)/lib/$(FREEBL_CHK) $(DIST)/bin
|
2006-01-20 21:52:18 +00:00
|
|
|
endif
|
2006-01-13 18:09:32 +00:00
|
|
|
$(INSTALL) -m 755 $(DIST)/lib/$(FREEBL_LIB) $(DIST)/bin
|
|
|
|
endif
|
|
|
|
ifdef HAVE_FREEBL_LIBS_32
|
2006-01-20 21:52:18 +00:00
|
|
|
ifndef SKIP_CHK
|
2006-01-13 18:09:32 +00:00
|
|
|
$(INSTALL) -m 644 $(DIST)/lib/$(FREEBL_32INT_CHK) $(DIST)/bin
|
|
|
|
$(INSTALL) -m 644 $(DIST)/lib/$(FREEBL_32FPU_CHK) $(DIST)/bin
|
2006-01-20 21:52:18 +00:00
|
|
|
endif
|
|
|
|
$(INSTALL) -m 755 $(DIST)/lib/$(FREEBL_32INT_LIB) $(DIST)/bin
|
2006-01-13 18:09:32 +00:00
|
|
|
$(INSTALL) -m 755 $(DIST)/lib/$(FREEBL_32FPU_LIB) $(DIST)/bin
|
|
|
|
endif
|
|
|
|
ifdef HAVE_FREEBL_LIBS_32INT64
|
2006-01-20 21:52:18 +00:00
|
|
|
ifndef SKIP_CHK
|
2006-01-13 18:09:32 +00:00
|
|
|
$(INSTALL) -m 644 $(DIST)/lib/$(FREEBL_32INT64_CHK) $(DIST)/bin
|
2006-01-20 21:52:18 +00:00
|
|
|
endif
|
2006-01-13 18:09:32 +00:00
|
|
|
$(INSTALL) -m 755 $(DIST)/lib/$(FREEBL_32INT64_LIB) $(DIST)/bin
|
|
|
|
endif
|
|
|
|
ifdef HAVE_FREEBL_LIBS_64
|
2006-01-20 21:52:18 +00:00
|
|
|
ifndef SKIP_CHK
|
2006-01-13 18:09:32 +00:00
|
|
|
$(INSTALL) -m 644 $(DIST)/lib/$(FREEBL_64INT_CHK) $(DIST)/bin
|
|
|
|
$(INSTALL) -m 644 $(DIST)/lib/$(FREEBL_64FPU_CHK) $(DIST)/bin
|
2006-01-20 21:52:18 +00:00
|
|
|
endif
|
|
|
|
$(INSTALL) -m 755 $(DIST)/lib/$(FREEBL_64INT_LIB) $(DIST)/bin
|
2006-01-13 18:09:32 +00:00
|
|
|
$(INSTALL) -m 755 $(DIST)/lib/$(FREEBL_64FPU_LIB) $(DIST)/bin
|
2005-12-20 09:47:11 +00:00
|
|
|
endif
|
2001-05-09 10:08:34 +00:00
|
|
|
endif
|
2001-11-29 23:36:34 +00:00
|
|
|
$(MAKE) -C boot $@
|
2001-03-04 22:55:18 +00:00
|
|
|
$(MAKE) -C ssl $@
|
2005-03-14 10:00:58 +00:00
|
|
|
$(MAKE) -C locales $@
|
2003-04-11 00:56:27 +00:00
|
|
|
ifdef MOZ_XUL
|
2001-03-04 22:55:18 +00:00
|
|
|
$(MAKE) -C pki $@
|
2003-04-11 00:56:27 +00:00
|
|
|
endif
|
2001-01-10 01:32:29 +00:00
|
|
|
|
2002-04-25 02:52:44 +00:00
|
|
|
install::
|
2005-12-20 09:47:11 +00:00
|
|
|
ifndef MOZ_NATIVE_NSS
|
2002-04-25 02:52:44 +00:00
|
|
|
$(SYSINSTALL) -m 755 $(DIST)/lib/$(LOADABLE_ROOT_MODULE) $(DESTDIR)$(mozappdir)
|
2004-03-23 04:15:56 +00:00
|
|
|
ifndef SKIP_CHK
|
2003-03-20 18:03:22 +00:00
|
|
|
$(SYSINSTALL) -m 644 $(DIST)/lib/$(SOFTOKEN3_CHK) $(DESTDIR)$(mozappdir)
|
2004-03-23 04:15:56 +00:00
|
|
|
endif
|
2002-04-25 02:52:44 +00:00
|
|
|
$(SYSINSTALL) -m 755 $(DIST)/lib/$(SOFTOKEN3_LIB) $(DESTDIR)$(mozappdir)
|
|
|
|
$(SYSINSTALL) -m 755 $(DIST)/lib/$(NSS3_LIB) $(DESTDIR)$(mozappdir)
|
|
|
|
$(SYSINSTALL) -m 755 $(DIST)/lib/$(SSL3_LIB) $(DESTDIR)$(mozappdir)
|
|
|
|
$(SYSINSTALL) -m 755 $(DIST)/lib/$(SMIME3_LIB) $(DESTDIR)$(mozappdir)
|
2006-01-13 18:09:32 +00:00
|
|
|
ifdef HAVE_FREEBL_LIBS
|
2006-01-20 21:52:18 +00:00
|
|
|
ifndef SKIP_CHK
|
2006-01-13 18:09:32 +00:00
|
|
|
$(SYSINSTALL) -m 644 $(DIST)/lib/$(FREEBL_CHK) $(DESTDIR)$(mozappdir)
|
2006-01-20 21:52:18 +00:00
|
|
|
endif
|
2006-01-13 18:09:32 +00:00
|
|
|
$(SYSINSTALL) -m 755 $(DIST)/lib/$(FREEBL_LIB) $(DESTDIR)$(mozappdir)
|
|
|
|
endif
|
|
|
|
ifdef HAVE_FREEBL_LIBS_32
|
2006-01-20 21:52:18 +00:00
|
|
|
ifndef SKIP_CHK
|
2006-01-13 18:09:32 +00:00
|
|
|
$(SYSINSTALL) -m 644 $(DIST)/lib/$(FREEBL_32INT_CHK) $(DESTDIR)$(mozappdir)
|
|
|
|
$(SYSINSTALL) -m 644 $(DIST)/lib/$(FREEBL_32FPU_CHK) $(DESTDIR)$(mozappdir)
|
2006-01-20 21:52:18 +00:00
|
|
|
endif
|
|
|
|
$(SYSINSTALL) -m 755 $(DIST)/lib/$(FREEBL_32INT_LIB) $(DESTDIR)$(mozappdir)
|
2006-01-13 18:09:32 +00:00
|
|
|
$(SYSINSTALL) -m 755 $(DIST)/lib/$(FREEBL_32FPU_LIB) $(DESTDIR)$(mozappdir)
|
|
|
|
endif
|
|
|
|
ifdef HAVE_FREEBL_LIBS_32INT64
|
2006-01-20 21:52:18 +00:00
|
|
|
ifndef SKIP_CHK
|
2006-01-13 18:09:32 +00:00
|
|
|
$(SYSINSTALL) -m 644 $(DIST)/lib/$(FREEBL_32INT64_CHK) $(DESTDIR)$(mozappdir)
|
2006-01-20 21:52:18 +00:00
|
|
|
endif
|
2006-01-13 18:09:32 +00:00
|
|
|
$(SYSINSTALL) -m 755 $(DIST)/lib/$(FREEBL_32INT64_LIB) $(DESTDIR)$(mozappdir)
|
|
|
|
endif
|
|
|
|
ifdef HAVE_FREEBL_LIBS_64
|
2006-01-20 21:52:18 +00:00
|
|
|
ifndef SKIP_CHK
|
2006-01-13 18:09:32 +00:00
|
|
|
$(SYSINSTALL) -m 644 $(DIST)/lib/$(FREEBL_64INT_CHK) $(DESTDIR)$(mozappdir)
|
|
|
|
$(SYSINSTALL) -m 644 $(DIST)/lib/$(FREEBL_64FPU_CHK) $(DESTDIR)$(mozappdir)
|
2006-01-20 21:52:18 +00:00
|
|
|
endif
|
|
|
|
$(SYSINSTALL) -m 755 $(DIST)/lib/$(FREEBL_64INT_LIB) $(DESTDIR)$(mozappdir)
|
2006-01-13 18:09:32 +00:00
|
|
|
$(SYSINSTALL) -m 755 $(DIST)/lib/$(FREEBL_64FPU_LIB) $(DESTDIR)$(mozappdir)
|
2005-12-20 09:47:11 +00:00
|
|
|
endif
|
2002-04-25 02:52:44 +00:00
|
|
|
endif
|
|
|
|
$(MAKE) -C boot $@
|
|
|
|
$(MAKE) -C ssl $@
|
2005-03-14 10:00:58 +00:00
|
|
|
$(MAKE) -C locales $@
|
2003-04-11 00:56:27 +00:00
|
|
|
ifdef MOZ_XUL
|
2002-04-25 02:52:44 +00:00
|
|
|
$(MAKE) -C pki $@
|
2003-04-11 00:56:27 +00:00
|
|
|
endif
|
2002-09-20 08:46:21 +00:00
|
|
|
|
2002-03-05 15:22:48 +00:00
|
|
|
clean clobber clobber_all realclean distclean depend::
|
2001-11-29 23:36:34 +00:00
|
|
|
$(MAKE) -C boot $@
|
2001-03-04 22:55:18 +00:00
|
|
|
$(MAKE) -C ssl $@
|
2005-03-14 10:00:58 +00:00
|
|
|
$(MAKE) -C locales $@
|
2003-04-11 00:56:27 +00:00
|
|
|
ifdef MOZ_XUL
|
2001-03-04 22:55:18 +00:00
|
|
|
$(MAKE) -C pki $@
|
2003-04-11 00:56:27 +00:00
|
|
|
endif
|
2005-12-20 09:47:11 +00:00
|
|
|
ifndef MOZ_NATIVE_NSS
|
2001-06-14 00:08:16 +00:00
|
|
|
$(MAKE) -C $(topsrcdir)/security/coreconf $(DEFAULT_GMAKE_FLAGS) clean
|
|
|
|
$(MAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS) clean
|
2004-03-23 04:15:56 +00:00
|
|
|
ifndef SKIP_CHK
|
2003-03-20 18:03:22 +00:00
|
|
|
$(MAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS) clean
|
|
|
|
$(MAKE) -C $(topsrcdir)/security/nss/cmd/shlibsign $(DEFAULT_GMAKE_FLAGS) clean
|
2004-03-23 04:15:56 +00:00
|
|
|
endif
|
2005-12-20 09:47:11 +00:00
|
|
|
endif
|
2003-06-06 19:21:57 +00:00
|
|
|
|
|
|
|
echo-requires-recursive::
|
|
|
|
$(MAKE) -C boot $@
|
|
|
|
$(MAKE) -C ssl $@
|
|
|
|
$(MAKE) -C pki $@
|
2005-03-14 10:00:58 +00:00
|
|
|
$(MAKE) -C locales $@
|
2005-12-20 09:47:11 +00:00
|
|
|
|