forked from espeak-ng/pcaudiolib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
74 lines (51 loc) · 1.56 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
AUTOMAKE_OPTIONS = subdir-objects
localedir = $(datadir)/locale
AM_CFLAGS = \
-Isrc/include
ACLOCAL_AMFLAGS = -I m4
lib_LTLIBRARIES =
EXTRA_DIST = config.rpath
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=0
# 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 ######################################
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.c
if HAVE_COREAUDIO
src_libpcaudio_la_SOURCES += \
src/coreaudio.c \
src/TPCircularBuffer/TPCircularBuffer.c \
src/TPCircularBuffer/TPCircularBuffer+AudioBufferList.c
endif