summaryrefslogtreecommitdiffstats
path: root/tools/Makefile.am
diff options
context:
space:
mode:
authorChristophe Fergeau <teuf@gnome.org>2007-09-27 18:22:24 +0000
committerChristophe Fergeau <teuf@gnome.org>2007-09-27 18:22:24 +0000
commitc740d9f8b25f36d20b404cb99085cc853b0908fe (patch)
treeb943480d6dca526634a454181e897ea51fdd7d5d /tools/Makefile.am
parent9a2a5fd8fb42f334131a5a98fe0db9a88714224a (diff)
downloadlibgpod-c740d9f8b25f36d20b404cb99085cc853b0908fe.tar.gz
libgpod-c740d9f8b25f36d20b404cb99085cc853b0908fe.tar.xz
libgpod-c740d9f8b25f36d20b404cb99085cc853b0908fe.zip
2007-09-27 Christophe Fergeau <teuf@gnome.org>
* configure.ac: build tool to generate the iPod SysInfoExtended file if sgutils is detected * Makefile.am: * tools/ * tools/Makefile.am: changes to optionally build the sgutils-based tool * tools/read-sysinfoextended-sgutils.c: (do_sg_inquiry), (read_sysinfo_extended), (main): new file, reads the SysInfoExtended file from the iPod using SCSI queries git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1703 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'tools/Makefile.am')
-rw-r--r--tools/Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
new file mode 100644
index 0000000..bbd5159
--- /dev/null
+++ b/tools/Makefile.am
@@ -0,0 +1,9 @@
+if HAVE_SGUTILS
+
+bin_PROGRAMS=ipod-read-sysinfo-extended
+
+ipod_read_sysinfo_extended_SOURCES = read-sysinfoextended-sgutils.c
+ipod_read_sysinfo_extended_CFLAGS=$(LIBGPOD_CFLAGS) $(SGUTILS_CFLAGS) -I$(top_srcdir)/src
+ipod_read_sysinfo_extended_LDADD=$(LIBGPOD_LIBS) $(SGUTILS_LIBS) $(top_builddir)/src/libgpod.la
+
+endif \ No newline at end of file