Makefile fixes
[opus.git] / Makefile.am
1 lib_LTLIBRARIES = libopus.la
2
3 INCLUDES = -I$(top_srcdir)/libcelt -I$(top_srcdir)/silk -I$(top_srcdir)/silk/float -I$(top_srcdir)/silk/fixed
4
5 include celt_sources.mk
6 include silk_sources.mk
7 include opus_sources.mk
8
9 if FIXED_POINT
10 SILK_SOURCES += $(SILK_SOURCES_FIXED)
11 else
12 SILK_SOURCES += $(SILK_SOURCES_FLOAT)
13 endif
14
15 include celt_headers.txt
16 include silk_headers.txt
17 include opus_headers.txt
18
19 libopus_la_SOURCES = $(CELT_SOURCES) $(SILK_SOURCES) $(OPUS_SOURCES)
20
21 pkginclude_HEADERS = src/opus.h
22
23 noinst_HEADERS = $(OPUS_HEAD) $(SILK_HEAD) $(CELT_HEAD)
24
25 noinst_PROGRAMS = test_opus
26
27 test_opus_SOURCES = src/test_opus.c
28
29 test_opus_LDADD = libopus.la -lm