summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-05-18 12:54:20 +0200
committerAleksander Morgado <aleksander@aleksander.es>2020-05-18 13:35:32 +0200
commit0237c972093c716eeab82a94272cd0ae8a00426f (patch)
tree4d33f66a236ceae6ca7552402ffee82b3d774b58 /src
parent4c2a7b4f8285dfbf7ff3c45c142c454f5f5530b9 (diff)
build-aux: import custom mkenums tool
Equivalent to the glib-mkenums released in 2.66, we just include it in the repo to be able to use it earlier than requiring 2.66 in the whole project.
Diffstat (limited to 'src')
-rw-r--r--src/libmbim-glib/generated/Makefile.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libmbim-glib/generated/Makefile.am b/src/libmbim-glib/generated/Makefile.am
index a3762e8..ee0932e 100644
--- a/src/libmbim-glib/generated/Makefile.am
+++ b/src/libmbim-glib/generated/Makefile.am
@@ -55,20 +55,20 @@ GENERATED_SECTIONS = \
# Error types
mbim-error-types.h: $(top_srcdir)/src/libmbim-glib/mbim-errors.h $(top_srcdir)/build-aux/templates/mbim-error-types-template.h
- $(AM_V_GEN) $(GLIB_MKENUMS) \
+ $(AM_V_GEN) $(PYTHON) $(top_srcdir)/build-aux/mbim-mkenums \
--fhead "#ifndef __LIBMBIM_GLIB_ERROR_TYPES_H__\n#define __LIBMBIM_GLIB_ERROR_TYPES_H__\n#include \"mbim-errors.h\"\n" \
--template $(top_srcdir)/build-aux/templates/mbim-error-types-template.h \
--ftail "#endif /* __LIBMBIM_GLIB_ERROR_TYPES_H__ */\n" \
$(top_srcdir)/src/libmbim-glib/mbim-errors.h > $@
mbim-error-types.c: $(top_srcdir)/src/libmbim-glib/mbim-errors.h mbim-error-types.h $(top_srcdir)/build-aux/templates/mbim-error-types-template.c
- $(AM_V_GEN) $(GLIB_MKENUMS) \
+ $(AM_V_GEN) $(PYTHON) $(top_srcdir)/build-aux/mbim-mkenums \
--fhead "#include \"mbim-errors.h\"\n#include \"mbim-error-types.h\"\n" \
--template $(top_srcdir)/build-aux/templates/mbim-error-types-template.c \
$(top_srcdir)/src/libmbim-glib/mbim-errors.h > $@
mbim-error-quarks.c: $(top_srcdir)/src/libmbim-glib/mbim-errors.h mbim-error-types.h $(top_srcdir)/build-aux/templates/mbim-error-quarks-template.c
- $(AM_V_GEN) $(GLIB_MKENUMS) \
+ $(AM_V_GEN) $(PYTHON) $(top_srcdir)/build-aux/mbim-mkenums \
--fhead "#include \"mbim-errors.h\"\n#include \"mbim-error-types.h\"\n" \
--template $(top_srcdir)/build-aux/templates/mbim-error-quarks-template.c \
$(top_srcdir)/src/libmbim-glib/mbim-errors.h > $@
@@ -80,14 +80,14 @@ ENUMS = \
$(top_srcdir)/src/libmbim-glib/mbim-message.h \
$(top_srcdir)/src/libmbim-glib/mbim-enums.h
mbim-enum-types.h: $(ENUMS) $(top_srcdir)/build-aux/templates/mbim-enum-types-template.h
- $(AM_V_GEN) $(GLIB_MKENUMS) \
+ $(AM_V_GEN) $(PYTHON) $(top_srcdir)/build-aux/mbim-mkenums \
--fhead "#ifndef __LIBMBIM_GLIB_ENUM_TYPES_H__\n#define __LIBMBIM_GLIB_ENUM_TYPES_H__\n#include \"mbim-uuid.h\"\n#include \"mbim-cid.h\"\n#include \"mbim-message.h\"\n#include \"mbim-enums.h\"\n" \
--template $(top_srcdir)/build-aux/templates/mbim-enum-types-template.h \
--ftail "#endif /* __LIBMBIM_GLIB_ENUM_TYPES_H__ */\n" \
$(ENUMS) > $@
mbim-enum-types.c: $(ENUMS) mbim-enum-types.h $(top_srcdir)/build-aux/templates/mbim-enum-types-template.c
- $(AM_V_GEN) $(GLIB_MKENUMS) \
+ $(AM_V_GEN) $(PYTHON) $(top_srcdir)/build-aux/mbim-mkenums \
--fhead "#include \"mbim-enum-types.h\"\n" \
--template $(top_srcdir)/build-aux/templates/mbim-enum-types-template.c \
$(ENUMS) > $@