Blame Makefile.glib

rpm-build 4f3c61
# -*- Mode: makefile -*-
rpm-build 4f3c61
#
rpm-build 4f3c61
# To use:
rpm-build 4f3c61
#
rpm-build 4f3c61
# In configure.ac:
rpm-build 4f3c61
#   add -Wno-portability to AM_INIT_AUTOMAKE
rpm-build 4f3c61
#   add GLIB_CONFIG([min-version[, required-modules]])
rpm-build 4f3c61
#   (remove AM_PATH_GLIB_2_0 and GLIB_GSETTINGS)
rpm-build 4f3c61
#
rpm-build 4f3c61
# Add to Makefile.am where your library/program is built:
rpm-build 4f3c61
#   include $(GLIB_MAKEFILE)
rpm-build 4f3c61
#
rpm-build 4f3c61
#   BUILT_SOURCES = $(GLIB_GENERATED)
rpm-build 4f3c61
#
rpm-build 4f3c61
# Add *.stamp to .gitignore
rpm-build 4f3c61
#
rpm-build 4f3c61
# Add a GLIB_GENERATED variable with the files you want to generate,
rpm-build 4f3c61
# as described below. (The examples below use filenames with hyphens,
rpm-build 4f3c61
# eg foo-marshal.h, but you can omit the hyphens if that matches your
rpm-build 4f3c61
# file naming scheme better.)
rpm-build 4f3c61
#
rpm-build 4f3c61
# You do not need to modify CLEANFILES or EXTRA_DIST for any of these
rpm-build 4f3c61
# macros.
rpm-build 4f3c61
rpm-build 4f3c61
rpm-build 4f3c61
# glib-genmarshal
rpm-build 4f3c61
#
rpm-build 4f3c61
# To generate signal marshallers, add files with names ending in
rpm-build 4f3c61
# "marshal.h" and "marshal.c" to GLIB_GENERATED:
rpm-build 4f3c61
#
rpm-build 4f3c61
#    GLIB_GENERATED += foo-marshal.h foo-marshal.c
rpm-build 4f3c61
#    foo_marshal_sources = aaa.c bbb.c ccc.c ddd.c
rpm-build 4f3c61
#
rpm-build 4f3c61
# Makefile.glib will then generate a foo-marshal.list file containing
rpm-build 4f3c61
# all _foo_marshal_* functions referenced by $(foo_marshal_sources),
rpm-build 4f3c61
# and will rebuild foo-marshal.c/foo-marshal.h whenever the list
rpm-build 4f3c61
# changes.
rpm-build 4f3c61
#
rpm-build 4f3c61
# For your convenience, any .h files or $(GLIB_GENERATED) files in
rpm-build 4f3c61
# $(foo_marshal_sources) will be ignored. This means you can usually just
rpm-build 4f3c61
# set foo_marshal_sources to the value of your library/program's
rpm-build 4f3c61
# _SOURCES variable, even if that variable contains foo-marshal.c.
rpm-build 4f3c61
#
rpm-build 4f3c61
# You can set GLIB_GENMARSHAL_H_FLAGS and GLIB_GENMARSHAL_C_FLAGS (or
rpm-build 4f3c61
# an appropriate file-specific variable, eg
rpm-build 4f3c61
# foo_marshal_GENMARSHAL_H_FLAGS) to set/override glib-genmarshal
rpm-build 4f3c61
# options.
rpm-build 4f3c61
rpm-build 4f3c61
rpm-build 4f3c61
# glib-mkenums
rpm-build 4f3c61
#
rpm-build 4f3c61
# To generate enum type registrations, add files with names ending
rpm-build 4f3c61
# in "-enum-types.[ch]" or "enumtypes.[ch]" to GLIB_GENERATED:
rpm-build 4f3c61
#
rpm-build 4f3c61
#    GLIB_GENERATED += foo-enum-types.h foo-enum-types.c
rpm-build 4f3c61
#    foo_enum_types_sources = aaa.h bbb.h ccc.h ddd.h
rpm-build 4f3c61
#
rpm-build 4f3c61
# Makefile.glib will create a list all of the enum/flags types
rpm-build 4f3c61
# declared in $(foo_enum_type_sources), and will rebuild
rpm-build 4f3c61
# foo-enum-types.c/foo-enum-types.h whenever that list changes. (No
rpm-build 4f3c61
# template files are required.)
rpm-build 4f3c61
#
rpm-build 4f3c61
# For your convenience, any .c files or $(GLIB_GENERATED) files in
rpm-build 4f3c61
# $(foo_enum_types_sources) will be ignored. This means you can
rpm-build 4f3c61
# usually set foo_enum_types_sources to the value of your
rpm-build 4f3c61
# library/program's _HEADERS and/or _SOURCES variables, even if that
rpm-build 4f3c61
# contains foo-enum-types.h.
rpm-build 4f3c61
#
rpm-build 4f3c61
# You can set GLIB_MKENUMS_H_FLAGS and GLIB_MKENUMS_C_FLAGS (or an
rpm-build 4f3c61
# appropriate file-specific variable, eg
rpm-build 4f3c61
# foo_enum_types_MKENUMS_H_FLAGS) to set/override glib-mkenums
rpm-build 4f3c61
# options. In particular, you can do:
rpm-build 4f3c61
#
rpm-build 4f3c61
#     GLIB_MKENUMS_C_FLAGS = --fhead "\#define FOO_I_KNOW_THIS_IS_UNSTABLE"
rpm-build 4f3c61
#
rpm-build 4f3c61
# (The backslash is necessary to keep make from thinking the "#" is
rpm-build 4f3c61
# the start of a comment.)
rpm-build 4f3c61
rpm-build 4f3c61
rpm-build 4f3c61
# glib-compile-schemas
rpm-build 4f3c61
#
rpm-build 4f3c61
# Any foo.gschemas.xml files listed in gsettingsschema_DATA will be
rpm-build 4f3c61
# validated before installation, and (if --disable-schemas-compile was
rpm-build 4f3c61
# not passed) compiled after installation.
rpm-build 4f3c61
#
rpm-build 4f3c61
# To build an enums file, add it to GLIB_GENERATED (in addition to
rpm-build 4f3c61
# gsettingsschema_DATA):
rpm-build 4f3c61
#
rpm-build 4f3c61
#     GLIB_GENERATED += org.gnome.foo.enums.xml
rpm-build 4f3c61
#     org_gnome_foo_enums_xml_sources = aaa.h bbb.h ccc.h ddd.h
rpm-build 4f3c61
#
rpm-build 4f3c61
# All enums files will be built before any schema files are validated.
rpm-build 4f3c61
rpm-build 4f3c61
rpm-build 4f3c61
########
rpm-build 4f3c61
rpm-build 4f3c61
# Notes on Makefile.glib hacking:
rpm-build 4f3c61
#
rpm-build 4f3c61
#   - The exact rules that automake generates for a Makefile vary
rpm-build 4f3c61
#     depending on what sorts of things were done in the Makefile.am,
rpm-build 4f3c61
#     so we have to be careful with what rules we assume are there.
rpm-build 4f3c61
#     In particular, (a) the glue to handle BUILT_SOURCES and the
rpm-build 4f3c61
#     various hooks won't be output unless those things were
rpm-build 4f3c61
#     referenced in the Makefile.am, and (b) a Makefile.am with
rpm-build 4f3c61
#     SUBDIRS will get different rules than one without.
rpm-build 4f3c61
#
rpm-build 4f3c61
#   - Build rules should always refer to their dependencies via $^,
rpm-build 4f3c61
#     not by reusing a variable that is listed in the rule's
rpm-build 4f3c61
#     dependencies. This is needed to make srcdir!=builddir builds
rpm-build 4f3c61
#     work. You can use $(filter)/$(filter-out) if $^ has things
rpm-build 4f3c61
#     you don't want in it.
rpm-build 4f3c61
#
rpm-build 4f3c61
#   - When using a filename as something other than a filename,
rpm-build 4f3c61
#     consider whether you need to wrap it in $(notdir) to get the
rpm-build 4f3c61
#     right result when that file is being pulled out of a
rpm-build 4f3c61
#     subdirectory.
rpm-build 4f3c61
#
rpm-build 4f3c61
#   - All private variables should be prefixed with _glib or _GLIB
rpm-build 4f3c61
#
rpm-build 4f3c61
#   - "make -qp > makefile.out" will give you a copy of the
rpm-build 4f3c61
#     Makefile after all macros are expanded.
rpm-build 4f3c61
#
rpm-build 4f3c61
# The genmarshal code is commented; the mkenums and schema code is
rpm-build 4f3c61
# generally similar.
rpm-build 4f3c61
rpm-build 4f3c61
_GLIB_CLEANFILES =
rpm-build 4f3c61
_GLIB_DISTCLEANFILES =
rpm-build 4f3c61
rpm-build 4f3c61
_GLIB_V_GEN = $(_glib_v_gen_$(V))
rpm-build 4f3c61
_glib_v_gen_ = $(_glib_v_gen_$(AM_DEFAULT_VERBOSITY))
rpm-build 4f3c61
_glib_v_gen_0 = @echo "  GEN     " $(subst .stamp,,$@);
rpm-build 4f3c61
rpm-build 4f3c61
rpm-build 4f3c61
### glib-genmarshal
rpm-build 4f3c61
rpm-build 4f3c61
# _GLIB_MARSHAL_GENERATED contains the basenames (eg, "foo-marshal")
rpm-build 4f3c61
# of all the marshal-related files to be generated.
rpm-build 4f3c61
_GLIB_MARSHAL_GENERATED = $(subst .h,,$(filter %marshal.h,$(GLIB_GENERATED)))
rpm-build 4f3c61
rpm-build 4f3c61
# These are used as macros (with the value of $(1) inherited from the "caller")
rpm-build 4f3c61
#   _glib_marshal_prefix("foo-marshal") = "foo" (used in the C marshal names)
rpm-build 4f3c61
#   _glib_marshal_sources_var("foo-marshal") = "foo_marshal_sources"
rpm-build 4f3c61
#   _glib_marshal_sources = the filtered value of $(foo_marshal_sources)
rpm-build 4f3c61
_glib_marshal_prefix = $(subst marshal,,$(subst _marshal,,$(subst -,_,$(notdir $(1)))))_marshal
rpm-build 4f3c61
_glib_marshal_sources_var = $(subst -,_,$(notdir $(1)))_sources
rpm-build 4f3c61
_glib_marshal_sources = $(filter-out %.h,$(filter-out $(GLIB_GENERATED),$($(_glib_marshal_sources_var))))
rpm-build 4f3c61
rpm-build 4f3c61
# This is a multi-line macro (ending with the "endef" below) that
rpm-build 4f3c61
# outputs a set of rules for a single .h/.c pair (whose basename is
rpm-build 4f3c61
# $(1)). The initial $(if) line makes make error out if
rpm-build 4f3c61
# foo_marshal_sources wasn't set. Note that single-$ variables are
rpm-build 4f3c61
# expanded when the macro is called, and double-$ variables are
rpm-build 4f3c61
# expanded when the rule is invoked.
rpm-build 4f3c61
define _glib_make_genmarshal_rules
rpm-build 4f3c61
$(if $(_glib_marshal_sources),,$(error Need to define $(_glib_marshal_sources_var) for $(1).[ch]))
rpm-build 4f3c61
rpm-build 4f3c61
$(1).list.stamp: $(_glib_marshal_sources) Makefile
rpm-build 4f3c61
	$$(_GLIB_V_GEN) LC_ALL=C sed -ne 's/.*_$(_glib_marshal_prefix)_\([_A-Z]*\).*/\1/p' $$(filter-out Makefile, $$^) | sort -u | sed -e 's/__/:/' -e 's/_/,/g' > $(1).list.tmp && \
rpm-build 4f3c61
	(cmp -s $(1).list.tmp $(1).list || cp $(1).list.tmp $(1).list) && \
rpm-build 4f3c61
	rm -f $(1).list.tmp && \
rpm-build 4f3c61
	echo timestamp > $$@
rpm-build 4f3c61
rpm-build 4f3c61
$(1).list: $(1).list.stamp
rpm-build 4f3c61
	@true
rpm-build 4f3c61
rpm-build 4f3c61
$(1).h: $(1).list
rpm-build 4f3c61
	$$(_GLIB_V_GEN) $$(GLIB_GENMARSHAL) \
rpm-build 4f3c61
		--prefix=_$(_glib_marshal_prefix) --header \
rpm-build 4f3c61
		$$(GLIB_GENMARSHAL_H_FLAGS) \
rpm-build 4f3c61
		$$($(_glib_marshal_prefix)_GENMARSHAL_H_FLAGS) \
rpm-build 4f3c61
		$$< > $$@.tmp && \
rpm-build 4f3c61
	mv $$@.tmp $$@
rpm-build 4f3c61
rpm-build 4f3c61
$(1).c: $(1).list
rpm-build 4f3c61
	$$(_GLIB_V_GEN) (echo "#include \"$$(subst .c,.h,$$(@F))\""; $$(GLIB_GENMARSHAL) \
rpm-build 4f3c61
		--prefix=_$(_glib_marshal_prefix) --body \
rpm-build 4f3c61
		$$(GLIB_GENMARSHAL_C_FLAGS) \
rpm-build 4f3c61
		$$($(_glib_marshal_prefix)_GENMARSHAL_C_FLAGS) \
rpm-build 4f3c61
		$$< ) > $$@.tmp && \
