summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: e14d1fb8d2d57138040fc30ed4c101ad7eae0bbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
## Process this file with automake to produce Makefile.in

ACLOCAL_AMFLAGS = -I M4

DISTCHECK_CONFIGURE_FLAGS = --enable-gcc-werror

if BUILD_OCTAVE_MOD
octave_dir = Octave
endif

SUBDIRS = M4 man doc Win32 src $(octave_dir) examples regtest tests programs
DIST_SUBDIRS = M4 man doc Win32 src Octave examples regtest tests programs

EXTRA_DIST = libsndfile.spec.in sndfile.pc.in

CLEANFILES = *~

pkgconfig_DATA = sndfile.pc

m4datadir = $(datadir)/aclocal

#===============================================================================

test: check-recursive

# Target to make autogenerated files.
genfiles :
	(cd src ; make genfiles)
	(cd tests ; make genfiles)

checkprograms :
	(cd src ; make libsndfile.la checkprograms)
	(cd tests ; make checkprograms)

testprogs :
	(cd src ; make testprogs)
	(cd tests ; make testprogs)


test-tarball : build-test-tarball.mk
	make all
	make -f build-test-tarball.mk