# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

OS_LIBS += $(call EXPAND_LIBNAME,comctl32 ws2_32 shell32)

MOZ_WINCONSOLE = 1

include $(topsrcdir)/config/rules.mk

libs:: TestXREMakeCommandLineWin.ini
	$(INSTALL) $^ $(FINAL_TARGET)/

check::
	@echo 'Running TestXREMakeCommandLineWin tests'
	@$(RUN_TEST_PROGRAM) $(FINAL_TARGET)/TestXREMakeCommandLineWin.exe
	@echo 'Running TestDllInterceptor tests'
	@$(RUN_TEST_PROGRAM) $(FINAL_TARGET)/TestDllInterceptor.exe
