Added FLAC's build directory
authorSam Lantinga <slouken@libsdl.org>
Thu, 12 Oct 2017 20:52:47 -0700
changeset 753f66cf4c47a55
parent 752 179d33287b46
child 754 dac1854c8826
Added FLAC's build directory
.hgignore
external/flac-1.3.2/build/Makefile.am
external/flac-1.3.2/build/Makefile.in
external/flac-1.3.2/build/compile.mk
external/flac-1.3.2/build/config.mk
external/flac-1.3.2/build/exe.mk
external/flac-1.3.2/build/lib.mk
     1.1 --- a/.hgignore	Thu Oct 12 20:13:18 2017 -0700
     1.2 +++ b/.hgignore	Thu Oct 12 20:52:47 2017 -0700
     1.3 @@ -1,3 +1,5 @@
     1.4 +syntax:regexp
     1.5 +^build
     1.6  syntax:glob
     1.7  autom4te*
     1.8  config.cache
     1.9 @@ -14,5 +16,4 @@
    1.10  .DS_Store
    1.11  xcuserdata
    1.12  *.xcworkspace
    1.13 -build
    1.14  SDL2_mixer.pc
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/external/flac-1.3.2/build/Makefile.am	Thu Oct 12 20:52:47 2017 -0700
     2.3 @@ -0,0 +1,23 @@
     2.4 +#  FLAC - Free Lossless Audio Codec
     2.5 +#  Copyright (C) 2002-2009  Josh Coalson
     2.6 +#  Copyright (C) 2011-2016  Xiph.Org Foundation
     2.7 +#
     2.8 +#  This file is part the FLAC project.  FLAC is comprised of several
     2.9 +#  components distributed under different licenses.  The codec libraries
    2.10 +#  are distributed under Xiph.Org's BSD-like license (see the file
    2.11 +#  COPYING.Xiph in this distribution).  All other programs, libraries, and
    2.12 +#  plugins are distributed under the GPL (see COPYING.GPL).  The documentation
    2.13 +#  is distributed under the Gnu FDL (see COPYING.FDL).  Each file in the
    2.14 +#  FLAC distribution contains at the top the terms under which it may be
    2.15 +#  distributed.
    2.16 +#
    2.17 +#  Since this particular file is relevant to all components of FLAC,
    2.18 +#  it may be distributed under the Xiph.Org license, which is the least
    2.19 +#  restrictive of those mentioned above.  See the file COPYING.Xiph in this
    2.20 +#  distribution.
    2.21 +
    2.22 +EXTRA_DIST = \
    2.23 +	compile.mk \
    2.24 +	config.mk \
    2.25 +	exe.mk \
    2.26 +	lib.mk
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/external/flac-1.3.2/build/Makefile.in	Thu Oct 12 20:52:47 2017 -0700
     3.3 @@ -0,0 +1,503 @@
     3.4 +# Makefile.in generated by automake 1.15 from Makefile.am.
     3.5 +# @configure_input@
     3.6 +
     3.7 +# Copyright (C) 1994-2014 Free Software Foundation, Inc.
     3.8 +
     3.9 +# This Makefile.in is free software; the Free Software Foundation
    3.10 +# gives unlimited permission to copy and/or distribute it,
    3.11 +# with or without modifications, as long as this notice is preserved.
    3.12 +
    3.13 +# This program is distributed in the hope that it will be useful,
    3.14 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
    3.15 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
    3.16 +# PARTICULAR PURPOSE.
    3.17 +
    3.18 +@SET_MAKE@
    3.19 +
    3.20 +#  FLAC - Free Lossless Audio Codec
    3.21 +#  Copyright (C) 2002-2009  Josh Coalson
    3.22 +#  Copyright (C) 2011-2016  Xiph.Org Foundation
    3.23 +#
    3.24 +#  This file is part the FLAC project.  FLAC is comprised of several
    3.25 +#  components distributed under different licenses.  The codec libraries
    3.26 +#  are distributed under Xiph.Org's BSD-like license (see the file
    3.27 +#  COPYING.Xiph in this distribution).  All other programs, libraries, and
    3.28 +#  plugins are distributed under the GPL (see COPYING.GPL).  The documentation
    3.29 +#  is distributed under the Gnu FDL (see COPYING.FDL).  Each file in the
    3.30 +#  FLAC distribution contains at the top the terms under which it may be
    3.31 +#  distributed.
    3.32 +#
    3.33 +#  Since this particular file is relevant to all components of FLAC,
    3.34 +#  it may be distributed under the Xiph.Org license, which is the least
    3.35 +#  restrictive of those mentioned above.  See the file COPYING.Xiph in this
    3.36 +#  distribution.
    3.37 +VPATH = @srcdir@
    3.38 +am__is_gnu_make = { \
    3.39 +  if test -z '$(MAKELEVEL)'; then \
    3.40 +    false; \
    3.41 +  elif test -n '$(MAKE_HOST)'; then \
    3.42 +    true; \
    3.43 +  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
    3.44 +    true; \
    3.45 +  else \
    3.46 +    false; \
    3.47 +  fi; \
    3.48 +}
    3.49 +am__make_running_with_option = \
    3.50 +  case $${target_option-} in \
    3.51 +      ?) ;; \
    3.52 +      *) echo "am__make_running_with_option: internal error: invalid" \
    3.53 +              "target option '$${target_option-}' specified" >&2; \
    3.54 +         exit 1;; \
    3.55 +  esac; \
    3.56 +  has_opt=no; \
    3.57 +  sane_makeflags=$$MAKEFLAGS; \
    3.58 +  if $(am__is_gnu_make); then \
    3.59 +    sane_makeflags=$$MFLAGS; \
    3.60 +  else \
    3.61 +    case $$MAKEFLAGS in \
    3.62 +      *\\[\ \	]*) \
    3.63 +        bs=\\; \
    3.64 +        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
    3.65 +          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
    3.66 +    esac; \
    3.67 +  fi; \
    3.68 +  skip_next=no; \
    3.69 +  strip_trailopt () \
    3.70 +  { \
    3.71 +    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
    3.72 +  }; \
    3.73 +  for flg in $$sane_makeflags; do \
    3.74 +    test $$skip_next = yes && { skip_next=no; continue; }; \
    3.75 +    case $$flg in \
    3.76 +      *=*|--*) continue;; \
    3.77 +        -*I) strip_trailopt 'I'; skip_next=yes;; \
    3.78 +      -*I?*) strip_trailopt 'I';; \
    3.79 +        -*O) strip_trailopt 'O'; skip_next=yes;; \
    3.80 +      -*O?*) strip_trailopt 'O';; \
    3.81 +        -*l) strip_trailopt 'l'; skip_next=yes;; \
    3.82 +      -*l?*) strip_trailopt 'l';; \
    3.83 +      -[dEDm]) skip_next=yes;; \
    3.84 +      -[JT]) skip_next=yes;; \
    3.85 +    esac; \
    3.86 +    case $$flg in \
    3.87 +      *$$target_option*) has_opt=yes; break;; \
    3.88 +    esac; \
    3.89 +  done; \
    3.90 +  test $$has_opt = yes
    3.91 +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
    3.92 +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
    3.93 +pkgdatadir = $(datadir)/@PACKAGE@
    3.94 +pkgincludedir = $(includedir)/@PACKAGE@
    3.95 +pkglibdir = $(libdir)/@PACKAGE@
    3.96 +pkglibexecdir = $(libexecdir)/@PACKAGE@
    3.97 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
    3.98 +install_sh_DATA = $(install_sh) -c -m 644
    3.99 +install_sh_PROGRAM = $(install_sh) -c
   3.100 +install_sh_SCRIPT = $(install_sh) -c
   3.101 +INSTALL_HEADER = $(INSTALL_DATA)
   3.102 +transform = $(program_transform_name)
   3.103 +NORMAL_INSTALL = :
   3.104 +PRE_INSTALL = :
   3.105 +POST_INSTALL = :
   3.106 +NORMAL_UNINSTALL = :
   3.107 +PRE_UNINSTALL = :
   3.108 +POST_UNINSTALL = :
   3.109 +build_triplet = @build@
   3.110 +host_triplet = @host@
   3.111 +subdir = build
   3.112 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
   3.113 +am__aclocal_m4_deps = $(top_srcdir)/m4/add_cflags.m4 \
   3.114 +	$(top_srcdir)/m4/add_cxxflags.m4 $(top_srcdir)/m4/bswap.m4 \
   3.115 +	$(top_srcdir)/m4/clang.m4 $(top_srcdir)/m4/codeset.m4 \
   3.116 +	$(top_srcdir)/m4/gcc_version.m4 $(top_srcdir)/m4/iconv.m4 \
   3.117 +	$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
   3.118 +	$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
   3.119 +	$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
   3.120 +	$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
   3.121 +	$(top_srcdir)/m4/ogg.m4 $(top_srcdir)/m4/really_gcc.m4 \
   3.122 +	$(top_srcdir)/m4/stack_protect.m4 $(top_srcdir)/m4/xmms.m4 \
   3.123 +	$(top_srcdir)/configure.ac
   3.124 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
   3.125 +	$(ACLOCAL_M4)
   3.126 +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
   3.127 +mkinstalldirs = $(install_sh) -d
   3.128 +CONFIG_HEADER = $(top_builddir)/config.h
   3.129 +CONFIG_CLEAN_FILES =
   3.130 +CONFIG_CLEAN_VPATH_FILES =
   3.131 +AM_V_P = $(am__v_P_@AM_V@)
   3.132 +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
   3.133 +am__v_P_0 = false
   3.134 +am__v_P_1 = :
   3.135 +AM_V_GEN = $(am__v_GEN_@AM_V@)
   3.136 +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
   3.137 +am__v_GEN_0 = @echo "  GEN     " $@;
   3.138 +am__v_GEN_1 = 
   3.139 +AM_V_at = $(am__v_at_@AM_V@)
   3.140 +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
   3.141 +am__v_at_0 = @
   3.142 +am__v_at_1 = 
   3.143 +SOURCES =
   3.144 +DIST_SOURCES =
   3.145 +am__can_run_installinfo = \
   3.146 +  case $$AM_UPDATE_INFO_DIR in \
   3.147 +    n|no|NO) false;; \
   3.148 +    *) (install-info --version) >/dev/null 2>&1;; \
   3.149 +  esac
   3.150 +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
   3.151 +am__DIST_COMMON = $(srcdir)/Makefile.in
   3.152 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
   3.153 +ACLOCAL = @ACLOCAL@
   3.154 +AMTAR = @AMTAR@
   3.155 +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
   3.156 +AR = @AR@
   3.157 +AS = @AS@
   3.158 +AUTOCONF = @AUTOCONF@
   3.159 +AUTOHEADER = @AUTOHEADER@
   3.160 +AUTOMAKE = @AUTOMAKE@
   3.161 +AWK = @AWK@
   3.162 +CC = @CC@
   3.163 +CCAS = @CCAS@
   3.164 +CCASDEPMODE = @CCASDEPMODE@
   3.165 +CCASFLAGS = @CCASFLAGS@
   3.166 +CCDEPMODE = @CCDEPMODE@
   3.167 +CFLAGS = @CFLAGS@
   3.168 +CPP = @CPP@
   3.169 +CPPFLAGS = @CPPFLAGS@
   3.170 +CXX = @CXX@
   3.171 +CXXCPP = @CXXCPP@
   3.172 +CXXDEPMODE = @CXXDEPMODE@
   3.173 +CXXFLAGS = @CXXFLAGS@
   3.174 +CYGPATH_W = @CYGPATH_W@
   3.175 +DEFS = @DEFS@
   3.176 +DEPDIR = @DEPDIR@
   3.177 +DLLTOOL = @DLLTOOL@
   3.178 +DOCBOOK_TO_MAN = @DOCBOOK_TO_MAN@
   3.179 +DOXYGEN = @DOXYGEN@
   3.180 +DSYMUTIL = @DSYMUTIL@
   3.181 +DUMPBIN = @DUMPBIN@
   3.182 +ECHO_C = @ECHO_C@
   3.183 +ECHO_N = @ECHO_N@
   3.184 +ECHO_T = @ECHO_T@
   3.185 +EGREP = @EGREP@
   3.186 +ENABLE_64_BIT_WORDS = @ENABLE_64_BIT_WORDS@
   3.187 +EXEEXT = @EXEEXT@
   3.188 +FGREP = @FGREP@
   3.189 +FLAC__HAS_OGG = @FLAC__HAS_OGG@
   3.190 +FLAC__TEST_LEVEL = @FLAC__TEST_LEVEL@
   3.191 +FLAC__TEST_WITH_VALGRIND = @FLAC__TEST_WITH_VALGRIND@
   3.192 +GCC_MAJOR_VERSION = @GCC_MAJOR_VERSION@
   3.193 +GCC_MINOR_VERSION = @GCC_MINOR_VERSION@
   3.194 +GCC_VERSION = @GCC_VERSION@
   3.195 +GREP = @GREP@
   3.196 +INSTALL = @INSTALL@
   3.197 +INSTALL_DATA = @INSTALL_DATA@
   3.198 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
   3.199 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
   3.200 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
   3.201 +LD = @LD@
   3.202 +LDFLAGS = @LDFLAGS@
   3.203 +LIBICONV = @LIBICONV@
   3.204 +LIBOBJS = @LIBOBJS@
   3.205 +LIBS = @LIBS@
   3.206 +LIBTOOL = @LIBTOOL@
   3.207 +LIB_CLOCK_GETTIME = @LIB_CLOCK_GETTIME@
   3.208 +LIPO = @LIPO@
   3.209 +LN_S = @LN_S@
   3.210 +LTLIBICONV = @LTLIBICONV@
   3.211 +LTLIBOBJS = @LTLIBOBJS@
   3.212 +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
   3.213 +MAKEINFO = @MAKEINFO@
   3.214 +MANIFEST_TOOL = @MANIFEST_TOOL@
   3.215 +MKDIR_P = @MKDIR_P@
   3.216 +NASM = @NASM@
   3.217 +NM = @NM@
   3.218 +NMEDIT = @NMEDIT@
   3.219 +OBJDUMP = @OBJDUMP@
   3.220 +OBJEXT = @OBJEXT@
   3.221 +OBJ_FORMAT = @OBJ_FORMAT@
   3.222 +OGG_CFLAGS = @OGG_CFLAGS@
   3.223 +OGG_LIBS = @OGG_LIBS@
   3.224 +OGG_PACKAGE = @OGG_PACKAGE@
   3.225 +OTOOL = @OTOOL@
   3.226 +OTOOL64 = @OTOOL64@
   3.227 +PACKAGE = @PACKAGE@
   3.228 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
   3.229 +PACKAGE_NAME = @PACKAGE_NAME@
   3.230 +PACKAGE_STRING = @PACKAGE_STRING@
   3.231 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
   3.232 +PACKAGE_URL = @PACKAGE_URL@
   3.233 +PACKAGE_VERSION = @PACKAGE_VERSION@
   3.234 +PATH_SEPARATOR = @PATH_SEPARATOR@
   3.235 +RANLIB = @RANLIB@
   3.236 +SED = @SED@
   3.237 +SET_MAKE = @SET_MAKE@
   3.238 +SHELL = @SHELL@
   3.239 +STRIP = @STRIP@
   3.240 +VERSION = @VERSION@
   3.241 +XMMS_CFLAGS = @XMMS_CFLAGS@
   3.242 +XMMS_CONFIG = @XMMS_CONFIG@
   3.243 +XMMS_DATA_DIR = @XMMS_DATA_DIR@
   3.244 +XMMS_EFFECT_PLUGIN_DIR = @XMMS_EFFECT_PLUGIN_DIR@
   3.245 +XMMS_GENERAL_PLUGIN_DIR = @XMMS_GENERAL_PLUGIN_DIR@
   3.246 +XMMS_INPUT_PLUGIN_DIR = @XMMS_INPUT_PLUGIN_DIR@
   3.247 +XMMS_LIBS = @XMMS_LIBS@
   3.248 +XMMS_OUTPUT_PLUGIN_DIR = @XMMS_OUTPUT_PLUGIN_DIR@
   3.249 +XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
   3.250 +XMMS_VERSION = @XMMS_VERSION@
   3.251 +XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
   3.252 +abs_builddir = @abs_builddir@
   3.253 +abs_srcdir = @abs_srcdir@
   3.254 +abs_top_builddir = @abs_top_builddir@
   3.255 +abs_top_srcdir = @abs_top_srcdir@
   3.256 +ac_ct_AR = @ac_ct_AR@
   3.257 +ac_ct_CC = @ac_ct_CC@
   3.258 +ac_ct_CXX = @ac_ct_CXX@
   3.259 +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
   3.260 +am__include = @am__include@
   3.261 +am__leading_dot = @am__leading_dot@
   3.262 +am__quote = @am__quote@
   3.263 +am__tar = @am__tar@
   3.264 +am__untar = @am__untar@
   3.265 +bindir = @bindir@
   3.266 +build = @build@
   3.267 +build_alias = @build_alias@
   3.268 +build_cpu = @build_cpu@
   3.269 +build_os = @build_os@
   3.270 +build_vendor = @build_vendor@
   3.271 +builddir = @builddir@
   3.272 +datadir = @datadir@
   3.273 +datarootdir = @datarootdir@
   3.274 +docdir = @docdir@
   3.275 +dvidir = @dvidir@
   3.276 +exec_prefix = @exec_prefix@
   3.277 +host = @host@
   3.278 +host_alias = @host_alias@
   3.279 +host_cpu = @host_cpu@
   3.280 +host_os = @host_os@
   3.281 +host_vendor = @host_vendor@
   3.282 +htmldir = @htmldir@
   3.283 +includedir = @includedir@
   3.284 +infodir = @infodir@
   3.285 +install_sh = @install_sh@
   3.286 +libdir = @libdir@
   3.287 +libexecdir = @libexecdir@
   3.288 +localedir = @localedir@
   3.289 +localstatedir = @localstatedir@
   3.290 +mandir = @mandir@
   3.291 +mkdir_p = @mkdir_p@
   3.292 +oldincludedir = @oldincludedir@
   3.293 +pdfdir = @pdfdir@
   3.294 +prefix = @prefix@
   3.295 +program_transform_name = @program_transform_name@
   3.296 +psdir = @psdir@
   3.297 +runstatedir = @runstatedir@
   3.298 +sbindir = @sbindir@
   3.299 +sharedstatedir = @sharedstatedir@
   3.300 +srcdir = @srcdir@
   3.301 +sysconfdir = @sysconfdir@
   3.302 +target_alias = @target_alias@
   3.303 +top_build_prefix = @top_build_prefix@
   3.304 +top_builddir = @top_builddir@
   3.305 +top_srcdir = @top_srcdir@
   3.306 +EXTRA_DIST = \
   3.307 +	compile.mk \
   3.308 +	config.mk \
   3.309 +	exe.mk \
   3.310 +	lib.mk
   3.311 +
   3.312 +all: all-am
   3.313 +
   3.314 +.SUFFIXES:
   3.315 +$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
   3.316 +	@for dep in $?; do \
   3.317 +	  case '$(am__configure_deps)' in \
   3.318 +	    *$$dep*) \
   3.319 +	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
   3.320 +	        && { if test -f $@; then exit 0; else break; fi; }; \
   3.321 +	      exit 1;; \
   3.322 +	  esac; \
   3.323 +	done; \
   3.324 +	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign build/Makefile'; \
   3.325 +	$(am__cd) $(top_srcdir) && \
   3.326 +	  $(AUTOMAKE) --foreign build/Makefile
   3.327 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
   3.328 +	@case '$?' in \
   3.329 +	  *config.status*) \
   3.330 +	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
   3.331 +	  *) \
   3.332 +	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
   3.333 +	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
   3.334 +	esac;
   3.335 +
   3.336 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
   3.337 +	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
   3.338 +
   3.339 +$(top_srcdir)/configure:  $(am__configure_deps)
   3.340 +	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
   3.341 +$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
   3.342 +	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
   3.343 +$(am__aclocal_m4_deps):
   3.344 +
   3.345 +mostlyclean-libtool:
   3.346 +	-rm -f *.lo
   3.347 +
   3.348 +clean-libtool:
   3.349 +	-rm -rf .libs _libs
   3.350 +tags TAGS:
   3.351 +
   3.352 +ctags CTAGS:
   3.353 +
   3.354 +cscope cscopelist:
   3.355 +
   3.356 +
   3.357 +distdir: $(DISTFILES)
   3.358 +	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
   3.359 +	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
   3.360 +	list='$(DISTFILES)'; \
   3.361 +	  dist_files=`for file in $$list; do echo $$file; done | \
   3.362 +	  sed -e "s|^$$srcdirstrip/||;t" \
   3.363 +	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
   3.364 +	case $$dist_files in \
   3.365 +	  */*) $(MKDIR_P) `echo "$$dist_files" | \
   3.366 +			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
   3.367 +			   sort -u` ;; \
   3.368 +	esac; \
   3.369 +	for file in $$dist_files; do \
   3.370 +	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
   3.371 +	  if test -d $$d/$$file; then \
   3.372 +	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
   3.373 +	    if test -d "$(distdir)/$$file"; then \
   3.374 +	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
   3.375 +	    fi; \
   3.376 +	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
   3.377 +	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
   3.378 +	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
   3.379 +	    fi; \
   3.380 +	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
   3.381 +	  else \
   3.382 +	    test -f "$(distdir)/$$file" \
   3.383 +	    || cp -p $$d/$$file "$(distdir)/$$file" \
   3.384 +	    || exit 1; \
   3.385 +	  fi; \
   3.386 +	done
   3.387 +check-am: all-am
   3.388 +check: check-am
   3.389 +all-am: Makefile
   3.390 +installdirs:
   3.391 +install: install-am
   3.392 +install-exec: install-exec-am
   3.393 +install-data: install-data-am
   3.394 +uninstall: uninstall-am
   3.395 +
   3.396 +install-am: all-am
   3.397 +	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
   3.398 +
   3.399 +installcheck: installcheck-am
   3.400 +install-strip:
   3.401 +	if test -z '$(STRIP)'; then \
   3.402 +	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
   3.403 +	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
   3.404 +	      install; \
   3.405 +	else \
   3.406 +	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
   3.407 +	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
   3.408 +	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
   3.409 +	fi
   3.410 +mostlyclean-generic:
   3.411 +
   3.412 +clean-generic:
   3.413 +
   3.414 +distclean-generic:
   3.415 +	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
   3.416 +	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
   3.417 +
   3.418 +maintainer-clean-generic:
   3.419 +	@echo "This command is intended for maintainers to use"
   3.420 +	@echo "it deletes files that may require special tools to rebuild."
   3.421 +clean: clean-am
   3.422 +
   3.423 +clean-am: clean-generic clean-libtool mostlyclean-am
   3.424 +
   3.425 +distclean: distclean-am
   3.426 +	-rm -f Makefile
   3.427 +distclean-am: clean-am distclean-generic
   3.428 +
   3.429 +dvi: dvi-am
   3.430 +
   3.431 +dvi-am:
   3.432 +
   3.433 +html: html-am
   3.434 +
   3.435 +html-am:
   3.436 +
   3.437 +info: info-am
   3.438 +
   3.439 +info-am:
   3.440 +
   3.441 +install-data-am:
   3.442 +
   3.443 +install-dvi: install-dvi-am
   3.444 +
   3.445 +install-dvi-am:
   3.446 +
   3.447 +install-exec-am:
   3.448 +
   3.449 +install-html: install-html-am
   3.450 +
   3.451 +install-html-am:
   3.452 +
   3.453 +install-info: install-info-am
   3.454 +
   3.455 +install-info-am:
   3.456 +
   3.457 +install-man:
   3.458 +
   3.459 +install-pdf: install-pdf-am
   3.460 +
   3.461 +install-pdf-am:
   3.462 +
   3.463 +install-ps: install-ps-am
   3.464 +
   3.465 +install-ps-am:
   3.466 +
   3.467 +installcheck-am:
   3.468 +
   3.469 +maintainer-clean: maintainer-clean-am
   3.470 +	-rm -f Makefile
   3.471 +maintainer-clean-am: distclean-am maintainer-clean-generic
   3.472 +
   3.473 +mostlyclean: mostlyclean-am
   3.474 +
   3.475 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
   3.476 +
   3.477 +pdf: pdf-am
   3.478 +
   3.479 +pdf-am:
   3.480 +
   3.481 +ps: ps-am
   3.482 +
   3.483 +ps-am:
   3.484 +
   3.485 +uninstall-am:
   3.486 +
   3.487 +.MAKE: install-am install-strip
   3.488 +
   3.489 +.PHONY: all all-am check check-am clean clean-generic clean-libtool \
   3.490 +	cscopelist-am ctags-am distclean distclean-generic \
   3.491 +	distclean-libtool distdir dvi dvi-am html html-am info info-am \
   3.492 +	install install-am install-data install-data-am install-dvi \
   3.493 +	install-dvi-am install-exec install-exec-am install-html \
   3.494 +	install-html-am install-info install-info-am install-man \
   3.495 +	install-pdf install-pdf-am install-ps install-ps-am \
   3.496 +	install-strip installcheck installcheck-am installdirs \
   3.497 +	maintainer-clean maintainer-clean-generic mostlyclean \
   3.498 +	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
   3.499 +	tags-am uninstall uninstall-am
   3.500 +
   3.501 +.PRECIOUS: Makefile
   3.502 +
   3.503 +
   3.504 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
   3.505 +# Otherwise a system limit (for SysV at least) may be exceeded.
   3.506 +.NOEXPORT:
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/external/flac-1.3.2/build/compile.mk	Thu Oct 12 20:52:47 2017 -0700
     4.3 @@ -0,0 +1,49 @@
     4.4 +#  FLAC - Free Lossless Audio Codec
     4.5 +#  Copyright (C) 2001-2009  Josh Coalson
     4.6 +#  Copyright (C) 2011-2016  Xiph.Org Foundation
     4.7 +#
     4.8 +#  This file is part the FLAC project.  FLAC is comprised of several
     4.9 +#  components distributed under different licenses.  The codec libraries
    4.10 +#  are distributed under Xiph.Org's BSD-like license (see the file
    4.11 +#  COPYING.Xiph in this distribution).  All other programs, libraries, and
    4.12 +#  plugins are distributed under the GPL (see COPYING.GPL).  The documentation
    4.13 +#  is distributed under the Gnu FDL (see COPYING.FDL).  Each file in the
    4.14 +#  FLAC distribution contains at the top the terms under which it may be
    4.15 +#  distributed.
    4.16 +#
    4.17 +#  Since this particular file is relevant to all components of FLAC,
    4.18 +#  it may be distributed under the Xiph.Org license, which is the least
    4.19 +#  restrictive of those mentioned above.  See the file COPYING.Xiph in this
    4.20 +#  distribution.
    4.21 +
    4.22 +#
    4.23 +# GNU makefile fragment for building a library
    4.24 +#
    4.25 +
    4.26 +%.debug.o %.release.o : %.c
    4.27 +	$(CC) $(CFLAGS) -c $< -o $@
    4.28 +%.debug.o %.release.o : %.cc
    4.29 +	$(CCC) $(CXXFLAGS) -c $< -o $@
    4.30 +%.debug.o %.release.o : %.cpp
    4.31 +	$(CCC) $(CXXFLAGS) -c $< -o $@
    4.32 +%.debug.pic.o %.release.pic.o : %.c
    4.33 +	$(CC) $(CFLAGS) $(F_PIC) -DPIC -c $< -o $@
    4.34 +%.debug.pic.o %.release.pic.o : %.cc
    4.35 +	$(CCC) $(CXXFLAGS) $(F_PIC) -DPIC -c $< -o $@
    4.36 +%.debug.pic.o %.release.pic.o : %.cpp
    4.37 +	$(CCC) $(CXXFLAGS) $(F_PIC) -DPIC -c $< -o $@
    4.38 +%.debug.i %.release.i : %.c
    4.39 +	$(CC) $(CFLAGS) -E $< -o $@
    4.40 +%.debug.i %.release.i : %.cc
    4.41 +	$(CCC) $(CXXFLAGS) -E $< -o $@
    4.42 +%.debug.i %.release.i : %.cpp
    4.43 +	$(CCC) $(CXXFLAGS) -E $< -o $@
    4.44 +
    4.45 +%.debug.o : %.nasm
    4.46 +	$(NASM) -f elf -d OBJ_FORMAT_elf -i ia32/ -g $< -o $@
    4.47 +%.release.o : %.nasm
    4.48 +	$(NASM) -f elf -d OBJ_FORMAT_elf -i ia32/ $< -o $@
    4.49 +%.debug.pic.o : %.nasm
    4.50 +	$(NASM) -f elf -d OBJ_FORMAT_elf -i ia32/ -g $< -o $@
    4.51 +%.release.pic.o : %.nasm
    4.52 +	$(NASM) -f elf -d OBJ_FORMAT_elf -i ia32/ $< -o $@
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/external/flac-1.3.2/build/config.mk	Thu Oct 12 20:52:47 2017 -0700
     5.3 @@ -0,0 +1,159 @@
     5.4 +#  FLAC - Free Lossless Audio Codec
     5.5 +#  Copyright (C) 2001-2009  Josh Coalson
     5.6 +#  Copyright (C) 2011-2016  Xiph.Org Foundation
     5.7 +#
     5.8 +#  This file is part the FLAC project.  FLAC is comprised of several
     5.9 +#  components distributed under different licenses.  The codec libraries
    5.10 +#  are distributed under Xiph.Org's BSD-like license (see the file
    5.11 +#  COPYING.Xiph in this distribution).  All other programs, libraries, and
    5.12 +#  plugins are distributed under the GPL (see COPYING.GPL).  The documentation
    5.13 +#  is distributed under the Gnu FDL (see COPYING.FDL).  Each file in the
    5.14 +#  FLAC distribution contains at the top the terms under which it may be
    5.15 +#  distributed.
    5.16 +#
    5.17 +#  Since this particular file is relevant to all components of FLAC,
    5.18 +#  it may be distributed under the Xiph.Org license, which is the least
    5.19 +#  restrictive of those mentioned above.  See the file COPYING.Xiph in this
    5.20 +#  distribution.
    5.21 +
    5.22 +#
    5.23 +# customizable settings from the make invocation
    5.24 +#
    5.25 +
    5.26 +USE_OGG     ?= 1
    5.27 +USE_ICONV   ?= 1
    5.28 +USE_LROUND  ?= 1
    5.29 +USE_FSEEKO  ?= 1
    5.30 +USE_LANGINFO_CODESET ?= 1
    5.31 +
    5.32 +#
    5.33 +# debug/release selection
    5.34 +#
    5.35 +
    5.36 +DEFAULT_BUILD = release
    5.37 +
    5.38 +F_PIC := -fPIC
    5.39 +
    5.40 +# returns Linux, Darwin, FreeBSD, etc.
    5.41 +ifndef OS
    5.42 +    OS := $(shell uname -s)
    5.43 +endif
    5.44 +# returns i386, x86_64, powerpc, etc.
    5.45 +ifndef PROC
    5.46 +    ifeq ($(findstring Windows,$(OS)),Windows)
    5.47 +        PROC := i386 # failsafe
    5.48 +        # ifeq ($(findstring i686,$(shell gcc -dumpmachine)),i686) # MinGW-w64: i686-w64-mingw32
    5.49 +        ifeq ($(findstring x86_64,$(shell gcc -dumpmachine)),x86_64) # MinGW-w64: x86_64-w64-mingw32
    5.50 +            PROC := x86_64
    5.51 +        endif
    5.52 +    else
    5.53 +        ifeq ($(shell uname -p),amd64)
    5.54 +            PROC := x86_64
    5.55 +        else
    5.56 +            PROC := $(shell uname -p)
    5.57 +        endif
    5.58 +    endif
    5.59 +endif
    5.60 +ifeq ($(PROC),powerpc)
    5.61 +    PROC := ppc
    5.62 +endif
    5.63 +# x64_64 Mac OS outputs 'i386' in uname -p; use uname -m instead
    5.64 +ifeq ($(PROC),i386)
    5.65 +    ifeq ($(OS),Darwin)
    5.66 +        PROC := $(shell uname -m)
    5.67 +    endif
    5.68 +endif
    5.69 +
    5.70 +ifeq ($(OS),Linux)
    5.71 +    PROC := $(shell uname -m)
    5.72 +    USE_ICONV := 0
    5.73 +endif
    5.74 +
    5.75 +ifeq ($(findstring Windows,$(OS)),Windows)
    5.76 +    F_PIC :=
    5.77 +    USE_ICONV := 0
    5.78 +    USE_LANGINFO_CODESET := 0
    5.79 +    ifeq (mingw32,$(shell gcc -dumpmachine)) # MinGW (mainline): mingw32
    5.80 +        USE_FSEEKO := 0
    5.81 +    endif
    5.82 +endif
    5.83 +
    5.84 +debug    : BUILD = debug
    5.85 +valgrind : BUILD = debug
    5.86 +release  : BUILD = release
    5.87 +
    5.88 +# override LINKAGE on OS X until we figure out how to get 'cc -static' to work
    5.89 +ifeq ($(OS),Darwin)
    5.90 +LINKAGE = -arch $(PROC)
    5.91 +else
    5.92 +debug    : LINKAGE = -static
    5.93 +valgrind : LINKAGE = -dynamic
    5.94 +release  : LINKAGE = -static
    5.95 +endif
    5.96 +
    5.97 +all default: $(DEFAULT_BUILD)
    5.98 +
    5.99 +#
   5.100 +# GNU makefile fragment for emulating stuff normally done by configure
   5.101 +#
   5.102 +
   5.103 +VERSION=\"1.3.2\"
   5.104 +
   5.105 +CONFIG_CFLAGS=$(CUSTOM_CFLAGS) -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DHAVE_CXX_VARARRAYS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
   5.106 +
   5.107 +ifeq ($(OS),Darwin)
   5.108 +    CONFIG_CFLAGS += -DFLAC__SYS_DARWIN -DHAVE_SYS_PARAM_H -arch $(PROC)
   5.109 +else
   5.110 +    CONFIG_CFLAGS += -DHAVE_SOCKLEN_T
   5.111 +endif
   5.112 +
   5.113 +ifeq ($(PROC),ppc)
   5.114 +    CONFIG_CFLAGS += -DWORDS_BIGENDIAN=1 -DCPU_IS_LITTLE_ENDIAN=0
   5.115 +else
   5.116 +    CONFIG_CFLAGS += -DWORDS_BIGENDIAN=0 -DCPU_IS_LITTLE_ENDIAN=1
   5.117 +endif
   5.118 +
   5.119 +ifeq ($(OS),Linux)
   5.120 +	ifeq ($(PROC),x86_64)
   5.121 +        CONFIG_CFLAGS += -fPIC
   5.122 +	endif
   5.123 +endif
   5.124 +ifeq ($(OS),FreeBSD)
   5.125 +    CONFIG_CFLAGS += -DHAVE_SYS_PARAM_H
   5.126 +endif
   5.127 +
   5.128 +ifneq (0,$(USE_ICONV))
   5.129 +    CONFIG_CFLAGS += -DHAVE_ICONV
   5.130 +    ICONV_LIBS = -liconv
   5.131 +else
   5.132 +    ICONV_LIBS =
   5.133 +endif
   5.134 +
   5.135 +ifneq (0,$(USE_OGG))
   5.136 +    CONFIG_CFLAGS += -DFLAC__HAS_OGG=1
   5.137 +    OGG_INCLUDES = -I$(OGG_INCLUDE_DIR)
   5.138 +    OGG_EXPLICIT_LIBS = $(OGG_LIB_DIR)/libogg.a
   5.139 +    OGG_LIBS = -L$(OGG_LIB_DIR) -logg
   5.140 +    OGG_SRCS = $(OGG_SRCS_C)
   5.141 +else
   5.142 +    CONFIG_CFLAGS += -DFLAC__HAS_OGG=0
   5.143 +    OGG_INCLUDES =
   5.144 +    OGG_EXPLICIT_LIBS =
   5.145 +    OGG_LIBS =
   5.146 +    OGG_SRCS =
   5.147 +endif
   5.148 +
   5.149 +OGG_INCLUDE_DIR=$(HOME)/local/include
   5.150 +OGG_LIB_DIR=$(HOME)/local/lib
   5.151 +
   5.152 +ifneq (0,$(USE_LROUND))
   5.153 +    CONFIG_CFLAGS += -DHAVE_LROUND
   5.154 +endif
   5.155 +
   5.156 +ifneq (0,$(USE_FSEEKO))
   5.157 +    CONFIG_CFLAGS += -DHAVE_FSEEKO
   5.158 +endif
   5.159 +
   5.160 +ifneq (0,$(USE_LANGINFO_CODESET))
   5.161 +    CONFIG_CFLAGS += -DHAVE_LANGINFO_CODESET
   5.162 +endif
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/external/flac-1.3.2/build/exe.mk	Thu Oct 12 20:52:47 2017 -0700
     6.3 @@ -0,0 +1,104 @@
     6.4 +#  FLAC - Free Lossless Audio Codec
     6.5 +#  Copyright (C) 2001-2009  Josh Coalson
     6.6 +#  Copyright (C) 2011-2016  Xiph.Org Foundation
     6.7 +#
     6.8 +#  This file is part the FLAC project.  FLAC is comprised of several
     6.9 +#  components distributed under different licenses.  The codec libraries
    6.10 +#  are distributed under Xiph.Org's BSD-like license (see the file
    6.11 +#  COPYING.Xiph in this distribution).  All other programs, libraries, and
    6.12 +#  plugins are distributed under the GPL (see COPYING.GPL).  The documentation
    6.13 +#  is distributed under the Gnu FDL (see COPYING.FDL).  Each file in the
    6.14 +#  FLAC distribution contains at the top the terms under which it may be
    6.15 +#  distributed.
    6.16 +#
    6.17 +#  Since this particular file is relevant to all components of FLAC,
    6.18 +#  it may be distributed under the Xiph.Org license, which is the least
    6.19 +#  restrictive of those mentioned above.  See the file COPYING.Xiph in this
    6.20 +#  distribution.
    6.21 +
    6.22 +#
    6.23 +# GNU makefile fragment for building an executable
    6.24 +#
    6.25 +
    6.26 +include $(topdir)/build/config.mk
    6.27 +
    6.28 +ifeq ($(OS),Darwin)
    6.29 +    CC          = cc
    6.30 +    CCC         = c++
    6.31 +else
    6.32 +ifeq ($(OS),FreeBSD)
    6.33 +    CC          = cc
    6.34 +    CCC         = c++
    6.35 +else
    6.36 +    CC          = gcc
    6.37 +    CCC         = g++
    6.38 +endif
    6.39 +endif
    6.40 +NASM        = nasm
    6.41 +LINK        = $(CC) $(LINKAGE)
    6.42 +OBJPATH     = $(topdir)/objs
    6.43 +BINPATH     = $(OBJPATH)/$(BUILD)/bin
    6.44 +LIBPATH     = $(OBJPATH)/$(BUILD)/lib
    6.45 +DEBUG_BINPATH   = $(OBJPATH)/debug/bin
    6.46 +DEBUG_LIBPATH   = $(OBJPATH)/debug/lib
    6.47 +RELEASE_BINPATH = $(OBJPATH)/release/bin
    6.48 +RELEASE_LIBPATH = $(OBJPATH)/release/lib
    6.49 +PROGRAM         = $(BINPATH)/$(PROGRAM_NAME)
    6.50 +DEBUG_PROGRAM   = $(DEBUG_BINPATH)/$(PROGRAM_NAME)
    6.51 +RELEASE_PROGRAM = $(RELEASE_BINPATH)/$(PROGRAM_NAME)
    6.52 +
    6.53 +BASE_CFLAGS = -Wall -Wextra $(CONFIG_CFLAGS) -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES)
    6.54 +
    6.55 +ifeq ($(DEFAULT_BUILD),debug)
    6.56 +CFLAGS   := -g -O0 -DDEBUG $(CFLAGS) $(BASE_CFLAGS) -Wmissing-prototypes -Wstrict-prototypes
    6.57 +CXXFLAGS := -g -O0 -DDEBUG $(CXXFLAGS) $(BASE_CFLAGS)
    6.58 +endif
    6.59 +
    6.60 +ifeq ($(DEFAULT_BUILD),valgrind)
    6.61 +CFLAGS   := -g -O0 -DDEBUG  -DDEBUG -DFLAC__VALGRIND_TESTING $(CFLAGS) $(BASE_CFLAGS) -Wmissing-prototypes -Wstrict-prototypes
    6.62 +CXXFLAGS := -g -O0 -DDEBUG -DDEBUG -DFLAC__VALGRIND_TESTING $(CXXFLAGS) $(BASE_CFLAGS)
    6.63 +endif
    6.64 +
    6.65 +ifeq ($(DEFAULT_BUILD),release)
    6.66 +CFLAGS   := -O3 -fomit-frame-pointer -funroll-loops -finline-functions -DFLaC__INLINE=__inline__ -DNDEBUG $(CFLAGS) $(BASE_CFLAGS) -Wmissing-prototypes -Wstrict-prototypes
    6.67 +CXXFLAGS := -O3 -fomit-frame-pointer -funroll-loops -finline-functions -DFLaC__INLINE=__inline__ -DNDEBUG $(CXXFLAGS) $(BASE_CFLAGS)
    6.68 +endif
    6.69 +
    6.70 +LFLAGS   = -L$(LIBPATH)
    6.71 +
    6.72 +DEBUG_OBJS = $(SRCS_C:%.c=%.debug.o) $(SRCS_CC:%.cc=%.debug.o) $(SRCS_CPP:%.cpp=%.debug.o) $(SRCS_NASM:%.nasm=%.debug.o)
    6.73 +RELEASE_OBJS = $(SRCS_C:%.c=%.release.o) $(SRCS_CC:%.cc=%.release.o) $(SRCS_CPP:%.cpp=%.release.o) $(SRCS_NASM:%.nasm=%.release.o)
    6.74 +ifeq ($(PROC),x86_64)
    6.75 +DEBUG_PIC_OBJS = $(SRCS_C:%.c=%.debug.pic.o) $(SRCS_CC:%.cc=%.debug.pic.o) $(SRCS_CPP:%.cpp=%.debug.pic.o) $(SRCS_NASM:%.nasm=%.debug.pic.o)
    6.76 +RELEASE_PIC_OBJS = $(SRCS_C:%.c=%.release.pic.o) $(SRCS_CC:%.cc=%.release.pic.o) $(SRCS_CPP:%.cpp=%.release.pic.o) $(SRCS_NASM:%.nasm=%.release.pic.o)
    6.77 +endif
    6.78 +
    6.79 +debug   : $(DEBUG_PROGRAM)
    6.80 +valgrind: $(DEBUG_PROGRAM)
    6.81 +release : $(RELEASE_PROGRAM)
    6.82 +
    6.83 +# by default on OS X we link with static libs as much as possible
    6.84 +
    6.85 +$(DEBUG_PROGRAM) : $(DEBUG_OBJS) $(DEBUG_PIC_OBJS)
    6.86 +ifeq ($(OS),Darwin)
    6.87 +	$(LINK) -o $@ $(DEBUG_OBJS) $(EXPLICIT_LIBS)
    6.88 +else
    6.89 +	$(LINK) -o $@ $(DEBUG_OBJS) $(LFLAGS) $(LIBS)
    6.90 +endif
    6.91 +
    6.92 +$(RELEASE_PROGRAM) : $(RELEASE_OBJS) $(RELEASE_PIC_OBJS)
    6.93 +ifeq ($(OS),Darwin)
    6.94 +	$(LINK) -o $@ $(RELEASE_OBJS) $(EXPLICIT_LIBS)
    6.95 +else
    6.96 +	$(LINK) -o $@ $(RELEASE_OBJS) $(LFLAGS) $(LIBS)
    6.97 +endif
    6.98 +
    6.99 +include $(topdir)/build/compile.mk
   6.100 +
   6.101 +.PHONY : clean
   6.102 +clean :
   6.103 +	-rm -f $(DEBUG_OBJS) $(RELEASE_OBJS) $(DEBUG_PIC_OBJS) $(RELEASE_PIC_OBJS) $(OBJPATH)/*/bin/$(PROGRAM_NAME)
   6.104 +
   6.105 +.PHONY : depend
   6.106 +depend:
   6.107 +	makedepend -fMakefile.lite -- $(CFLAGS) $(INCLUDES) -- *.c *.cc *.cpp
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/external/flac-1.3.2/build/lib.mk	Thu Oct 12 20:52:47 2017 -0700
     7.3 @@ -0,0 +1,135 @@
     7.4 +#  FLAC - Free Lossless Audio Codec
     7.5 +#  Copyright (C) 2001-2009  Josh Coalson
     7.6 +#  Copyright (C) 2011-2016  Xiph.Org Foundation
     7.7 +#
     7.8 +#  This file is part the FLAC project.  FLAC is comprised of several
     7.9 +#  components distributed under different licenses.  The codec libraries
    7.10 +#  are distributed under Xiph.Org's BSD-like license (see the file
    7.11 +#  COPYING.Xiph in this distribution).  All other programs, libraries, and
    7.12 +#  plugins are distributed under the GPL (see COPYING.GPL).  The documentation
    7.13 +#  is distributed under the Gnu FDL (see COPYING.FDL).  Each file in the
    7.14 +#  FLAC distribution contains at the top the terms under which it may be
    7.15 +#  distributed.
    7.16 +#
    7.17 +#  Since this particular file is relevant to all components of FLAC,
    7.18 +#  it may be distributed under the Xiph.Org license, which is the least
    7.19 +#  restrictive of those mentioned above.  See the file COPYING.Xiph in this
    7.20 +#  distribution.
    7.21 +
    7.22 +#
    7.23 +# GNU makefile fragment for building a library
    7.24 +#
    7.25 +
    7.26 +include $(topdir)/build/config.mk
    7.27 +
    7.28 +ifeq ($(OS),Darwin)
    7.29 +    CC          = cc
    7.30 +    CCC         = c++
    7.31 +else
    7.32 +ifeq ($(OS),FreeBSD)
    7.33 +    CC          = cc
    7.34 +    CCC         = c++
    7.35 +else
    7.36 +    CC          = gcc
    7.37 +    CCC         = g++
    7.38 +endif
    7.39 +endif
    7.40 +NASM        = nasm
    7.41 +LINK        = ar cru
    7.42 +OBJPATH     = $(topdir)/objs
    7.43 +LIBPATH     = $(OBJPATH)/$(BUILD)/lib
    7.44 +DEBUG_LIBPATH     = $(OBJPATH)/debug/lib
    7.45 +RELEASE_LIBPATH   = $(OBJPATH)/release/lib
    7.46 +ifeq ($(OS),Darwin)
    7.47 +    STATIC_LIB_SUFFIX = a
    7.48 +    DYNAMIC_LIB_SUFFIX = dylib
    7.49 +else
    7.50 +ifeq ($(findstring Windows,$(OS)),Windows)
    7.51 +    STATIC_LIB_SUFFIX = a
    7.52 +    DYNAMIC_LIB_SUFFIX = dll
    7.53 +else
    7.54 +    STATIC_LIB_SUFFIX = a
    7.55 +    DYNAMIC_LIB_SUFFIX = so
    7.56 +endif
    7.57 +endif
    7.58 +STATIC_LIB_NAME     = $(LIB_NAME).$(STATIC_LIB_SUFFIX)
    7.59 +DYNAMIC_LIB_NAME    = $(LIB_NAME).$(DYNAMIC_LIB_SUFFIX)
    7.60 +STATIC_LIB          = $(LIBPATH)/$(STATIC_LIB_NAME)
    7.61 +DYNAMIC_LIB         = $(LIBPATH)/$(DYNAMIC_LIB_NAME)
    7.62 +DEBUG_STATIC_LIB    = $(DEBUG_LIBPATH)/$(STATIC_LIB_NAME)
    7.63 +DEBUG_DYNAMIC_LIB   = $(DEBUG_LIBPATH)/$(DYNAMIC_LIB_NAME)
    7.64 +RELEASE_STATIC_LIB  = $(RELEASE_LIBPATH)/$(STATIC_LIB_NAME)
    7.65 +RELEASE_DYNAMIC_LIB = $(RELEASE_LIBPATH)/$(DYNAMIC_LIB_NAME)
    7.66 +ifeq ($(OS),Darwin)
    7.67 +    LINKD       = $(CC) -dynamiclib -flat_namespace -undefined suppress -install_name $(DYNAMIC_LIB)
    7.68 +else
    7.69 +    LINKD       = $(CC) -shared
    7.70 +endif
    7.71 +
    7.72 +BASE_CFLAGS = -Wall -Wextra $(CONFIG_CFLAGS) -DVERSION=$(VERSION) -DPACKAGE_VERSION=$(VERSION) $(DEFINES) $(INCLUDES)
    7.73 +
    7.74 +ifeq ($(DEFAULT_BUILD),debug)
    7.75 +CFLAGS   := -g -O0 -DDEBUG $(CFLAGS) $(BASE_CFLAGS) -Wmissing-prototypes -Wstrict-prototypes
    7.76 +CXXFLAGS := -g -O0 -DDEBUG $(CFLAGS) $(BASE_CFLAGS)
    7.77 +endif
    7.78 +
    7.79 +ifeq ($(DEFAULT_BUILD),valgrind)
    7.80 +CFLAGS   := -g -O0 -DDEBUG  -DDEBUG -DFLAC__VALGRIND_TESTING $(CFLAGS) $(BASE_CFLAGS) -Wmissing-prototypes -Wstrict-prototypes
    7.81 +CXXFLAGS := -g -O0 -DDEBUG -DDEBUG -DFLAC__VALGRIND_TESTING $(CFLAGS) $(BASE_CFLAGS)
    7.82 +endif
    7.83 +
    7.84 +ifeq ($(DEFAULT_BUILD),release)
    7.85 +CFLAGS   := -O3 -fomit-frame-pointer -funroll-loops -finline-functions -DFLaC__INLINE=__inline__ -DNDEBUG $(CFLAGS) $(BASE_CFLAGS) -Wmissing-prototypes -Wstrict-prototypes
    7.86 +CXXFLAGS := -O3 -fomit-frame-pointer -funroll-loops -finline-functions -DFLaC__INLINE=__inline__ -DNDEBUG $(CFLAGS) $(BASE_CFLAGS)
    7.87 +endif
    7.88 +
    7.89 +LFLAGS   = -L$(LIBPATH)
    7.90 +
    7.91 +DEBUG_OBJS = $(SRCS_C:%.c=%.debug.o) $(SRCS_CC:%.cc=%.debug.o) $(SRCS_CPP:%.cpp=%.debug.o) $(SRCS_NASM:%.nasm=%.debug.o)
    7.92 +RELEASE_OBJS = $(SRCS_C:%.c=%.release.o) $(SRCS_CC:%.cc=%.release.o) $(SRCS_CPP:%.cpp=%.release.o) $(SRCS_NASM:%.nasm=%.release.o)
    7.93 +ifeq ($(PROC),x86_64)
    7.94 +DEBUG_PIC_OBJS = $(SRCS_C:%.c=%.debug.pic.o) $(SRCS_CC:%.cc=%.debug.pic.o) $(SRCS_CPP:%.cpp=%.debug.pic.o) $(SRCS_NASM:%.nasm=%.debug.pic.o)
    7.95 +RELEASE_PIC_OBJS = $(SRCS_C:%.c=%.release.pic.o) $(SRCS_CC:%.cc=%.release.pic.o) $(SRCS_CPP:%.cpp=%.release.pic.o) $(SRCS_NASM:%.nasm=%.release.pic.o)
    7.96 +endif
    7.97 +
    7.98 +debug   : $(DEBUG_STATIC_LIB) $(DEBUG_DYNAMIC_LIB)
    7.99 +valgrind: $(DEBUG_STATIC_LIB) $(DEBUG_DYNAMIC_LIB)
   7.100 +release : $(RELEASE_STATIC_LIB) $(RELEASE_DYNAMIC_LIB)
   7.101 +
   7.102 +$(DEBUG_STATIC_LIB): $(DEBUG_OBJS)
   7.103 +	$(LINK) $@ $(DEBUG_OBJS) && ranlib $@
   7.104 +
   7.105 +$(RELEASE_STATIC_LIB): $(RELEASE_OBJS)
   7.106 +	$(LINK) $@ $(RELEASE_OBJS) && ranlib $@
   7.107 +
   7.108 +$(DEBUG_DYNAMIC_LIB) : $(DEBUG_OBJS) $(DEBUG_PIC_OBJS)
   7.109 +ifeq ($(OS),Darwin)
   7.110 +	echo Not building dynamic lib, command is: $(LINKD) -o $@ $(DEBUG_OBJS) $(LFLAGS) $(LIBS) -lc
   7.111 +else
   7.112 +ifeq ($(PROC),x86_64)
   7.113 +	$(LINKD) -o $@ $(DEBUG_PIC_OBJS) $(LFLAGS) $(LIBS)
   7.114 +else
   7.115 +	$(LINKD) -o $@ $(DEBUG_OBJS) $(LFLAGS) $(LIBS)
   7.116 +endif
   7.117 +endif
   7.118 +
   7.119 +$(RELEASE_DYNAMIC_LIB) : $(RELEASE_OBJS) $(RELEASE_PIC_OBJS)
   7.120 +ifeq ($(OS),Darwin)
   7.121 +	echo Not building dynamic lib, command is: $(LINKD) -o $@ $(RELEASE_OBJS) $(LFLAGS) $(LIBS) -lc
   7.122 +else
   7.123 +ifeq ($(PROC),x86_64)
   7.124 +	$(LINKD) -o $@ $(RELEASE_PIC_OBJS) $(LFLAGS) $(LIBS)
   7.125 +else
   7.126 +	$(LINKD) -o $@ $(RELEASE_OBJS) $(LFLAGS) $(LIBS)
   7.127 +endif
   7.128 +endif
   7.129 +
   7.130 +include $(topdir)/build/compile.mk
   7.131 +
   7.132 +.PHONY : clean
   7.133 +clean :
   7.134 +	-rm -f $(DEBUG_OBJS) $(RELEASE_OBJS) $(DEBUG_PIC_OBJS) $(RELEASE_PIC_OBJS) $(OBJPATH)/*/lib/$(STATIC_LIB_NAME) $(OBJPATH)/*/lib/$(DYNAMIC_LIB_NAME)
   7.135 +
   7.136 +.PHONY : depend
   7.137 +depend:
   7.138 +	makedepend -fMakefile.lite -- $(CFLAGS) $(INCLUDES) -- *.c *.cc *.cpp