mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
more autoconf/automake patches from Matt
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
SUBDIRS = src test
|
SUBDIRS = doc include man src test
|
||||||
|
|
||||||
DISTCLEANFILES = libtool-disable-static
|
DISTCLEANFILES = libtool-disable-static
|
||||||
|
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ AC_SUBST(FLaC__SIZE64)
|
|||||||
AC_SUBST(FLaC__USIZE64)
|
AC_SUBST(FLaC__USIZE64)
|
||||||
|
|
||||||
SAVE_CFLAGS="$CFLAGS"
|
SAVE_CFLAGS="$CFLAGS"
|
||||||
CFLAGS='-I./include -I $(top_srcdir)/include -Wall -W'
|
CFLAGS='-I$(srcdir)/include -I $(top_srcdir)/include -Wall -W'
|
||||||
if test x$debug = xtrue; then
|
if test x$debug = xtrue; then
|
||||||
CFLAGS="$CFLAGS -g -O0 -DDEBUG"
|
CFLAGS="$CFLAGS -g -O0 -DDEBUG"
|
||||||
else
|
else
|
||||||
@@ -151,6 +151,9 @@ AC_OUTPUT( Makefile \
|
|||||||
src/Makefile \
|
src/Makefile \
|
||||||
src/libFLAC/Makefile \
|
src/libFLAC/Makefile \
|
||||||
src/libFLAC/ia32/Makefile \
|
src/libFLAC/ia32/Makefile \
|
||||||
|
src/libFLAC/include/Makefile \
|
||||||
|
src/libFLAC/include/private/Makefile \
|
||||||
|
src/libFLAC/include/protected/Makefile \
|
||||||
src/flac/Makefile \
|
src/flac/Makefile \
|
||||||
src/metaflac/Makefile \
|
src/metaflac/Makefile \
|
||||||
src/plugin_xmms/Makefile \
|
src/plugin_xmms/Makefile \
|
||||||
@@ -159,5 +162,9 @@ AC_OUTPUT( Makefile \
|
|||||||
include/Makefile \
|
include/Makefile \
|
||||||
include/FLAC/Makefile \
|
include/FLAC/Makefile \
|
||||||
include/FLAC/ordinals.h \
|
include/FLAC/ordinals.h \
|
||||||
|
doc/Makefile \
|
||||||
|
doc/images/Makefile \
|
||||||
|
doc/ru/Makefile \
|
||||||
|
man/Makefile \
|
||||||
test/Makefile \
|
test/Makefile \
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -19,8 +19,4 @@ if FLaC__HAS_XMMS
|
|||||||
XMMS_DIRS = plugin_xmms
|
XMMS_DIRS = plugin_xmms
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if DEBUG
|
SUBDIRS = libFLAC flac metaflac $(XMMS_DIRS) test_streams test_unit
|
||||||
DEBUG_DIRS = test_streams test_unit
|
|
||||||
endif
|
|
||||||
|
|
||||||
SUBDIRS = libFLAC flac metaflac $(XMMS_DIRS) $(DEBUG_DIRS)
|
|
||||||
|
|||||||
@@ -23,6 +23,11 @@ flac_SOURCES = \
|
|||||||
decode.c \
|
decode.c \
|
||||||
encode.c \
|
encode.c \
|
||||||
file.c \
|
file.c \
|
||||||
main.c
|
main.c \
|
||||||
|
analyze.h \
|
||||||
|
decode.h \
|
||||||
|
encode.h \
|
||||||
|
file.h
|
||||||
|
|
||||||
flac_LDFLAGS = -lm
|
flac_LDFLAGS = -lm
|
||||||
flac_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la
|
flac_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la
|
||||||
|
|||||||
@@ -31,12 +31,14 @@ if FLaC__NO_ASM
|
|||||||
else
|
else
|
||||||
if FLaC__CPU_IA32
|
if FLaC__CPU_IA32
|
||||||
if FLaC__HAS_NASM
|
if FLaC__HAS_NASM
|
||||||
SUBDIRS = ia32 .
|
ARCH_SUBDIRS = ia32
|
||||||
libFLAC_la_LIBADD = ia32/libFLAC-asm.a
|
libFLAC_la_LIBADD = ia32/libFLAC-asm.la
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
SUBDIRS = $(ARCH_SUBDIRS) include .
|
||||||
|
|
||||||
libFLAC_la_LDFLAGS = -version-info 1:0:0
|
libFLAC_la_LDFLAGS = -version-info 1:0:0
|
||||||
|
|
||||||
libFLAC_la_SOURCES = \
|
libFLAC_la_SOURCES = \
|
||||||
|
|||||||
@@ -17,6 +17,10 @@
|
|||||||
|
|
||||||
TESTS = ./test_unit.sh ./test_streams.sh ./test_bins.sh
|
TESTS = ./test_unit.sh ./test_streams.sh ./test_bins.sh
|
||||||
|
|
||||||
|
EXTRA_DIST = test_unit.sh \
|
||||||
|
test_streams.sh \
|
||||||
|
test_bins.sh
|
||||||
|
|
||||||
CLEANFILES = \
|
CLEANFILES = \
|
||||||
$(wildcard *.raw) $(wildcard *.flac) $(wildcard *.cmp) $(wildcard *.wav) \
|
$(wildcard *.raw) $(wildcard *.flac) $(wildcard *.cmp) $(wildcard *.wav) \
|
||||||
$(wildcard ../../test_files/bins/*.raw) \
|
$(wildcard ../../test_files/bins/*.raw) \
|
||||||
|
|||||||
Reference in New Issue
Block a user