diff options
Diffstat (limited to 'examples/C/Makefile.am')
-rw-r--r-- | examples/C/Makefile.am | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/examples/C/Makefile.am b/examples/C/Makefile.am new file mode 100644 index 000000000..684a1fa1a --- /dev/null +++ b/examples/C/Makefile.am @@ -0,0 +1,63 @@ +INCLUDES = -I${top_srcdir}/libnm-util \ + -I${top_srcdir}/libnm-glib \ + -I${top_srcdir}/include + +AM_CPPFLAGS = \ + $(DBUS_CFLAGS) \ + $(GLIB_CFLAGS) + +noinst_PROGRAMS = \ + add-connection-dbus-glib \ + add-connection-libnm-glib \ + get-active-connections \ + list-connections-dbus \ + list-connections-libnm-glib \ + get-ap-info-libnm-glib + +add_connection_dbus_glib_SOURCES = add-connection-dbus-glib.c +add_connection_dbus_glib_LDADD = \ + $(top_builddir)/libnm-util/libnm-util.la \ + $(DBUS_LIBS) \ + $(GLIB_LIBS) + +add_connection_libnm_glib_SOURCES = add-connection-libnm-glib.c +add_connection_libnm_glib_LDADD = \ + $(top_builddir)/libnm-util/libnm-util.la \ + $(top_builddir)/libnm-glib/libnm-glib.la \ + $(DBUS_LIBS) \ + $(GLIB_LIBS) + +get_active_connections_SOURCES = get-active-connections.c +get_active_connections_LDADD = \ + $(top_builddir)/libnm-util/libnm-util.la \ + $(DBUS_LIBS) \ + $(GLIB_LIBS) + +list_connections_dbus_SOURCES = list-connections-dbus.c +list_connections_dbus_LDADD = \ + $(top_builddir)/libnm-util/libnm-util.la \ + $(DBUS_LIBS) \ + $(GLIB_LIBS) + +list_connections_libnm_glib_SOURCES = list-connections-libnm-glib.c +list_connections_libnm_glib_LDADD = \ + $(top_builddir)/libnm-util/libnm-util.la \ + $(top_builddir)/libnm-glib/libnm-glib.la \ + $(DBUS_LIBS) \ + $(GLIB_LIBS) + +get_ap_info_libnm_glib_SOURCES = get-ap-info-libnm-glib.c +get_ap_info_libnm_glib_LDADD = \ + $(top_builddir)/libnm-util/libnm-util.la \ + $(top_builddir)/libnm-glib/libnm-glib.la \ + $(DBUS_LIBS) \ + $(GLIB_LIBS) + +EXTRA_DIST = \ + add-connection-dbus-glib.c \ + add-connection-libnm-glib.c \ + get-active-connections.c \ + list-connections-dbus.c \ + list-connections-libnm-glib.c \ + get-ap-info-libnm-glib.c + |