2007-05-14 19:55:24 +10:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2011-08-07 19:54:24 +10:00
|
|
|
ACLOCAL_AMFLAGS = -I M4
|
|
|
|
|
2014-12-06 19:28:20 +11:00
|
|
|
DISTCHECK_CONFIGURE_FLAGS = --enable-werror
|
2008-02-10 10:26:05 +11:00
|
|
|
|
2007-09-07 10:16:40 +10:00
|
|
|
if BUILD_OCTAVE_MOD
|
|
|
|
octave_dir = Octave
|
|
|
|
endif
|
|
|
|
|
2017-06-05 14:30:16 +02:00
|
|
|
SUBDIRS = Win32 src examples tests
|
2017-01-27 23:51:19 +01:00
|
|
|
|
|
|
|
if FULL_SUITE
|
|
|
|
SUBDIRS += man doc $(octave_dir) regtest programs
|
|
|
|
endif
|
|
|
|
|
2017-06-05 14:30:16 +02:00
|
|
|
DIST_SUBDIRS = man doc Win32 src Octave examples regtest tests programs
|
2008-10-21 22:49:55 +11:00
|
|
|
|
2013-09-08 13:06:33 +10:00
|
|
|
EXTRA_DIST = libsndfile.spec.in sndfile.pc.in Scripts/android-configure.sh \
|
2016-07-02 17:05:42 +10:00
|
|
|
Scripts/linux-to-win-cross-configure.sh Scripts/build-test-tarball.mk.in \
|
2017-04-06 19:29:22 +10:00
|
|
|
CMakeLists.txt $(cmake_files) sndfile.pc.cmake.in
|
|
|
|
|
2017-04-13 11:11:02 +05:00
|
|
|
cmake_files = cmake/ClipMode.cmake cmake/FindFLAC.cmake \
|
|
|
|
cmake/CMakeAutoGen.cmake cmake/CMakeAutoGenScript.cmake \
|
|
|
|
cmake/FindFLAC.cmake cmake/FindOgg.cmake cmake/FindSndio.cmake \
|
|
|
|
cmake/FindSpeex.cmake cmake/FindSQLite3.cmake cmake/FindVorbis.cmake \
|
|
|
|
cmake/SndFileChecks.cmake cmake/TestInline.cmake \
|
|
|
|
cmake/TestLargeFiles.cmake cmake/LibSndFileConfig.cmake.in \
|
|
|
|
cmake/TestInline.c.in
|
2007-09-07 10:16:40 +10:00
|
|
|
|
2010-10-06 22:16:41 +11:00
|
|
|
CLEANFILES = *~
|
2007-09-07 10:16:40 +10:00
|
|
|
|
2007-05-14 19:55:24 +10:00
|
|
|
pkgconfig_DATA = sndfile.pc
|
|
|
|
|
|
|
|
m4datadir = $(datadir)/aclocal
|
|
|
|
|
2010-10-06 22:16:41 +11:00
|
|
|
#===============================================================================
|
|
|
|
|
2007-05-14 19:55:24 +10:00
|
|
|
test: check-recursive
|
|
|
|
|
2005-02-07 23:42:36 +00:00
|
|
|
# Target to make autogenerated files.
|
2011-07-07 19:47:51 +10:00
|
|
|
checkprograms :
|
2017-06-05 14:30:16 +02:00
|
|
|
$(MAKE) -C src libsndfile.la checkprograms
|
|
|
|
$(MAKE) -C tests checkprograms
|
2007-05-14 19:55:24 +10:00
|
|
|
|
2009-09-27 21:46:30 +10:00
|
|
|
testprogs :
|
2017-06-05 14:30:16 +02:00
|
|
|
$(MAKE) -C src testprogs
|
|
|
|
$(MAKE) -C tests testprogs
|
2009-09-27 21:46:30 +10:00
|
|
|
|
|
|
|
|
2013-09-08 13:06:33 +10:00
|
|
|
test-tarball : Scripts/build-test-tarball.mk
|
2017-06-05 14:30:16 +02:00
|
|
|
$(MAKE) -C src all libsndfile.la checkprograms
|
|
|
|
$(MAKE) -C tests all checkprograms
|
2017-01-27 23:51:19 +01:00
|
|
|
$(MAKE) -f Scripts/build-test-tarball.mk
|