summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2017-04-04 14:02:16 +0530
committerVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2017-04-26 11:51:48 +0530
commitaffea8bfc77162d8631b48f1eb5e79c06b96302f (patch)
tree45e6795adda3bd7a39ab40340b03b9cb1fd610dc /Makefile.am
parent32df96940b95b5663719942774159a9e021344c2 (diff)
downloadphosphor-gpio-monitor-affea8bfc77162d8631b48f1eb5e79c06b96302f.tar.gz
phosphor-gpio-monitor-affea8bfc77162d8631b48f1eb5e79c06b96302f.zip
Add code to accept command line arguments
Accepts command line arguments for path, interested GPIO transition and an optional systemd unit file to be called into when the GPIO transitions per expectation. Change-Id: I98d967d36cfbb768bc9d0dd04517575fa7e408fe Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..aa81c04
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,5 @@
+sbin_PROGRAMS = phosphor-gpio-monitor
+
+phosphor_gpio_monitor_SOURCES = \
+ argument.cpp \
+ mainapp.cpp
OpenPOWER on IntegriCloud