Commit d98f3f22 authored by Dan Williams's avatar Dan Williams

examples: move glib examples to a subdir

parent 3b0916d6
......@@ -117,12 +117,12 @@ docs/api/NetworkManager.prerequisites
docs/api/NetworkManager.signals
docs/api/NetworkManager.types
examples/C/add-connection-dbus-glib
examples/C/add-connection-libnm-glib
examples/C/get-active-connections-dbus-glib
examples/C/get-ap-info-libnm-glib
examples/C/list-connections-dbus-glib
examples/C/list-connections-libnm-glib
examples/C/glib/add-connection-dbus-glib
examples/C/glib/add-connection-libnm-glib
examples/C/glib/get-active-connections-dbus-glib
examples/C/glib/get-ap-info-libnm-glib
examples/C/glib/list-connections-dbus-glib
examples/C/glib/list-connections-libnm-glib
callouts/nm-dhcp-client.action
callouts/nm-avahi-autoipd.action
......
......@@ -657,6 +657,7 @@ NetworkManager.pc
examples/Makefile
examples/python/Makefile
examples/C/Makefile
examples/C/glib/Makefile
])
AC_OUTPUT
......
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-dbus-glib \
list-connections-dbus-glib \
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_dbus_glib_SOURCES = get-active-connections-dbus-glib.c
get_active_connections_dbus_glib_LDADD = \
$(top_builddir)/libnm-util/libnm-util.la \
$(DBUS_LIBS) \
$(GLIB_LIBS)
list_connections_dbus_glib_SOURCES = list-connections-dbus-glib.c
list_connections_dbus_glib_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-dbus-glib.c \
list-connections-dbus-glib.c \
list-connections-libnm-glib.c \
get-ap-info-libnm-glib.c
SUBDIRS= glib
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-dbus-glib \
list-connections-dbus-glib \
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_dbus_glib_SOURCES = get-active-connections-dbus-glib.c
get_active_connections_dbus_glib_LDADD = \
$(top_builddir)/libnm-util/libnm-util.la \
$(DBUS_LIBS) \
$(GLIB_LIBS)
list_connections_dbus_glib_SOURCES = list-connections-dbus-glib.c
list_connections_dbus_glib_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-dbus-glib.c \
list-connections-dbus-glib.c \
list-connections-libnm-glib.c \
get-ap-info-libnm-glib.c
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment