summaryrefslogtreecommitdiffstats
path: root/audio_utils/Makefile.am
blob: cd01e1113c521bdacebf2e48c6e43ad465170d84 (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
##### audioutils #####
AM_CFLAGS = -Werror -Wall

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = audio_utils.pc
EXTRA_DIST = $(pkgconfig_DATA)

AM_CFLAGS += -I $(top_srcdir)/audio/include
AM_CFLAGS += -I $(top_srcdir)/audio_utils/include

audioutils_includedir = $(includedir)/audio_utils
audioutils_include_HEADERS  = include/audio_utils/primitives.h
audioutils_include_HEADERS += include/audio_utils/format.h

audioutils_sources = format.c \
            channels.c \
            primitives.c

lib_LTLIBRARIES = libaudioutils.la
libaudioutils_la_SOURCES = $(audioutils_sources)
libaudioutils_la_CFLAGS = $(AM_CFLAGS)
libaudioutils_la_LDFLAGS = -shared

##### tinysndfile #####

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA += tinysndfile.pc
EXTRA_DIST = $(pkgconfig_DATA)

AM_CFLAGS += -I $(top_srcdir)/audio_utils
AM_CFLAGS += -I $(top_srcdir)/audio_utils/include

tinysnd_includedir = $(includedir)/tinysndfile
tinysnd_include_HEADERS = include/audio_utils/sndfile.h

tinysnd_sources = tinysndfile.c \
            primitives.c

lib_LTLIBRARIES += libtinysndfile.la
libtinysndfile_la_SOURCES = $(tinysnd_sources)
libtinysndfile_la_CFLAGS = $(AM_CFLAGS)