diff --git a/htmlparser/robot/test/Makefile.in b/htmlparser/robot/test/Makefile.in
index 96b7f3ef8f6..2d6a69f0af4 100644
--- a/htmlparser/robot/test/Makefile.in
+++ b/htmlparser/robot/test/Makefile.in
@@ -28,7 +28,6 @@ include $(DEPTH)/config/autoconf.mk
PROGRAM = htmlrobot$(BIN_SUFFIX)
-
CPPSRCS = RobotMain.cpp
ifeq ($(USE_SHORT_LIBNAME),1)
@@ -41,6 +40,7 @@ LIBS = \
$(EXTRA_DSO_LIBS) \
$(LOST_SYM_LIBS) \
$(MOZ_COMPONENT_LIBS) \
+ -L$(DIST)/bin/components -lhtmlpars \
$(NULL)
include $(topsrcdir)/config/config.mk
@@ -57,3 +57,5 @@ include $(topsrcdir)/config/rules.mk
DEFINES += -DUSE_NSREG
+test:
+ @echo MOZ_COMPONENT_LIBS = $(MOZ_COMPONENT_LIBS)
diff --git a/htmlparser/tests/outsinks/Makefile.in b/htmlparser/tests/outsinks/Makefile.in
index f59d863a7ee..5a0ead8ff0f 100644
--- a/htmlparser/tests/outsinks/Makefile.in
+++ b/htmlparser/tests/outsinks/Makefile.in
@@ -34,6 +34,7 @@ CPPSRCS = \
$(NULL)
LIBS = \
+ -L$(DIST)/bin/components -lhtmlpars \
$(XPCOM_LIBS) \
$(MOZ_JS_LIBS) \
$(NSPR_LIBS) \
diff --git a/parser/htmlparser/robot/test/Makefile.in b/parser/htmlparser/robot/test/Makefile.in
index 96b7f3ef8f6..2d6a69f0af4 100644
--- a/parser/htmlparser/robot/test/Makefile.in
+++ b/parser/htmlparser/robot/test/Makefile.in
@@ -28,7 +28,6 @@ include $(DEPTH)/config/autoconf.mk
PROGRAM = htmlrobot$(BIN_SUFFIX)
-
CPPSRCS = RobotMain.cpp
ifeq ($(USE_SHORT_LIBNAME),1)
@@ -41,6 +40,7 @@ LIBS = \
$(EXTRA_DSO_LIBS) \
$(LOST_SYM_LIBS) \
$(MOZ_COMPONENT_LIBS) \
+ -L$(DIST)/bin/components -lhtmlpars \
$(NULL)
include $(topsrcdir)/config/config.mk
@@ -57,3 +57,5 @@ include $(topsrcdir)/config/rules.mk
DEFINES += -DUSE_NSREG
+test:
+ @echo MOZ_COMPONENT_LIBS = $(MOZ_COMPONENT_LIBS)
diff --git a/parser/htmlparser/tests/outsinks/Makefile.in b/parser/htmlparser/tests/outsinks/Makefile.in
index f59d863a7ee..5a0ead8ff0f 100644
--- a/parser/htmlparser/tests/outsinks/Makefile.in
+++ b/parser/htmlparser/tests/outsinks/Makefile.in
@@ -34,6 +34,7 @@ CPPSRCS = \
$(NULL)
LIBS = \
+ -L$(DIST)/bin/components -lhtmlpars \
$(XPCOM_LIBS) \
$(MOZ_JS_LIBS) \
$(NSPR_LIBS) \