diff --git a/webshell/embed/makefile.win b/webshell/embed/makefile.win index 25b0de29c9d..579de5f1973 100644 --- a/webshell/embed/makefile.win +++ b/webshell/embed/makefile.win @@ -18,15 +18,13 @@ DEPTH=..\.. IGNORE_MANIFEST=1 -!if ("$(MSSDK)" != "") || defined(NGPREFS) -DIRS= \ -!if "$(MSSDK)" != "" - ActiveX \ -!endif -!if defined(NGPREFS) - ngprefs \ -!endif - $(NULL) +!if defined(MOZ_ACTIVEX_SUPPORT) +DIRS = $(DIRS) ActiveX !endif +!if defined(NGPREFS) +DIRS = $(DIRS) ngprefs +!endif + + include <$(DEPTH)\config\rules.mak>