Commits

Wez Furlong  committed afeb120

embrace automake

  • Participants
  • Parent commits 7b852fc

Comments (0)

Files changed (7)

 src/Makefile
 src/config.h
 src/config.h.in*
+Makefile.in
+aclocal.m4
+depcomp
+install-sh
+missing
+src/*.o
+src/extras/*.o
+.deps
+compile
+src/.deps
+.dirstamp
+config.guess
+config.sub
+src/stamp-h1
+
+bin_PROGRAMS = AtomicParsley
+
+AM_CPPFLAGS = -DHAVE_CONFIG_H
+
+if DARWIN
+AM_CPPFLAGS += -DDARWIN_PLATFORM
+AM_OBJCFLAGS = -DDARWIN_PLATFORM $(UNIVERSAL_FLAGS)
+AM_CFLAGS = -DDARWIN_PLATFORM $(UNIVERSAL_FLAGS)
+AM_CXXFLAGS = -DDARWIN_PLATFORM $(UNIVERSAL_FLAGS)
+AM_LDFLAGS = $(UNIVERSAL_FLAGS) \
+	-framework Cocoa -framework Foundation -framework IOKit
+endif
+
+AtomicParsley_SOURCES = \
+	src/AP_commons.cpp \
+	src/AP_arrays.cpp \
+	src/AP_iconv.cpp \
+	src/AtomicParsley.cpp \
+	src/AP_AtomExtracts.cpp \
+	src/APar_sha1.cpp \
+	src/APar_uuid.cpp \
+	src/AP_ID3v2_tags.cpp \
+	src/AP_MetadataListings.cpp \
+	src/AP_CDTOC.cpp \
+	src/APar_zlib.cpp \
+	src/main.cpp 
+
+.mm.o:
+	$(OBJC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_OBJCFLAGS) $(OBJCFLAGS) -c -o $@ $<
+
+if DARWIN
+AtomicParsley_SOURCES += \
+	src/AP_NSFile_utils.mm \
+	src/AP_NSImage.mm
+endif
+
+if NEED_GETOPT
+AtomicParsley_SOURCES += \
+	src/extras/getopt.c \
+	src/extras/getopt1.c
+endif
+
-# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
+# Makefile.in generated by automake 1.10 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006  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.
 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 # PARTICULAR PURPOSE.
 
+@SET_MAKE@
 
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+bin_PROGRAMS = AtomicParsley$(EXEEXT)
+@DARWIN_TRUE@am__append_1 = -DDARWIN_PLATFORM
+@DARWIN_TRUE@am__append_2 = \
+@DARWIN_TRUE@	src/AP_NSFile_utils.mm \
+@DARWIN_TRUE@	src/AP_NSImage.mm
+
+@NEED_GETOPT_TRUE@am__append_3 = \
+@NEED_GETOPT_TRUE@	src/extras/getopt.c \
+@NEED_GETOPT_TRUE@	src/extras/getopt1.c
+
+subdir = .
+DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
+	$(srcdir)/Makefile.in $(top_srcdir)/configure \
+	$(top_srcdir)/src/config.h.in COPYING compile config.guess \
+	config.sub depcomp install-sh missing
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+ configure.lineno config.status.lineno
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+am__installdirs = "$(DESTDIR)$(bindir)"
+binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+PROGRAMS = $(bin_PROGRAMS)
+am__AtomicParsley_SOURCES_DIST = src/AP_commons.cpp src/AP_arrays.cpp \
+	src/AP_iconv.cpp src/AtomicParsley.cpp src/AP_AtomExtracts.cpp \
+	src/APar_sha1.cpp src/APar_uuid.cpp src/AP_ID3v2_tags.cpp \
+	src/AP_MetadataListings.cpp src/AP_CDTOC.cpp src/APar_zlib.cpp \
+	src/main.cpp src/AP_NSFile_utils.mm src/AP_NSImage.mm \
+	src/extras/getopt.c src/extras/getopt1.c
+am__dirstamp = $(am__leading_dot)dirstamp
+@DARWIN_TRUE@am__objects_1 = src/AP_NSFile_utils.$(OBJEXT) \
+@DARWIN_TRUE@	src/AP_NSImage.$(OBJEXT)
+@NEED_GETOPT_TRUE@am__objects_2 = src/extras/getopt.$(OBJEXT) \
+@NEED_GETOPT_TRUE@	src/extras/getopt1.$(OBJEXT)
+am_AtomicParsley_OBJECTS = src/AP_commons.$(OBJEXT) \
+	src/AP_arrays.$(OBJEXT) src/AP_iconv.$(OBJEXT) \
+	src/AtomicParsley.$(OBJEXT) src/AP_AtomExtracts.$(OBJEXT) \
+	src/APar_sha1.$(OBJEXT) src/APar_uuid.$(OBJEXT) \
+	src/AP_ID3v2_tags.$(OBJEXT) src/AP_MetadataListings.$(OBJEXT) \
+	src/AP_CDTOC.$(OBJEXT) src/APar_zlib.$(OBJEXT) \
+	src/main.$(OBJEXT) $(am__objects_1) $(am__objects_2)
+AtomicParsley_OBJECTS = $(am_AtomicParsley_OBJECTS)
+AtomicParsley_LDADD = $(LDADD)
+DEFAULT_INCLUDES = -I. -I$(top_builddir)/src@am__isrc@
+depcomp =
+am__depfiles_maybe =
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+CXXLD = $(CXX)
+CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
+	-o $@
+SOURCES = $(AtomicParsley_SOURCES)
+DIST_SOURCES = $(am__AtomicParsley_SOURCES_DIST)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+am__remove_distdir = \
+  { test ! -d $(distdir) \
+    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
+         && rm -fr $(distdir); }; }
+DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
+GZIP_ENV = --best
+distuninstallcheck_listfiles = find . -type f -print
+distcleancheck_listfiles = find . -type f -print
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AP_CROSS_ARCH = @AP_CROSS_ARCH@
+AP_NATIVE_ARCH = @AP_NATIVE_ARCH@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+GREP = @GREP@
+HAVE_DARWIN_PLATFORM = @HAVE_DARWIN_PLATFORM@
+HAVE_GETOPT_H = @HAVE_GETOPT_H@
+HAVE_LIBZ = @HAVE_LIBZ@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+OBJC = @OBJC@
+OBJCFLAGS = @OBJCFLAGS@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
-
-srcdir = @srcdir@
-top_srcdir = @top_srcdir@
-VPATH = @srcdir@
-prefix = @prefix@
+STRIP = @STRIP@
+UNIVERSAL_FLAGS = @UNIVERSAL_FLAGS@
+VERSION = @VERSION@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_OBJC = @ac_ct_OBJC@
+am__leading_dot = @am__leading_dot@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+debug = @debug@
+docdir = @docdir@
+dvidir = @dvidir@
 exec_prefix = @exec_prefix@
-
-bindir = @bindir@
-datadir = @datadir@
-exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
 includedir = @includedir@
 infodir = @infodir@
+install_sh = @install_sh@
 libdir = @libdir@
 libexecdir = @libexecdir@
+localedir = @localedir@
 localstatedir = @localstatedir@
 mandir = @mandir@
+mkdir_p = @mkdir_p@
 oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
 sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+universal = @universal@
+AM_CPPFLAGS = -DHAVE_CONFIG_H $(am__append_1)
+@DARWIN_TRUE@AM_OBJCFLAGS = -DDARWIN_PLATFORM $(UNIVERSAL_FLAGS)
+@DARWIN_TRUE@AM_CFLAGS = -DDARWIN_PLATFORM $(UNIVERSAL_FLAGS)
+@DARWIN_TRUE@AM_CXXFLAGS = -DDARWIN_PLATFORM $(UNIVERSAL_FLAGS)
+@DARWIN_TRUE@AM_LDFLAGS = $(UNIVERSAL_FLAGS) \
+@DARWIN_TRUE@	-framework Cocoa -framework Foundation -framework IOKit
 
-@SET_MAKE@
-CC = @CC@
-CFLAGS = @CFLAGS@
-CPPFLAGS = @CPPFLAGS@
-DEFS = @DEFS@
-LIBS = @LIBS@
-LDFLAGS = @LDFLAGS@
-INSTALL = @INSTALL@
+AtomicParsley_SOURCES = src/AP_commons.cpp src/AP_arrays.cpp \
+	src/AP_iconv.cpp src/AtomicParsley.cpp src/AP_AtomExtracts.cpp \
+	src/APar_sha1.cpp src/APar_uuid.cpp src/AP_ID3v2_tags.cpp \
+	src/AP_MetadataListings.cpp src/AP_CDTOC.cpp src/APar_zlib.cpp \
+	src/main.cpp $(am__append_2) $(am__append_3)
+all: all-am
 
-SUBDIRS = src
+.SUFFIXES:
+.SUFFIXES: .c .cpp .mm .o .obj
+am--refresh:
+	@:
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign  --ignore-deps'; \
+	      cd $(srcdir) && $(AUTOMAKE) --foreign  --ignore-deps \
+		&& exit 0; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps Makefile'; \
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --foreign  --ignore-deps Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    echo ' $(SHELL) ./config.status'; \
+	    $(SHELL) ./config.status;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+	esac;
 
-all:
-	@for i in $(SUBDIRS); do \
-	  echo "Making all in $$i ..."; \
-	  cd $$i; $(MAKE) all; \
-	  cd ..; \
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	$(SHELL) ./config.status --recheck
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+	cd $(srcdir) && $(AUTOCONF)
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+
+src/config.h: src/stamp-h1
+	@if test ! -f $@; then \
+	  rm -f src/stamp-h1; \
+	  $(MAKE) $(AM_MAKEFLAGS) src/stamp-h1; \
+	else :; fi
+
+src/stamp-h1: $(top_srcdir)/src/config.h.in $(top_builddir)/config.status
+	@rm -f src/stamp-h1
+	cd $(top_builddir) && $(SHELL) ./config.status src/config.h
+$(top_srcdir)/src/config.h.in:  $(am__configure_deps) 
+	cd $(top_srcdir) && $(AUTOHEADER)
+	rm -f src/stamp-h1
+	touch $@
+
+distclean-hdr:
+	-rm -f src/config.h src/stamp-h1
+install-binPROGRAMS: $(bin_PROGRAMS)
+	@$(NORMAL_INSTALL)
+	test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
+	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+	  if test -f $$p \
+	  ; then \
+	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+	   echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+	   $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
+	  else :; fi; \
 	done
 
-clean:
-	@for i in $(SUBDIRS); do \
-	  echo "Making clean in $$i ..."; \
-	  cd $$i; $(MAKE) clean; \
-	  cd ..; \
+uninstall-binPROGRAMS:
+	@$(NORMAL_UNINSTALL)
+	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
 	done
 
-install:
+clean-binPROGRAMS:
+	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+src/$(am__dirstamp):
+	@$(MKDIR_P) src
+	@: > src/$(am__dirstamp)
+src/AP_commons.$(OBJEXT): src/$(am__dirstamp)
+src/AP_arrays.$(OBJEXT): src/$(am__dirstamp)
+src/AP_iconv.$(OBJEXT): src/$(am__dirstamp)
+src/AtomicParsley.$(OBJEXT): src/$(am__dirstamp)
+src/AP_AtomExtracts.$(OBJEXT): src/$(am__dirstamp)
+src/APar_sha1.$(OBJEXT): src/$(am__dirstamp)
+src/APar_uuid.$(OBJEXT): src/$(am__dirstamp)
+src/AP_ID3v2_tags.$(OBJEXT): src/$(am__dirstamp)
+src/AP_MetadataListings.$(OBJEXT): src/$(am__dirstamp)
+src/AP_CDTOC.$(OBJEXT): src/$(am__dirstamp)
+src/APar_zlib.$(OBJEXT): src/$(am__dirstamp)
+src/main.$(OBJEXT): src/$(am__dirstamp)
+src/AP_NSFile_utils.$(OBJEXT): src/$(am__dirstamp)
+src/AP_NSImage.$(OBJEXT): src/$(am__dirstamp)
+src/extras/$(am__dirstamp):
+	@$(MKDIR_P) src/extras
+	@: > src/extras/$(am__dirstamp)
+src/extras/getopt.$(OBJEXT): src/extras/$(am__dirstamp)
+src/extras/getopt1.$(OBJEXT): src/extras/$(am__dirstamp)
+AtomicParsley$(EXEEXT): $(AtomicParsley_OBJECTS) $(AtomicParsley_DEPENDENCIES) 
+	@rm -f AtomicParsley$(EXEEXT)
+	$(CXXLINK) $(AtomicParsley_OBJECTS) $(AtomicParsley_LDADD) $(LIBS)
 
-uninstall:
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT)
+	-rm -f src/AP_AtomExtracts.$(OBJEXT)
+	-rm -f src/AP_CDTOC.$(OBJEXT)
+	-rm -f src/AP_ID3v2_tags.$(OBJEXT)
+	-rm -f src/AP_MetadataListings.$(OBJEXT)
+	-rm -f src/AP_NSFile_utils.$(OBJEXT)
+	-rm -f src/AP_NSImage.$(OBJEXT)
+	-rm -f src/AP_arrays.$(OBJEXT)
+	-rm -f src/AP_commons.$(OBJEXT)
+	-rm -f src/AP_iconv.$(OBJEXT)
+	-rm -f src/APar_sha1.$(OBJEXT)
+	-rm -f src/APar_uuid.$(OBJEXT)
+	-rm -f src/APar_zlib.$(OBJEXT)
+	-rm -f src/AtomicParsley.$(OBJEXT)
+	-rm -f src/extras/getopt.$(OBJEXT)
+	-rm -f src/extras/getopt1.$(OBJEXT)
+	-rm -f src/main.$(OBJEXT)
 
-maint-clean:
-	@for i in $(SUBDIRS); do \
-	  echo "Making maint-clean in $$i ..."; \
-	  cd $$i; $(MAKE) maint-clean; \
-	  cd ..; \
+distclean-compile:
+	-rm -f *.tab.c
+
+.c.o:
+	$(COMPILE) -c -o $@ $<
+
+.c.obj:
+	$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cpp.o:
+	$(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+	$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+tags: TAGS
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  test -n "$$unique" || unique=$$empty_fix; \
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	    $$tags $$unique; \
+	fi
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+	$(am__remove_distdir)
+	test -d $(distdir) || mkdir $(distdir)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+	list='$(DISTFILES)'; \
+	  dist_files=`for file in $$list; do echo $$file; done | \
+	  sed -e "s|^$$srcdirstrip/||;t" \
+	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+	case $$dist_files in \
+	  */*) $(MKDIR_P) `echo "$$dist_files" | \
+			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+			   sort -u` ;; \
+	esac; \
+	for file in $$dist_files; do \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  if test -d $$d/$$file; then \
+	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
 	done