rpm-build 4f3c61
	mv $$@.tmp $$@
rpm-build 4f3c61
rpm-build 4f3c61
_GLIB_CLEANFILES += $(1).list.stamp $(1).list
rpm-build 4f3c61
_GLIB_DISTCLEANFILES += $(1).h $(1).c
rpm-build 4f3c61
endef
rpm-build 4f3c61
rpm-build 4f3c61
# Run _glib_make_genmarshal_rules for each set of generated files
rpm-build 4f3c61
$(foreach f,$(_GLIB_MARSHAL_GENERATED),$(eval $(call _glib_make_genmarshal_rules,$f)))
rpm-build 4f3c61
rpm-build 4f3c61
rpm-build 4f3c61
### glib-mkenums
rpm-build 4f3c61
rpm-build 4f3c61
_GLIB_ENUM_TYPES_GENERATED = $(subst .h,,$(filter %enum-types.h %enumtypes.h,$(GLIB_GENERATED)))
rpm-build 4f3c61
rpm-build 4f3c61
_glib_enum_types_prefix = $(subst -,_,$(notdir $(1)))
rpm-build 4f3c61
_glib_enum_types_guard = __$(shell LC_ALL=C echo $(_glib_enum_types_prefix) | tr 'a-z' 'A-Z')_H__
rpm-build 4f3c61
_glib_enum_types_sources_var = $(_glib_enum_types_prefix)_sources
rpm-build 4f3c61
_glib_enum_types_sources = $(filter-out $(GLIB_GENERATED),$($(_glib_enum_types_sources_var)))
rpm-build 4f3c61
_glib_enum_types_h_sources = $(filter %.h,$(_glib_enum_types_sources))
rpm-build 4f3c61
rpm-build 4f3c61
define _glib_make_mkenums_rules
rpm-build 4f3c61
$(if $(_glib_enum_types_sources),,$(error Need to define $(_glib_enum_types_sources_var) for $(1).[ch]))
rpm-build 4f3c61
rpm-build 4f3c61
$(1).h.stamp: $(_glib_enum_types_h_sources) Makefile
rpm-build 4f3c61
	$$(_GLIB_V_GEN) $$(GLIB_MKENUMS) \
rpm-build 4f3c61
		--fhead "/* Generated by glib-mkenums. Do not edit */\n\n#ifndef $(_glib_enum_types_guard)\n#define $(_glib_enum_types_guard)\n\n" \
rpm-build 4f3c61
		$$(GLIB_MKENUMS_H_FLAGS) \
rpm-build 4f3c61
		$$($(_glib_enum_types_prefix)_MKENUMS_H_FLAGS) \
rpm-build 4f3c61
		--fhead "#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
rpm-build 4f3c61
		--fhead "#ifndef GLIB_MKENUMS_EXTERN\n#define GLIB_MKENUMS_EXTERN\n#endif\n" \
rpm-build 4f3c61
		--vhead "GLIB_MKENUMS_EXTERN GType @enum_name@_get_type (void) G_GNUC_CONST;\n#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())\n" \
rpm-build 4f3c61
		--ftail "G_END_DECLS\n\n#endif /* $(_glib_enum_types_guard) */" \
rpm-build 4f3c61
		$$(filter-out Makefile, $$^) > $(1).h.tmp && \
rpm-build 4f3c61
	(cmp -s $(1).h.tmp $(1).h || cp $(1).h.tmp $(1).h) && \
rpm-build 4f3c61
	rm -f $(1).h.tmp && \
