From 0261bf18496b5fc02864a21c0711e07935f3d2f5 Mon Sep 17 00:00:00 2001 From: "dougt%netscape.com" Date: Thu, 12 Sep 2002 19:12:13 +0000 Subject: [PATCH] exports nspr into dist/sdk. patch by cls, r=me, b=168077 --- config/Makefile.in | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config/Makefile.in b/config/Makefile.in index ab3a92dc4fe3..5e00354a5e0b 100644 --- a/config/Makefile.in +++ b/config/Makefile.in @@ -106,6 +106,17 @@ export:: $(TARGETS) $(HEADERS) -rm -f $(FINAL_LINK_COMPS) $(FINAL_LINK_LIBS) $(FINAL_LINK_COMP_NAMES) -rm -f $(DIST)/bin/chrome/chromelist.txt + +# Create mini-SDK directory for NSPR +ifndef MOZ_NATIVE_NSPR +_ABS_DIST=$(shell cd $(DIST) && pwd) +libs:: + $(RM) -rf $(DIST)/sdk/nspr + $(MAKE) -C $(DEPTH)/nsprpub real_install prefix=$(_ABS_DIST)/sdk/nspr includedir=$(_ABS_DIST)/sdk/nspr/include + $(RM) -rf $(DIST)/sdk/nspr/bin $(DIST)/sdk/nspr/share + mv $(DIST)/sdk/nspr/lib $(DIST)/sdk/nspr/bin +endif + # we don't use an explicit dependency here because then we would # regenerate nsBuildID.h during the make install phase and that would # be bad.