File: Makefile.am

package info (click to toggle)
sbc 1.1-2~bpo7+1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 1,616 kB
  • sloc: sh: 11,090; ansic: 4,910; makefile: 46
file content (68 lines) | stat: -rw-r--r-- 1,790 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
66
67
68

AM_MAKEFLAGS = --no-print-directory

# Library code modified:	REVISION++
# Interfaces changed:		CURRENT++ REVISION=0
# Interfaces added:		CURRENT++ REVISION=0 AGE++
# Interfaces removed:		CURRENT++ REVISION=0 AGE=0

SBC_CURRENT = 2
SBC_REVISION = 0
SBC_AGE = 1

sbc_headers = sbc/sbc.h

sbc_sources = sbc/sbc.c sbc/sbc_private.h sbc/sbc_math.h sbc/sbc_tables.h \
		sbc/sbc_primitives.h sbc/sbc_primitives.c \
		sbc/sbc_primitives_mmx.h sbc/sbc_primitives_mmx.c \
		sbc/sbc_primitives_iwmmxt.h sbc/sbc_primitives_iwmmxt.c \
		sbc/sbc_primitives_neon.h sbc/sbc_primitives_neon.c \
		sbc/sbc_primitives_armv6.h sbc/sbc_primitives_armv6.c

pkginclude_HEADERS = $(sbc_headers)

lib_LTLIBRARIES = sbc/libsbc.la

sbc_libsbc_la_SOURCES = $(sbc_headers) $(sbc_sources)

sbc_libsbc_la_LDFLAGS = -no-undefined \
		-version-info $(SBC_CURRENT):$(SBC_REVISION):$(SBC_AGE) \
		-Wl,--version-script=$(top_srcdir)/sbc/sbc.sym

sbc_libsbc_la_DEPENDENCIES = sbc/sbc.sym

if TOOLS
noinst_LTLIBRARIES = sbc/libsbc-private.la

sbc_libsbc_private_la_SOURCES = $(sbc_headers) $(sbc_sources)

bin_PROGRAMS = src/sbcinfo src/sbcdec src/sbcenc

src_sbcdec_SOURCES = src/sbcdec.c src/formats.h
src_sbcdec_LDADD = sbc/libsbc-private.la

src_sbcenc_SOURCES = src/sbcenc.c src/formats.h
src_sbcenc_LDADD = sbc/libsbc-private.la
endif

if TESTER
noinst_PROGRAMS = src/sbctester

src_sbctester_LDADD = @SNDFILE_LIBS@ -lm
endif

AM_CFLAGS = @SNDFILE_CFLAGS@ -fvisibility=hidden \
				-finline-functions \
				-fgcse-after-reload \
				-funswitch-loops \
				-funroll-loops

pkgconfigdir = $(libdir)/pkgconfig

pkgconfig_DATA = sbc/sbc.pc

EXTRA_DIST = sbc/sbc.sym

MAINTAINERCLEANFILES = Makefile.in \
	aclocal.m4 configure config.h.in config.sub config.guess \
	ltmain.sh depcomp compile missing install-sh mkinstalldirs