File hfsplus_1.0.2-4.diff of Package hfsplusutils

--- hfsplus-1.0.2.orig/doc/Makefile.in
+++ hfsplus-1.0.2/doc/Makefile.in
@@ -0,0 +1,220 @@
+# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
+
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+#
+# Makefile.am for hfsplus/doc
+#
+
+
+SHELL = @SHELL@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+datadir = @datadir@
+sysconfdir = @sysconfdir@
+sharedstatedir = @sharedstatedir@
+localstatedir = @localstatedir@
+libdir = @libdir@
+infodir = @infodir@
+mandir = @mandir@
+includedir = @includedir@
+oldincludedir = /usr/include
+
+DESTDIR =
+
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+
+top_builddir = ..
+
+ACLOCAL = @ACLOCAL@
+AUTOCONF = @AUTOCONF@
+AUTOMAKE = @AUTOMAKE@
+AUTOHEADER = @AUTOHEADER@
+
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+transform = @program_transform_name@
+
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_alias = @build_alias@
+build_triplet = @build@
+host_alias = @host_alias@
+host_triplet = @host@
+target_alias = @target_alias@
+target_triplet = @target@
+AS = @AS@
+CC = @CC@
+DLLTOOL = @DLLTOOL@
+ECHO = @ECHO@
+EXEEXT = @EXEEXT@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+MAKEINFO = @MAKEINFO@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+RANLIB = @RANLIB@
+STRIP = @STRIP@
+VERSION = @VERSION@
+
+htmldir = $(DOCDIR)/hfsplus
+
+html_DATA =  	bugs.html
+
+
+EXTRA_DIST = $(html_DATA)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = ../config.h
+CONFIG_CLEAN_FILES = 
+DATA =  $(html_DATA)
+
+DIST_COMMON =  Makefile.am Makefile.in
+
+
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
+
+TAR = tar
+GZIP_ENV = --best
+all: all-redirect
+.SUFFIXES:
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+	cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile
+
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
+	cd $(top_builddir) \
+	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
+
+install-htmlDATA: $(html_DATA)
+	@$(NORMAL_INSTALL)
+	$(mkinstalldirs) $(DESTDIR)$(htmldir)
+	@list='$(html_DATA)'; for p in $$list; do \
+	  if test -f $(srcdir)/$$p; then \
+	    echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(htmldir)/$$p"; \
+	    $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(htmldir)/$$p; \
+	  else if test -f $$p; then \
+	    echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$p"; \
+	    $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$p; \
+	  fi; fi; \
+	done
+
+uninstall-htmlDATA:
+	@$(NORMAL_UNINSTALL)
+	list='$(html_DATA)'; for p in $$list; do \
+	  rm -f $(DESTDIR)$(htmldir)/$$p; \
+	done
+tags: TAGS
+TAGS:
+
+
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+
+subdir = doc
+
+distdir: $(DISTFILES)
+	here=`cd $(top_builddir) && pwd`; \
+	top_distdir=`cd $(top_distdir) && pwd`; \
+	distdir=`cd $(distdir) && pwd`; \
+	cd $(top_srcdir) \
+	  && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/Makefile
+	@for file in $(DISTFILES); do \
+	  d=$(srcdir); \
+	  if test -d $$d/$$file; then \
+	    cp -pr $$d/$$file $(distdir)/$$file; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+	    || cp -p $$d/$$file $(distdir)/$$file || :; \
+	  fi; \
+	done
+info-am:
+info: info-am
+dvi-am:
+dvi: dvi-am
+check-am: all-am
+check: check-am
+installcheck-am:
+installcheck: installcheck-am
+install-exec-am:
+install-exec: install-exec-am
+
+install-data-am: install-htmlDATA
+install-data: install-data-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+install: install-am
+uninstall-am: uninstall-htmlDATA
+uninstall: uninstall-am
+all-am: Makefile $(DATA)
+all-redirect: all-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
+installdirs:
+	$(mkinstalldirs)  $(DESTDIR)$(htmldir)
+
+
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
+
+maintainer-clean-generic:
+mostlyclean-am:  mostlyclean-generic
+
+mostlyclean: mostlyclean-am
+
+clean-am:  clean-generic mostlyclean-am
+
+clean: clean-am
+
+distclean-am:  distclean-generic clean-am
+	-rm -f libtool
+
+distclean: distclean-am
+
+maintainer-clean-am:  maintainer-clean-generic distclean-am
+	@echo "This command is intended for maintainers to use;"
+	@echo "it deletes files that may require special tools to rebuild."
+
+maintainer-clean: maintainer-clean-am
+
+.PHONY: uninstall-htmlDATA install-htmlDATA tags distdir info-am info \
+dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
+install-exec install-data-am install-data install-am install \
+uninstall-am uninstall all-redirect all-am all installdirs \
+mostlyclean-generic distclean-generic clean-generic \
+maintainer-clean-generic clean mostlyclean distclean maintainer-clean
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- hfsplus-1.0.2.orig/doc/Makefile
+++ hfsplus-1.0.2/doc/Makefile
@@ -0,0 +1,220 @@
+# Generated automatically from Makefile.in by configure.
+# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
+
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+#
+# Makefile.am for hfsplus/doc
+#
+
+
+SHELL = /bin/sh
+
+srcdir = .
+top_srcdir = ..
+prefix = /usr
+exec_prefix = ${prefix}
+
+bindir = ${exec_prefix}/bin
+sbindir = ${exec_prefix}/sbin
+libexecdir = ${exec_prefix}/libexec
+datadir = ${prefix}/share
+sysconfdir = ${prefix}/etc
+sharedstatedir = ${prefix}/com
+localstatedir = ${prefix}/var
+libdir = ${exec_prefix}/lib
+infodir = ${prefix}/info
+mandir = ${prefix}/man
+includedir = ${prefix}/include
+oldincludedir = /usr/include
+
+DESTDIR =
+
+pkgdatadir = $(datadir)/hfsplus
+pkglibdir = $(libdir)/hfsplus
+pkgincludedir = $(includedir)/hfsplus
+
+top_builddir = ..
+
+ACLOCAL = aclocal
+AUTOCONF = autoconf
+AUTOMAKE = automake
+AUTOHEADER = autoheader
+
+INSTALL = /usr/bin/install -c
+INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_SCRIPT = ${INSTALL_PROGRAM}
+transform = s,x,x,
+
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_alias = powerpc-unknown-linux-gnu
+build_triplet = powerpc-unknown-linux-gnu
+host_alias = powerpc-unknown-linux-gnu
+host_triplet = powerpc-unknown-linux-gnu
+target_alias = powerpc-unknown-linux-gnu
+target_triplet = powerpc-unknown-linux-gnu
+AS = @AS@
+CC = gcc
+DLLTOOL = @DLLTOOL@
+ECHO = echo
+EXEEXT = 
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+MAKEINFO = makeinfo
+OBJDUMP = @OBJDUMP@
+OBJEXT = o
+PACKAGE = hfsplus
+RANLIB = ranlib
+STRIP = strip
+VERSION = 1.0.2
+
+htmldir = $(DOCDIR)/hfsplus
+
+html_DATA =  	bugs.html
+
+
+EXTRA_DIST = $(html_DATA)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = ../config.h
+CONFIG_CLEAN_FILES = 
+DATA =  $(html_DATA)
+
+DIST_COMMON =  Makefile.am Makefile.in
+
+
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
+
+TAR = tar
+GZIP_ENV = --best
+all: all-redirect
+.SUFFIXES:
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+	cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile
+
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
+	cd $(top_builddir) \
+	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
+
+install-htmlDATA: $(html_DATA)
+	@$(NORMAL_INSTALL)
+	$(mkinstalldirs) $(DESTDIR)$(htmldir)
+	@list='$(html_DATA)'; for p in $$list; do \
+	  if test -f $(srcdir)/$$p; then \
+	    echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(htmldir)/$$p"; \
+	    $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(htmldir)/$$p; \
+	  else if test -f $$p; then \
+	    echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$p"; \
+	    $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$p; \
+	  fi; fi; \
+	done
+
+uninstall-htmlDATA:
+	@$(NORMAL_UNINSTALL)
+	list='$(html_DATA)'; for p in $$list; do \
+	  rm -f $(DESTDIR)$(htmldir)/$$p; \
+	done
+tags: TAGS
+TAGS:
+
+
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+
+subdir = doc
+
+distdir: $(DISTFILES)
+	here=`cd $(top_builddir) && pwd`; \
+	top_distdir=`cd $(top_distdir) && pwd`; \
+	distdir=`cd $(distdir) && pwd`; \
+	cd $(top_srcdir) \
+	  && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/Makefile
+	@for file in $(DISTFILES); do \
+	  d=$(srcdir); \
+	  if test -d $$d/$$file; then \
+	    cp -pr $$d/$$file $(distdir)/$$file; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+	    || cp -p $$d/$$file $(distdir)/$$file || :; \
+	  fi; \
+	done
+info-am:
+info: info-am
+dvi-am:
+dvi: dvi-am
+check-am: all-am
+check: check-am
+installcheck-am:
+installcheck: installcheck-am
+install-exec-am:
+install-exec: install-exec-am
+
+install-data-am: install-htmlDATA
+install-data: install-data-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+install: install-am
+uninstall-am: uninstall-htmlDATA
+uninstall: uninstall-am
+all-am: Makefile $(DATA)
+all-redirect: all-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
+installdirs:
+	$(mkinstalldirs)  $(DESTDIR)$(htmldir)
+
+
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
+
+maintainer-clean-generic:
+mostlyclean-am:  mostlyclean-generic
+
+mostlyclean: mostlyclean-am
+
+clean-am:  clean-generic mostlyclean-am
+
+clean: clean-am
+
+distclean-am:  distclean-generic clean-am
+	-rm -f libtool
+
+distclean: distclean-am
+
+maintainer-clean-am:  maintainer-clean-generic distclean-am
+	@echo "This command is intended for maintainers to use;"
+	@echo "it deletes files that may require special tools to rebuild."
+
+maintainer-clean: maintainer-clean-am
+
+.PHONY: uninstall-htmlDATA install-htmlDATA tags distdir info-am info \
+dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
+install-exec install-data-am install-data install-am install \
+uninstall-am uninstall all-redirect all-am all installdirs \
+mostlyclean-generic distclean-generic clean-generic \
+maintainer-clean-generic clean mostlyclean distclean maintainer-clean
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- hfsplus-1.0.2.orig/libhfsp/src/Makefile.in
+++ hfsplus-1.0.2/libhfsp/src/Makefile.in
@@ -0,0 +1,382 @@
+# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
+
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+# Makefile.am for libhfsp/src, used by automake
+# Created by Klaus Kaempf <kkaempf@suse.de>
+#
+# Copyright (C) 2000 Klaus Halfmann <khalfmann@libra.de>
+# Original code 1996-1998 by Robert Leslie <rob@mars.rog>
+# other work 2000 from Brad Boyer (flar@pants.nu)
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+# $Id: Makefile.am,v 1.6 2000/10/17 05:58:46 hasi Exp $
+#
+
+
+SHELL = @SHELL@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+datadir = @datadir@
+sysconfdir = @sysconfdir@
+sharedstatedir = @sharedstatedir@
+localstatedir = @localstatedir@
+libdir = @libdir@
+infodir = @infodir@
+mandir = @mandir@
+includedir = @includedir@
+oldincludedir = /usr/include
+
+DESTDIR =
+
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+
+top_builddir = ../..
+
+ACLOCAL = @ACLOCAL@
+AUTOCONF = @AUTOCONF@
+AUTOMAKE = @AUTOMAKE@
+AUTOHEADER = @AUTOHEADER@
+
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+transform = @program_transform_name@
+
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_alias = @build_alias@
+build_triplet = @build@
+host_alias = @host_alias@
+host_triplet = @host@
+target_alias = @target_alias@
+target_triplet = @target@
+AS = @AS@
+CC = @CC@
+DLLTOOL = @DLLTOOL@
+ECHO = @ECHO@
+EXEEXT = @EXEEXT@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+MAKEINFO = @MAKEINFO@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+RANLIB = @RANLIB@
+STRIP = @STRIP@
+VERSION = @VERSION@
+
+lib_LTLIBRARIES = libhfsp.la
+libhfsp_la_SOURCES =  	    blockiter.c btree.c fscheck.c hfstime.c libhfsp.c os.c unicode.c 	    record.c volume.c  
+
+
+CFLAGS = -O2 -Wall
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = ../../config.h
+CONFIG_CLEAN_FILES = 
+LTLIBRARIES =  $(lib_LTLIBRARIES)
+
+
+DEFS = @DEFS@ -I. -I$(srcdir) -I../..
+CPPFLAGS = @CPPFLAGS@
+LDFLAGS = @LDFLAGS@
+LIBS = @LIBS@
+libhfsp_la_LDFLAGS = 
+libhfsp_la_LIBADD = 
+libhfsp_la_OBJECTS =  blockiter.lo btree.lo fscheck.lo hfstime.lo \
+libhfsp.lo os.lo unicode.lo record.lo volume.lo
+COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
+DIST_COMMON =  Makefile.am Makefile.in
+
+
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
+
+TAR = tar
+GZIP_ENV = --best
+DEP_FILES =  .deps/blockiter.P .deps/btree.P .deps/fscheck.P \
+.deps/hfstime.P .deps/libhfsp.P .deps/os.P .deps/record.P \
+.deps/unicode.P .deps/volume.P
+SOURCES = $(libhfsp_la_SOURCES)
+OBJECTS = $(libhfsp_la_OBJECTS)
+
+all: all-redirect
+.SUFFIXES:
+.SUFFIXES: .S .c .lo .o .obj .s
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+	cd $(top_srcdir) && $(AUTOMAKE) --gnu libhfsp/src/Makefile
+
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
+	cd $(top_builddir) \
+	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
+
+mostlyclean-libLTLIBRARIES:
+
+clean-libLTLIBRARIES:
+	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+
+distclean-libLTLIBRARIES:
+
+maintainer-clean-libLTLIBRARIES:
+
+install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+	@$(NORMAL_INSTALL)
+	$(mkinstalldirs) $(DESTDIR)$(libdir)
+	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+	  if test -f $$p; then \
+	    echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
+	    $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
+	  else :; fi; \
+	done
+
+uninstall-libLTLIBRARIES:
+	@$(NORMAL_UNINSTALL)
+	list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
+	done
+
+# FIXME: We should only use cygpath when building on Windows,
+# and only if it is available.
+.c.obj:
+	$(COMPILE) -c `cygpath -w $<`
+
+.s.o:
+	$(COMPILE) -c $<
+
+.S.o:
+	$(COMPILE) -c $<
+
+mostlyclean-compile:
+	-rm -f *.o core *.core
+	-rm -f *.$(OBJEXT)
+
+clean-compile:
+
+distclean-compile:
+	-rm -f *.tab.c
+
+maintainer-clean-compile:
+
+.s.lo:
+	$(LIBTOOL) --mode=compile $(COMPILE) -c $<
+
+.S.lo:
+	$(LIBTOOL) --mode=compile $(COMPILE) -c $<
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+
+maintainer-clean-libtool:
+
+libhfsp.la: $(libhfsp_la_OBJECTS) $(libhfsp_la_DEPENDENCIES)
+	$(LINK) -rpath $(libdir) $(libhfsp_la_LDFLAGS) $(libhfsp_la_OBJECTS) $(libhfsp_la_LIBADD) $(LIBS)
+
+tags: TAGS
+
+ID: $(HEADERS) $(SOURCES) $(LISP)
+	list='$(SOURCES) $(HEADERS)'; \
+	unique=`for i in $$list; do echo $$i; done | \
+	  awk '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	here=`pwd` && cd $(srcdir) \
+	  && mkid -f$$here/ID $$unique $(LISP)
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)'; \
+	unique=`for i in $$list; do echo $$i; done | \
+	  awk '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
+
+mostlyclean-tags:
+
+clean-tags:
+
+distclean-tags:
+	-rm -f TAGS ID
+
+maintainer-clean-tags:
+
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+
+subdir = libhfsp/src
+
+distdir: $(DISTFILES)
+	here=`cd $(top_builddir) && pwd`; \
+	top_distdir=`cd $(top_distdir) && pwd`; \
+	distdir=`cd $(distdir) && pwd`; \
+	cd $(top_srcdir) \
+	  && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu libhfsp/src/Makefile
+	@for file in $(DISTFILES); do \
+	  d=$(srcdir); \
+	  if test -d $$d/$$file; then \
+	    cp -pr $$d/$$file $(distdir)/$$file; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+	    || cp -p $$d/$$file $(distdir)/$$file || :; \
+	  fi; \
+	done
+
+DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
+
+-include $(DEP_FILES)
+
+mostlyclean-depend:
+
+clean-depend:
+
+distclean-depend:
+	-rm -rf .deps
+
+maintainer-clean-depend:
+
+%.o: %.c
+	@echo '$(COMPILE) -c $<'; \
+	$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
+	@-cp .deps/$(*F).pp .deps/$(*F).P; \
+	tr ' ' '\012' < .deps/$(*F).pp \
+	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
+	    >> .deps/$(*F).P; \
+	rm .deps/$(*F).pp
+
+%.lo: %.c
+	@echo '$(LTCOMPILE) -c $<'; \
+	$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
+	@-sed -e 's/^\([^:]*\)\.o[ 	]*:/\1.lo \1.o :/' \
+	  < .deps/$(*F).pp > .deps/$(*F).P; \
+	tr ' ' '\012' < .deps/$(*F).pp \
+	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
+	    >> .deps/$(*F).P; \
+	rm -f .deps/$(*F).pp
+info-am:
+info: info-am
+dvi-am:
+dvi: dvi-am
+check-am: all-am
+check: check-am
+installcheck-am:
+installcheck: installcheck-am
+install-exec-am: install-libLTLIBRARIES
+install-exec: install-exec-am
+
+install-data-am:
+install-data: install-data-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+install: install-am
+uninstall-am: uninstall-libLTLIBRARIES
+uninstall: uninstall-am
+all-am: Makefile $(LTLIBRARIES)
+all-redirect: all-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
+installdirs:
+	$(mkinstalldirs)  $(DESTDIR)$(libdir)
+
+
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
+
+maintainer-clean-generic:
+mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
+		mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
+		mostlyclean-generic
+
+mostlyclean: mostlyclean-am
+
+clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool clean-tags \
+		clean-depend clean-generic mostlyclean-am
+
+clean: clean-am
+
+distclean-am:  distclean-libLTLIBRARIES distclean-compile \
+		distclean-libtool distclean-tags distclean-depend \
+		distclean-generic clean-am
+	-rm -f libtool
+
+distclean: distclean-am
+
+maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
+		maintainer-clean-compile maintainer-clean-libtool \
+		maintainer-clean-tags maintainer-clean-depend \
+		maintainer-clean-generic distclean-am
+	@echo "This command is intended for maintainers to use;"
+	@echo "it deletes files that may require special tools to rebuild."
+
+maintainer-clean: maintainer-clean-am
+
+.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
+clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
+uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
+distclean-compile clean-compile maintainer-clean-compile \
+mostlyclean-libtool distclean-libtool clean-libtool \
+maintainer-clean-libtool tags mostlyclean-tags distclean-tags \
+clean-tags maintainer-clean-tags distdir mostlyclean-depend \
+distclean-depend clean-depend maintainer-clean-depend info-am info \
+dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
+install-exec install-data-am install-data install-am install \
+uninstall-am uninstall all-redirect all-am all installdirs \
+mostlyclean-generic distclean-generic clean-generic \
+maintainer-clean-generic clean mostlyclean distclean maintainer-clean
+
+
+# I need to clean up this header first becore i can distribute them ...		
+# include_HEADERS = apple.h hfs.h hfsp.h libhfsp.h 
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- hfsplus-1.0.2.orig/libhfsp/test/Makefile.in
+++ hfsplus-1.0.2/libhfsp/test/Makefile.in
@@ -0,0 +1,386 @@
+# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
+
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+#
+# Makefile.am for libhfsp/test
+# Created by Klaus Kaempf <kkaempf@suse.de>
+#
+#
+# libhfsp+ - library for reading and writing Macintosh HFS+ volumes
+# Copyright (C) 1996-1998 Robert Leslie
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+# $Id: Makefile.am,v 1.2 2000/07/30 13:34:24 hasi Exp $
+#
+
+
+SHELL = @SHELL@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+datadir = @datadir@
+sysconfdir = @sysconfdir@
+sharedstatedir = @sharedstatedir@
+localstatedir = @localstatedir@
+libdir = @libdir@
+infodir = @infodir@
+mandir = @mandir@
+includedir = @includedir@
+oldincludedir = /usr/include
+
+DESTDIR =
+
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+
+top_builddir = ../..
+
+ACLOCAL = @ACLOCAL@
+AUTOCONF = @AUTOCONF@
+AUTOMAKE = @AUTOMAKE@
+AUTOHEADER = @AUTOHEADER@
+
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+transform = @program_transform_name@
+
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_alias = @build_alias@
+build_triplet = @build@
+host_alias = @host_alias@
+host_triplet = @host@
+target_alias = @target_alias@
+target_triplet = @target@
+AS = @AS@
+CC = @CC@
+DLLTOOL = @DLLTOOL@
+ECHO = @ECHO@
+EXEEXT = @EXEEXT@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+MAKEINFO = @MAKEINFO@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+RANLIB = @RANLIB@
+STRIP = @STRIP@
+VERSION = @VERSION@
+
+testdir = .
+test_PROGRAMS = hfsptest
+hfsptest_SOURCES = test.c
+hfsptest_LDADD = ../src/libhfsp.la
+
+INCLUDES = -I../src
+
+EXTRA_DIST = volumes
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = ../../config.h
+CONFIG_CLEAN_FILES = 
+test_PROGRAMS =  hfsptest$(EXEEXT)
+PROGRAMS =  $(test_PROGRAMS)
+
+
+DEFS = @DEFS@ -I. -I$(srcdir) -I../..
+CPPFLAGS = @CPPFLAGS@
+LDFLAGS = @LDFLAGS@
+LIBS = @LIBS@
+hfsptest_OBJECTS =  test.$(OBJEXT)
+hfsptest_DEPENDENCIES =  ../src/libhfsp.la
+hfsptest_LDFLAGS = 
+CFLAGS = @CFLAGS@
+COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
+DIST_COMMON =  Makefile.am Makefile.in
+
+
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
+
+TAR = tar
+GZIP_ENV = --best
+DEP_FILES =  .deps/test.P
+SOURCES = $(hfsptest_SOURCES)
+OBJECTS = $(hfsptest_OBJECTS)
+
+all: all-redirect
+.SUFFIXES:
+.SUFFIXES: .S .c .lo .o .obj .s
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+	cd $(top_srcdir) && $(AUTOMAKE) --gnu libhfsp/test/Makefile
+
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
+	cd $(top_builddir) \
+	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
+
+mostlyclean-testPROGRAMS:
+
+clean-testPROGRAMS:
+	-test -z "$(test_PROGRAMS)" || rm -f $(test_PROGRAMS)
+
+distclean-testPROGRAMS:
+
+maintainer-clean-testPROGRAMS:
+
+install-testPROGRAMS: $(test_PROGRAMS)
+	@$(NORMAL_INSTALL)
+	$(mkinstalldirs) $(DESTDIR)$(testdir)
+	@list='$(test_PROGRAMS)'; for p in $$list; do \
+	  if test -f $$p; then \
+	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(testdir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
+	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(testdir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
+	  else :; fi; \
+	done
+
+uninstall-testPROGRAMS:
+	@$(NORMAL_UNINSTALL)
+	list='$(test_PROGRAMS)'; for p in $$list; do \
+	  rm -f $(DESTDIR)$(testdir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
+	done
+
+# FIXME: We should only use cygpath when building on Windows,
+# and only if it is available.
+.c.obj:
+	$(COMPILE) -c `cygpath -w $<`
+
+.s.o:
+	$(COMPILE) -c $<
+
+.S.o:
+	$(COMPILE) -c $<
+
+mostlyclean-compile:
+	-rm -f *.o core *.core
+	-rm -f *.$(OBJEXT)
+
+clean-compile:
+
+distclean-compile:
+	-rm -f *.tab.c
+
+maintainer-clean-compile:
+
+.s.lo:
+	$(LIBTOOL) --mode=compile $(COMPILE) -c $<
+
+.S.lo:
+	$(LIBTOOL) --mode=compile $(COMPILE) -c $<
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+
+maintainer-clean-libtool:
+
+hfsptest$(EXEEXT): $(hfsptest_OBJECTS) $(hfsptest_DEPENDENCIES)
+	@rm -f hfsptest$(EXEEXT)
+	$(LINK) $(hfsptest_LDFLAGS) $(hfsptest_OBJECTS) $(hfsptest_LDADD) $(LIBS)
+
+tags: TAGS
+
+ID: $(HEADERS) $(SOURCES) $(LISP)
+	list='$(SOURCES) $(HEADERS)'; \
+	unique=`for i in $$list; do echo $$i; done | \
+	  awk '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	here=`pwd` && cd $(srcdir) \
+	  && mkid -f$$here/ID $$unique $(LISP)
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)'; \
+	unique=`for i in $$list; do echo $$i; done | \
+	  awk '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
+
+mostlyclean-tags:
+
+clean-tags:
+
+distclean-tags:
+	-rm -f TAGS ID
+
+maintainer-clean-tags:
+
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+
+subdir = libhfsp/test
+
+distdir: $(DISTFILES)
+	here=`cd $(top_builddir) && pwd`; \
+	top_distdir=`cd $(top_distdir) && pwd`; \
+	distdir=`cd $(distdir) && pwd`; \
+	cd $(top_srcdir) \
+	  && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu libhfsp/test/Makefile
+	@for file in $(DISTFILES); do \
+	  d=$(srcdir); \
+	  if test -d $$d/$$file; then \
+	    cp -pr $$d/$$file $(distdir)/$$file; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+	    || cp -p $$d/$$file $(distdir)/$$file || :; \
+	  fi; \
+	done
+
+DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
+
+-include $(DEP_FILES)
+
+mostlyclean-depend:
+
+clean-depend:
+
+distclean-depend:
+	-rm -rf .deps
+
+maintainer-clean-depend:
+
+%.o: %.c
+	@echo '$(COMPILE) -c $<'; \
+	$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
+	@-cp .deps/$(*F).pp .deps/$(*F).P; \
+	tr ' ' '\012' < .deps/$(*F).pp \
+	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
+	    >> .deps/$(*F).P; \
+	rm .deps/$(*F).pp
+
+%.lo: %.c
+	@echo '$(LTCOMPILE) -c $<'; \
+	$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
+	@-sed -e 's/^\([^:]*\)\.o[ 	]*:/\1.lo \1.o :/' \
+	  < .deps/$(*F).pp > .deps/$(*F).P; \
+	tr ' ' '\012' < .deps/$(*F).pp \
+	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
+	    >> .deps/$(*F).P; \
+	rm -f .deps/$(*F).pp
+info-am:
+info: info-am
+dvi-am:
+dvi: dvi-am
+check-am: all-am
+check: check-am
+installcheck-am:
+installcheck: installcheck-am
+install-exec-am:
+install-exec: install-exec-am
+
+install-data-am: install-testPROGRAMS
+install-data: install-data-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+install: install-am
+uninstall-am: uninstall-testPROGRAMS
+uninstall: uninstall-am
+all-am: Makefile $(PROGRAMS)
+all-redirect: all-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
+installdirs:
+	$(mkinstalldirs)  $(DESTDIR)$(testdir)
+
+
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
+
+maintainer-clean-generic:
+mostlyclean-am:  mostlyclean-testPROGRAMS mostlyclean-compile \
+		mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
+		mostlyclean-generic
+
+mostlyclean: mostlyclean-am
+
+clean-am:  clean-testPROGRAMS clean-compile clean-libtool clean-tags \
+		clean-depend clean-generic mostlyclean-am clean-local
+
+clean: clean-am
+
+distclean-am:  distclean-testPROGRAMS distclean-compile \
+		distclean-libtool distclean-tags distclean-depend \
+		distclean-generic clean-am
+	-rm -f libtool
+
+distclean: distclean-am
+
+maintainer-clean-am:  maintainer-clean-testPROGRAMS \
+		maintainer-clean-compile maintainer-clean-libtool \
+		maintainer-clean-tags maintainer-clean-depend \
+		maintainer-clean-generic distclean-am
+	@echo "This command is intended for maintainers to use;"
+	@echo "it deletes files that may require special tools to rebuild."
+
+maintainer-clean: maintainer-clean-am
+
+.PHONY: mostlyclean-testPROGRAMS distclean-testPROGRAMS \
+clean-testPROGRAMS maintainer-clean-testPROGRAMS uninstall-testPROGRAMS \
+install-testPROGRAMS mostlyclean-compile distclean-compile \
+clean-compile maintainer-clean-compile mostlyclean-libtool \
+distclean-libtool clean-libtool maintainer-clean-libtool tags \
+mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
+distdir mostlyclean-depend distclean-depend clean-depend \
+maintainer-clean-depend info-am info dvi-am dvi check check-am \
+installcheck-am installcheck install-exec-am install-exec \
+install-data-am install-data install-am install uninstall-am uninstall \
+all-redirect all-am all installdirs mostlyclean-generic \
+distclean-generic clean-generic maintainer-clean-generic clean \
+mostlyclean distclean maintainer-clean
+
+
+clean-local:
+	rm -f hfsptest
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- hfsplus-1.0.2.orig/libhfsp/test/Makefile
+++ hfsplus-1.0.2/libhfsp/test/Makefile
@@ -0,0 +1,386 @@
+# Generated automatically from Makefile.in by configure.
+# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
+
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+#
+# Makefile.am for libhfsp/test
+# Created by Klaus Kaempf <kkaempf@suse.de>
+#
+#
+# libhfsp+ - library for reading and writing Macintosh HFS+ volumes
+# Copyright (C) 1996-1998 Robert Leslie
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+# $Id: Makefile.am,v 1.2 2000/07/30 13:34:24 hasi Exp $
+#
+
+
+SHELL = /bin/sh
+
+srcdir = .
+top_srcdir = ../..
+prefix = /usr
+exec_prefix = ${prefix}
+
+bindir = ${exec_prefix}/bin
+sbindir = ${exec_prefix}/sbin
+libexecdir = ${exec_prefix}/libexec
+datadir = ${prefix}/share
+sysconfdir = ${prefix}/etc
+sharedstatedir = ${prefix}/com
+localstatedir = ${prefix}/var
+libdir = ${exec_prefix}/lib
+infodir = ${prefix}/info
+mandir = ${prefix}/man
+includedir = ${prefix}/include
+oldincludedir = /usr/include
+
+DESTDIR =
+
+pkgdatadir = $(datadir)/hfsplus
+pkglibdir = $(libdir)/hfsplus
+pkgincludedir = $(includedir)/hfsplus
+
+top_builddir = ../..
+
+ACLOCAL = aclocal
+AUTOCONF = autoconf
+AUTOMAKE = automake
+AUTOHEADER = autoheader
+
+INSTALL = /usr/bin/install -c
+INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_SCRIPT = ${INSTALL_PROGRAM}
+transform = s,x,x,
+
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_alias = powerpc-unknown-linux-gnu
+build_triplet = powerpc-unknown-linux-gnu
+host_alias = powerpc-unknown-linux-gnu
+host_triplet = powerpc-unknown-linux-gnu
+target_alias = powerpc-unknown-linux-gnu
+target_triplet = powerpc-unknown-linux-gnu
+AS = @AS@
+CC = gcc
+DLLTOOL = @DLLTOOL@
+ECHO = echo
+EXEEXT = 
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+MAKEINFO = makeinfo
+OBJDUMP = @OBJDUMP@
+OBJEXT = o
+PACKAGE = hfsplus
+RANLIB = ranlib
+STRIP = strip
+VERSION = 1.0.2
+
+testdir = .
+test_PROGRAMS = hfsptest
+hfsptest_SOURCES = test.c
+hfsptest_LDADD = ../src/libhfsp.la
+
+INCLUDES = -I../src
+
+EXTRA_DIST = volumes
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = ../../config.h
+CONFIG_CLEAN_FILES = 
+test_PROGRAMS =  hfsptest$(EXEEXT)
+PROGRAMS =  $(test_PROGRAMS)
+
+
+DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I../..
+CPPFLAGS = 
+LDFLAGS = 
+LIBS = 
+hfsptest_OBJECTS =  test.$(OBJEXT)
+hfsptest_DEPENDENCIES =  ../src/libhfsp.la
+hfsptest_LDFLAGS = 
+CFLAGS = -g -O2
+COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
+DIST_COMMON =  Makefile.am Makefile.in
+
+
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
+
+TAR = tar
+GZIP_ENV = --best
+DEP_FILES =  .deps/test.P
+SOURCES = $(hfsptest_SOURCES)
+OBJECTS = $(hfsptest_OBJECTS)
+
+all: all-redirect
+.SUFFIXES:
+.SUFFIXES: .S .c .lo .o .obj .s
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+	cd $(top_srcdir) && $(AUTOMAKE) --gnu libhfsp/test/Makefile
+
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
+	cd $(top_builddir) \
+	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
+
+mostlyclean-testPROGRAMS:
+
+clean-testPROGRAMS:
+	-test -z "$(test_PROGRAMS)" || rm -f $(test_PROGRAMS)
+
+distclean-testPROGRAMS:
+
+maintainer-clean-testPROGRAMS:
+
+install-testPROGRAMS: $(test_PROGRAMS)
+	@$(NORMAL_INSTALL)
+	$(mkinstalldirs) $(DESTDIR)$(testdir)
+	@list='$(test_PROGRAMS)'; for p in $$list; do \
+	  if test -f $$p; then \
+	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(testdir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
+	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(testdir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
+	  else :; fi; \
+	done
+
+uninstall-testPROGRAMS:
+	@$(NORMAL_UNINSTALL)
+	list='$(test_PROGRAMS)'; for p in $$list; do \
+	  rm -f $(DESTDIR)$(testdir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
+	done
+
+# FIXME: We should only use cygpath when building on Windows,
+# and only if it is available.
+.c.obj:
+	$(COMPILE) -c `cygpath -w $<`
+
+.s.o:
+	$(COMPILE) -c $<
+
+.S.o:
+	$(COMPILE) -c $<
+
+mostlyclean-compile:
+	-rm -f *.o core *.core
+	-rm -f *.$(OBJEXT)
+
+clean-compile:
+
+distclean-compile:
+	-rm -f *.tab.c
+
+maintainer-clean-compile:
+
+.s.lo:
+	$(LIBTOOL) --mode=compile $(COMPILE) -c $<
+
+.S.lo:
+	$(LIBTOOL) --mode=compile $(COMPILE) -c $<
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+
+maintainer-clean-libtool:
+
+hfsptest$(EXEEXT): $(hfsptest_OBJECTS) $(hfsptest_DEPENDENCIES)
+	@rm -f hfsptest$(EXEEXT)
+	$(LINK) $(hfsptest_LDFLAGS) $(hfsptest_OBJECTS) $(hfsptest_LDADD) $(LIBS)
+
+tags: TAGS
+
+ID: $(HEADERS) $(SOURCES) $(LISP)
+	list='$(SOURCES) $(HEADERS)'; \
+	unique=`for i in $$list; do echo $$i; done | \
+	  awk '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	here=`pwd` && cd $(srcdir) \
+	  && mkid -f$$here/ID $$unique $(LISP)
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)'; \
+	unique=`for i in $$list; do echo $$i; done | \
+	  awk '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
+
+mostlyclean-tags:
+
+clean-tags:
+
+distclean-tags:
+	-rm -f TAGS ID
+
+maintainer-clean-tags:
+
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+
+subdir = libhfsp/test
+
+distdir: $(DISTFILES)
+	here=`cd $(top_builddir) && pwd`; \
+	top_distdir=`cd $(top_distdir) && pwd`; \
+	distdir=`cd $(distdir) && pwd`; \
+	cd $(top_srcdir) \
+	  && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu libhfsp/test/Makefile
+	@for file in $(DISTFILES); do \
+	  d=$(srcdir); \
+	  if test -d $$d/$$file; then \
+	    cp -pr $$d/$$file $(distdir)/$$file; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+	    || cp -p $$d/$$file $(distdir)/$$file || :; \
+	  fi; \
+	done
+
+DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
+
+-include $(DEP_FILES)
+
+mostlyclean-depend:
+
+clean-depend:
+
+distclean-depend:
+	-rm -rf .deps
+
+maintainer-clean-depend:
+
+%.o: %.c
+	@echo '$(COMPILE) -c $<'; \
+	$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
+	@-cp .deps/$(*F).pp .deps/$(*F).P; \
+	tr ' ' '\012' < .deps/$(*F).pp \
+	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
+	    >> .deps/$(*F).P; \
+	rm .deps/$(*F).pp
+
+%.lo: %.c
+	@echo '$(LTCOMPILE) -c $<'; \
+	$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
+	@-sed -e 's/^\([^:]*\)\.o[ 	]*:/\1.lo \1.o :/' \
+	  < .deps/$(*F).pp > .deps/$(*F).P; \
+	tr ' ' '\012' < .deps/$(*F).pp \
+	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
+	    >> .deps/$(*F).P; \
+	rm -f .deps/$(*F).pp
+info-am:
+info: info-am
+dvi-am:
+dvi: dvi-am
+check-am: all-am
+check: check-am
+installcheck-am:
+installcheck: installcheck-am
+install-exec-am:
+install-exec: install-exec-am
+
+install-data-am: install-testPROGRAMS
+install-data: install-data-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+install: install-am
+uninstall-am: uninstall-testPROGRAMS
+uninstall: uninstall-am
+all-am: Makefile $(PROGRAMS)
+all-redirect: all-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
+installdirs:
+	$(mkinstalldirs)  $(DESTDIR)$(testdir)
+
+
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
+
+maintainer-clean-generic:
+mostlyclean-am:  mostlyclean-testPROGRAMS mostlyclean-compile \
+		mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
+		mostlyclean-generic
+
+mostlyclean: mostlyclean-am
+
+clean-am:  clean-testPROGRAMS clean-compile clean-libtool clean-tags \
+		clean-depend clean-generic mostlyclean-am clean-local
+
+clean: clean-am
+
+distclean-am:  distclean-testPROGRAMS distclean-compile \
+		distclean-libtool distclean-tags distclean-depend \
+		distclean-generic clean-am
+	-rm -f libtool
+
+distclean: distclean-am
+
+maintainer-clean-am:  maintainer-clean-testPROGRAMS \
+		maintainer-clean-compile maintainer-clean-libtool \
+		maintainer-clean-tags maintainer-clean-depend \
+		maintainer-clean-generic distclean-am
+	@echo "This command is intended for maintainers to use;"
+	@echo "it deletes files that may require special tools to rebuild."
+
+maintainer-clean: maintainer-clean-am
+
+.PHONY: mostlyclean-testPROGRAMS distclean-testPROGRAMS \
+clean-testPROGRAMS maintainer-clean-testPROGRAMS uninstall-testPROGRAMS \
+install-testPROGRAMS mostlyclean-compile distclean-compile \
+clean-compile maintainer-clean-compile mostlyclean-libtool \
+distclean-libtool clean-libtool maintainer-clean-libtool tags \
+mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
+distdir mostlyclean-depend distclean-depend clean-depend \
+maintainer-clean-depend info-am info dvi-am dvi check check-am \
+installcheck-am installcheck install-exec-am install-exec \
+install-data-am install-data install-am install uninstall-am uninstall \
+all-redirect all-am all installdirs mostlyclean-generic \
+distclean-generic clean-generic maintainer-clean-generic clean \
+mostlyclean distclean maintainer-clean
+
+
+clean-local:
+	rm -f hfsptest
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- hfsplus-1.0.2.orig/libhfsp/Makefile.in
+++ hfsplus-1.0.2/libhfsp/Makefile.in
@@ -0,0 +1,301 @@
+# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
+
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+#
+# Makefile.am for hfsplus
+#
+# Created by Klaus Kaempf <kkaempf@suse.de> and
+#	     Klaus Halfmann <khalfmann@libra.de>
+#
+# $Id: Makefile.am,v 1.6 2000/09/17 15:18:00 hasi Exp $
+
+
+SHELL = @SHELL@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+datadir = @datadir@
+sysconfdir = @sysconfdir@
+sharedstatedir = @sharedstatedir@
+localstatedir = @localstatedir@
+libdir = @libdir@
+infodir = @infodir@
+mandir = @mandir@
+includedir = @includedir@
+oldincludedir = /usr/include
+
+DESTDIR =
+
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+
+top_builddir = ..
+
+ACLOCAL = @ACLOCAL@
+AUTOCONF = @AUTOCONF@
+AUTOMAKE = @AUTOMAKE@
+AUTOHEADER = @AUTOHEADER@
+
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+transform = @program_transform_name@
+
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_alias = @build_alias@
+build_triplet = @build@
+host_alias = @host_alias@
+host_triplet = @host@
+target_alias = @target_alias@
+target_triplet = @target@
+AS = @AS@
+CC = @CC@
+DLLTOOL = @DLLTOOL@
+ECHO = @ECHO@
+EXEEXT = @EXEEXT@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+MAKEINFO = @MAKEINFO@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+RANLIB = @RANLIB@
+STRIP = @STRIP@
+VERSION = @VERSION@
+
+SUBDIRS = src
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = ../config.h
+CONFIG_CLEAN_FILES = 
+DIST_COMMON =  Makefile.am Makefile.in
+
+
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
+
+TAR = tar
+GZIP_ENV = --best
+all: all-redirect
+.SUFFIXES:
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+	cd $(top_srcdir) && $(AUTOMAKE) --gnu libhfsp/Makefile
+
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
+	cd $(top_builddir) \
+	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run `make' without going through this Makefile.
+# To change the values of `make' variables: instead of editing Makefiles,
+# (1) if the variable is set in `config.status', edit `config.status'
+#     (which will cause the Makefiles to be regenerated when you run `make');
+# (2) otherwise, pass the desired values on the `make' command line.
+
+@SET_MAKE@
+
+all-recursive install-data-recursive install-exec-recursive \
+installdirs-recursive install-recursive uninstall-recursive  \
+check-recursive installcheck-recursive info-recursive dvi-recursive:
+	@set fnord $(MAKEFLAGS); amf=$$2; \
+	dot_seen=no; \
+	target=`echo $@ | sed s/-recursive//`; \
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  echo "Making $$target in $$subdir"; \
+	  if test "$$subdir" = "."; then \
+	    dot_seen=yes; \
+	    local_target="$$target-am"; \
+	  else \
+	    local_target="$$target"; \
+	  fi; \
+	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	done; \
+	if test "$$dot_seen" = "no"; then \
+	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+	fi; test -z "$$fail"
+
+mostlyclean-recursive clean-recursive distclean-recursive \
+maintainer-clean-recursive:
+	@set fnord $(MAKEFLAGS); amf=$$2; \
+	dot_seen=no; \
+	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+	  rev="$$subdir $$rev"; \
+	  test "$$subdir" = "." && dot_seen=yes; \
+	done; \
+	test "$$dot_seen" = "no" && rev=". $$rev"; \
+	target=`echo $@ | sed s/-recursive//`; \
+	for subdir in $$rev; do \
+	  echo "Making $$target in $$subdir"; \
+	  if test "$$subdir" = "."; then \
+	    local_target="$$target-am"; \
+	  else \
+	    local_target="$$target"; \
+	  fi; \
+	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	done && test -z "$$fail"
+tags-recursive:
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+	done
+
+tags: TAGS
+
+ID: $(HEADERS) $(SOURCES) $(LISP)
+	list='$(SOURCES) $(HEADERS)'; \
+	unique=`for i in $$list; do echo $$i; done | \
+	  awk '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	here=`pwd` && cd $(srcdir) \
+	  && mkid -f$$here/ID $$unique $(LISP)
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+   if test "$$subdir" = .; then :; else \
+	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+   fi; \
+	done; \
+	list='$(SOURCES) $(HEADERS)'; \
+	unique=`for i in $$list; do echo $$i; done | \
+	  awk '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
+
+mostlyclean-tags:
+
+clean-tags:
+
+distclean-tags:
+	-rm -f TAGS ID
+
+maintainer-clean-tags:
+
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+
+subdir = libhfsp
+
+distdir: $(DISTFILES)
+	here=`cd $(top_builddir) && pwd`; \
+	top_distdir=`cd $(top_distdir) && pwd`; \
+	distdir=`cd $(distdir) && pwd`; \
+	cd $(top_srcdir) \
+	  && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu libhfsp/Makefile
+	@for file in $(DISTFILES); do \
+	  d=$(srcdir); \
+	  if test -d $$d/$$file; then \
+	    cp -pr $$d/$$file $(distdir)/$$file; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+	    || cp -p $$d/$$file $(distdir)/$$file || :; \
+	  fi; \
+	done
+	for subdir in $(SUBDIRS); do \
+	  if test "$$subdir" = .; then :; else \
+	    test -d $(distdir)/$$subdir \
+	    || mkdir $(distdir)/$$subdir \
+	    || exit 1; \
+	    chmod 777 $(distdir)/$$subdir; \
+	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
+	      || exit 1; \
+	  fi; \
+	done
+info-am:
+info: info-recursive
+dvi-am:
+dvi: dvi-recursive
+check-am: all-am
+check: check-recursive
+installcheck-am:
+installcheck: installcheck-recursive
+install-exec-am:
+install-exec: install-exec-recursive
+
+install-data-am:
+install-data: install-data-recursive
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+install: install-recursive
+uninstall-am:
+uninstall: uninstall-recursive
+all-am: Makefile
+all-redirect: all-recursive
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
+installdirs: installdirs-recursive
+installdirs-am:
+
+
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
+
+maintainer-clean-generic:
+mostlyclean-am:  mostlyclean-tags mostlyclean-generic
+
+mostlyclean: mostlyclean-recursive
+
+clean-am:  clean-tags clean-generic mostlyclean-am
+
+clean: clean-recursive
+
+distclean-am:  distclean-tags distclean-generic clean-am
+	-rm -f libtool
+
+distclean: distclean-recursive
+
+maintainer-clean-am:  maintainer-clean-tags maintainer-clean-generic \
+		distclean-am
+	@echo "This command is intended for maintainers to use;"
+	@echo "it deletes files that may require special tools to rebuild."
+
+maintainer-clean: maintainer-clean-recursive
+
+.PHONY: install-data-recursive uninstall-data-recursive \
+install-exec-recursive uninstall-exec-recursive installdirs-recursive \
+uninstalldirs-recursive all-recursive check-recursive \
+installcheck-recursive info-recursive dvi-recursive \
+mostlyclean-recursive distclean-recursive clean-recursive \
+maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
+distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
+install-exec install-data-am install-data install-am install \
+uninstall-am uninstall all-redirect all-am all installdirs-am \
+installdirs mostlyclean-generic distclean-generic clean-generic \
+maintainer-clean-generic clean mostlyclean distclean maintainer-clean
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- hfsplus-1.0.2.orig/src/glob.c
+++ hfsplus-1.0.2/src/glob.c
@@ -48,7 +48,7 @@
 
 	switch (*pat)
 	{
-	    case NULL:	// pattern at end
+	    case 0:	// pattern at end
 		return (!*str); // String at end ?
 
 	    case '*':  // match all
--- hfsplus-1.0.2.orig/debian/hfsplus.sgml
+++ hfsplus-1.0.2/debian/hfsplus.sgml
@@ -0,0 +1,95 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+  <!ENTITY debian   "<productname>Debian GNU/Linux</productname>">
+  <!ENTITY hfsplus  "<productname>hfsplus</productname>">
+  <!ENTITY hfsutils "<productname>hfsutils</productname>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      <email>jensen@debian.org</email>
+    </address>
+    <author>
+      <firstname>Jens</firstname>
+      <surname>Schmalzing</surname>
+    </author>
+    <date>Mar 13 2001</date>
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>hfsplus</refentrytitle>
+    <manvolnum>7</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>hfsplus</refname>
+    <refpurpose>a set of tools to access HFS+ file systems</refpurpose>
+  </refnamediv>
+
+  <refsect1>
+    <title>Description</title>
+
+    <para>
+      HFS+, also known as the Macintosh Extended Format, was
+      introduced by Apple Computer in 1998 with the release of MacOS
+      8.1.  It contains many improvements over the old HFS file
+      system, most notably the ability to allocate up to 2&caret;64
+      blocks, resulting in much more efficient storage of many small
+      files on large disks.
+    </para>
+
+    <para>
+      The &hfsplus; collection allows to access volumes formatted with
+      the HFS+ file system from &debian; and related operating
+      systems.  The collection contains tools to mount and unmount
+      HFS+ volumes, to change and list directories, and to copy
+      files to and from HFS+ volumes.
+    </para>
+
+    <para>
+      Note that unlike its cousin, the &hfsutils; collection used for
+      accessing HFS file systems, &hfsplus; does not use the Macintosh
+      pathname syntax with &quot;:&quot; as delimiter.  Instead, it
+      mimicks the unix notation, delimiting the names of volumes,
+      directories and files in a path with &quot;/&quot;, and also
+      understands &quot;.&quot; and &quot;..&quot; to some extent.
+      </para>
+
+  </refsect1>
+
+  <refsect1>
+    <title>See also</title>
+
+    <para>
+      hpmount(1), hpls(1), hpcd(1), hppwd(1), hpcopy(1), hpumount(1), hpfsck(1).
+    </para>
+  </refsect1>
+
+  <refsect1>
+    <title>Author</title>
+
+    <para>
+      This manual page was written by Jens Schmalzing
+      <email>&lt;jensen@debian.org&gt;</email> for &debian; using the
+      manual page by Klaus Halfmann
+      <email>&lt;halfmann@libra.de&gt;</email> that comes with the
+      source code and documentation from the <productname>Tech Info
+      Library</productname>.
+    </para>
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
--- hfsplus-1.0.2.orig/debian/dirs
+++ hfsplus-1.0.2/debian/dirs
@@ -0,0 +1,3 @@
+usr/bin
+usr/include
+usr/lib
--- hfsplus-1.0.2.orig/debian/hpcd.sgml
+++ hfsplus-1.0.2/debian/hpcd.sgml
@@ -0,0 +1,81 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+  <!ENTITY debian   "<productname>Debian GNU/Linux</productname>">
+  <!ENTITY hfsplus  "<productname>hfsplus</productname>">
+  <!ENTITY hfsutils "<productname>hfsutils</productname>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      <email>jensen@debian.org</email>
+    </address>
+    <author>
+      <firstname>Jens</firstname>
+      <surname>Schmalzing</surname>
+    </author>
+    <date>Mar 13 2001</date>
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>hpcd</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>hpcd</refname>
+    <refpurpose>change directory on an HFS+ volume</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>hpcd</command>
+      <arg choice="plain"> <replaceable>hfs-path</replaceable></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+
+  <refsect1>
+    <title>Description</title>
+    
+    <para>
+      <command>hpcd</command> changes the current working directory on
+      the previously mounted HFS+ volume.  Subsequent commands will
+      interpret filenames relative to this directory.
+    </para>
+  </refsect1>
+  
+  <refsect1>
+    <title>See also</title>
+
+    <para>
+      hfsplus(7), hpmount(1), hpls(1), hppwd(1), hpcopy(1), hpumount(1), hpfsck(1).
+    </para>
+  </refsect1>
+
+  <refsect1>
+    <title>Author</title>
+
+    <para>
+      This manual page was written by Jens Schmalzing
+      <email>&lt;jensen@debian.org&gt;</email> for &debian; using the
+      manual page by Klaus Halfmann
+      <email>&lt;halfmann@libra.de&gt;</email> that comes with the
+      source code and documentation from the <productname>Tech Info
+      Library</productname>.
+    </para>
+  </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
--- hfsplus-1.0.2.orig/debian/hpcopy.sgml
+++ hfsplus-1.0.2/debian/hpcopy.sgml
@@ -0,0 +1,153 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+  <!ENTITY debian   "<productname>Debian GNU/Linux</productname>">
+  <!ENTITY hfsplus  "<productname>hfsplus</productname>">
+  <!ENTITY hfsutils "<productname>hfsutils</productname>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      <email>jensen@debian.org</email>
+    </address>
+    <author>
+      <firstname>Jens</firstname>
+      <surname>Schmalzing</surname>
+    </author>
+    <date>Mar 13 2001</date>
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>hpcopy</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>hpcopy</refname>
+    <refpurpose>copy files from an HFS+ volume</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>hpcopy</command>
+      <group>
+	<arg choice="opt"><option>-m</option></arg>
+	<arg choice="opt"><option>-b</option></arg>
+	<arg choice="opt"><option>-t</option></arg>
+	<arg choice="opt"><option>-r</option></arg>
+	<arg choice="opt"><option>-a</option></arg>
+      </group>
+      <arg choice="plain" rep="repeat"><replaceable>source-path</replaceable></arg>
+      <arg choice="plain"><replaceable>target-path</replaceable></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+
+  <refsect1>
+    <title>Description</title>
+    
+    <para>
+      <command>hpcopy</command> copies files and directories from an
+      HFS+ volume.  If multiple files are to be copied, the target
+      path must be a directory.
+    </para>
+
+    <para>
+      Since Macintosh files contain two forks, which are not
+      representably in Unix file systems, copies use one of several
+      translation modes:
+    </para>
+
+    <variablelist>
+      <varlistentry>
+	<term><option>-m</option></term>
+	<listitem>
+	  <para>
+	    <productname>Mac Binary II</productname> is a format for
+	    binary file transfer.  Both forks of the Macintosh file
+	    are preserved.  This is the recommended mode for
+	    transferring arbitrary Macintosh files.
+	  </para>
+	</listitem>
+      </varlistentry>
+      <varlistentry>
+	<term><option>-b</option></term>
+	<listitem>
+	  <para>
+	    <productname>BinHex</productname> also preserves both
+	    forks of the Macintosh file.  In addition, the encoded
+	    file contains only ASCII characters, making it suitable
+	    for electronic mail transmission.
+	  </para>
+	</listitem>
+      </varlistentry>
+      <varlistentry>
+	<term><option>-t</option></term>
+	<listitem>
+	  <para>
+	    <productname>Text</productname> copies only the data fork
+	    of the Macintosh file, while the contents of the resource
+	    fork are lost.  In addition, this mode translates
+	    end-of-line characters.  This translation should be used
+	    for text files.
+	  </para>
+	</listitem>
+      </varlistentry>
+      <varlistentry>
+	<term><option>-r</option></term>
+	<listitem>
+	  <para>
+	    <productname>Raw Data</productname> copies only the data
+	    fork of the Macintosh file, while the contents of the
+	    resource fork are lost.
+	  </para>
+	</listitem>
+      </varlistentry>
+      <varlistentry>
+	<term><option>-a</option></term>
+	<listitem>
+	  <para>
+	    <productname>Automatic</productname> mode applies a set of
+	    predefined heuristics to determine the appropriate
+	    translation.  This is the default if no mode is specified.
+	  </para>
+	</listitem>
+      </varlistentry>
+    </variablelist>
+
+  </refsect1>
+  
+  <refsect1>
+    <title>See also</title>
+
+    <para>
+      hfsplus(7), hpmount(1), hpls(1), hpcd(1), hppwd(1), hpumount(1), hpfsck(1).
+    </para>
+  </refsect1>
+
+  <refsect1>
+    <title>Author</title>
+
+    <para>
+      This manual page was written by Jens Schmalzing
+      <email>&lt;jensen@debian.org&gt;</email> for &debian; using the
+      manual page by Klaus Halfmann
+      <email>&lt;halfmann@libra.de&gt;</email> that comes with the
+      source code and documentation from the <productname>Tech Info
+      Library</productname>.
+    </para>
+  </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
--- hfsplus-1.0.2.orig/debian/hpfsck.sgml
+++ hfsplus-1.0.2/debian/hpfsck.sgml
@@ -0,0 +1,82 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+  <!ENTITY debian   "<productname>Debian GNU/Linux</productname>">
+  <!ENTITY hfsplus  "<productname>hfsplus</productname>">
+  <!ENTITY hfsutils "<productname>hfsutils</productname>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      <email>jensen@debian.org</email>
+    </address>
+    <author>
+      <firstname>Jens</firstname>
+      <surname>Schmalzing</surname>
+    </author>
+    <date>Mar 13 2001</date>
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>hpfsck</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>hpfsck</refname>
+    <refpurpose>check integrity of an HFS+ volume</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>hpfsck</command>
+      <arg choice="opt"><option>-v</option></arg>
+      <arg choice="plain"><replaceable>source-path</replaceable></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+
+  <refsect1>
+    <title>Description</title>
+    
+    <para>
+      <command>hpfsck</command> checks the integrity of an HFS+
+      volume.  With the <option>-v</option> option, the data contained
+      in the volume header is output as well.
+    </para>
+  </refsect1>
+  
+  <refsect1>
+    <title>See also</title>
+
+    <para>
+      hfsplus(7), hpmount(1), hpls(1), hpcd(1), hppwd(1), hpcopy(1), hpumount(1).
+    </para>
+  </refsect1>
+
+  <refsect1>
+    <title>Author</title>
+
+    <para>
+      This manual page was written by Jens Schmalzing
+      <email>&lt;jensen@debian.org&gt;</email> for &debian; using the
+      manual page by Klaus Halfmann
+      <email>&lt;halfmann@libra.de&gt;</email> that comes with the
+      source code and documentation from the <productname>Tech Info
+      Library</productname>.
+    </para>
+  </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
--- hfsplus-1.0.2.orig/debian/hpls.sgml
+++ hfsplus-1.0.2/debian/hpls.sgml
@@ -0,0 +1,345 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+  <!ENTITY debian   "<productname>Debian GNU/Linux</productname>">
+  <!ENTITY hfsplus  "<productname>hfsplus</productname>">
+  <!ENTITY hfsutils "<productname>hfsutils</productname>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      <email>jensen@debian.org</email>
+    </address>
+    <author>
+      <firstname>Jens</firstname>
+      <surname>Schmalzing</surname>
+    </author>
+    <date>Mar 13 2001</date>
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>hpls</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>hpls</refname>
+    <refpurpose>list the contents of a directory on an HFS+ volume</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>hpls</command>
+      <arg choice="opt"><option>options</option></arg>
+      <arg choice="opt"><replaceable>hfs-path ...</replaceable></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+
+  <refsect1>
+    <title>Description</title>
+    
+    <para>
+      <command>hpls</command> is used to list files and directories on
+      an HFS+ volume.  If one or more arguments are given, each file
+      or directory is shown; otherwise, the contents of the current
+      working directory are displayed.
+    </para>
+    
+  </refsect1>
+
+  <refsect1>
+    <title>Options</title>
+
+    <variablelist>
+
+      <varlistentry>
+	<term><option>-1</option></term>
+	<listitem>
+	  <para>
+	    Each entry appears on a line by itself.  This is the
+	    default if standard output is not a terminal.
+	  </para>
+	</listitem>
+      </varlistentry>
+
+      <varlistentry>
+	<term><option>-a</option></term>
+	<listitem>
+	  <para>
+	    All entries are shown, including &quot;invisible&quot;
+	    files.  The default is to omit invisible files.
+	  </para>
+	</listitem>
+      </varlistentry>
+
+<!-- Whatever this option does, it does *not* what is described here -->
+<!--        <varlistentry> -->
+<!--  	<term><option>-b</option></term> -->
+<!--  	<listitem> -->
+<!--  	  <para> -->
+<!--  	    Special  characters  are  displayed  in  an escaped -->
+<!--  	    backslash notation. Normally special or  non-print- -->
+<!--  	    able  characters  in  filenames  are  replaced by a -->
+<!--  	    question mark (?). -->
+<!--  	  </para> -->
+<!--  	</listitem> -->
+<!--        </varlistentry> -->
+
+      <varlistentry>
+	<term><option>-c</option></term>
+	<listitem>
+	  <para>
+	    Sort and display entries by their creation date, rather
+	    than their modification date.
+	  </para>
+	</listitem>
+      </varlistentry>
+
+      <varlistentry>
+	<term><option>-d</option></term>
+	<listitem>
+	  <para>
+	    List directory entries themselves rather than their
+	    contents. Normally the contents are shown for named
+	    directories on the command-line.
+	  </para>
+	</listitem>
+      </varlistentry>
+
+<!-- This option appears to do nothing -->
+<!--        <varlistentry> -->
+<!--  	<term><option>-f</option></term> -->
+<!--  	<listitem> -->
+<!--  	  <para> -->
+<!--  	    Do not sort directory contents; list them in the order -->
+<!--  	    they appear in the directory.  This option effectively -->
+<!--  	    enables <option>-a</option> and <option>-U</option> and -->
+<!--  	    disables <option>-l</option>, <option>-s</option>, and -->
+<!--  	    <option>-t</option>. -->
+<!--  	  </para> -->
+<!--  	</listitem> -->
+<!--        </varlistentry> -->
+
+      <varlistentry>
+	<term><option>-i</option></term>
+	<listitem>
+	  <para>
+	    Show the catalogue ID for each entry.  Every file and
+	    directory on an HFS+ volume has a unique catalogue ID.
+	  </para>
+	</listitem>
+      </varlistentry>
+
+      <varlistentry>
+	<term><option>-l</option></term>
+	<listitem>
+	  <para>
+	    Display entries in long format.  This format shows the
+	    entry type (&quot;d&quot; for directory, &quot;f&quot; for
+	    file, &quot;F&quot; for locked file), flags (&quot;i&quot;
+	    for invisible), type and creator (four-character strings)
+	    for files only, size (number of items in a directory or
+	    resource and data bytes of a file, respectively), date of
+	    last modification (or creation if the <option>-c</option>
+	    flag is given), and name.
+	  </para>
+	</listitem>
+      </varlistentry>
+
+      <varlistentry>
+	<term><option>-m</option></term>
+	<listitem>
+	  <para>
+	    Display entries in a continuous format separated by
+	    commas.
+	  </para>
+	</listitem>
+      </varlistentry>
+
+      <varlistentry>
+	<term><option>-q</option></term>
+	<listitem>
+	  <para>
+	    Replace special and non-printable characters in displayed
+	    filenames with question marks (?).  This is the default
+	    when standard output is a terminal.
+	  </para>
+	</listitem>
+      </varlistentry>
+
+      <varlistentry>
+	<term><option>-r</option></term>
+	<listitem>
+	  <para>
+	    Sort entries in reverse order before displaying.
+	  </para>
+	</listitem>
+      </varlistentry>
+
+      <varlistentry>
+	<term><option>-s</option></term>
+	<listitem>
+	  <para>
+	    Show the file size for each entry in 1K block units.  The
+	    size includes blocks used for both data and resource
+	    forks.
+	  </para>
+	</listitem>
+      </varlistentry>
+
+      <varlistentry>
+	<term><option>-t</option></term>
+	<listitem>
+	  <para>
+	    Sort and display entries by time.  Normally files will be
+	    sorted by name. This option uses the last modification
+	    date to sort unless <option>-c</option> is also specified.
+	  </para>
+	</listitem>
+      </varlistentry>
+
+      <varlistentry>
+	<term><option>-x</option></term>
+	<listitem>
+	  <para>
+	    Display entries in column format like <option>-C</option>,
+	    but sorted horizontally into rows rather than columns.
+	  </para>
+	</listitem>
+      </varlistentry>
+
+      <varlistentry>
+	<term><option>-w</option> <replaceable>width</replaceable></term>
+	<listitem>
+	  <para>
+	    Format output lines suitable for display in the given
+	    width.  Normally the width will be determined from your
+	    terminal, from the environment variable
+	    <envar>COLUMNS</envar>, or from a default value of 80.
+	  </para>
+	</listitem>
+      </varlistentry>
+
+      <varlistentry>
+	<term><option>-C</option></term>
+	<listitem>
+	  <para>
+	    Display entries in column format with entries sorted
+            vertically.  This is the default output format when
+            standard output is a terminal.
+	  </para>
+	</listitem>
+      </varlistentry>
+
+      <varlistentry>
+	<term><option>-F</option></term>
+	<listitem>
+	  <para>
+	     Cause certain output filenames to be followed by a
+              single-character flag indicating the nature of the
+              entry; directories are followed by a slash &quot;/&quot;
+              and executable Macintosh applications are followed by an
+              asterisk &quot;*&quot;.
+	  </para>
+	</listitem>
+      </varlistentry>
+
+      <varlistentry>
+	<term><option>-N</option></term>
+	<listitem>
+	  <para>
+	    Cause all filenames to be output verbatim without
+	    question-mark substitution.
+	  </para>
+	</listitem>
+      </varlistentry>
+
+<!-- Just like the -b option, this produces just a lot of garbage -->
+<!--        <varlistentry> -->
+<!--  	<term><option>-Q</option></term> -->
+<!--  	<listitem> -->
+<!--  	  <para> -->
+<!--  	    Cause all filenames to be enclosed within double-quotes -->
+<!--  	    (&quot;) and special/non-printable characters to be -->
+<!--  	    properly escaped. -->
+<!--  	  </para> -->
+<!--  	</listitem> -->
+<!--        </varlistentry> -->
+
+      <varlistentry>
+	<term><option>-R</option></term>
+	<listitem>
+	  <para>
+	    For each directory that is encountered in a listing,
+	    recursively descend into and display its contents.
+	  </para>
+	</listitem>
+      </varlistentry>
+
+<!-- This option apparently does not work -->
+<!--        <varlistentry> -->
+<!--  	<term><option>-S</option></term> -->
+<!--  	<listitem> -->
+<!--  	  <para> -->
+<!--  	    Sort  and  display  entries by size. For files, the -->
+<!--  	    combined resource and data lengths are used to com- -->
+<!--  	    pute a file's size. -->
+<!--  	  </para> -->
+<!--  	</listitem> -->
+<!--        </varlistentry> -->
+
+<!-- This option apparently does not work -->
+<!--        <varlistentry> -->
+<!--  	<term><option>-U</option></term> -->
+<!--  	<listitem> -->
+<!--  	  <para> -->
+<!--  	    Do not sort directory contents; list them in the order -->
+<!--  	    they appear in the directory.  On HFS+ volumes, this is -->
+<!--  	    usually an alphabetical case-insensitive ordering, -->
+<!--  	    although there are some idiosyncrasies to the Macintosh -->
+<!--  	    implementation of ordering.  This option does not affect -->
+<!--  	    <option>-a</option>, <option>-l</option>, or -->
+<!--  	    <option>-s</option>. -->
+<!--  	  </para> -->
+<!--  	</listitem> -->
+<!--        </varlistentry> -->
+
+    </variablelist>
+
+  </refsect1>
+  
+  <refsect1>
+    <title>See also</title>
+
+    <para>
+      hfsplus(7), hpmount(1), hpcd(1), hppwd(1), hpcopy(1), hpumount(1), hpfsck(1).
+    </para>
+  </refsect1>
+
+  <refsect1>
+    <title>Author</title>
+
+    <para>
+      This manual page was written by Jens Schmalzing
+      <email>&lt;jensen@debian.org&gt;</email> for &debian; using the
+      manual page by Klaus Halfmann
+      <email>&lt;halfmann@libra.de&gt;</email> that comes with the
+      source code and documentation from the <productname>Tech Info
+      Library</productname>.
+    </para>
+  </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
--- hfsplus-1.0.2.orig/debian/hpmount.sgml
+++ hfsplus-1.0.2/debian/hpmount.sgml
@@ -0,0 +1,88 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+  <!ENTITY debian   "<productname>Debian GNU/Linux</productname>">
+  <!ENTITY hfsplus  "<productname>hfsplus</productname>">
+  <!ENTITY hfsutils "<productname>hfsutils</productname>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      <email>jensen@debian.org</email>
+    </address>
+    <author>
+      <firstname>Jens</firstname>
+      <surname>Schmalzing</surname>
+    </author>
+    <date>Mar 13 2001</date>
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>hpmount</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>hpmount</refname>
+    <refpurpose>change directory on an HFS+ volume</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>hpmount</command>
+      <arg choice="plain"> <replaceable>source-path</replaceable></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+
+  <refsect1>
+    <title>Description</title>
+    
+    <para>
+      <command>hpmount</command> introduces a new HFS+ volume.  The
+      source path may specify a block device or a regular file
+      containing an HFS+ volume image.
+    </para>
+
+    <para>
+      Furthermore, <command>hpmount</command> creates the file
+      <filename>.hfsplusvolume</filename> in the user's home
+      directory, where the source path and the catalogue ID of the
+      current working directory are stored.
+    </para>
+  </refsect1>
+  
+  <refsect1>
+    <title>See also</title>
+
+    <para>
+      hfsplus(7), hpls(1), hpcd(1), hppwd(1), hpcopy(1), hpumount(1), hpfsck(1).
+    </para>
+  </refsect1>
+
+  <refsect1>
+    <title>Author</title>
+
+    <para>
+      This manual page was written by Jens Schmalzing
+      <email>&lt;jensen@debian.org&gt;</email> for &debian; using the
+      manual page by Klaus Halfmann
+      <email>&lt;halfmann@libra.de&gt;</email> that comes with the
+      source code and documentation from the <productname>Tech Info
+      Library</productname>.
+    </para>
+  </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
--- hfsplus-1.0.2.orig/debian/hppwd.sgml
+++ hfsplus-1.0.2/debian/hppwd.sgml
@@ -0,0 +1,82 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+  <!ENTITY debian   "<productname>Debian GNU/Linux</productname>">
+  <!ENTITY hfsplus  "<productname>hfsplus</productname>">
+  <!ENTITY hfsutils "<productname>hfsutils</productname>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      <email>jensen@debian.org</email>
+    </address>
+    <author>
+      <firstname>Jens</firstname>
+      <surname>Schmalzing</surname>
+    </author>
+    <date>Mar 13 2001</date>
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>hppwd</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>hppwd</refname>
+    <refpurpose>print the current working directory on an HFS+ volume</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>hppwd</command>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+
+  <refsect1>
+    <title>Description</title>
+    
+    <para>
+      <command>hppwd</command> prints the absolute pathname to the
+      current directory on the previously mounted HFS+ volume.  Note
+      that individual volume and directory names in the path are
+      separated with slashes &quot;/&quot; instead of the
+      Macintosh-style colons &quot;:&quot;.
+    </para>
+  </refsect1>
+  
+  <refsect1>
+    <title>See also</title>
+
+    <para>
+      hfsplus(7), hpmount(1), hpls(1), hpcd(1), hpcopy(1), hpumount(1), hpfsck(1).
+    </para>
+  </refsect1>
+
+  <refsect1>
+    <title>Author</title>
+
+    <para>
+      This manual page was written by Jens Schmalzing
+      <email>&lt;jensen@debian.org&gt;</email> for &debian; using the
+      manual page by Klaus Halfmann
+      <email>&lt;halfmann@libra.de&gt;</email> that comes with the
+      source code and documentation from the <productname>Tech Info
+      Library</productname>.
+    </para>
+  </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
--- hfsplus-1.0.2.orig/debian/copyright
+++ hfsplus-1.0.2/debian/copyright
@@ -0,0 +1,11 @@
+This package was debianized by Jens Schmalzing <jensen@debian.org> on
+Sun, 11 Mar 2001 22:02:06 +0100.
+
+It was downloaded from http://www.penguinppc.org/usr/ftp/pub/hfsplus/hfsplus.src.tar.gz
+
+Upstream Author(s): Klaus Halfmann <khalfmann@libra.de>
+
+Copyright:
+
+hfsplus is covered under the terms of the GPL.  See the file
+/usr/share/common-licenses/GPL for more information.
--- hfsplus-1.0.2.orig/debian/hpumount.sgml
+++ hfsplus-1.0.2/debian/hpumount.sgml
@@ -0,0 +1,82 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+  <!ENTITY debian   "<productname>Debian GNU/Linux</productname>">
+  <!ENTITY hfsplus  "<productname>hfsplus</productname>">
+  <!ENTITY hfsutils "<productname>hfsutils</productname>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      <email>jensen@debian.org</email>
+    </address>
+    <author>
+      <firstname>Jens</firstname>
+      <surname>Schmalzing</surname>
+    </author>
+    <date>Mar 13 2001</date>
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>hpumount</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>hpumount</refname>
+    <refpurpose>unmount an HFS+ volume</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>hpumount</command>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+
+  <refsect1>
+    <title>Description</title>
+    
+    <para>
+      <command>hpumount</command> is used to forget about a previously
+      mounted HFS+ volume.  However, the command does not change the
+      volume itself, it simply removes the
+      <filename>.hfsplusvolume</filename> file in the user's home
+      directory.
+    </para>
+  </refsect1>
+  
+  <refsect1>
+    <title>See also</title>
+
+    <para>
+      hfsplus(7), hpmount(1), hpls(1), hpcd(1), hppwd(1), hpcopy(1), hpfsck(1).
+    </para>
+  </refsect1>
+
+  <refsect1>
+    <title>Author</title>
+
+    <para>
+      This manual page was written by Jens Schmalzing
+      <email>&lt;jensen@debian.org&gt;</email> for &debian; using the
+      manual page by Klaus Halfmann
+      <email>&lt;halfmann@libra.de&gt;</email> that comes with the
+      source code and documentation from the <productname>Tech Info
+      Library</productname>.
+    </para>
+  </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
--- hfsplus-1.0.2.orig/debian/docs
+++ hfsplus-1.0.2/debian/docs
@@ -0,0 +1,2 @@
+NEWS
+README
--- hfsplus-1.0.2.orig/debian/changelog
+++ hfsplus-1.0.2/debian/changelog
@@ -0,0 +1,31 @@
+hfsplus (1.0.2-4) unstable; urgency=low
+
+  * Fixed a typo in the copyright file (closes: Bug#126963).
+  
+  * Took the opportunity to clean out the other lintian warnings as well.
+
+ -- Jens Schmalzing <jensen@debian.org>  Sun, 30 Dec 2001 11:31:48 +0100
+
+hfsplus (1.0.2-3) unstable; urgency=low
+
+  * Removed a NULL value from a case statement, so the package will build
+    with gcc-3.0 (closes: Bug#120137).
+
+ -- Jens Schmalzing <jensen@debian.org>  Mon, 19 Nov 2001 15:36:55 +0000
+
+hfsplus (1.0.2-2) unstable; urgency=low
+
+  * Architecture changed from powerpc to any (closes: Bug#95377).  I don't
+    see how the package should be useful on anything but PowerPC hardware,
+    given that it only reads HFS+ volumes which still need to be created
+    and populated by MacOS.  But you never know ...
+
+ -- Jens Schmalzing <jensen@debian.org>  Fri, 27 Apr 2001 09:44:40 +0200
+
+hfsplus (1.0.2-1) unstable; urgency=low
+
+  * Initial Release (closes: Bug#89426).
+
+ -- Jens Schmalzing <jensen@debian.org>  Sun, 11 Mar 2001 22:02:06 +0100
+
+
--- hfsplus-1.0.2.orig/debian/control
+++ hfsplus-1.0.2/debian/control
@@ -0,0 +1,43 @@
+Source: hfsplus
+Section: otherosfs
+Priority: optional
+Maintainer: Jens Schmalzing <jensen@debian.org>
+Build-Depends: autoconf, automake, libtool, docbook-to-man, debhelper (>> 3.0.0)
+Standards-Version: 3.2.1
+
+Package: libhfsp0
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: shared library to access HFS+ formatted volumes
+ HFS+ is a modernized version of Apple Computer's HFS Filesystem.
+ Nowadays, it is widely used with more recent versions of MacOS.
+ Unfortunately, it is not yet supported by the Linux kernel.  hfsplus
+ consists of a library and set of tools that allow access to HFS+
+ volumes.
+ .  
+ This package contains a shared version of the library.
+
+Package: hfsplus
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: tools to access HFS+ formatted volumes
+ HFS+ is a modernized version of Apple Computer's HFS Filesystem.
+ Nowadays, it is widely used with more recent versions of MacOS.
+ Unfortunately, it is not yet supported by the Linux kernel.  hfsplus
+ consists of a library and set of tools that allow access to HFS+
+ volumes.
+ .
+ This package contains the tools themselves.
+
+Package: libhfsp-dev
+Architecture: any
+Depends: libhfsp0 (= ${Source-Version}), libc6-dev
+Description: library to access HFS+ formatted volumes
+ HFS+ is a modernized version of Apple Computer's HFS Filesystem.
+ Nowadays, it is widely used with more recent versions of MacOS.
+ Unfortunately, it is not yet supported by the Linux kernel.  hfsplus
+ consists of a library and set of tools that allow access to HFS+
+ volumes.
+ .  
+ This package contains everything you need to write programs that use
+ this library, i.e. header files and an archive version of the library.
--- hfsplus-1.0.2.orig/debian/rules
+++ hfsplus-1.0.2/debian/rules
@@ -0,0 +1,99 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=3
+
+# shared library versions, option 1
+version=0.0.0
+major=0
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	aclocal
+	automake -a
+	autoconf
+	autoheader
+	./configure --prefix=/usr
+	touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+	dh_testdir
+
+	cd debian; for man in hfsplus.7 hpcd.1 hpcopy.1 hpfsck.1 hpls.1 hpmount.1 hppwd.1 hpumount.1; do docbook-to-man $${man/[17]/sgml} > $$man; done
+	$(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	-$(MAKE) -k clean maintainer-clean
+	find . -type l -exec rm {} \;
+	rm -f debian/*.[17]
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/hfsplus
+	install -c -m 644 -o root -g root libhfsp/src/*.h $(CURDIR)/debian/libhfsp0/usr/include
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+#	
+#	build library packages by moving files from hfsplus
+#	
+	dh_movefiles --sourcedir=debian/hfsplus -plibhfsp$(major) \
+	usr/lib/libhfsp.so.$(major) usr/lib/libhfsp.so.$(version)
+	dh_movefiles --sourcedir=debian/hfsplus -plibhfsp-dev \
+	usr/lib/libhfsp.so usr/lib/libhfsp.a
+	dh_movefiles --sourcedir=debian/libhfsp0 -plibhfsp-dev \
+	usr/include
+#	dh_installdebconf	
+	dh_installdocs doc/*.html
+#	dh_installexamples
+#	dh_installcron
+	dh_installman -p hfsplus debian/hfsplus.7 debian/hpcd.1 debian/hpcopy.1 debian/hpfsck.1 debian/hpls.1 debian/hpmount.1 debian/hppwd.1 debian/hpumount.1
+#	dh_installinfo
+#	dh_undocumented
+	dh_installchangelogs ChangeLog
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	# You may want to make some executables suid here.
+#	dh_suidregister
+	dh_makeshlibs
+	dh_installdeb
+#	dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Any other binary targets build just one binary package at a time.
+binary-%: build install
+	make -f debian/rules binary-common DH_OPTIONS=-p$*
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- hfsplus-1.0.2.orig/debian/libhfsp0.postinst
+++ hfsplus-1.0.2/debian/libhfsp0.postinst
@@ -0,0 +1,3 @@
+#! /bin/sh -e 
+
+#DEBHELPER#
--- hfsplus-1.0.2.orig/config.h.in
+++ hfsplus-1.0.2/config.h.in
@@ -0,0 +1,35 @@
+/* config.h.in.  Generated automatically from configure.in by autoheader 2.13.  */
+
+/* Define to empty if the keyword does not work.  */
+#undef const
+
+/* Define to `unsigned' if <sys/types.h> doesn't define.  */
+#undef size_t
+
+/* Define if you have the ANSI C header files.  */
+#undef STDC_HEADERS
+
+/* Define if your <sys/time.h> declares struct tm.  */
+#undef TM_IN_SYS_TIME
+
+/* Define if you have the mktime function.  */
+#undef HAVE_MKTIME
+
+/* Define if you have the <dlfcn.h> header file.  */
+#undef HAVE_DLFCN_H
+
+/* Define if you have the <fcntl.h> header file.  */
+#undef HAVE_FCNTL_H
+
+/* Define if you have the <unistd.h> header file.  */
+#undef HAVE_UNISTD_H
+
+/* Name of package */
+#undef PACKAGE
+
+/* Version number of package */
+#undef VERSION
+
+/* 'enable diagnostic debugging support' */
+#undef DEBUG
+
openSUSE Build Service is sponsored by