rpm-build 4f3c61
	echo timestamp > $$@
rpm-build 4f3c61
rpm-build 4f3c61
$(1).h: $(1).h.stamp
rpm-build 4f3c61
	@true
rpm-build 4f3c61
rpm-build 4f3c61
$(1).c.stamp: $(_glib_enum_types_h_sources) Makefile
rpm-build 4f3c61
	$$(_GLIB_V_GEN) $$(GLIB_MKENUMS) \
rpm-build 4f3c61
		--fhead "/* Generated by glib-mkenums. Do not edit */\n\n#ifdef HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#include \"$(notdir $(1)).h\"\n\n" \
rpm-build 4f3c61
		$$(GLIB_MKENUMS_C_FLAGS) \
rpm-build 4f3c61
		$$($(_glib_enum_types_prefix)_MKENUMS_C_FLAGS) \
rpm-build 4f3c61
		--fhead "$$(foreach f,$$(filter-out Makefile,$$(^F)),\n#include \"$$(f)\")\n\n" \
rpm-build 4f3c61
		--vhead "GType\n@enum_name@_get_type (void)\n{\n  static volatile gsize g_define_type_id__volatile = 0;\n\n  if (g_once_init_enter (&g_define_type_id__volatile))\n    {\n      static const G@Type@Value values[] = {\n" \
rpm-build 4f3c61
		--vprod "        { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" },\n" \
rpm-build 4f3c61
		--vtail "        { 0, NULL, NULL }\n      };\n      GType g_define_type_id =\n        g_@type@_register_static (g_intern_static_string (\"@EnumName@\"), values);\n      g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);\n    }\n\n  return g_define_type_id__volatile;\n}\n" \
rpm-build 4f3c61
		$$(filter-out Makefile, $$^) > $(1).c.tmp && \
rpm-build 4f3c61
	(cmp -s $(1).c.tmp $(1).c || cp $(1).c.tmp $(1).c) && \
rpm-build 4f3c61
	rm -f $(1).c.tmp && \
rpm-build 4f3c61
	echo timestamp > $$@
rpm-build 4f3c61
rpm-build 4f3c61
$(1).c: $(1).c.stamp
rpm-build 4f3c61
	@true
rpm-build 4f3c61
rpm-build 4f3c61
_GLIB_CLEANFILES += $(1).h.stamp $(1).c.stamp
rpm-build 4f3c61
_GLIB_DISTCLEANFILES += $(1).h $(1).c $(1).h.stamp $(1).c.stamp
rpm-build 4f3c61
endef
rpm-build 4f3c61
rpm-build 4f3c61
$(foreach f,$(_GLIB_ENUM_TYPES_GENERATED),$(eval $(call _glib_make_mkenums_rules,$f)))
rpm-build 4f3c61
rpm-build 4f3c61
rpm-build 4f3c61
### glib-compile-schemas
rpm-build 4f3c61
rpm-build 4f3c61
_GLIB_ENUMS_XML_GENERATED = $(filter %.enums.xml,$(GLIB_GENERATED))
rpm-build 4f3c61
_GLIB_GSETTINGS_SCHEMA_FILES = $(filter %.gschema.xml,$(gsettingsschema_DATA))
rpm-build 4f3c61
_GLIB_GSETTINGS_VALID_FILES = $(subst .xml,.valid,$(_GLIB_GSETTINGS_SCHEMA_FILES))
rpm-build 4f3c61
rpm-build 4f3c61
_glib_enums_xml_prefix = $(subst .,_,$(notdir $(1)))
rpm-build 4f3c61
_glib_enums_xml_sources_var = $(_glib_enums_xml_prefix)_sources
rpm-build 4f3c61
_glib_enums_xml_sources = $(filter-out $(GLIB_GENERATED),$($(_glib_enums_xml_sources_var)))
rpm-build 4f3c61
_glib_enums_xml_namespace = $(subst .enums.xml,,$(notdir $(1)))
rpm-build 4f3c61
rpm-build 4f3c61
define _glib_make_enums_xml_rule
rpm-build 4f3c61
$(if $(_glib_enums_xml_sources),,$(error Need to define $(_glib_enums_xml_sources_var) for $(1)))
rpm-build 4f3c61
rpm-build 4f3c61
$(1): $(_glib_enums_xml_sources) Makefile
rpm-build 4f3c61
	$$(_GLIB_V_GEN) $$(GLIB_MKENUMS) --comments '' --fhead "<schemalist>" --vhead "  <@type@ id='$(_glib_enums_xml_namespace).@EnumName@'>" --vprod "    <value nick='@valuenick@' value='@valuenum@'/>" --vtail "  </@type@>" --ftail "</schemalist>" $$(filter-out Makefile, $$^) > $$@.tmp && mv $$@.tmp $$@