-	rm -f config.cache config.h config.log config.status *~ Makefile
-	rm -f src/Makefile
-	rm -rf obj_dir
-	rm -rf autom4te.cache
-	rm -rf AtomicParsley AtomicParsley_ppc AtomicParsley_i386
+	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
+	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
+	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
+	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
+	|| chmod -R a+r $(distdir)
+dist-gzip: distdir
+	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+	$(am__remove_distdir)
+dist-bzip2: distdir
+	tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
+	$(am__remove_distdir)
 
-dist-clean:
+dist-tarZ: distdir
+	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
+	$(am__remove_distdir)
 
-.PHONY: all clean install dist-clean maint-clean
+dist-shar: distdir
+	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+	$(am__remove_distdir)
 
+dist-zip: distdir
+	-rm -f $(distdir).zip
+	zip -rq $(distdir).zip $(distdir)
+	$(am__remove_distdir)
+
+dist dist-all: distdir
+	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+	tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
+	$(am__remove_distdir)
+
+# This target untars the dist file and tries a VPATH configuration.  Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+	case '$(DIST_ARCHIVES)' in \
+	*.tar.gz*) \
+	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
+	*.tar.bz2*) \
+	  bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
+	*.tar.Z*) \
+	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
+	*.shar.gz*) \
+	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
+	*.zip*) \
+	  unzip $(distdir).zip ;;\
+	esac
+	chmod -R a-w $(distdir); chmod a+w $(distdir)
+	mkdir $(distdir)/_build
+	mkdir $(distdir)/_inst
+	chmod a-w $(distdir)
+	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
+	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
+	  && cd $(distdir)/_build \
+	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
+	    $(DISTCHECK_CONFIGURE_FLAGS) \
+	  && $(MAKE) $(AM_MAKEFLAGS) \
+	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
+	  && $(MAKE) $(AM_MAKEFLAGS) check \
+	  && $(MAKE) $(AM_MAKEFLAGS) install \
+	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
+	        distuninstallcheck \
+	  && chmod -R a-w "$$dc_install_base" \
+	  && ({ \
+	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
+	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
+	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
+	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
+	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
+	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
+	  && rm -rf "$$dc_destdir" \
+	  && $(MAKE) $(AM_MAKEFLAGS) dist \
+	  && rm -rf $(DIST_ARCHIVES) \
+	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
+	$(am__remove_distdir)
+	@(echo "$(distdir) archives ready for distribution: "; \
+	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
+	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
+distuninstallcheck:
+	@cd $(distuninstallcheck_dir) \
+	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
+	   || { echo "ERROR: files left after uninstall:" ; \
+	        if test -n "$(DESTDIR)"; then \
+	          echo "  (check DESTDIR support)"; \
+	        fi ; \
+	        $(distuninstallcheck_listfiles) ; \
+	        exit 1; } >&2
+distcleancheck: distclean
+	@if test '$(srcdir)' = . ; then \
+	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
+	  exit 1 ; \
+	fi
+	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
+	  || { echo "ERROR: files left in build directory after distclean:" ; \
+	       $(distcleancheck_listfiles) ; \
+	       exit 1; } >&2
+check-am: all-am
+check: check-am
+all-am: Makefile $(PROGRAMS)
+installdirs:
+	for dir in "$(DESTDIR)$(bindir)"; do \
+	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+	done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+	-rm -f src/$(am__dirstamp)
+	-rm -f src/extras/$(am__dirstamp)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
+
+distclean: distclean-am
+	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
+	-rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+	distclean-hdr distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-exec-am: install-binPROGRAMS
+
+install-html: install-html-am
+
+install-info: install-info-am
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-ps: install-ps-am
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
+	-rm -rf $(top_srcdir)/autom4te.cache
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-binPROGRAMS
+
+.MAKE: install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
+	clean-binPROGRAMS clean-generic ctags dist dist-all dist-bzip2 \
+	dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \
+	distclean-compile distclean-generic distclean-hdr \
+	distclean-tags distcleancheck distdir distuninstallcheck dvi \
+	dvi-am html html-am info info-am install install-am \
+	install-binPROGRAMS install-data install-data-am install-dvi \
+	install-dvi-am install-exec install-exec-am install-html \
+	install-html-am install-info install-info-am install-man \
+	install-pdf install-pdf-am install-ps install-ps-am \
+	install-strip installcheck installcheck-am installdirs \
+	maintainer-clean maintainer-clean-generic mostlyclean \
+	mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
+	tags uninstall uninstall-am uninstall-binPROGRAMS
+
+
+.mm.o:
+	$(OBJC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_OBJCFLAGS) $(OBJCFLAGS) -c -o $@ $<
 # 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:
-
-# vim:ts=2:sw=2:noet:
+#!/bin/sh
+# vim:ts=2:sw=2:et:
+autoheader
+aclocal
+automake --add-missing --foreign
+autoconf

File configure.ac

 dnl Process this file with autoconf to produce a configure script.
 
 dnl Some intro checks and defines
-AC_INIT(atomicparsley,0.9.3,http://bitbucket.org/wez/atomicparsley/issues/new/)
+
 AC_PREREQ(2.50)
+
+AC_INIT([atomicparsley],[0.9.3],
+  [http://bitbucket.org/wez/atomicparsley/issues/new/])
+  
+dnl Need to disable dependency tracking option so that the universal
+dnl build option works for OSX
+AM_INIT_AUTOMAKE([dist-bzip2 foreign no-dependencies subdir-objects -Wall])
+
+AC_CANONICAL_HOST
+
+AC_ARG_ENABLE(universal, dnl
+[  --disable-universal     build a universal binary on Mac OS X [default=yes]],
+              universal=$enableval, universal=yes)
+
+case $host in
+  *darwin*)
+
+    AP_NATIVE_ARCH=`arch`
+    case $AP_NATIVE_ARCH in
+      ppc*)
+        AP_CROSS_ARCH="i386"
+      ;;
+    *)
+        AP_CROSS_ARCH="ppc"
+      ;;
+    esac
+    AC_SUBST(AP_CROSS_ARCH)
+    AC_SUBST(AP_NATIVE_ARCH)
+
+    HAVE_DARWIN_PLATFORM="true"
+    AC_SUBST(HAVE_DARWIN_PLATFORM)
+
+    AC_MSG_CHECKING([if we are os/x universal])
+    if test "$universal" = "yes" ; then
+      AC_MSG_RESULT([building for $AP_NATIVE_ARCH and $AP_CROSS_ARCH])
+      UNIVERSAL_FLAGS="-arch $AP_NATIVE_ARCH -arch $AP_CROSS_ARCH"
+      AC_SUBST(UNIVERSAL_FLAGS)
+    fi
+    AC_MSG_RESULT([no])
+    ;;
+  *)
+    universal="no"
+    HAVE_DARWIN_PLATFORM="false"
+    ;;
+esac
+
+AC_SUBST(universal)
+
 AC_CONFIG_SRCDIR(src/AtomicParsley.cpp)
 AC_CONFIG_HEADER(src/config.h)
 
+AM_PROG_CC_C_O
 AC_PROG_CXX
-AC_PROG_MAKE_SET
+AC_PROG_OBJC
 
 AC_HEADER_DIRENT
 AC_HEADER_STDC
 AC_HEADER_SYS_WAIT
-AC_CHECK_HEADERS([stdio.h string.h stdlib.h time.h math.h signal.h \
-                  wchar.h \
-                  stddef.h \
-                  sys/types.h sys/stat.h errno.h \
-                  zlib.h])
+AC_CHECK_HEADERS([\
+stdio.h \
+string.h \
+stdlib.h \
+time.h \
+math.h \
+signal.h \
+wchar.h \
+stddef.h \
+sys/types.h \
+sys/stat.h \
+errno.h  \
+zlib.h \
+linux/cdrom.h \
+])
 
 AC_CHECK_HEADERS(getopt.h, [HAVE_GETOPT_H=1; AC_SUBST(HAVE_GETOPT_H)])
 
-AC_CHECK_HEADERS(linux/cdrom.h)
-
 AC_C_CONST
 
-AC_CHECK_FUNCS([fseeko fsetpos memset memcmp remove rename sranddev sscanf strdup strerror strftime strncmp strncasecmp strrchr strsep strstr strtol wmemset])
+AC_CHECK_FUNCS([\
+fseeko \
+fsetpos \
+lroundf \
+memset \
+memcmp \
+remove \
+rename \
+sranddev \
+sscanf \
+strdup \
+strerror \
+strftime \
+strncmp \
+strncasecmp \
+strrchr \
+strsep \
+strstr \
+strtol \
+wmemset \
+])
+
 AC_FUNC_MALLOC
-AC_CHECK_FUNCS(lroundf)
 
-AC_CHECK_LIB(z, deflateEnd, [HAVE_LIBZ=1; AC_SUBST(HAVE_LIBZ)])
-
-AP_NATIVE_ARCH=`arch`
-case $AP_NATIVE_ARCH in
-  ppc*)
-    AP_CROSS_ARCH="i386"
-    ;;
-  *)
-    AP_CROSS_ARCH="ppc"
-    ;;
-esac
-AC_SUBST(AP_CROSS_ARCH)
-AC_SUBST(AP_NATIVE_ARCH)
-
-AP_OS_NAME=`uname -s | cut -d '_' -f1`
-os_name=$AP_OS_NAME
-AC_SUBST(os_name)
-AC_DEFINE_UNQUOTED(os_name, $AP_OS_NAME, [OS Platform name])
-if test "$os_name" = "Darwin" ; then
-  HAVE_DARWIN_PLATFORM="true"
-  AC_SUBST(HAVE_DARWIN_PLATFORM)
-fi
+AC_CHECK_LIB(z, deflateEnd, [
+  HAVE_LIBZ=1
+  AC_SUBST(HAVE_LIBZ)
+  LIBS="$LIBS -lz"
+],[
+  AC_MSG_ERROR([zlib is required])
+]
+)
 
 CFLAGS="-D_FILE_OFFSET_BITS=64 $CFLAGS"
 CXXFLAGS="-D_FILE_OFFSET_BITS=64 $CXXFLAGS"
 
