d444f0caa4
Former-commit-id: a99f46acaeba3ab496c7afc02c29b839e30a0d0b
34 lines
914 B
Makefile
34 lines
914 B
Makefile
thisdir = class/Microsoft.Build.Utilities
|
|
SUBDIRS =
|
|
include ../../build/rules.make
|
|
|
|
XBUILD_DIR=$(topdir)/tools/xbuild
|
|
include $(XBUILD_DIR)/xbuild.make
|
|
|
|
LIBRARY = Microsoft.Build.Utilities.dll
|
|
LIBRARY_NAME = Microsoft.Build.Utilities$(NAME_SUFFIX).dll
|
|
|
|
LIB_REFS = System System.Core System.Xml
|
|
LIB_MCS_FLAGS = \
|
|
/r:$(corlib) \
|
|
/r:System.dll \
|
|
/r:System.Core.dll \
|
|
/r:System.Xml.dll \
|
|
/r:$(XBUILD_FRAMEWORK)
|
|
|
|
TEST_RESX_RESOURCES = Test/Microsoft.Build.Utilities/Strings.resources
|
|
|
|
TEST_MCS_FLAGS = /r:$(XBUILD_ENGINE) /r:$(XBUILD_FRAMEWORK) -r:System.dll -r:System.Core.dll $(TEST_RESX_RESOURCES:%=-resource:%)
|
|
|
|
include $(XBUILD_DIR)/xbuild_test.make
|
|
include ../../build/library.make
|
|
|
|
EXTRA_DISTFILES = $(TEST_RESX_RESOURCES:.resources=.resx)
|
|
|
|
CLEAN_FILES += $(TEST_RESX_RESOURCES)
|
|
|
|
$(TEST_RESX_RESOURCES): %.resources: %.resx
|
|
$(RESGEN) $< || cp $@.prebuilt $@
|
|
|
|
$(test_lib): $(TEST_RESX_RESOURCES)
|