summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjavi%netscape.com <devnull@localhost>2001-04-11 00:17:34 +0000
committerjavi%netscape.com <devnull@localhost>2001-04-11 00:17:34 +0000
commited08187932a45ce3d9cf2a60d1321a25ec453544 (patch)
tree9d7429d420a79be3e0e5356972f24af187b956ec
parentc4beecc5e5939018dc285bb17f8753742fdab163 (diff)
parentbc8150a352b2bf39bc3fe660eaed4b14fb585329 (diff)
downloadnss-hg-ed08187932a45ce3d9cf2a60d1321a25ec453544.tar.gz
Port fix for bug 75300 to NSS_3_2_BRANCH
-rw-r--r--security/coreconf/WIN32.mk3
-rw-r--r--security/coreconf/headers.mk4
-rw-r--r--security/coreconf/source.mk17
3 files changed, 21 insertions, 3 deletions
diff --git a/security/coreconf/WIN32.mk b/security/coreconf/WIN32.mk
index 7bc23a334..61563e49a 100644
--- a/security/coreconf/WIN32.mk
+++ b/security/coreconf/WIN32.mk
@@ -93,9 +93,6 @@ DEFINES += -DWIN32
#
DEFINES += -D_WINDOWS
-ifdef MOZILLA_CLIENT
-INCLUDES += -I$(SOURCE_XP_DIR)/include
-endif
# override default, which is ASFLAGS = CFLAGS
AS = ml.exe
diff --git a/security/coreconf/headers.mk b/security/coreconf/headers.mk
index f09d5f6ee..76f2d1483 100644
--- a/security/coreconf/headers.mk
+++ b/security/coreconf/headers.mk
@@ -52,3 +52,7 @@ endif
#
INCLUDES += -I$(SOURCE_XPPRIVATE_DIR)
+
+ifdef MOZILLA_CLIENT
+INCLUDES += -I$(SOURCE_XP_DIR)/include
+endif
diff --git a/security/coreconf/source.mk b/security/coreconf/source.mk
index 825ebc5ec..edc78530e 100644
--- a/security/coreconf/source.mk
+++ b/security/coreconf/source.mk
@@ -39,13 +39,17 @@
# <user_source_tree> master import/export directory prefix
#
+ifndef SOURCE_PREFIX
SOURCE_PREFIX = $(CORE_DEPTH)/../dist
+endif
#
# <user_source_tree> cross-platform (xp) master import/export directory
#
+ifndef SOURCE_XP_DIR
SOURCE_XP_DIR = $(SOURCE_PREFIX)
+endif
#
# <user_source_tree> cross-platform (xp) import/export directories
@@ -66,15 +70,28 @@ endif
# <user_source_tree> machine-dependent (md) master import/export directory
#
+ifndef SOURCE_MD_DIR
SOURCE_MD_DIR = $(SOURCE_PREFIX)/$(PLATFORM)
+endif
#
# <user_source_tree> machine-dependent (md) import/export directories
#
+#This is where we install built executables and (for Windows only) DLLs.
+ifndef SOURCE_BIN_DIR
SOURCE_BIN_DIR = $(SOURCE_MD_DIR)/bin
+endif
+
+#This is where we install build libraries (.a, .so, .lib).
+ifndef SOURCE_LIB_DIR
SOURCE_LIB_DIR = $(SOURCE_MD_DIR)/lib
+endif
+
+# This is where NSPR header files are found.
+ifndef SOURCE_MDHEADERS_DIR
SOURCE_MDHEADERS_DIR = $(SOURCE_MD_DIR)/include
+endif
#######################################################################
# Master <component>-specific source release directories and files #