-AC_ARG_ENABLE(universal, dnl
-[  --disable-universal     build a universal binary on Mac OS X [default=yes]],
-              universal=$enableval, universal=yes)
-AC_MSG_CHECKING([if we are os/x universal])
-if test "$universal$AP_OS_NAME" = "yesDarwin" ; then
-  AC_MSG_RESULT([building for $AP_NATIVE_ARCH and $AP_CROSS_ARCH])
-else
-  universal="no"
-   AC_MSG_RESULT([no])
-fi
-AC_SUBST(universal)
-AC_SUBST(DARWIN_U_SYSROOT)
-
-
 AC_ARG_ENABLE(debug, dnl
 [  --disable-debug_build   do not build a debug version [default=yes]],
               debug=$enableval, debug=no)
   AC_SUBST(debug)
 fi
 
-echo "Creating files"
-AC_OUTPUT([Makefile src/Makefile])
-echo
+AM_CONDITIONAL([NEED_GETOPT], [test x$HAVE_GETOPT_H = x])
+AM_CONDITIONAL([DARWIN], [test x$HAVE_DARWIN_PLATFORM = xtrue])
+AM_CONDITIONAL([UNIVERSAL], [test x$universal = xyes])
 
-
+AC_OUTPUT([Makefile])
 
 echo "+----------------------------------------------+"
 echo "|                  SUCCESS                     |"
 echo "|             YOUR CONFIGURATION               |"
 echo "+----------------------------------------------+"
 
