mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 01:49:53 +00:00
tests/Makefile.am : When cross compiling from Linux to windows and running the test suite under Wine, create a symbolic link to the libsndfile DLL.
This commit is contained in:
parent
091d6ac84e
commit
f18a084e2c
29
.bzrignore
29
.bzrignore
@ -1,20 +1,20 @@
|
||||
*.aif
|
||||
*.aifc
|
||||
*.aiff
|
||||
*.au
|
||||
*.bin
|
||||
#*.aif
|
||||
#*.aifc
|
||||
#*.aiff
|
||||
#*.au
|
||||
#*.bin
|
||||
*.exe
|
||||
*.flac
|
||||
#*.flac
|
||||
*.la
|
||||
*.lo
|
||||
*.loT
|
||||
*.oct
|
||||
*.oga
|
||||
*.paf
|
||||
*.sd2
|
||||
*.sds
|
||||
*.svx
|
||||
*.wav
|
||||
#*.oct
|
||||
#*.oga
|
||||
#*.paf
|
||||
#*.sd2
|
||||
#*.sds
|
||||
#*.svx
|
||||
#*.wav
|
||||
.deps
|
||||
.libs
|
||||
Cfg/compile
|
||||
@ -44,7 +44,7 @@ examples/sndfile-info
|
||||
examples/sndfile-jackplay
|
||||
examples/sndfile-play
|
||||
examples/sndfilehandle
|
||||
libsndfile-1.0.*pre*
|
||||
libsndfile-1.0.*
|
||||
libsndfile.spec
|
||||
libtool
|
||||
regtest/sndfile-regtest
|
||||
@ -80,6 +80,7 @@ tests/benchmark.c
|
||||
tests/fix_this
|
||||
tests/floating_point_test.c
|
||||
tests/header_test.c
|
||||
tests/libsndfile-1.dll
|
||||
tests/pcm_test.c
|
||||
tests/pipe_test.c
|
||||
tests/scale_clip_test.c
|
||||
|
@ -165,6 +165,22 @@ benchmark.c: benchmark.def benchmark.tpl
|
||||
genfiles : write_read_test.c pcm_test.c header_test.c utils.c \
|
||||
scale_clip_test.c pipe_test.c floating_point_test.c benchmark.c
|
||||
|
||||
#===============================================================================
|
||||
# If we're cross compiling from Linux to Windows and running the test suite
|
||||
# under Wine, we need a symbolic link to the generated libsndfile DLL.
|
||||
|
||||
if LINUX_MINGW_CROSS_TEST
|
||||
|
||||
$(noinst_PROGRAMS) : libsndfile-1.dll
|
||||
|
||||
libsndfile-1.dll :
|
||||
ln -s $(top_builddir)/src/.libs/$@ $@
|
||||
|
||||
clean-local :
|
||||
-rm -f libsndfile-1.dll
|
||||
|
||||
endif
|
||||
|
||||
#===============================================================================
|
||||
|
||||
check: generic-tests wav-tests aiff-tests au-tests caf-tests raw-tests \
|
||||
|
Loading…
Reference in New Issue
Block a user