diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-05-09 20:53:29 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-07-03 16:08:53 +0200 |
commit | 716b0c15ea2a46dbcc11019b8b4381f0a0e64736 (patch) | |
tree | f3afaa76ea3614449dccad8066d18f7e58029892 | |
parent | 9182c492229990aaea563ccec7acaa2f2693d4fa (diff) | |
download | external_libqmi-716b0c15ea2a46dbcc11019b8b4381f0a0e64736.zip external_libqmi-716b0c15ea2a46dbcc11019b8b4381f0a0e64736.tar.gz external_libqmi-716b0c15ea2a46dbcc11019b8b4381f0a0e64736.tar.bz2 |
build: use `qmi-codegen' to build CTL-specific message handling
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | src/Makefile.am | 9 |
2 files changed, 11 insertions, 0 deletions
@@ -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 \ |