1 build_sources = $(FILES) $(GENERATED_FILES)
2 build_sources_embed = $(build_sources:%='$(srcdir)/%')
5 build_resx_list = $(foreach res, $(RESOURCES), $(if $(filter %.resx, $(firstword $(subst $(comma__), ,$(res)))),$(res),))
6 build_others_list = $(foreach res, $(RESOURCES), $(if $(filter %.resx, $(firstword $(subst $(comma__), ,$(res)))), ,$(res)))
7 build_xamlg_list = $(filter %.xaml.g.cs, $(FILES))
9 build_resx_files = $(foreach res, $(build_resx_list), $(firstword $(subst $(comma__), ,$(res))))
10 build_resx_resources = $(build_resx_files:.resx=.resources)
11 build_resx_resources_hack = $(subst .resx,.resources, $(build_resx_list))
12 build_resx_resources_embed = $(build_resx_resources_hack:%='-resource:%')
14 build_others_files = $(foreach res, $(build_others_list), $(firstword $(subst $(comma__), ,$(res))))
15 build_others_resources = $(build_others_files)
16 build_others_resources_embed = $(build_others_list:%='-resource:$(srcdir)/%')
18 build_resources = $(build_resx_resources) $(build_others_resources)
19 build_resources_embed = $(build_resx_resources_embed) $(build_others_resources_embed)
21 build_references_ref = $(foreach ref, $(REFERENCES), $(if $(filter -pkg:%, $(ref)), $(ref), $(if $(filter -r:%, $(ref)), $(ref), -r:$(ref))))
22 build_references_ref += $(foreach ref, $(DLL_REFERENCES), -r:$(ref))
23 build_references_ref += $(foreach ref, $(PROJECT_REFERENCES), -r:$(ref))
25 EXTRA_DIST += $(build_sources) $(build_resx_files) $(build_others_files) $(ASSEMBLY_WRAPPER_IN) $(EXTRAS) $(DATA_FILES)
26 CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(BINARIES) $(build_resx_resources)
27 DISTCLEANFILES = $(GENERATED_FILES) $(pc_files) $(BUILD_DIR)/*
29 pkglib_SCRIPTS = $(ASSEMBLY)
30 bin_SCRIPTS = $(BINARIES)
32 linuxpkgconfigdir = @prefix@/lib/pkgconfig
33 linuxpkgconfig_DATA = $(LINUX_PKGCONFIG)