Restored the GLOWCODE stuff. NSPRPUB_RELEASE_3_0_LANDING_BRANCH
authorwtc%netscape.com
Tue, 22 Sep 1998 23:05:58 +0000
branchNSPRPUB_RELEASE_3_0_LANDING_BRANCH
changeset 254 d655562e82ce72df1d0e2b5e4b8118f0b99de696
parent 253 4a7cc5ada77498e2a095c29933c65fefd88952cc
child 255 ce164adf6da875aac2cd7df9a7193d740b403e50
push idunknown
push userunknown
push dateunknown
Restored the GLOWCODE stuff.
lib/libc/src/Makefile
lib/msgc/src/Makefile
pr/src/Makefile
--- a/lib/libc/src/Makefile
+++ b/lib/libc/src/Makefile
@@ -55,16 +55,23 @@ RELEASE_LIBS = $(TARGETS)
 ifeq ($(OS_ARCH),WINNT)
 ifeq (,$(filter-out WIN16 OS2,$(OS_TARGET)))
 EXTRA_LIBS = $(DIST)/lib/nspr$(MOD_VERSION).lib
 else
 DLLBASE=/BASE:0x30000000
 RES=$(OBJDIR)/plc.res
 RESNAME=$(MOD_DEPTH)/pr/src/nspr.rc
 EXTRA_LIBS = $(DIST)/lib/libnspr$(MOD_VERSION).lib
+
+ifdef MOZ_DEBUG
+ifdef GLOWCODE
+EXTRA_LIBS += $(GLOWDIR)/glowcode.lib
+endif
+endif
+
 endif
 else
 ifeq ($(OS_ARCH), AIX)
 ifeq ($(CLASSIC_NSPR),1)
 OS_LIBS += -lc
 else
 OS_LIBS += -lc_r
 endif
--- a/lib/msgc/src/Makefile
+++ b/lib/msgc/src/Makefile
@@ -52,16 +52,23 @@ ifeq ($(OS_ARCH), WINNT)
 ifeq (,$(filter-out WIN16 OS2,$(OS_TARGET)))
 EXTRA_LIBS = $(DIST)/lib/nspr$(NSPR_VERSION).lib
 else
 DLLBASE=/BASE:0x30000000
 #RES=$(OBJDIR)/ds.res
 #RESNAME=$(MOD_DEPTH)/pr/src/nspr.rc
 #OS_LIBS = user32.lib
 EXTRA_LIBS = $(DIST)/lib/libnspr$(NSPR_VERSION).lib
+
+ifdef MOZ_DEBUG
+ifdef GLOWCODE
+EXTRA_LIBS += $(GLOWDIR)/glowcode.lib
+endif
+endif
+
 endif
 else
 ifeq ($(OS_ARCH), AIX)
 ifeq ($(CLASSIC_NSPR),1)
 OS_LIBS += -lc
 else
 OS_LIBS += -lc_r
 endif
--- a/pr/src/Makefile
+++ b/pr/src/Makefile
@@ -208,16 +208,21 @@ ifeq ($(USE_IPV6), 1)
 OBJS += io/$(OBJDIR)/pripv6.$(OBJ_SUFFIX)
 endif
 
 ifeq ($(OS_ARCH), WINNT)
 ifneq (,$(filter-out WIN16 OS2,$(OS_TARGET)))
 DLLBASE=/BASE:0x30000000
 RES=$(OBJDIR)/nspr.res
 RESNAME=nspr.rc
+ifdef MOZ_DEBUG
+ifdef GLOWCODE
+EXTRA_LIBS += $(GLOWDIR)/glowcode.lib
+endif
+endif
 endif
 
 ifeq ($(OS_TARGET), WIN16)
 OBJS +=	md/windows/$(OBJDIR)/w16null.$(OBJ_SUFFIX) \
 	md/windows/$(OBJDIR)/w16proc.$(OBJ_SUFFIX)      \
 	md/windows/$(OBJDIR)/w16thred.$(OBJ_SUFFIX)      \
 	md/windows/$(OBJDIR)/w16fmem.$(OBJ_SUFFIX)      \
 	md/windows/$(OBJDIR)/w16sock.$(OBJ_SUFFIX)      \