Makefile.am 1.52 KB
Newer Older
Monty's avatar
 
Monty committed
1 2
AUTOMAKE_OPTIONS = foreign

3
INCLUDES = -I./ @OGG_CFLAGS@
Monty's avatar
 
Monty committed
4

Conrad Parker's avatar
Conrad Parker committed
5 6 7
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = vorbisidec.pc

Monty's avatar
 
Monty committed
8 9
lib_LTLIBRARIES = libvorbisidec.la

Monty's avatar
 
Monty committed
10
libvorbisidec_la_SOURCES = mdct.c block.c window.c \
Monty's avatar
 
Monty committed
11 12 13
                        synthesis.c info.c \
                        floor1.c floor0.c vorbisfile.c \
                        res012.c mapping0.c registry.c codebook.c \
14
			sharedbook.c \
Monty's avatar
 
Monty committed
15
                        codebook.h misc.h mdct_lookup.h\
16
                        os.h mdct.h block.h ivorbisfile.h lsp_lookup.h\
Monty's avatar
 
Monty committed
17
                        registry.h window.h window_lookup.h\
18
                        codec_internal.h backends.h \
Monty's avatar
 
Monty committed
19 20
			asm_arm.h ivorbiscodec.h
libvorbisidec_la_LDFLAGS = -version-info @V_LIB_CURRENT@:@V_LIB_REVISION@:@V_LIB_AGE@
21
libvorbisidec_la_LIBADD = @OGG_LIBS@
Monty's avatar
 
Monty committed
22

23
EXTRA_PROGRAMS = ivorbisfile_example iseeking_example
Monty's avatar
 
Monty committed
24 25 26 27
CLEANFILES = $(EXTRA_PROGRAMS) $(lib_LTLIBRARIES)

ivorbisfile_example_SOURCES = ivorbisfile_example.c
ivorbisfile_example_LDFLAGS = -static 
28
ivorbisfile_example_LDADD = libvorbisidec.la @OGG_LIBS@
Monty's avatar
 
Monty committed
29

30 31
iseeking_example_SOURCES = iseeking_example.c
iseeking_example_LDFLAGS = -static 
32
iseeking_example_LDADD = libvorbisidec.la @OGG_LIBS@
33

Monty's avatar
 
Monty committed
34 35
includedir = $(prefix)/include/tremor

36
include_HEADERS = ivorbiscodec.h ivorbisfile.h config_types.h
Monty's avatar
 
Monty committed
37

38
EXTRA_DIST = vorbisidec.pc.in \
39
        $(srcdir)/doc/*.html $(srcdir)/win32/VS*/libtremor/*.vcproj
Conrad Parker's avatar
Conrad Parker committed
40

Monty's avatar
 
Monty committed
41
example:
Monty's avatar
 
Monty committed
42
	-ln -fs . vorbis
Monty's avatar
 
Monty committed
43
	$(MAKE) ivorbisfile_example
44
	$(MAKE) iseeking_example
Monty's avatar
 
Monty committed
45

Monty's avatar
 
Monty committed
46
debug:
47
	$(MAKE) all CFLAGS="@DEBUG@" 
Monty's avatar
 
Monty committed
48 49 50

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