summaryrefslogtreecommitdiff
path: root/ao-tools/ao-dumpflash/Makefile.am
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-03-03 16:53:52 -0800
committerKeith Packard <keithp@keithp.com>2013-03-03 16:53:52 -0800
commit3605e97ee918b3f87e4c471906f708c3ea027eef (patch)
tree9b1413a05752e566e43943330fdda1b7489ecc5c /ao-tools/ao-dumpflash/Makefile.am
parent784edcda52d681bbc9302fbc7efb80cb214f71b8 (diff)
ao-tools: Add ao-dumpflash program
This program dumps the entire flash contents of an AltOS device to allow for external analysis. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/ao-dumpflash/Makefile.am')
-rw-r--r--ao-tools/ao-dumpflash/Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/ao-tools/ao-dumpflash/Makefile.am b/ao-tools/ao-dumpflash/Makefile.am
new file mode 100644
index 00000000..db99f5ae
--- /dev/null
+++ b/ao-tools/ao-dumpflash/Makefile.am
@@ -0,0 +1,12 @@
+bin_PROGRAMS=ao-dumpflash
+
+AM_CFLAGS=-I$(top_srcdir)/ao-tools/lib $(LIBUSB_CFLAGS)
+AO_DUMPLOG_LIBS=$(top_builddir)/ao-tools/lib/libao-tools.a
+
+ao_dumpflash_DEPENDENCIES = $(AO_DUMPLOG_LIBS)
+
+ao_dumpflash_LDADD=$(AO_DUMPLOG_LIBS) $(LIBUSB_LIBS)
+
+ao_dumpflash_SOURCES = ao-dumpflash.c
+
+man_MANS = ao-dumpflash.1