Commit 3a84f99d authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

app/base/Makefile.am use GLIB_GENMARSHAL and GLIB_MKENUMS variables

2001-12-10  Sven Neumann  <sven@gimp.org>

	* app/base/Makefile.am
	* app/core/Makefile.am: use GLIB_GENMARSHAL and GLIB_MKENUMS variables
	declared by AM_PATH_GLIB_2_0 instead of calling the binaries directly.
parent 69ec8e3b
2001-12-10 Sven Neumann <sven@gimp.org>
* app/base/Makefile.am
* app/core/Makefile.am: use GLIB_GENMARSHAL and GLIB_MKENUMS variables
declared by AM_PATH_GLIB_2_0 instead of calling the binaries directly.
2001-12-10 Sven Neumann <sven@gimp.org>
* app/config/gimpconfig-deserialize.c
......
......@@ -68,7 +68,7 @@ gen_sources = xgen-bec
CLEANFILES = $(gen_sources)
$(srcdir)/base-enums.c: $(srcdir)/base-enums.h
glib-mkenums \
$(GLIB_MKENUMS) \
--fhead "#include <glib-object.h>\n#include \"base-enums.h\"" \
--fprod "\n/* enumerations from \"@filename@\" */" \
--vhead "\nstatic const GEnumValue @enum_name@_enum_values[] =\n{\n" \
......
......@@ -171,19 +171,19 @@ gen_sources = xgen-gmh xgen-gmc xgen-cec
CLEANFILES = $(gen_sources)
$(srcdir)/gimpmarshal.h: $(srcdir)/gimpmarshal.list
glib-genmarshal --prefix=gimp_marshal $(srcdir)/gimpmarshal.list --header >> xgen-gmh \
$(GLIB_GENMARSHAL) --prefix=gimp_marshal $(srcdir)/gimpmarshal.list --header >> xgen-gmh \
&& (cmp -s xgen-gmh $(srcdir)/gimpmarshal.h || cp xgen-gmh $(srcdir)/gimpmarshal.h) \
&& rm -f xgen-gmh xgen-gmh~
$(srcdir)/gimpmarshal.c: $(srcdir)/gimpmarshal.h
echo "#include <glib.h>" > xgen-gmc \
&& echo "#include <glib-object.h>" >> xgen-gmc \
&& echo "#include \"gimpmarshal.h\"" >> xgen-gmc \
&& glib-genmarshal --prefix=gimp_marshal $(srcdir)/gimpmarshal.list --body >> xgen-gmc \
&& $(GLIB_GENMARSHAL) --prefix=gimp_marshal $(srcdir)/gimpmarshal.list --body >> xgen-gmc \
&& cp xgen-gmc $(srcdir)/gimpmarshal.c \
&& rm -f xgen-gmc xgen-gmc~
$(srcdir)/core-enums.c: $(srcdir)/core-enums.h
glib-mkenums \
$(GLIB_MKENUMS) \
--fhead "#include <glib-object.h>\n#include \"core-enums.h\"" \
--fprod "\n/* enumerations from \"@filename@\" */" \
--vhead "\nstatic const GEnumValue @enum_name@_enum_values[] =\n{\n" \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment