1 UNIQUE_FILTER_PIPE
= tr
[:space
:] \\n |
sort | uniq
2 BUILD_DATA_DIR
= $(top_builddir
)/bin
/share
/$(PACKAGE
)
4 INSTALL_ICONS
= $(top_srcdir
)/build
/private-icon-theme-installer
"$(mkinstalldirs)" "$(INSTALL_DATA)"
6 INSTALL_DIR_RESOLVED
= $(firstword $(subst , $(DEFAULT_INSTALL_DIR
), $(INSTALL_DIR
)))
8 FILTERED_LINK
= $(shell echo
"$(LINK)" |
$(UNIQUE_FILTER_PIPE
))
9 DEP_LINK
= $(shell echo
"$(LINK)" |
$(UNIQUE_FILTER_PIPE
) | sed s
,-r
:,,g | grep
'$(top_builddir)/bin/')
10 DLL_MAP_VERIFIER_ASSEMBLY_NAME
= dll-map-verifier.exe
11 DLL_MAP_VERIFIER_ASSEMBLY
= $(top_srcdir
)/build
/$(DLL_MAP_VERIFIER_ASSEMBLY_NAME
)
13 moduledir
= $(INSTALL_DIR_RESOLVED
)
14 module_SCRIPTS
= $(OUTPUT_FILES
)
19 @pushd
$(top_builddir
); \
24 @pushd
$(top_builddir
)/tests
; \
31 $(DLL_MAP_VERIFIER_ASSEMBLY
): $(top_srcdir
)/build
/DllMapVerifier.cs
34 $(ASSEMBLY_FILE
).mdb
: $(ASSEMBLY_FILE
)
36 $(ASSEMBLY_FILE
): $(SOURCES_BUILD
) $(RESOURCES_EXPANDED
) $(DEP_LINK
) $(DLL_MAP_VERIFIER_ASSEMBLY
)
37 @mkdir
-p
$(top_builddir
)/bin
38 @if
[ ! "x$(ENABLE_RELEASE)" = "xyes" ]; then \
39 $(top_srcdir
)/build
/dll-map-makefile-verifier
$(srcdir)/Makefile.am
$(srcdir)/$(notdir $@.config
) && \
40 $(MONO
) $(top_builddir
)/build
/$(DLL_MAP_VERIFIER_ASSEMBLY_NAME
) \
41 $(srcdir)/$(notdir $@.config
) \
49 -ilibgtkmacintegration-gtk3.dylib \
55 $(ASSEMBLY_BUILD_FLAGS
) \
57 -debug
-target
:$(TARGET
) -out
:$@ \
58 $(BUILD_DEFINES
) $(ENABLE_TESTS_FLAG
) \
59 $(FILTERED_LINK
) $(RESOURCES_BUILD
) $(SOURCES_BUILD
)
60 @if
[ -e
$(srcdir)/$(notdir $@.config
) ]; then \
61 cp
$(srcdir)/$(notdir $@.config
) $(top_builddir
)/bin
; \
63 @if
[ ! -z
"$(EXTRA_BUNDLE)" ]; then \
64 cp
$(EXTRA_BUNDLE
) $(top_builddir
)/bin
; \
67 theme-icons
: $(THEME_ICONS_SOURCE
)
68 @
$(INSTALL_ICONS
) -il
"$(BUILD_DATA_DIR)" "$(srcdir)" $(THEME_ICONS_RELATIVE
)
70 install-data-hook
: $(THEME_ICONS_SOURCE
)
71 @
$(INSTALL_ICONS
) -i
"$(DESTDIR)$(pkgdatadir)" "$(srcdir)" $(THEME_ICONS_RELATIVE
)
72 $(EXTRA_INSTALL_DATA_HOOK
)
74 uninstall-hook
: $(THEME_ICONS_SOURCE
)
75 @
$(INSTALL_ICONS
) -u
"$(DESTDIR)$(pkgdatadir)" "$(srcdir)" $(THEME_ICONS_RELATIVE
)
76 $(EXTRA_UNINSTALL_HOOK
)