-# /W3 warning level 3 (0 less - 4 most, 1 default)
-# /Zi create .pdb file for debugging
-# /MD use "Multithreading Debug" libraries
-# /D_CRT_SECURE_NO_DEPRECATE Don't warn for "insecure" calls, see MSDN "Security Enhancements in the CRT"
-# /D_CRT_NONSTDC_NO_DEPRECATE Don't warn for "Deprecated CRT Functions" as MSDN calls this
-# /D_BIND_TO_CURRENT_CRT_VERSION=1 Make sure our CRT and manifest versions match (http://msdn.microsoft.com/en-us/library/cc664727.aspx)
-# /DWIN32_LEAN_AND_MEAN Don't include unnecessary Windows include files (see windows.h)
-# /MANIFEST:no Don't create a SxS manifest. Makes sure our plugins don't load a second copy of the CRT.
-#
-!IF "$(MSVC_VARIANT)" == "MSVC6" || "$(MSVC_VARIANT)" == "MSVC2002" || "$(MSVC_VARIANT)" == "DOTNET10" || "$(MSVC_VARIANT)" == "MSVC2003" || "$(MSVC_VARIANT)" == "DOTNET11"
-LOCAL_CFLAGS=/Zi /W3 /MD /DWIN32_LEAN_AND_MEAN /DMSC_VER_REQUIRED=$(MSC_VER_REQUIRED)
-!ELSEIF "$(MSVC_VARIANT)" == "MSVC2005" || "$(MSVC_VARIANT)" == "MSVC2005EE" || "$(MSVC_VARIANT)" == "DOTNET20" || "$(MSVC_VARIANT)" == "MSVC2008" || "$(MSVC_VARIANT)" == "MSVC2008EE" || "$(MSVC_VARIANT)" == "MSVC2010" || "$(MSVC_VARIANT)" == "MSVC2010EE"
-LOCAL_CFLAGS=/Zi /W3 /MD /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /DWIN32_LEAN_AND_MEAN /DMSC_VER_REQUIRED=$(MSC_VER_REQUIRED)
+# /W3 Warning level 3 (0 less - 4 most, 1 default).
+# /Zi Create .pdb file for debugging.
+# /FR Create .sbr file with complete symbolic information.
+# add to standard CFLAGS if you want to build the .sbr files
+# for Wireshark compiles.
+# Warning: using /FR for Wireshark requires ~1Gig of additional disk space
+# XXX: provides less functionality for VC8, ... than for previous compilers ?
+# /MD Use "multithread- and DLL-specific version" of run-time libraries.
+# msvc documentation states that /MD causes _MT and _DLL to be defined
+# See: http://msdn.microsoft.com/en-us/library/2kzt1wy3%28v=VS.90%29.aspx
+# /D_CRT_SECURE_NO_DEPRECATE Don't warn for "insecure" calls;
+# see MSDN "Security Enhancements in the CRT".
+# /D_CRT_NONSTDC_NO_DEPRECATE Don't warn for "Deprecated CRT Functions" as MSDN calls this.
+# /D_BIND_TO_CURRENT_CRT_VERSION=1 Make sure our CRT and manifest versions match.
+# (http://msdn.microsoft.com/en-us/library/cc664727.aspx)
+# /DWIN32_LEAN_AND_MEAN Don't include unnecessary Windows include files (see windows.h).
+# /MANIFEST:no Don't create a SxS manifest. Makes sure our plugins don't load
+# a second copy of the CRT.
+#
+##Note: LOCAL_CFLAGS are flags used for *all* compilations
+## STANDARD_CFLAGS (see below) are flags used just for *Wireshark* compilations
+!IF "$(MSVC_VARIANT)" == "MSVC2005" || \
+ "$(MSVC_VARIANT)" == "MSVC2005EE" || \
+ "$(MSVC_VARIANT)" == "DOTNET20" || \
+ "$(MSVC_VARIANT)" == "MSVC2008" || \
+ "$(MSVC_VARIANT)" == "MSVC2008EE" || \
+ "$(MSVC_VARIANT)" == "MSVC2010" || \
+ "$(MSVC_VARIANT)" == "MSVC2010EE"
+LOCAL_CFLAGS=/Zi /W3 /MD /DWIN32_LEAN_AND_MEAN /DMSC_VER_REQUIRED=$(MSC_VER_REQUIRED) \
+ /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
+