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