From a6299cdca87c704a5d533531850cef6fafb63005 Mon Sep 17 00:00:00 2001 From: "nisheeth%netscape.com" Date: Mon, 13 Sep 1999 18:56:01 +0000 Subject: [PATCH] Include stopwatch class in build if MOZ_PERF is set. Only enabled on Windows right now. git-svn-id: svn://10.0.0.236/trunk@47140 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/modules/libutil/public/makefile.win | 5 ++++- mozilla/modules/libutil/src/makefile.win | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/mozilla/modules/libutil/public/makefile.win b/mozilla/modules/libutil/public/makefile.win index 6adf5902bd6..a559cc3b41f 100644 --- a/mozilla/modules/libutil/public/makefile.win +++ b/mozilla/modules/libutil/public/makefile.win @@ -20,6 +20,9 @@ MODULE=util DEPTH=..\..\.. -EXPORTS=xp_obs.h +EXPORTS=xp_obs.h \ +!if defined(MOZ_PERF) +stopwatch.h +!endif !include $(DEPTH)\config\rules.mak diff --git a/mozilla/modules/libutil/src/makefile.win b/mozilla/modules/libutil/src/makefile.win index 08531e9611c..e10d5ef4894 100644 --- a/mozilla/modules/libutil/src/makefile.win +++ b/mozilla/modules/libutil/src/makefile.win @@ -18,10 +18,15 @@ MODULE=util DEPTH=..\..\.. CSRCS=obs.c +!if defined(MOZ_PERF) +CPPSRCS=stopwatch.cpp +CPP_OBJS=.\$(OBJDIR)\stopwatch.obj +!endif REQUIRES=nspr util LIBRARY_NAME=util C_OBJS=.\$(OBJDIR)\obs.obj + !include $(DEPTH)\config\rules.mak install:: $(LIBRARY)