mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-29 00:30:23 +01:00
Upgrades libsndfile to 1.0.24.
This commit is contained in:
@@ -13,24 +13,35 @@ noinst_LTLIBRARIES = libcommon.la
|
||||
OS_SPECIFIC_CFLAGS = @OS_SPECIFIC_CFLAGS@
|
||||
OS_SPECIFIC_LINKS = @OS_SPECIFIC_LINKS@
|
||||
|
||||
SYMBOL_FILES = Symbols.linux Symbols.darwin libsndfile-1.def Symbols.os2
|
||||
SYMBOL_FILES = Symbols.gnu-binutils Symbols.darwin libsndfile-1.def Symbols.os2 Symbols.static
|
||||
|
||||
EXTRA_DIST = sndfile.h.in config.h.in test_endswap.tpl test_endswap.def \
|
||||
$(SYMBOL_FILES) create_symbols_file.py binheader_writef_check.py
|
||||
$(SYMBOL_FILES) create_symbols_file.py binheader_writef_check.py \
|
||||
make-static-lib-hidden-privates.sh
|
||||
|
||||
noinst_HEADERS = common.h sfconfig.h sfendian.h wav_w64.h sf_unistd.h
|
||||
noinst_HEADERS = common.h sfconfig.h sfendian.h wav_w64.h sf_unistd.h chanmap.h
|
||||
|
||||
noinst_PROGRAMS = test_main
|
||||
|
||||
COMMON = common.c file_io.c command.c pcm.c ulaw.c alaw.c float32.c \
|
||||
double64.c ima_adpcm.c ms_adpcm.c gsm610.c dwvw.c vox_adpcm.c \
|
||||
interleave.c strings.c dither.c broadcast.c audio_detect.c \
|
||||
ima_oki_adpcm.c ima_oki_adpcm.h chunk.c
|
||||
ima_oki_adpcm.c ima_oki_adpcm.h chunk.c chanmap.c \
|
||||
windows.c id3.c $(WIN_VERSION_FILE)
|
||||
|
||||
FILESPECIFIC = sndfile.c aiff.c au.c avr.c caf.c dwd.c flac.c g72x.c htk.c ircam.c \
|
||||
macbinary3.c macos.c mat4.c mat5.c nist.c ogg.c paf.c pvf.c raw.c rx2.c sd2.c \
|
||||
sds.c svx.c txw.c voc.c wve.c w64.c wav_w64.c wav.c xi.c mpc2k.c rf64.c
|
||||
|
||||
CLEANFILES = *~
|
||||
|
||||
if USE_WIN_VERSION_FILE
|
||||
WIN_VERSION_FILE = version-metadata.rc
|
||||
else
|
||||
WIN_VERSION_FILE =
|
||||
endif
|
||||
|
||||
#===============================================================================
|
||||
# MinGW requires -no-undefined if a DLL is to be built.
|
||||
libsndfile_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@ @SHLIB_VERSION_ARG@
|
||||
libsndfile_la_SOURCES = $(FILESPECIFIC) $(noinst_HEADERS)
|
||||
@@ -41,7 +52,8 @@ libsndfile_la_LIBADD = libcommon.la GSM610/libgsm.la G72x/libg72x.la \
|
||||
libcommon_la_SOURCES = $(COMMON)
|
||||
|
||||
test_main_SOURCES = test_main.c test_main.h test_conversions.c test_float.c test_endswap.c \
|
||||
test_audio_detect.c test_log_printf.c test_file_io.c test_ima_oki_adpcm.c
|
||||
test_audio_detect.c test_log_printf.c test_file_io.c test_ima_oki_adpcm.c \
|
||||
test_strncpy_crlf.c test_broadcast_var.c
|
||||
test_main_LDADD = libcommon.la
|
||||
|
||||
|
||||
@@ -55,23 +67,15 @@ genfiles : test_endswap.c $(SYMBOL_FILES)
|
||||
# need access to the internals of the SF_PRIVATE struct.
|
||||
|
||||
check: $(noinst_PROGRAMS)
|
||||
@echo
|
||||
@echo
|
||||
@echo
|
||||
@echo "============================================================"
|
||||
@if [ -x /usr/bin/python2.5 ]; then $(srcdir)/binheader_writef_check.py $(srcdir)/*.c ; fi
|
||||
@if [ -x /usr/bin/python ]; then $(srcdir)/binheader_writef_check.py $(srcdir)/*.c ; fi
|
||||
./test_main$(EXEEXT)
|
||||
@echo "============================================================"
|
||||
@echo
|
||||
@echo
|
||||
@echo
|
||||
|
||||
#======================================================================
|
||||
# Generate an OS specific Symbols files. This is done when the author
|
||||
# builds the distribution tarball. There should be not need for the
|
||||
# end user to create these files.
|
||||
|
||||
Symbols.linux: create_symbols_file.py
|
||||
Symbols.gnu-binutils: create_symbols_file.py
|
||||
./create_symbols_file.py linux $(VERSION) > $@
|
||||
|
||||
Symbols.darwin: create_symbols_file.py
|
||||
@@ -83,9 +87,18 @@ libsndfile-1.def: create_symbols_file.py
|
||||
Symbols.os2: create_symbols_file.py
|
||||
./create_symbols_file.py os2 $(VERSION) > $@
|
||||
|
||||
Symbols.static: create_symbols_file.py
|
||||
./create_symbols_file.py static $(VERSION) > $@
|
||||
|
||||
# Fake dependancy to force the creation of these files.
|
||||
sndfile.o : $(SYMBOL_FILES)
|
||||
|
||||
#======================================================================
|
||||
# Building windows resource files (if needed).
|
||||
|
||||
.rc.lo:
|
||||
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --tag=RC --mode=compile $(RC) $(RCFLAGS) $< -o $@
|
||||
|
||||
#======================================================================
|
||||
# Disable autoheader.
|
||||
AUTOHEADER=echo
|
||||
|
||||
Reference in New Issue
Block a user