19
19
# the example is based on the colorbalance interface
21
21
#glib_enum_headers=$(colorbalance_headers)
22
#glib_enum_output=gst-color-balance-enumtypes
22
23
#glib_enum_define=GST_COLOR_BALANCE
23
24
#glib_enum_prefix=gst_color_balance
391
392
GSTREAMER_CFLAGS = @GSTREAMER_CFLAGS@
392
393
GSTREAMER_LIBS = @GSTREAMER_LIBS@
393
394
GTKDOC_CHECK = @GTKDOC_CHECK@
394
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
395
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
396
395
GTKDOC_MKPDF = @GTKDOC_MKPDF@
397
396
GTKDOC_REBASE = @GTKDOC_REBASE@
398
397
GTKHTML_CFLAGS = @GTKHTML_CFLAGS@
512
512
abs_srcdir = @abs_srcdir@
513
513
abs_top_builddir = @abs_top_builddir@
514
514
abs_top_srcdir = @abs_top_srcdir@
515
ac_ct_AR = @ac_ct_AR@
515
516
ac_ct_CC = @ac_ct_CC@
516
517
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
517
518
am__include = @am__include@
583
583
privsolib_LTLIBRARIES = libevolution-mail.la
584
584
mailincludedir = $(privincludedir)/mail
585
585
glib_enum_headers = e-mail-enums.h
586
glib_enum_output = e-mail-enumtypes
586
587
glib_enum_define = E_MAIL
587
588
glib_enum_prefix = e_mail
588
589
ENUM_GENERATED = e-mail-enumtypes.h e-mail-enumtypes.c
1886
1887
# these are all the rules generating the relevant files
1887
1888
%-marshal.h: %-marshal.list
1888
glib-genmarshal --header --prefix=$(glib_enum_prefix)_marshal $^ > $*-marshal.h.tmp
1889
$(AM_V_GEN) glib-genmarshal --header --prefix=$(glib_enum_prefix)_marshal $^ > $*-marshal.h.tmp && \
1889
1890
mv $*-marshal.h.tmp $*-marshal.h
1891
1892
%-marshal.c: %-marshal.list
1892
echo "#include \"$*-marshal.h\"" >> $*-marshal.c.tmp
1893
glib-genmarshal --body --prefix=$(glib_enum_prefix)_marshal $^ >> $*-marshal.c.tmp
1893
$(AM_V_GEN) echo "#include \"$*-marshal.h\"" >> $*-marshal.c.tmp && \
1894
glib-genmarshal --body --prefix=$(glib_enum_prefix)_marshal $^ >> $*-marshal.c.tmp && \
1894
1895
mv $*-marshal.c.tmp $*-marshal.c
1896
%-enumtypes.h: $(glib_enum_headers)
1897
$(glib_enum_output).h: $(glib_enum_headers)
1898
$(AM_V_GEN) glib-mkenums \
1898
1899
--fhead "#ifndef __$(glib_enum_define)_ENUM_TYPES_H__\n#define __$(glib_enum_define)_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
1899
1900
--fprod "/* enumerations from \"@filename@\" */\n" \
1900
1901
--vhead "GType @enum_name@_get_type (void);\n#define E_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
1901
1902
--ftail "G_END_DECLS\n\n#endif /* __$(glib_enum_define)_ENUM_TYPES_H__ */" \
1904
%-enumtypes.c: $(glib_enum_headers)
1905
$(glib_enum_output).c: $(glib_enum_headers)
1905
1906
@if test "x$(glib_enum_headers)" == "x"; then echo "ERROR: glib_enum_headers is empty, please fix Makefile"; exit 1; fi
1907
--fhead "#include <$*.h>\n#include \"$*-enumtypes.h\"" \
1907
$(AM_V_GEN) glib-mkenums \
1908
--fhead "#include <$<>\n#include \"$(glib_enum_output).h\"" \
1908
1909
--fprod "\n/* enumerations from \"@filename@\" */" \
1909
1910
--vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \
1910
1911
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \