66ebb3
diff -up ./nss/cmd/bltest/Makefile.iquote ./nss/cmd/bltest/Makefile
66ebb3
--- ./nss/cmd/bltest/Makefile.iquote	2014-01-03 11:59:10.000000000 -0800
66ebb3
+++ ./nss/cmd/bltest/Makefile	2014-01-18 11:31:32.277404478 -0800
f57139
@@ -45,6 +45,7 @@ include $(CORE_DEPTH)/coreconf/rules.mk
f57139
 # (6) Execute "component" rules. (OPTIONAL)                           #
f57139
 #######################################################################
f57139
 
f57139
+INCLUDES += -iquote $(DIST)/../private/nss
f57139
 
f57139
 
f57139
 #######################################################################
2533fc
diff -up ./nss/cmd/certutil/Makefile.iquote ./nss/cmd/certutil/Makefile
2533fc
--- ./nss/cmd/certutil/Makefile.iquote	2015-03-25 15:52:30.276938803 -0700
2533fc
+++ ./nss/cmd/certutil/Makefile	2015-03-25 15:53:53.044536721 -0700
2533fc
@@ -37,6 +37,8 @@ include $(CORE_DEPTH)/coreconf/rules.mk
2533fc
 # (6) Execute "component" rules. (OPTIONAL)                           #
2533fc
 #######################################################################
2533fc
 
2533fc
+INCLUDES += -iquote $(DIST)/../private/nss
2533fc
+INCLUDES += -iquote $(DIST)/../public/nss
2533fc
 
2533fc
 
2533fc
 #######################################################################
66ebb3
diff -up ./nss/cmd/httpserv/Makefile.iquote ./nss/cmd/httpserv/Makefile
66ebb3
--- ./nss/cmd/httpserv/Makefile.iquote	2014-01-18 11:33:15.058108851 -0800
66ebb3
+++ ./nss/cmd/httpserv/Makefile	2014-01-18 11:34:08.913478276 -0800
66ebb3
@@ -35,7 +35,8 @@ include $(CORE_DEPTH)/coreconf/rules.mk
66ebb3
 # (6) Execute "component" rules. (OPTIONAL)                           #
66ebb3
 #######################################################################
66ebb3
 
66ebb3
-
66ebb3
+INCLUDES += -iquote $(DIST)/../private/nss
66ebb3
+INCLUDES += -iquote $(DIST)/../public/nss
66ebb3
 
66ebb3
 #######################################################################
66ebb3
 # (7) Execute "local" rules. (OPTIONAL).                              #
66ebb3
diff -up ./nss/cmd/lib/Makefile.iquote ./nss/cmd/lib/Makefile
66ebb3
--- ./nss/cmd/lib/Makefile.iquote	2014-01-03 11:59:10.000000000 -0800
66ebb3
+++ ./nss/cmd/lib/Makefile	2014-01-18 11:31:32.309404697 -0800
f57139
@@ -38,7 +38,8 @@ include $(CORE_DEPTH)/coreconf/rules.mk
f57139
 # (6) Execute "component" rules. (OPTIONAL)                           #
f57139
 #######################################################################
f57139
 
f57139
-
f57139
+INCLUDES += -iquote $(DIST)/../private/nss
f57139
+INCLUDES += -iquote $(DIST)/../public/nss
f57139
 
f57139
 #######################################################################
f57139
 # (7) Execute "local" rules. (OPTIONAL).                              #
652e94
diff -up ./nss/cmd/modutil/Makefile.iquote ./nss/cmd/modutil/Makefile
652e94
--- ./nss/cmd/modutil/Makefile.iquote	2014-05-31 11:14:36.880951209 -0700
652e94
+++ ./nss/cmd/modutil/Makefile	2014-05-31 11:15:13.423253804 -0700
652e94
@@ -41,7 +41,8 @@ include $(CORE_DEPTH)/coreconf/rules.mk
652e94
 # (6) Execute "component" rules. (OPTIONAL)                           #
652e94
 #######################################################################
652e94
 
652e94
-
652e94
+INCLUDES += -iquote $(DIST)/../public/nss
652e94
+INCLUDES += -iquote $(DIST)/../private/nss
652e94
 
652e94
 #######################################################################
652e94
 # (7) Execute "local" rules. (OPTIONAL).                              #
652e94
diff -up ./nss/cmd/selfserv/Makefile.iquote ./nss/cmd/selfserv/Makefile
652e94
--- ./nss/cmd/selfserv/Makefile.iquote	2014-05-31 10:41:33.790380931 -0700
652e94
+++ ./nss/cmd/selfserv/Makefile	2014-05-31 10:42:12.319696191 -0700
652e94
@@ -35,7 +35,8 @@ include $(CORE_DEPTH)/coreconf/rules.mk
652e94
 # (6) Execute "component" rules. (OPTIONAL)                           #
652e94
 #######################################################################
652e94
 
652e94
-
652e94
+INCLUDES += -iquote $(DIST)/../public/nss
652e94
+INCLUDES += -iquote $(DIST)/../private/nss
652e94
 
652e94
 #######################################################################
652e94
 # (7) Execute "local" rules. (OPTIONAL).                              #
652e94
diff -up ./nss/cmd/ssltap/Makefile.iquote ./nss/cmd/ssltap/Makefile
652e94
--- ./nss/cmd/ssltap/Makefile.iquote	2014-05-31 10:46:19.661718435 -0700
652e94
+++ ./nss/cmd/ssltap/Makefile	2014-05-31 10:47:11.269140037 -0700
652e94
@@ -39,7 +39,8 @@ include $(CORE_DEPTH)/coreconf/rules.mk
652e94
 # (6) Execute "component" rules. (OPTIONAL)                           #
652e94
 #######################################################################
652e94
 
652e94
-
652e94
+INCLUDES += -iquote $(DIST)/../public/nss
652e94
+INCLUDES += -iquote $(DIST)/../private/nss
652e94
 
652e94
 #######################################################################
652e94
 # (7) Execute "local" rules. (OPTIONAL).                              #
652e94
diff -up ./nss/cmd/strsclnt/Makefile.iquote ./nss/cmd/strsclnt/Makefile
652e94
--- ./nss/cmd/strsclnt/Makefile.iquote	2014-05-31 10:51:00.833015089 -0700
652e94
+++ ./nss/cmd/strsclnt/Makefile	2014-05-31 10:51:30.397255298 -0700
652e94
@@ -36,7 +36,8 @@ include $(CORE_DEPTH)/coreconf/rules.mk
652e94
 # (6) Execute "component" rules. (OPTIONAL)                           #
652e94
 #######################################################################
652e94
 
652e94
-
652e94
+INCLUDES += -iquote $(DIST)/../public/nss
652e94
+INCLUDES += -iquote $(DIST)/../private/nss
652e94
 
652e94
 #######################################################################
652e94
 # (7) Execute "local" rules. (OPTIONAL).                              #
652e94
diff -up ./nss/cmd/tstclnt/Makefile.iquote ./nss/cmd/tstclnt/Makefile
652e94
--- ./nss/cmd/tstclnt/Makefile.iquote	2014-05-01 20:27:18.000000000 -0700
652e94
+++ ./nss/cmd/tstclnt/Makefile	2014-05-31 10:57:43.740326022 -0700
652e94
@@ -42,5 +42,8 @@ include $(CORE_DEPTH)/coreconf/rules.mk
652e94
 # (7) Execute "local" rules. (OPTIONAL).                              #
652e94
 #######################################################################
652e94
 
652e94
+INCLUDES += -iquote $(DIST)/../public/nss
652e94
+INCLUDES += -iquote $(DIST)/../private/nss
652e94
+
652e94
 include ../platrules.mk
652e94
 
652e94
diff -up ./nss/cmd/vfyserv/Makefile.iquote ./nss/cmd/vfyserv/Makefile
652e94
--- ./nss/cmd/vfyserv/Makefile.iquote	2014-05-31 11:00:19.522669067 -0700
652e94
+++ ./nss/cmd/vfyserv/Makefile	2014-05-31 11:00:42.954870502 -0700
652e94
@@ -42,5 +42,8 @@ include $(CORE_DEPTH)/coreconf/rules.mk
652e94
 # (7) Execute "local" rules. (OPTIONAL).                              #
652e94
 #######################################################################
652e94
 
652e94
+INCLUDES += -iquote $(DIST)/../public/nss
652e94
+INCLUDES += -iquote $(DIST)/../private/nss
652e94
+
652e94
 include ../platrules.mk
652e94
 
66ebb3
diff -up ./nss/coreconf/location.mk.iquote ./nss/coreconf/location.mk
66ebb3
--- ./nss/coreconf/location.mk.iquote	2014-01-03 11:59:10.000000000 -0800
66ebb3
+++ ./nss/coreconf/location.mk	2014-01-18 11:31:32.309404697 -0800
f57139
@@ -45,6 +45,10 @@ endif
f57139
 
f57139
 ifdef NSS_INCLUDE_DIR
f57139
     INCLUDES += -I$(NSS_INCLUDE_DIR)
