From e36402aead91c157dbefd577cdf463759c2aa045 Mon Sep 17 00:00:00 2001 From: teuf Date: Sun, 25 May 2008 10:38:09 +0000 Subject: * configure.ac: check libxml presence * src/Makefile.am: add new files, remove obsolete ones * src/itdb_plist.h: * src/itdb_plist.c: plist parser, this parses a plist XML file to a GHashTable of GValue *. This parser should be generic, ie it doesn't know it's parsing SysInfoExtended, it only cares about it being a plist file * src/itdb_sysinfo_extended_parser.h: * src/itdb_sysinfo_extended_parser.c: convert the parsed plist data to data structures usable by libgpod * src/itdb_device.h: * src/itdb_device.c: parses SysInfoExtended in addition to SysInfo * src/itdb_sysinfo.c: this hacky parser is obsoleted by the new (much more complete) SysInfoExtended parser, so it's removed * tests/Makefile.am: * tests/test-sysinfo-extended-parsing.c: small test program for the new parser git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1980 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- src/Makefile.am | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 5c606f2..f5b65a0 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -12,8 +12,9 @@ libgpod_la_SOURCES = \ itdb_itunesdb.c \ itdb_photoalbum.c \ itdb_playlist.c \ + itdb_plist.c \ itdb_sha1.c \ - itdb_sysinfo.c \ + itdb_sysinfo_extended_parser.c \ itdb_track.c \ ithumb-writer.c \ pixmaps.c \ @@ -32,13 +33,15 @@ noinst_HEADERS = \ db-parse-context.h \ itdb_device.h \ itdb_endianness.h \ + itdb_plist.h \ itdb_private.h \ itdb_sha1.h \ + itdb_sysinfo_extended_parser.h \ pixmaps.h \ sha1.h -INCLUDES=$(LIBGPOD_CFLAGS) -LIBS=$(LIBGPOD_LIBS) +INCLUDES=$(LIBGPOD_CFLAGS) $(LIBXML_CFLAGS) +LIBS=$(LIBGPOD_LIBS) $(LIBXML_LIBS) uninstall-hook: -rmdir --ignore-fail-on-non-empty $(DESTDIR)$(libgpodincludedir) -- cgit