diff options
author | larryh%netscape.com <devnull@localhost> | 1999-02-12 19:36:35 +0000 |
---|---|---|
committer | larryh%netscape.com <devnull@localhost> | 1999-02-12 19:36:35 +0000 |
commit | 4738dfd19771f87985fb6ad094f8b19785a3ad4b (patch) | |
tree | 7057b83c65fc7fee0c604a41b98f6ae19d72b660 | |
parent | e80d804cd406a04d28f1ee14d6d7d1868a0958cb (diff) | |
download | nspr-hg-4738dfd19771f87985fb6ad094f8b19785a3ad4b.tar.gz |
add profiling capability for win32
-rw-r--r-- | config/WIN32.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/WIN32.mk b/config/WIN32.mk index 138755fe..321d109e 100644 --- a/config/WIN32.mk +++ b/config/WIN32.mk @@ -86,6 +86,14 @@ endif OBJDIR_TAG = _DBG LDFLAGS = -DEBUG -DEBUGTYPE:CV +# +# When PROFILE=1 is defined, set the compile and link options +# to build targets for use by the ms-win32 profiler +# +ifdef PROFILE +LDFLAGS += -PROFILE -MAP +DLLFLAGS += -PROFILE -MAP +endif endif DEFINES += -DWIN32 |