f57139
+    ifdef IN_TREE_FREEBL_HEADERS_FIRST
f57139
+        INCLUDES += -iquote $(DIST)/../public/nss
f57139
+        INCLUDES += -iquote $(DIST)/../private/nss
f57139
+    endif
f57139
 endif
f57139
 
f57139
 ifndef NSS_LIB_DIR
66ebb3
diff -up ./nss/lib/certhigh/Makefile.iquote ./nss/lib/certhigh/Makefile
66ebb3
--- ./nss/lib/certhigh/Makefile.iquote	2014-01-03 11:59:10.000000000 -0800
66ebb3
+++ ./nss/lib/certhigh/Makefile	2014-01-18 11:31:32.310404704 -0800
f57139
@@ -38,7 +38,7 @@ include $(CORE_DEPTH)/coreconf/rules.mk
f57139
 # (6) Execute "component" rules. (OPTIONAL)                           #
f57139
 #######################################################################
f57139
 
f57139
-
f57139
+INCLUDES += -iquote $(DIST)/../public/nss
f57139
 
f57139
 #######################################################################
f57139
 # (7) Execute "local" rules. (OPTIONAL).                              #
66ebb3
diff -up ./nss/lib/cryptohi/Makefile.iquote ./nss/lib/cryptohi/Makefile
66ebb3
--- ./nss/lib/cryptohi/Makefile.iquote	2014-01-03 11:59:10.000000000 -0800
66ebb3
+++ ./nss/lib/cryptohi/Makefile	2014-01-18 11:31:32.310404704 -0800
f57139
@@ -38,7 +38,7 @@ include $(CORE_DEPTH)/coreconf/rules.mk
f57139
 # (6) Execute "component" rules. (OPTIONAL)                           #
f57139
 #######################################################################
f57139
 
f57139
-
f57139
+INCLUDES += -iquote $(DIST)/../public/nss
f57139
 
f57139
 #######################################################################
f57139
 # (7) Execute "local" rules. (OPTIONAL).                              #
66ebb3
diff -up ./nss/lib/libpkix/pkix/checker/Makefile.iquote ./nss/lib/libpkix/pkix/checker/Makefile
66ebb3
--- ./nss/lib/libpkix/pkix/checker/Makefile.iquote	2014-01-03 11:59:10.000000000 -0800
66ebb3
+++ ./nss/lib/libpkix/pkix/checker/Makefile	2014-01-18 11:31:32.310404704 -0800
66ebb3
@@ -38,7 +38,8 @@ include $(CORE_DEPTH)/coreconf/rules.mk
66ebb3
 # (6) Execute "component" rules. (OPTIONAL)                           #
66ebb3
 #######################################################################
66ebb3
 
66ebb3
-
66ebb3
+INCLUDES += -iquote $(DIST)/../public/nss
66ebb3
+INCLUDES += -iquote $(DIST)/../private/nss
66ebb3
 
66ebb3
 #######################################################################
66ebb3
 # (7) Execute "local" rules. (OPTIONAL).                              #
66ebb3
diff -up ./nss/lib/nss/Makefile.iquote ./nss/lib/nss/Makefile
66ebb3
--- ./nss/lib/nss/Makefile.iquote	2014-01-03 11:59:10.000000000 -0800
66ebb3
+++ ./nss/lib/nss/Makefile	2014-01-18 11:31:32.310404704 -0800
66ebb3
@@ -37,7 +37,8 @@ include $(CORE_DEPTH)/coreconf/rules.mk
66ebb3
 # (6) Execute "component" rules. (OPTIONAL)                           #
66ebb3
 #######################################################################
66ebb3
 
66ebb3
-
66ebb3
+INCLUDES += -iquote $(DIST)/../public/nss
66ebb3
+INCLUDES += -iquote $(DIST)/../private/nss
66ebb3
 
66ebb3
 #######################################################################
66ebb3
 # (7) Execute "local" rules. (OPTIONAL).                              #
054978
diff -up ./nss/lib/ssl/Makefile.iquote ./nss/lib/ssl/Makefile
054978
--- ./nss/lib/ssl/Makefile.iquote	2015-06-05 15:42:16.661963153 -0700
054978
+++ ./nss/lib/ssl/Makefile	2015-06-05 15:43:25.862697604 -0700
054978
@@ -49,6 +49,7 @@ include $(CORE_DEPTH)/coreconf/rules.mk
054978
 # (6) Execute "component" rules. (OPTIONAL)                           #
054978
 #######################################################################
054978
 
054978
+INCLUDES += -iquote $(DIST)/../public/nss
054978
 
054978
 
054978
 #######################################################################