Initial branch merge toward rc3
[platform/upstream/libvorbis.git] / lib / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 AUTOMAKE_OPTIONS = foreign
4
5 SUBDIRS = modes books
6
7 INCLUDES = -I$(top_srcdir)/include @OGG_CFLAGS@
8
9 lib_LTLIBRARIES = libvorbis.la libvorbisfile.la libvorbisenc.la
10
11 libvorbis_la_SOURCES = mdct.c smallft.c block.c envelope.c window.c lsp.c \
12                         lpc.c analysis.c synthesis.c psy.c info.c time0.c \
13                         floor1.c floor0.c\
14                         res0.c mapping0.c registry.c codebook.c sharedbook.c\
15                         lookup.c bitrate.c\
16                         envelope.h lpc.h lsp.h codebook.h misc.h psy.h\
17                         masking.h iir.h os.h mdct.h smallft.h\
18                         registry.h scales.h window.h lookup.h lookup_data.h\
19                         codec_internal.h backends.h bitrate.h 
20 libvorbis_la_LDFLAGS = -version-info @V_LIB_CURRENT@:@V_LIB_REVISION@:@V_LIB_AGE@
21
22 libvorbisfile_la_SOURCES = vorbisfile.c
23 libvorbisfile_la_LDFLAGS = -version-info @VF_LIB_CURRENT@:@VF_LIB_REVISION@:@VF_LIB_AGE@
24
25 libvorbisenc_la_SOURCES = vorbisenc.c registry-api.h
26 libvorbisenc_la_LDFLAGS = -version-info @VE_LIB_CURRENT@:@VE_LIB_REVISION@:@VE_LIB_AGE@
27
28 EXTRA_PROGRAMS = barkmel tone psytune
29 CLEANFILES = $(EXTRA_PROGRAMS)
30
31 barkmel_SOURCES = barkmel.c
32 tone_SOURCES = tone.c
33 psytune_SOURCES = psytune.c
34 psytune_LDFLAGS = -static
35 psytune_LDADD = libvorbis.la
36
37 EXTRA_DIST = lookups.pl iir.c
38
39 debug:
40         $(MAKE) all CFLAGS="@DEBUG@"
41
42 profile:
43         $(MAKE) all CFLAGS="@PROFILE@"