First attempt at global high-pass filter
[opus.git] / Makefile.am
1 AUTOMAKE_OPTIONS = subdir-objects
2
3 lib_LTLIBRARIES = libopus.la
4
5 SUBDIRS = . libcelt
6
7 INCLUDES = -I$(top_srcdir)/libcelt -I$(top_srcdir)/silk -I$(top_srcdir)/silk/float -I$(top_srcdir)/silk/fixed
8
9 include celt_sources.mk
10 include silk_sources.mk
11 include opus_sources.mk
12
13 if FIXED_POINT
14 SILK_SOURCES += $(SILK_SOURCES_FIXED)
15 else
16 SILK_SOURCES += $(SILK_SOURCES_FLOAT)
17 endif
18
19 include celt_headers.txt
20 include silk_headers.txt
21 include opus_headers.txt
22
23 libopus_la_SOURCES = $(CELT_SOURCES) $(SILK_SOURCES) $(OPUS_SOURCES)
24
25 pkginclude_HEADERS = src/opus.h src/opus_multistream.h libcelt/opus_types.h
26
27 noinst_HEADERS = $(OPUS_HEAD) $(SILK_HEAD) $(CELT_HEAD)
28
29 noinst_PROGRAMS = test_opus test_repacketizer
30
31 test_opus_SOURCES = src/test_opus.c
32
33 test_opus_LDADD = libopus.la -lm
34
35 test_repacketizer_SOURCES = src/test_repacketizer.c
36
37 test_repacketizer_LDADD = libopus.la -lm
38
39 if CUSTOM_MODES
40 pkginclude_HEADERS += libcelt/opus_custom.h
41 noinst_PROGRAMS += test_opus_custom
42 test_opus_custom_SOURCES = libcelt/test_opus_custom.c
43 test_opus_custom_LDADD = libopus.la -lm
44 endif
45
46 EXTRA_DIST = opus.pc.in opus-uninstalled.pc.in
47
48 pkgconfigdir = $(libdir)/pkgconfig
49 pkgconfig_DATA = opus.pc