From 42d7ba8fdeab32d0e7f492c689711a85e8ea94f2 Mon Sep 17 00:00:00 2001 From: Ceara Chewning Date: Wed, 12 Sep 2012 15:06:00 -0700 Subject: client: Update Makefile.am and add new command line client main file The new main.c uses the previously added services, technology, manager, interactive, and monitor files to create the connmanctl command line interface. It is able to display properties of services and technologies, and set/enable them. --- Makefile.am | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 5c5b95ca..fe8e75dc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -135,10 +135,21 @@ script_LTLIBRARIES = include Makefile.plugins if CLIENT -noinst_PROGRAMS += client/cm +noinst_PROGRAMS += client/connmanctl -client_cm_SOURCES = client/main.c -client_cm_LDADD = @DBUS_LIBS@ +dist_man_MANS = doc/connmanctl.1 + +client_connmanctl_SOURCES = $(gdbus_sources) src/connman.h \ + include/log.h src/log.c \ + include/dbus.h src/dbus.c \ + client/data_manager.h client/data_manager.c \ + client/services.h client/services.c \ + client/technology.h client/technology.c \ + client/interactive.h client/interactive.c \ + client/monitor.h client/monitor.c \ + client/commands.c client/main.c + +client_connmanctl_LDADD = @DBUS_LIBS@ @GLIB_LIBS@ -lreadline -ldl endif if WISPR -- cgit v1.2.3