diff --git a/nsprpub/pr/src/Makefile b/nsprpub/pr/src/Makefile index 5241380ea42..94c5385785a 100644 --- a/nsprpub/pr/src/Makefile +++ b/nsprpub/pr/src/Makefile @@ -165,6 +165,7 @@ OBJS = \ io/$(OBJDIR)/prscanf.$(OBJ_SUFFIX) \ io/$(OBJDIR)/prstdio.$(OBJ_SUFFIX) \ threads/$(OBJDIR)/prcmon.$(OBJ_SUFFIX) \ + threads/$(OBJDIR)/prrwlock.$(OBJ_SUFFIX) \ threads/$(OBJDIR)/prtpd.$(OBJ_SUFFIX) \ linking/$(OBJDIR)/prlink.$(OBJ_SUFFIX) \ malloc/$(OBJDIR)/prmalloc.$(OBJ_SUFFIX) \ diff --git a/nsprpub/pr/src/threads/Makefile b/nsprpub/pr/src/threads/Makefile index bc0e39864ea..e6973c01894 100644 --- a/nsprpub/pr/src/threads/Makefile +++ b/nsprpub/pr/src/threads/Makefile @@ -41,12 +41,14 @@ endif ifdef USE_PTHREADS CSRCS = \ prcmon.c \ + prrwlock.c \ prtpd.c \ $(NULL) else ifdef USE_BTHREADS CSRCS = \ prcmon.c \ + prrwlock.c \ prtpd.c \ $(NULL) else @@ -55,6 +57,7 @@ CSRCS = \ prdump.c \ prmon.c \ prsem.c \ + prrwlock.c \ prcthr.c \ prtpd.c \ $(NULL) diff --git a/nsprpub/pr/tests/Makefile b/nsprpub/pr/tests/Makefile index 9ce3c007c49..de8b210c78e 100644 --- a/nsprpub/pr/tests/Makefile +++ b/nsprpub/pr/tests/Makefile @@ -99,6 +99,8 @@ CSRCS = \ prftest2.c \ priotest.c \ provider.c \ + ranfile.c \ + rwlocktest.c \ prpoll.c \ ranfile.c \ sel_spd.c \ @@ -185,6 +187,9 @@ else LDOPTS = -NOLOGO -DEBUG -DEBUGTYPE:CV -INCREMENTAL:NO LIBPR = $(DIST)/lib/libnspr$(MOD_VERSION).$(LIB_SUFFIX) LIBPLC= $(DIST)/lib/libplc$(MOD_VERSION).$(LIB_SUFFIX) + ifdef PROFILE + LDOPTS += -PROFILE -MAP + endif # profile endif endif endif