blob: 86da66f1166dfe514a2cd4bcd411c1903c0b53f3 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
AUTOMAKE_OPTIONS = foreign 1.11 no-dist-gzip dist-xz subdir-objects
ACLOCAL_AMFLAGS = -I m4
INCLUDES = -I$(top_srcdir)/include -I.
AM_CFLAGS = -ansi -pedantic -std=c99 -Wall -Wextra -Wno-long-long -O0 -g -Wno-unused
SUBDIRS = docs
EXTRA_DIST = \
AUTHORS README LICENSE \
cubeb-uninstalled.pc.in \
m4/as-ac-expand.m4 \
m4/pkg.m4 \
m4/ax_create_stdint_h.m4
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = cubeb.pc
cubebincludedir = $(includedir)/cubeb
cubebinclude_HEADERS = include/cubeb/cubeb.h include/cubeb/cubeb-stdint.h
lib_LTLIBRARIES = src/libcubeb.la
if PULSE
src_libcubeb_la_SOURCES = src/cubeb_pulse.c
endif
if ALSA
src_libcubeb_la_SOURCES = src/cubeb_alsa.c
endif
if COREAUDIO
src_libcubeb_la_SOURCES = src/cubeb_audiounit.c
endif
if WAVE
src_libcubeb_la_SOURCES = src/cubeb_winmm.c
endif
if DSOUND
src_libcubeb_la_SOURCES = src/cubeb_directsound.c
endif
if SNDIO
src_libcubeb_la_SOURCES = src/cubeb_sndio.c
endif
if OPENSL
src_libcubeb_la_SOURCES = src/cubeb_opensl.c
endif
EXTRA_src_libcubeb_la_SOURCES = \
cubeb_alsa.c cubeb_pulse.c \
cubeb_audiounit.c cubeb_audioqueue.c \
cubeb_sndio.c cubeb_directsound.c \
cubeb_winmm.c cubeb_opensl.c
src_libcubeb_la_LDFLAGS = -pthread -export-symbols-regex '^cubeb_' $(platform_lib) -no-undefined
noinst_PROGRAMS = test/test_sanity test/test_tone
test_test_sanity_SOURCES = test/test_sanity.c
test_test_sanity_LDADD = -lm src/libcubeb.la $(platform_lib)
test_test_tone_SOURCES = test/test_tone.c
test_test_tone_LDADD = -lm src/libcubeb.la $(platform_lib)
TESTS = test/test_sanity
DISTCLEANFILES = include/cubeb/cubeb-stdint.h
dist-hook:
find $(distdir) -type d -name '.git' | xargs rm -rf
debug:
$(MAKE) all CFLAGS="@DEBUG@"
profile:
$(MAKE) all CFLAGS="@PROFILE@"
|