-echo "  Version:      $PACKAGE_VERSION"
+echo "  Version:           $PACKAGE_VERSION"
 
-if test "$universal" = "no" ; then
-	echo "  MacOSX universal build:       disabled"
-else
-	echo "  MacOSX universal build:       enabled"
+if test "$universal" = "yes" ; then
+	echo "  universal build:   enabled"
 fi	
 
 if test "$debug" = "no" ; then

File src/Makefile.in

-# 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.
-
-
-SHELL = @SHELL@
-
-srcdir = @srcdir@
-top_srcdir = @top_srcdir@
-VPATH = @srcdir@
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-bindir = @bindir@
-datadir = @datadir@
-exec_prefix = @exec_prefix@
-includedir = @includedir@
-infodir = @infodir@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localstatedir = @localstatedir@
-mandir = @mandir@
-oldincludedir = @oldincludedir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-sysconfdir = @sysconfdir@
-
-CXX = @CXX@
-CXXFLAGS = @CXXFLAGS@
-DEFS = @DEFS@
-LIBS = @LIBS@
-LDFLAGS = @LDFLAGS@
-INSTALL = @INSTALL@
-
-DEBUG = @debug@
-HAVE_LIBZ = @HAVE_LIBZ@
-OS_NAME = @os_name@
-HAVE_DARWIN_PLATFORM = @HAVE_DARWIN_PLATFORM@
-DARWIN_BUILD_UNIVERSAL = @universal@
-DARWIN_NATIVE_ARCH = @AP_NATIVE_ARCH@
-DARWIN_CROSS_ARCH = @AP_CROSS_ARCH@
-DARWIN_UNIVERSAL_SDK_ROOT = @DARWIN_U_SYSROOT@
-HAVE_GETOPT = @HAVE_GETOPT_H@
-
-CXXFLAGS+= -Wall -Wno-unused
-CPPFLAGS+=-DHAVE_CONFIG_H
-
-EXTRA_LIBS = -lz
-
-LINK = link
-
-STRIP = 
-
-ALL_OBJ = $(AP_OBJ_DIR)/*.o
-AP_OBJ_DIR = $(top_srcdir)/obj_dir
-COMMON_SOURCE_FILES = AP_commons.cpp AP_arrays.cpp AP_iconv.cpp \
-AtomicParsley.cpp AP_AtomExtracts.cpp APar_sha1.cpp APar_uuid.cpp \
-AP_ID3v2_tags.cpp AP_MetadataListings.cpp AP_CDTOC.cpp main.cpp
-COMMON_OBJ = makeworkdir $(AP_OBJ_DIR)/AP_commons.o \
-		$(AP_OBJ_DIR)/AP_arrays.o \
-		$(AP_OBJ_DIR)/AP_iconv.o \
-		$(AP_OBJ_DIR)/AtomicParsley.o \
-		$(AP_OBJ_DIR)/AP_AtomExtracts.o \
-		$(AP_OBJ_DIR)/APar_sha1.o \
-		$(AP_OBJ_DIR)/APar_uuid.o \
-		$(AP_OBJ_DIR)/AP_ID3v2_tags.o \
-		$(AP_OBJ_DIR)/AP_MetadataListings.o \
-		$(AP_OBJ_DIR)/AP_CDTOC.o \
-		$(AP_OBJ_DIR)/main.o
-
-
-ifneq ($(HAVE_GETOPT), 1)
-COMMON_SOURCE_FILES+= extras/getopt.c extras/getopt1.c
-COMMON_OBJ+= $(AP_OBJ_DIR)/getopt.o $(AP_OBJ_DIR)/getopt1.o
-endif
-
-ifeq ($(DEBUG), yes)
-CPPFLAGS+=-DDEBUG_V
-STRIP = strip $(top_srcdir)/AtomicParsley
-endif
-
-ifeq ("$(OS_NAME)", "Darwin")
-COMMON_SOURCE_FILES+= AP_NSFile_utils.mm AP_NSImage.mm
-COMMON_OBJ+= $(AP_OBJ_DIR)/AP_NSFile_utils.o $(AP_OBJ_DIR)/AP_NSImage.o
-CPPFLAGS+=-DDARWIN_PLATFORM
-LDFLAGS+=-framework Cocoa -framework Foundation -framework IOKit
-endif
-
-ifeq ($(HAVE_LIBZ), 1)
-COMMON_OBJ+=$(AP_OBJ_DIR)/APar_zlib.o
-endif
-
-ifeq ("$(DARWIN_BUILD_UNIVERSAL)", "yes")
-STRIP = strip $(top_srcdir)/AtomicParsley_$(DARWIN_NATIVE_ARCH); \
-	strip $(top_srcdir)/AtomicParsley_$(DARWIN_CROSS_ARCH)
-LINK = link-universal
-#COMMON_OBJ = $(patsubst %_$(DARWIN_NATIVE_ARCH).o,%.o,$(wildcard *.o))
-endif
-
-#-------------------------------------------------------------------------
-all:	$(COMMON_OBJ) $(LINK)
-
-.SUFFIXES: .cpp .c .mm .o 
-
-makeworkdir:
-	mkdir -p $(AP_OBJ_DIR)
-
-$(AP_OBJ_DIR)/%.o: %.c
-	@echo "$< ..."
-	$(CXX) $(CXXFLAGS) -I../src $(CPPFLAGS) $(EXTRACPPFLAGS) -MT $(AP_OBJ_DIR)/$*.o -MD -MP -MF $(AP_OBJ_DIR)/$*.Tpo -c -o $(AP_OBJ_DIR)/$*.o $*.c
-
-$(AP_OBJ_DIR)/%.o: %.cpp
-ifeq ("$(DARWIN_BUILD_UNIVERSAL)", "yes")
-	@echo "$< ..."
-	$(CXX) -arch $(DARWIN_NATIVE_ARCH) $(CXXFLAGS) -I../src $(CPPFLAGS) $(EXTRACPPFLAGS) -MT $(AP_OBJ_DIR)/$*.o -MD -MP -MF $(AP_OBJ_DIR)/$*.Tpo -c -o $(AP_OBJ_DIR)/$*_$(DARWIN_NATIVE_ARCH).o $*.cpp
-	$(CXX) -arch $(DARWIN_CROSS_ARCH) $(CXXFLAGS) -I../src $(CPPFLAGS) $(EXTRACPPFLAGS) -MT $(AP_OBJ_DIR)/$*.o -MD -MP -MF $(AP_OBJ_DIR)/$*_$(DARWIN_CROSS_ARCH).Tpo -c -o $(AP_OBJ_DIR)/$*_$(DARWIN_CROSS_ARCH).o $*.cpp
-else
-	$(CXX) $(CXXFLAGS) -I../src $(CPPFLAGS) $(EXTRACPPFLAGS) -MT $(AP_OBJ_DIR)/$*.o -MD -MP -MF $(AP_OBJ_DIR)/$*.Tpo -c -o $(AP_OBJ_DIR)/$*.o $*.cpp
-endif
-
-#include $(AP_OBJ_DIR)/*.Tpo
-
-$(AP_OBJ_DIR)/%.o: %.mm
-ifeq ("$(DARWIN_BUILD_UNIVERSAL)", "yes")
-	@echo "$< ..."
-	$(CXX) -arch $(DARWIN_NATIVE_ARCH) $(CXXFLAGS) -I../src $(CPPFLAGS) $(EXTRACPPFLAGS) -MT $(AP_OBJ_DIR)/$*.o -MD -MP -MF $(AP_OBJ_DIR)/$*.Tpo -c -o $(AP_OBJ_DIR)/$*_$(DARWIN_NATIVE_ARCH).o $*.mm
-	$(CXX) -arch $(DARWIN_CROSS_ARCH) $(CXXFLAGS) -I../src $(CPPFLAGS) $(EXTRACPPFLAGS) -MT $(AP_OBJ_DIR)/$*.o -MD -MP -MF $(AP_OBJ_DIR)/$*.Tpo -c -o $(AP_OBJ_DIR)/$*_$(DARWIN_CROSS_ARCH).o $*.mm
-else
-	$(CXX) $(CXXFLAGS) -I../src $(CPPFLAGS) $(EXTRACPPFLAGS) -MT $(AP_OBJ_DIR)/$*.o -MD -MP -MF $(AP_OBJ_DIR)/$*.Tpo -c -o $(AP_OBJ_DIR)/$*.o $*.mm
-endif
-
-link:
-	@echo "Linking ..."
-	$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(top_srcdir)/AtomicParsley $(ALL_OBJ) $(EXTRA_LIBS)
-	$(STRIP)
-
-link-universal:
-	@echo "Linking & lipo joining ..."
-	$(CXX) -arch $(DARWIN_NATIVE_ARCH) $(CXXFLAGS) $(LDFLAGS) -o $(top_srcdir)/AtomicParsley_$(DARWIN_NATIVE_ARCH) $(AP_OBJ_DIR)/*_$(DARWIN_NATIVE_ARCH).o $(EXTRA_LIBS)
-	$(CXX) -arch $(DARWIN_CROSS_ARCH) $(CXXFLAGS) $(LDFLAGS) $(DARWIN_UNIVERSAL_SDK_ROOT) -o $(top_srcdir)/AtomicParsley_$(DARWIN_CROSS_ARCH) $(AP_OBJ_DIR)/*_$(DARWIN_CROSS_ARCH).o $(EXTRA_LIBS)
-	$(STRIP)
-	lipo -arch $(DARWIN_NATIVE_ARCH) $(top_srcdir)/AtomicParsley_$(DARWIN_NATIVE_ARCH) -arch $(DARWIN_CROSS_ARCH) $(top_srcdir)/AtomicParsley_$(DARWIN_CROSS_ARCH) -create -output $(top_srcdir)/AtomicParsley
-
-
-clean:
-	rm -rf $(AP_OBJ_DIR)
-
-install:
-
-uninstall:
-
-maint-clean:
-
-dist-clean:
-
-.PHONY: all clean install dist-clean maint-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:

File src/config.h.in

 /* src/config.h.in.  Generated from configure.ac by autoheader.  */
 
