[build] Add the assemblies in LIB_REFS to LIB_MCS_FLAGS automatically to reduce dupli...
[mono-project.git] / mcs / class / System.ComponentModel.Composition.4.5 / Makefile
blobb5f9682cc3f635beeed1873707e1c164298673f5
1 thisdir = class/System.ComponentModel.Composition.4.5
2 SUBDIRS =
3 include ../../build/rules.make
5 LIBRARY = System.ComponentModel.Composition.dll
6 LIB_REFS = System System.Core
7 LIB_MCS_FLAGS = -d:CLR40 -resource:$(STRING_MESSAGES) -d:USE_ECMA_KEY,FEATURE_REFLECTIONCONTEXT,FEATURE_REFLECTIONFILEIO,FEATURE_SERIALIZATION,FEATURE_SLIMLOCK -nowarn:219,414
9 STRING_MESSAGES = Microsoft.Internal.Strings.resources
11 CLEAN_FILES += $(STRING_MESSAGES)
13 EXTRA_DISTFILES = \
14 src/ComponentModel/Strings.resx
16 VALID_PROFILE := $(filter net_4_5 monotouch monodroid xammac mobile mobile_static, $(PROFILE))
17 ifndef VALID_PROFILE
18 LIBRARY_NAME = dummy-System.ComponentModel.Composition.dll
19 NO_INSTALL = yes
20 NO_SIGN_ASSEMBLY = yes
21 NO_TEST = yes
22 endif
24 include ../../build/library.make
26 $(the_lib): $(STRING_MESSAGES)
28 $(STRING_MESSAGES): src/ComponentModel/Strings.resx
29 $(RESGEN) $< $@