summaryrefslogtreecommitdiffstats
path: root/tools/Makefile.am
diff options
context:
space:
mode:
authorteuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2007-09-27 18:22:24 +0000
committerteuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2007-09-27 18:22:24 +0000
commit0da53714e6a9739fa83b7a750805ab7f2af36461 (patch)
treeb943480d6dca526634a454181e897ea51fdd7d5d /tools/Makefile.am
parentbed9759fd3550a96409f905ea91fd13a51cb1ae7 (diff)
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