-/* Define program version */
-#undef AP_VER
-
 /* build binary with debug output */
 #undef DEBUG
 
 /* Define to 1 if you have the `strstr' function. */
 #undef HAVE_STRSTR
 
+/* Define to 1 if you have the `strtol' function. */
+#undef HAVE_STRTOL
+
 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
    */
 #undef HAVE_SYS_DIR_H
 /* Define to 1 if you have the <wchar.h> header file. */
 #undef HAVE_WCHAR_H
 
+/* Define to 1 if you have the `wmemset' function. */
+#undef HAVE_WMEMSET
+
 /* Define to 1 if you have the <zlib.h> header file. */
 #undef HAVE_ZLIB_H
 
+/* Define to 1 if your C compiler doesn't accept -c and -o together. */
+#undef NO_MINUS_C_MINUS_O
+
+/* Name of package */
+#undef PACKAGE
+
 /* Define to the address where bug reports for this package should be sent. */
 #undef PACKAGE_BUGREPORT
 
 /* Define to 1 if you have the ANSI C header files. */
 #undef STDC_HEADERS
 
+/* Version number of package */
+#undef VERSION
+
 /* Define to empty if `const' does not conform to ANSI C. */
 #undef const
 
 /* Define to rpl_malloc if the replacement function should be used. */
 #undef malloc
-
-/* OS Platform name */
-#undef os_name