Removed build folder.
This commit is contained in:
parent
a29ab1e885
commit
d6cd790e53
5 changed files with 0 additions and 662 deletions
|
@ -1,21 +0,0 @@
|
|||
# FLAC - Free Lossless Audio Codec
|
||||
# Copyright (C) 2002,2003,2004,2005,2006,2007 Josh Coalson
|
||||
#
|
||||
# This file is part the FLAC project. FLAC is comprised of several
|
||||
# components distributed under difference licenses. The codec libraries
|
||||
# are distributed under Xiph.Org's BSD-like license (see the file
|
||||
# COPYING.Xiph in this distribution). All other programs, libraries, and
|
||||
# plugins are distributed under the GPL (see COPYING.GPL). The documentation
|
||||
# is distributed under the Gnu FDL (see COPYING.FDL). Each file in the
|
||||
# FLAC distribution contains at the top the terms under which it may be
|
||||
# distributed.
|
||||
#
|
||||
# Since this particular file is relevant to all components of FLAC,
|
||||
# it may be distributed under the Xiph.Org license, which is the least
|
||||
# restrictive of those mentioned above. See the file COPYING.Xiph in this
|
||||
# distribution.
|
||||
|
||||
EXTRA_DIST = \
|
||||
config.mk \
|
||||
exe.mk \
|
||||
lib.mk
|
|
@ -1,372 +0,0 @@
|
|||
# Makefile.in generated by automake 1.7.9 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
|
||||
# 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.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
# FLAC - Free Lossless Audio Codec
|
||||
# Copyright (C) 2002,2003,2004,2005,2006,2007 Josh Coalson
|
||||
#
|
||||
# This file is part the FLAC project. FLAC is comprised of several
|
||||
# components distributed under difference licenses. The codec libraries
|
||||
# are distributed under Xiph.Org's BSD-like license (see the file
|
||||
# COPYING.Xiph in this distribution). All other programs, libraries, and
|
||||
# plugins are distributed under the GPL (see COPYING.GPL). The documentation
|
||||
# is distributed under the Gnu FDL (see COPYING.FDL). Each file in the
|
||||
# FLAC distribution contains at the top the terms under which it may be
|
||||
# distributed.
|
||||
#
|
||||
# Since this particular file is relevant to all components of FLAC,
|
||||
# it may be distributed under the Xiph.Org license, which is the least
|
||||
# restrictive of those mentioned above. See the file COPYING.Xiph in this
|
||||
# distribution.
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
top_builddir = ..
|
||||
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
INSTALL = @INSTALL@
|
||||
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 = :
|
||||
host_triplet = @host@
|
||||
ACLOCAL = @ACLOCAL@
|
||||
ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
|
||||
AMDEP_FALSE = @AMDEP_FALSE@
|
||||
AMDEP_TRUE = @AMDEP_TRUE@
|
||||
AMTAR = @AMTAR@
|
||||
AR = @AR@
|
||||
AS = @AS@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCAS = @CCAS@
|
||||
CCASFLAGS = @CCASFLAGS@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEBUG_FALSE = @DEBUG_FALSE@
|
||||
DEBUG_TRUE = @DEBUG_TRUE@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DOCBOOK_TO_MAN = @DOCBOOK_TO_MAN@
|
||||
DOXYGEN = @DOXYGEN@
|
||||
ECHO = @ECHO@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
F77 = @F77@
|
||||
FFLAGS = @FFLAGS@
|
||||
FLAC__TEST_LEVEL = @FLAC__TEST_LEVEL@
|
||||
FLAC__TEST_WITH_VALGRIND = @FLAC__TEST_WITH_VALGRIND@
|
||||
FLaC__CPU_IA32_FALSE = @FLaC__CPU_IA32_FALSE@
|
||||
FLaC__CPU_IA32_TRUE = @FLaC__CPU_IA32_TRUE@
|
||||
FLaC__CPU_PPC_FALSE = @FLaC__CPU_PPC_FALSE@
|
||||
FLaC__CPU_PPC_TRUE = @FLaC__CPU_PPC_TRUE@
|
||||
FLaC__CPU_SPARC_FALSE = @FLaC__CPU_SPARC_FALSE@
|
||||
FLaC__CPU_SPARC_TRUE = @FLaC__CPU_SPARC_TRUE@
|
||||
FLaC__HAS_AS_FALSE = @FLaC__HAS_AS_FALSE@
|
||||
FLaC__HAS_AS_TRUE = @FLaC__HAS_AS_TRUE@
|
||||
FLaC__HAS_AS__TEMPORARILY_DISABLED_FALSE = @FLaC__HAS_AS__TEMPORARILY_DISABLED_FALSE@
|
||||
FLaC__HAS_AS__TEMPORARILY_DISABLED_TRUE = @FLaC__HAS_AS__TEMPORARILY_DISABLED_TRUE@
|
||||
FLaC__HAS_DOCBOOK_TO_MAN_FALSE = @FLaC__HAS_DOCBOOK_TO_MAN_FALSE@
|
||||
FLaC__HAS_DOCBOOK_TO_MAN_TRUE = @FLaC__HAS_DOCBOOK_TO_MAN_TRUE@
|
||||
FLaC__HAS_DOXYGEN_FALSE = @FLaC__HAS_DOXYGEN_FALSE@
|
||||
FLaC__HAS_DOXYGEN_TRUE = @FLaC__HAS_DOXYGEN_TRUE@
|
||||
FLaC__HAS_GAS_FALSE = @FLaC__HAS_GAS_FALSE@
|
||||
FLaC__HAS_GAS_TRUE = @FLaC__HAS_GAS_TRUE@
|
||||
FLaC__HAS_GAS__TEMPORARILY_DISABLED_FALSE = @FLaC__HAS_GAS__TEMPORARILY_DISABLED_FALSE@
|
||||
FLaC__HAS_GAS__TEMPORARILY_DISABLED_TRUE = @FLaC__HAS_GAS__TEMPORARILY_DISABLED_TRUE@
|
||||
FLaC__HAS_NASM_FALSE = @FLaC__HAS_NASM_FALSE@
|
||||
FLaC__HAS_NASM_TRUE = @FLaC__HAS_NASM_TRUE@
|
||||
FLaC__HAS_OGG_FALSE = @FLaC__HAS_OGG_FALSE@
|
||||
FLaC__HAS_OGG_TRUE = @FLaC__HAS_OGG_TRUE@
|
||||
FLaC__HAS_XMMS_FALSE = @FLaC__HAS_XMMS_FALSE@
|
||||
FLaC__HAS_XMMS_TRUE = @FLaC__HAS_XMMS_TRUE@
|
||||
FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_FALSE = @FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_FALSE@
|
||||
FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_TRUE = @FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_TRUE@
|
||||
FLaC__NO_ASM_FALSE = @FLaC__NO_ASM_FALSE@
|
||||
FLaC__NO_ASM_TRUE = @FLaC__NO_ASM_TRUE@
|
||||
FLaC__SSE_OS_FALSE = @FLaC__SSE_OS_FALSE@
|
||||
FLaC__SSE_OS_TRUE = @FLaC__SSE_OS_TRUE@
|
||||
FLaC__SYS_DARWIN_FALSE = @FLaC__SYS_DARWIN_FALSE@
|
||||
FLaC__SYS_DARWIN_TRUE = @FLaC__SYS_DARWIN_TRUE@
|
||||
FLaC__SYS_LINUX_FALSE = @FLaC__SYS_LINUX_FALSE@
|
||||
FLaC__SYS_LINUX_TRUE = @FLaC__SYS_LINUX_TRUE@
|
||||
FLaC__USE_3DNOW_FALSE = @FLaC__USE_3DNOW_FALSE@
|
||||
FLaC__USE_3DNOW_TRUE = @FLaC__USE_3DNOW_TRUE@
|
||||
FLaC__USE_ALTIVEC_FALSE = @FLaC__USE_ALTIVEC_FALSE@
|
||||
FLaC__USE_ALTIVEC_TRUE = @FLaC__USE_ALTIVEC_TRUE@
|
||||
GAS = @GAS@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBICONV = @LIBICONV@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LN_S = @LN_S@
|
||||
LTLIBICONV = @LTLIBICONV@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAINT = @MAINT@
|
||||
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
|
||||
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
NASM = @NASM@
|
||||
OBJEXT = @OBJEXT@
|
||||
OBJ_FORMAT = @OBJ_FORMAT@
|
||||
OGG_CFLAGS = @OGG_CFLAGS@
|
||||
OGG_LIBS = @OGG_LIBS@
|
||||
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@
|
||||
RANLIB = @RANLIB@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
VERSION = @VERSION@
|
||||
XMMS_CFLAGS = @XMMS_CFLAGS@
|
||||
XMMS_CONFIG = @XMMS_CONFIG@
|
||||
XMMS_DATA_DIR = @XMMS_DATA_DIR@
|
||||
XMMS_EFFECT_PLUGIN_DIR = @XMMS_EFFECT_PLUGIN_DIR@
|
||||
XMMS_GENERAL_PLUGIN_DIR = @XMMS_GENERAL_PLUGIN_DIR@
|
||||
XMMS_INPUT_PLUGIN_DIR = @XMMS_INPUT_PLUGIN_DIR@
|
||||
XMMS_LIBS = @XMMS_LIBS@
|
||||
XMMS_OUTPUT_PLUGIN_DIR = @XMMS_OUTPUT_PLUGIN_DIR@
|
||||
XMMS_PLUGIN_DIR = @XMMS_PLUGIN_DIR@
|
||||
XMMS_VERSION = @XMMS_VERSION@
|
||||
XMMS_VISUALIZATION_PLUGIN_DIR = @XMMS_VISUALIZATION_PLUGIN_DIR@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_F77 = @ac_ct_F77@
|
||||
ac_ct_RANLIB = @ac_ct_RANLIB@
|
||||
ac_ct_STRIP = @ac_ct_STRIP@
|
||||
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
|
||||
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
datadir = @datadir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
oldincludedir = @oldincludedir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
|
||||
EXTRA_DIST = \
|
||||
config.mk \
|
||||
exe.mk \
|
||||
lib.mk
|
||||
|
||||
subdir = build
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
DIST_SOURCES =
|
||||
DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu build/Makefile
|
||||
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
distclean-libtool:
|
||||
-rm -f libtool
|
||||
uninstall-info-am:
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
ctags: CTAGS
|
||||
CTAGS:
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
top_distdir = ..
|
||||
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
||||
list='$(DISTFILES)'; for file in $$list; do \
|
||||
case $$file in \
|
||||
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
||||
esac; \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
dir="/$$dir"; \
|
||||
$(mkinstalldirs) "$(distdir)$$dir"; \
|
||||
else \
|
||||
dir=''; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
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
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile
|
||||
|
||||
installdirs:
|
||||
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:
|
||||
-rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
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-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic distclean-libtool
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-info-am
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
|
||||
distclean distclean-generic distclean-libtool distdir dvi \
|
||||
dvi-am info info-am install install-am install-data \
|
||||
install-data-am install-exec install-exec-am install-info \
|
||||
install-info-am install-man install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-generic \
|
||||
mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
|
||||
uninstall-info-am
|
||||
|
||||
# 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:
|
|
@ -1,52 +0,0 @@
|
|||
# FLAC - Free Lossless Audio Codec
|
||||
# Copyright (C) 2001,2002,2003,2004,2005,2006,2007 Josh Coalson
|
||||
#
|
||||
# This file is part the FLAC project. FLAC is comprised of several
|
||||
# components distributed under difference licenses. The codec libraries
|
||||
# are distributed under Xiph.Org's BSD-like license (see the file
|
||||
# COPYING.Xiph in this distribution). All other programs, libraries, and
|
||||
# plugins are distributed under the GPL (see COPYING.GPL). The documentation
|
||||
# is distributed under the Gnu FDL (see COPYING.FDL). Each file in the
|
||||
# FLAC distribution contains at the top the terms under which it may be
|
||||
# distributed.
|
||||
#
|
||||
# Since this particular file is relevant to all components of FLAC,
|
||||
# it may be distributed under the Xiph.Org license, which is the least
|
||||
# restrictive of those mentioned above. See the file COPYING.Xiph in this
|
||||
# distribution.
|
||||
|
||||
#
|
||||
# debug/release selection
|
||||
#
|
||||
|
||||
DEFAULT_BUILD = release
|
||||
|
||||
debug : BUILD = debug
|
||||
valgrind : BUILD = debug
|
||||
release : BUILD = release
|
||||
|
||||
# override LINKAGE on OS X until we figure out how to get 'cc -static' to work
|
||||
ifeq ($(DARWIN_BUILD),yes)
|
||||
LINKAGE =
|
||||
else
|
||||
debug : LINKAGE = -static
|
||||
valgrind : LINKAGE = -dynamic
|
||||
release : LINKAGE = -static
|
||||
endif
|
||||
|
||||
all default: $(DEFAULT_BUILD)
|
||||
|
||||
#
|
||||
# GNU makefile fragment for emulating stuff normally done by configure
|
||||
#
|
||||
|
||||
VERSION=\"1.1.4\"
|
||||
|
||||
ifeq ($(DARWIN_BUILD),yes)
|
||||
CONFIG_CFLAGS=-DHAVE_INTTYPES_H -DHAVE_ICONV -DHAVE_LANGINFO_CODESET -DFLAC__HAS_OGG -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFLAC__SYS_DARWIN -DWORDS_BIGENDIAN
|
||||
else
|
||||
CONFIG_CFLAGS=-DHAVE_INTTYPES_H -DHAVE_ICONV -DHAVE_LANGINFO_CODESET -DHAVE_SOCKLEN_T -DFLAC__HAS_OGG -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
|
||||
endif
|
||||
|
||||
OGG_INCLUDE_DIR=$(HOME)/local/include
|
||||
OGG_LIB_DIR=$(HOME)/local/lib
|
|
@ -1,95 +0,0 @@
|
|||
# FLAC - Free Lossless Audio Codec
|
||||
# Copyright (C) 2001,2002,2003,2004,2005,2006,2007 Josh Coalson
|
||||
#
|
||||
# This file is part the FLAC project. FLAC is comprised of several
|
||||
# components distributed under difference licenses. The codec libraries
|
||||
# are distributed under Xiph.Org's BSD-like license (see the file
|
||||
# COPYING.Xiph in this distribution). All other programs, libraries, and
|
||||
# plugins are distributed under the GPL (see COPYING.GPL). The documentation
|
||||
# is distributed under the Gnu FDL (see COPYING.FDL). Each file in the
|
||||
# FLAC distribution contains at the top the terms under which it may be
|
||||
# distributed.
|
||||
#
|
||||
# Since this particular file is relevant to all components of FLAC,
|
||||
# it may be distributed under the Xiph.Org license, which is the least
|
||||
# restrictive of those mentioned above. See the file COPYING.Xiph in this
|
||||
# distribution.
|
||||
|
||||
#
|
||||
# GNU makefile fragment for building an executable
|
||||
#
|
||||
|
||||
include $(topdir)/build/config.mk
|
||||
|
||||
ifeq ($(DARWIN_BUILD),yes)
|
||||
CC = cc
|
||||
CCC = c++
|
||||
else
|
||||
CC = gcc
|
||||
CCC = g++
|
||||
endif
|
||||
NASM = nasm
|
||||
LINK = $(CC) $(LINKAGE)
|
||||
OBJPATH = $(topdir)/obj
|
||||
BINPATH = $(OBJPATH)/$(BUILD)/bin
|
||||
LIBPATH = $(OBJPATH)/$(BUILD)/lib
|
||||
DEBUG_BINPATH = $(OBJPATH)/debug/bin
|
||||
DEBUG_LIBPATH = $(OBJPATH)/debug/lib
|
||||
RELEASE_BINPATH = $(OBJPATH)/release/bin
|
||||
RELEASE_LIBPATH = $(OBJPATH)/release/lib
|
||||
PROGRAM = $(BINPATH)/$(PROGRAM_NAME)
|
||||
DEBUG_PROGRAM = $(DEBUG_BINPATH)/$(PROGRAM_NAME)
|
||||
RELEASE_PROGRAM = $(RELEASE_BINPATH)/$(PROGRAM_NAME)
|
||||
|
||||
debug : CFLAGS = -g -O0 -DDEBUG $(CONFIG_CFLAGS) $(DEBUG_CFLAGS) -W -Wall -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES)
|
||||
valgrind: CFLAGS = -g -O0 -DDEBUG $(CONFIG_CFLAGS) $(DEBUG_CFLAGS) -DFLAC__VALGRIND_TESTING -W -Wall -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES)
|
||||
release : CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -finline-functions -DNDEBUG $(CONFIG_CFLAGS) $(RELEASE_CFLAGS) -W -Wall -Winline -DFLaC__INLINE=__inline__ -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES)
|
||||
|
||||
LFLAGS = -L$(LIBPATH)
|
||||
|
||||
DEBUG_OBJS = $(SRCS_C:%.c=%.debug.o) $(SRCS_CC:%.cc=%.debug.o) $(SRCS_CPP:%.cpp=%.debug.o) $(SRCS_NASM:%.nasm=%.debug.o)
|
||||
RELEASE_OBJS = $(SRCS_C:%.c=%.release.o) $(SRCS_CC:%.cc=%.release.o) $(SRCS_CPP:%.cpp=%.release.o) $(SRCS_NASM:%.nasm=%.release.o)
|
||||
|
||||
debug : $(DEBUG_PROGRAM)
|
||||
valgrind: $(DEBUG_PROGRAM)
|
||||
release : $(RELEASE_PROGRAM)
|
||||
|
||||
# by default on OS X we link with static libs as much as possible
|
||||
|
||||
$(DEBUG_PROGRAM) : $(DEBUG_OBJS)
|
||||
ifeq ($(DARWIN_BUILD),yes)
|
||||
$(LINK) -o $@ $(DEBUG_OBJS) $(EXPLICIT_LIBS)
|
||||
else
|
||||
$(LINK) -o $@ $(DEBUG_OBJS) $(LFLAGS) $(LIBS)
|
||||
endif
|
||||
|
||||
$(RELEASE_PROGRAM) : $(RELEASE_OBJS)
|
||||
ifeq ($(DARWIN_BUILD),yes)
|
||||
$(LINK) -o $@ $(RELEASE_OBJS) $(EXPLICIT_LIBS)
|
||||
else
|
||||
$(LINK) -o $@ $(RELEASE_OBJS) $(LFLAGS) $(LIBS)
|
||||
endif
|
||||
|
||||
%.debug.o %.release.o : %.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
%.debug.o %.release.o : %.cc
|
||||
$(CCC) $(CFLAGS) -c $< -o $@
|
||||
%.debug.o %.release.o : %.cpp
|
||||
$(CCC) $(CFLAGS) -c $< -o $@
|
||||
%.debug.i %.release.i : %.c
|
||||
$(CC) $(CFLAGS) -E $< -o $@
|
||||
%.debug.i %.release.i : %.cc
|
||||
$(CCC) $(CFLAGS) -E $< -o $@
|
||||
%.debug.i %.release.i : %.cpp
|
||||
$(CCC) $(CFLAGS) -E $< -o $@
|
||||
|
||||
%.debug.o %.release.o : %.nasm
|
||||
$(NASM) -f elf -d OBJ_FORMAT_elf -i ia32/ $< -o $@
|
||||
|
||||
.PHONY : clean
|
||||
clean :
|
||||
-rm -f $(DEBUG_OBJS) $(RELEASE_OBJS) $(OBJPATH)/*/bin/$(PROGRAM_NAME)
|
||||
|
||||
.PHONY : depend
|
||||
depend:
|
||||
makedepend -fMakefile.lite -- $(CFLAGS) $(INCLUDES) -- *.c *.cc *.cpp
|
|
@ -1,122 +0,0 @@
|
|||
# FLAC - Free Lossless Audio Codec
|
||||
# Copyright (C) 2001,2002,2003,2004,2005,2006,2007 Josh Coalson
|
||||
#
|
||||
# This file is part the FLAC project. FLAC is comprised of several
|
||||
# components distributed under difference licenses. The codec libraries
|
||||
# are distributed under Xiph.Org's BSD-like license (see the file
|
||||
# COPYING.Xiph in this distribution). All other programs, libraries, and
|
||||
# plugins are distributed under the GPL (see COPYING.GPL). The documentation
|
||||
# is distributed under the Gnu FDL (see COPYING.FDL). Each file in the
|
||||
# FLAC distribution contains at the top the terms under which it may be
|
||||
# distributed.
|
||||
#
|
||||
# Since this particular file is relevant to all components of FLAC,
|
||||
# it may be distributed under the Xiph.Org license, which is the least
|
||||
# restrictive of those mentioned above. See the file COPYING.Xiph in this
|
||||
# distribution.
|
||||
|
||||
#
|
||||
# GNU makefile fragment for building a library
|
||||
#
|
||||
|
||||
include $(topdir)/build/config.mk
|
||||
|
||||
ifeq ($(DARWIN_BUILD),yes)
|
||||
CC = cc
|
||||
CCC = c++
|
||||
else
|
||||
CC = gcc
|
||||
CCC = g++
|
||||
endif
|
||||
AS = as
|
||||
NASM = nasm
|
||||
LINK = ar cru
|
||||
OBJPATH = $(topdir)/obj
|
||||
LIBPATH = $(OBJPATH)/$(BUILD)/lib
|
||||
DEBUG_LIBPATH = $(OBJPATH)/debug/lib
|
||||
RELEASE_LIBPATH = $(OBJPATH)/release/lib
|
||||
ifeq ($(DARWIN_BUILD),yes)
|
||||
STATIC_LIB_SUFFIX = a
|
||||
DYNAMIC_LIB_SUFFIX = dylib
|
||||
else
|
||||
STATIC_LIB_SUFFIX = a
|
||||
DYNAMIC_LIB_SUFFIX = so
|
||||
endif
|
||||
STATIC_LIB_NAME = $(LIB_NAME).$(STATIC_LIB_SUFFIX)
|
||||
DYNAMIC_LIB_NAME = $(LIB_NAME).$(DYNAMIC_LIB_SUFFIX)
|
||||
STATIC_LIB = $(LIBPATH)/$(STATIC_LIB_NAME)
|
||||
DYNAMIC_LIB = $(LIBPATH)/$(DYNAMIC_LIB_NAME)
|
||||
DEBUG_STATIC_LIB = $(DEBUG_LIBPATH)/$(STATIC_LIB_NAME)
|
||||
DEBUG_DYNAMIC_LIB = $(DEBUG_LIBPATH)/$(DYNAMIC_LIB_NAME)
|
||||
RELEASE_STATIC_LIB = $(RELEASE_LIBPATH)/$(STATIC_LIB_NAME)
|
||||
RELEASE_DYNAMIC_LIB = $(RELEASE_LIBPATH)/$(DYNAMIC_LIB_NAME)
|
||||
ifeq ($(DARWIN_BUILD),yes)
|
||||
LINKD = $(CC) -dynamiclib -flat_namespace -undefined suppress -install_name $(DYNAMIC_LIB)
|
||||
else
|
||||
LINKD = $(CC) -shared
|
||||
endif
|
||||
|
||||
debug : CFLAGS = -g -O0 -DDEBUG $(CONFIG_CFLAGS) $(DEBUG_CFLAGS) -W -Wall -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES)
|
||||
valgrind: CFLAGS = -g -O0 -DDEBUG $(CONFIG_CFLAGS) $(DEBUG_CFLAGS) -DFLAC__VALGRIND_TESTING -W -Wall -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES)
|
||||
release : CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -finline-functions -DNDEBUG $(CONFIG_CFLAGS) $(RELEASE_CFLAGS) -W -Wall -Winline -DFLaC__INLINE=__inline__ -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES)
|
||||
|
||||
LFLAGS = -L$(LIBPATH)
|
||||
|
||||
DEBUG_OBJS = $(SRCS_C:%.c=%.debug.o) $(SRCS_CC:%.cc=%.debug.o) $(SRCS_CPP:%.cpp=%.debug.o) $(SRCS_NASM:%.nasm=%.debug.o) $(SRCS_S:%.s=%.debug.o)
|
||||
RELEASE_OBJS = $(SRCS_C:%.c=%.release.o) $(SRCS_CC:%.cc=%.release.o) $(SRCS_CPP:%.cpp=%.release.o) $(SRCS_NASM:%.nasm=%.release.o) $(SRCS_S:%.s=%.release.o)
|
||||
|
||||
debug : $(DEBUG_STATIC_LIB) $(DEBUG_DYNAMIC_LIB)
|
||||
valgrind: $(DEBUG_STATIC_LIB) $(DEBUG_DYNAMIC_LIB)
|
||||
release : $(RELEASE_STATIC_LIB) $(RELEASE_DYNAMIC_LIB)
|
||||
|
||||
$(DEBUG_STATIC_LIB): $(DEBUG_OBJS)
|
||||
$(LINK) $@ $(DEBUG_OBJS) && ranlib $@
|
||||
|
||||
$(RELEASE_STATIC_LIB): $(RELEASE_OBJS)
|
||||
$(LINK) $@ $(RELEASE_OBJS) && ranlib $@
|
||||
|
||||
$(DEBUG_DYNAMIC_LIB) : $(DEBUG_OBJS)
|
||||
ifeq ($(DARWIN_BUILD),yes)
|
||||
echo Not building dynamic lib, command is: $(LINKD) -o $@ $(DEBUG_OBJS) $(LFLAGS) $(LIBS) -lc
|
||||
else
|
||||
$(LINKD) -o $@ $(DEBUG_OBJS) $(LFLAGS) $(LIBS)
|
||||
endif
|
||||
|
||||
$(RELEASE_DYNAMIC_LIB) : $(RELEASE_OBJS)
|
||||
ifeq ($(DARWIN_BUILD),yes)
|
||||
echo Not building dynamic lib, command is: $(LINKD) -o $@ $(RELEASE_OBJS) $(LFLAGS) $(LIBS) -lc
|
||||
else
|
||||
$(LINKD) -o $@ $(RELEASE_OBJS) $(LFLAGS) $(LIBS)
|
||||
endif
|
||||
|
||||
%.debug.o %.release.o : %.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
%.debug.o %.release.o : %.cc
|
||||
$(CCC) $(CFLAGS) -c $< -o $@
|
||||
%.debug.o %.release.o : %.cpp
|
||||
$(CCC) $(CFLAGS) -c $< -o $@
|
||||
%.debug.i %.release.i : %.c
|
||||
$(CC) $(CFLAGS) -E $< -o $@
|
||||
%.debug.i %.release.i : %.cc
|
||||
$(CCC) $(CFLAGS) -E $< -o $@
|
||||
%.debug.i %.release.i : %.cpp
|
||||
$(CCC) $(CFLAGS) -E $< -o $@
|
||||
|
||||
%.debug.o %.release.o : %.s
|
||||
ifeq ($(DARWIN_BUILD),yes)
|
||||
#$(CC) -c -arch ppc -Wall -force_cpusubtype_ALL $< -o $@
|
||||
$(AS) -arch ppc -force_cpusubtype_ALL $< -o $@
|
||||
else
|
||||
$(AS) $< -o $@
|
||||
endif
|
||||
|
||||
%.debug.o %.release.o : %.nasm
|
||||
$(NASM) -f elf -d OBJ_FORMAT_elf -i ia32/ $< -o $@
|
||||
|
||||
.PHONY : clean
|
||||
clean :
|
||||
-rm -f $(DEBUG_OBJS) $(RELEASE_OBJS) $(OBJPATH)/*/lib/$(STATIC_LIB_NAME) $(OBJPATH)/*/lib/$(DYNAMIC_LIB_NAME)
|
||||
|
||||
.PHONY : depend
|
||||
depend:
|
||||
makedepend -fMakefile.lite -- $(CFLAGS) $(INCLUDES) -- *.c *.cc *.cpp
|
Loading…
Reference in a new issue