aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--src/Makefile.am9
2 files changed, 11 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 5a3a095..c0e12ea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -38,6 +38,8 @@ src/qmi-error-types.c
src/qmi-error-types.h
src/qmi-enum-types.h
src/qmi-enum-types.c
+src/qmi-tmp-ctl.h
+src/qmi-tmp-ctl.c
cli/.deps
cli/.libs
diff --git a/src/Makefile.am b/src/Makefile.am
index 97f1e76..b338a76 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -37,6 +37,12 @@ qmi-enum-types.c: $(ENUMS) qmi-enum-types.h $(top_srcdir)/build-aux/templates/qm
--template $(top_srcdir)/build-aux/templates/qmi-enum-types-template.c \
$(ENUMS) > $@
+# QMI message handling generation
+qmi-tmp-ctl.c qmi-tmp-ctl.h: $(top_srcdir)/data/qmi-service-ctl.json $(top_srcdir)/build-aux/qmi-codegen/*.py $(top_srcdir)/build-aux/qmi-codegen/qmi-codegen
+ $(AM_V_GEN) $(top_srcdir)/build-aux/qmi-codegen/qmi-codegen \
+ $(top_srcdir)/data/qmi-service-ctl.json \
+ qmi-tmp-ctl
+
# Additional dependencies
qmi-device.c: qmi-error-types.h qmi-enum-types.h
qmi-client.c: qmi-error-types.h qmi-enum-types.h
@@ -44,6 +50,8 @@ qmi-client-ctl.c: qmi-error-types.h qmi-enum-types.h
qmi-message.c: qmi-error-types.h qmi-enum-types.h
qmi-message-ctl.c: qmi-error-types.h
qmi-message-dms.c: qmi-error-types.h
+qmi-tmp-*.c: qmi-error-types.h
+qmi-tmp-*.h: qmi-enum-types.h
libqmi_glib_la_SOURCES = \
libqmi-glib.h \
@@ -51,6 +59,7 @@ libqmi_glib_la_SOURCES = \
qmi-enums.h qmi-enum-types.h qmi-enum-types.c \
qmi-utils.h qmi-utils.c \
qmi-message.h qmi-message.c \
+ qmi-tmp-ctl.c qmi-tmp-ctl.h \
qmi-message-ctl.h qmi-message-ctl.c \
qmi-message-dms.h qmi-message-dms.c \
qmi-message-wds.h qmi-message-wds.c \