rpm-build 4f3c61
endef
rpm-build 4f3c61
rpm-build 4f3c61
_GLIB_V_CHECK = $(_glib_v_check_$(V))
rpm-build 4f3c61
_glib_v_check_ = $(_glib_v_check_$(AM_DEFAULT_VERBOSITY))
rpm-build 4f3c61
_glib_v_check_0 = @echo "  CHECK   " $(subst .valid,.xml,$@);
rpm-build 4f3c61
rpm-build 4f3c61
define _glib_make_schema_validate_rule
rpm-build 4f3c61
$(subst .xml,.valid,$(1)): $(_GLIB_ENUMS_XML_GENERATED) $(1)
rpm-build 4f3c61
	$$(_GLIB_V_CHECK) $$(GLIB_COMPILE_SCHEMAS) --strict --dry-run $$(addprefix --schema-file=,$$^) && touch $$@
rpm-build 4f3c61
endef
rpm-build 4f3c61
rpm-build 4f3c61
define _glib_make_schema_rules
rpm-build 4f3c61
all-am: $(_GLIB_GSETTINGS_VALID_FILES)
rpm-build 4f3c61
rpm-build 4f3c61
install-data-am: glib-install-schemas-hook
rpm-build 4f3c61
rpm-build 4f3c61
glib-install-schemas-hook: install-gsettingsschemaDATA
rpm-build 4f3c61
	@test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || (echo $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir))
rpm-build 4f3c61
rpm-build 4f3c61
uninstall-am: glib-uninstall-schemas-hook
rpm-build 4f3c61
rpm-build 4f3c61
glib-uninstall-schemas-hook: uninstall-gsettingsschemaDATA
rpm-build 4f3c61
	@test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || (echo $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir))
rpm-build 4f3c61
rpm-build 4f3c61
.PHONY: glib-install-schemas-hook glib-uninstall-schemas-hook
rpm-build 4f3c61
endef
rpm-build 4f3c61
rpm-build 4f3c61
_GLIB_CLEANFILES += $(_GLIB_ENUMS_XML_GENERATED) $(_GLIB_GSETTINGS_VALID_FILES)
rpm-build 4f3c61
rpm-build 4f3c61
$(foreach f,$(_GLIB_ENUMS_XML_GENERATED),$(eval $(call _glib_make_enums_xml_rule,$f)))
rpm-build 4f3c61
$(foreach f,$(_GLIB_GSETTINGS_SCHEMA_FILES),$(eval $(call _glib_make_schema_validate_rule,$f)))
rpm-build 4f3c61
$(if $(_GLIB_GSETTINGS_SCHEMA_FILES),$(eval $(_glib_make_schema_rules)))
rpm-build 4f3c61
rpm-build 4f3c61
rpm-build 4f3c61
### Cleanup
rpm-build 4f3c61
.PHONY: clean-glib distclean-glib
rpm-build 4f3c61
rpm-build 4f3c61
clean-am: clean-glib
rpm-build 4f3c61
clean-glib:
rpm-build 4f3c61
	$(if $(strip $(_GLIB_CLEANFILES)),-rm -f $(_GLIB_CLEANFILES))
rpm-build 4f3c61
rpm-build 4f3c61
distclean-am: distclean-glib
rpm-build 4f3c61
distclean-glib:
rpm-build 4f3c61
	$(if $(strip $(_GLIB_DISTCLEANFILES)),-rm -f $(_GLIB_DISTCLEANFILES))