blob: f79e73acfea8069f2a7ba9ea40f653bb18981112 (
plain)
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
|
AUTOMAKE_OPTIONS = foreign
INCLUDES = -I./
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = vorbisidec.pc
lib_LTLIBRARIES = libvorbisidec.la
TARGET_SPECIFIC_SOURCES =
if ARM_TARGET
# Build both low and full accuracy versions and the linker will only
# include the appropriate versions.
TARGET_SPECIFIC_SOURCES += mdctARM.s mdctLARM.s floor1ARM.s floor1LARM.s \
bitwiseARM.s
endif
if MIPS_TARGET
TARGET_SPECIFIC_SOURCES += mips-dspr1/mdct_backwardMIPS.S mips-dspr1/decode_mapMIPS.S mips-dspr1/floor1_inverse2MIPS.S
endif
libvorbisidec_la_SOURCES = mdct.c dsp.c info.c misc.c \
floor1.c floor0.c vorbisfile.c \
res012.c mapping0.c codebook.c \
framing.c bitwise.c \
codebook.h misc.h mdct_lookup.h\
os.h mdct.h ivorbisfile.h lsp_lookup.h\
window_lookup.h floor_lookup.c \
codec_internal.h ogg.h \
$(TARGET_SPECIFIC_SOURCES) \
asm_arm.h ivorbiscodec.h
libvorbisidec_la_LDFLAGS = -version-info @V_LIB_CURRENT@:@V_LIB_REVISION@:@V_LIB_AGE@
EXTRA_PROGRAMS = ivorbisfile_example
CLEANFILES = $(EXTRA_PROGRAMS) $(lib_LTLIBRARIES)
ivorbisfile_example_SOURCES = ivorbisfile_example.c
ivorbisfile_example_LDFLAGS = -static
ivorbisfile_example_LDADD = libvorbisidec.la
includedir = $(prefix)/include/tremor
include_HEADERS = ivorbiscodec.h ivorbisfile.h ogg.h os_types.h config_types.h
EXTRA_DIST = vorbisidec.pc.in \
$(srcdir)/doc/*.html
example:
-ln -fs . vorbis
$(MAKE) ivorbisfile_example
debug:
$(MAKE) all CFLAGS="@DEBUG@"
profile:
$(MAKE) all CFLAGS="@PROFILE@"
|