summaryrefslogtreecommitdiff
path: root/tests/freealut/src/Makefile.am
blob: 8bd9a2782e6e1a16e51d037b05acca0a2c7fdee2 (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
# The following files should be in our source distribution in addition to the
# standard ones included by automake itself:
EXTRA_DIST = helloworld.wav README

# We want to build a libalut library with libtool.
lib_LTLIBRARIES = libalut.la

# libalut consists of the followin sources and internal headers:
libalut_la_SOURCES =		\
	alutBufferData.c	\
	alutCodec.c		\
	alutError.c		\
	alutInit.c		\
	alutInputStream.c	\
	alutInternal.h		\
	alutLoader.c		\
	alutOutputStream.c	\
	alutUtil.c		\
	alutVersion.c		\
	alutWaveform.c

# We use sin and floor, so we might need -lm, autoconf takes care of this.
libalut_la_LIBADD = $(LIBM)

# The following libtool flag is neccessary for building DLLs on Windows.
libalut_la_LDFLAGS = -no-undefined

# Append -version-info for correct library versioning with libtool.
libalut_la_LDFLAGS += -version-info @VERSIONINFO@

# Specifying the following path is needed to find <AL/alut.h>.
libalut_la_CPPFLAGS = -I$(top_srcdir)/include