forked from espeak-ng/pcaudiolib
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.am
92 lines (66 loc) · 1.93 KB
/
Makefile.am
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
AUTOMAKE_OPTIONS = subdir-objects
localedir = $(datadir)/locale
AM_CFLAGS = \
-Isrc/include
ACLOCAL_AMFLAGS = -I m4
lib_LTLIBRARIES =
EXTRA_DIST =
CLEANFILES =
############################# libtool #########################################
EXTRA_DIST += config.guess config.sub ltmain.sh
# Increment if the interface has changed and is not backward compatible
CURRENT=0
# Increment if source files have changed
# Reset to 0 if the interface has changed
REVISION=1
# Increment if the interface is backward compatible (superset)
# Reset to 0 if the interface is not backward compatible
AGE=0
LIBPCAUDIO_VERSION=$(CURRENT):$(REVISION):$(AGE)
############################# ChangeLog #######################################
ChangeLog:
git log > ChangeLog
dist-hook: ChangeLog
.PHONY: ChangeLog
EXTRA_DIST += ChangeLog
############################# libpcaudio ######################################
EXTRA_DIST += \
autogen.sh \
CHANGELOG.md \
README.md
libpcaudio_includedir = $(includedir)/pcaudiolib
libpcaudio_include_HEADERS = \
src/include/pcaudiolib/audio.h
lib_LTLIBRARIES += src/libpcaudio.la
src_libpcaudio_la_LDFLAGS = -version-info $(LIBPCAUDIO_VERSION) \
${ALSA_LIBS} \
${PULSEAUDIO_LIBS} \
${QSA_LIBS} \
${COREAUDIO_LIBS}
src_libpcaudio_la_CFLAGS = ${AM_CFLAGS} \
${ALSA_CFLAGS} \
${PULSEAUDIO_CFLAGS} \
${COREAUDIO_CFLAGS}
src_libpcaudio_la_SOURCES = \
src/alsa.c \
src/qsa.c \
src/oss.c \
src/pulseaudio.c \
src/audio_priv.h \
src/audio.c
# Windows audio support
EXTRA_DIST += \
src/windows.c \
src/xaudio2.cpp
# Mac OSX audio support
if HAVE_COREAUDIO
src_libpcaudio_la_SOURCES += \
src/coreaudio.c \
src/TPCircularBuffer/TPCircularBuffer.c \
src/TPCircularBuffer/TPCircularBuffer.h \
src/TPCircularBuffer/TPCircularBuffer+AudioBufferList.c \
src/TPCircularBuffer/TPCircularBuffer+AudioBufferList.h
EXTRA_DIST += \
src/TPCircularBuffer/README.markdown \
src/TPCircularBuffer/TPCircularBuffer.podspec
endif