diff --git a/editor/Makefile.in b/editor/Makefile.in index d8d410c150f1..da60c7f7cb71 100644 --- a/editor/Makefile.in +++ b/editor/Makefile.in @@ -22,11 +22,14 @@ srcdir = @srcdir@ include $(DEPTH)/config/autoconf.mk -DIRS = public core +DIRS = public +ifdef MOZ_EDITOR +DIRS += core ifdef ENABLE_TESTS DIRS += tests endif +endif include $(topsrcdir)/config/config.mk