Makefile.am 1.18 KB
Newer Older
Monty's avatar
 
Monty committed
1
2
3
4
5
6
AUTOMAKE_OPTIONS = foreign

INCLUDES = -I./

lib_LTLIBRARIES = libvorbisidec.la

Monty's avatar
   
Monty committed
7
libvorbisidec_la_SOURCES = mdct.c block.c window.c \
Monty's avatar
 
Monty committed
8
9
10
11
12
                        synthesis.c info.c \
                        floor1.c floor0.c vorbisfile.c \
                        res012.c mapping0.c registry.c codebook.c \
			sharedbook.c framing.c bitwise.c \
                        codebook.h misc.h mdct_lookup.h\
13
                        os.h mdct.h block.h ivorbisfile.h lsp_lookup.h\
Monty's avatar
   
Monty committed
14
                        registry.h window.h window_lookup.h\
Monty's avatar
 
Monty committed
15
16
17
18
19
20
21
22
23
24
25
                        codec_internal.h backends.h ogg.h \
			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

Monty's avatar
   
Monty committed
26
27
28
29
includedir = $(prefix)/include/tremor

include_HEADERS = ivorbiscodec.h ivorbisfile.h ogg.h os_types.h config_types.h

Monty's avatar
   
Monty committed
30
example:
Monty's avatar
   
Monty committed
31
	-ln -fs . vorbis
Monty's avatar
   
Monty committed
32
33
	$(MAKE) ivorbisfile_example

Monty's avatar
 
Monty committed
34
35
36
37
38
debug:
	$(MAKE) all CFLAGS="@DEBUG@" LDFLAGS="-lefence"	

profile:
	$(MAKE) all CFLAGS="@PROFILE@"