File: Makefile.am

package info (click to toggle)
pcaudiolib 1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 184 kB
  • ctags: 148
  • sloc: ansic: 948; cpp: 136; makefile: 40; sh: 12
file content (65 lines) | stat: -rw-r--r-- 1,384 bytes parent folder | download
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
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}

src_libpcaudio_la_CFLAGS = ${AM_CFLAGS} \
	${ALSA_CFLAGS} \
	${PULSEAUDIO_CFLAGS}

src_libpcaudio_la_SOURCES = \
	src/alsa.c \
	src/qsa.c \
	src/oss.c \
	src/pulseaudio.c \
	src/audio.c