1 # vi:set ts=8 sw=8 noet ai nocindent:
3 noinst_LTLIBRARIES = libcommon.la
5 libcommon_la_built_headers = \
7 nsm-lifecycle-control-dbus.h \
8 shutdown-consumer-dbus.h
10 libcommon_la_built_sources = \
12 nsm-lifecycle-control-dbus.c \
13 shutdown-consumer-dbus.c \
14 $(libcommon_la_built_headers)
16 libcommon_la_SOURCES = \
19 $(libcommon_la_built_sources)
21 libcommon_la_CFLAGS = \
22 -DG_LOG_DOMAIN=\"common\" \
28 $(PLATFORM_CPPFLAGS) \
29 $(SYSTEMD_DAEMON_CFLAGS)
31 libcommon_la_LDFLAGS = \
35 libcommon_la_LIBADD = \
39 $(SYSTEMD_DAEMON_LIBS)
42 nsm-consumer-dbus.xml \
43 nsm-lifecycle-control-dbus.xml \
44 shutdown-consumer-dbus.xml
47 $(libcommon_la_built_sources)
50 $(libcommon_la_built_headers)
52 nsm-consumer-dbus.h: nsm-consumer-dbus.xml Makefile
53 $(AM_V_GEN) $(GDBUS_CODEGEN) \
54 --interface-prefix com.conti.NodeStateManager \
56 --generate-c-code nsm-consumer-dbus \
57 --annotate com.conti.NodeStateManager.Consumer org.gtk.GDBus.C.Name \
60 nsm-lifecycle-control-dbus.h: nsm-lifecycle-control-dbus.xml Makefile
61 $(AM_V_GEN) $(GDBUS_CODEGEN) \
62 --interface-prefix com.conti.NodeStateManager \
64 --generate-c-code nsm-lifecycle-control-dbus \
65 --annotate com.conti.NodeStateManager.LifecycleControl org.gtk.GDBus.C.Name \
66 NSM_Lifecycle_Control $<
68 shutdown-consumer-dbus.h: shutdown-consumer-dbus.xml Makefile
69 $(AM_V_GEN) $(GDBUS_CODEGEN) \
70 --interface-prefix org.genivi \
72 --generate-c-code shutdown-consumer-dbus \
73 --annotate org.genivi.BootManager1.ShutdownConsumer org.gtk.GDBus.C.Name \