this makes everythin happy :)
[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 lpc.c\
12                         analysis.c synthesis.c psy.c info.c time0.c floor0.c\
13                         res0.c mapping0.c registry.c codebook.c sharedbook.c\
14                         iir.c lookup.c\
15                         envelope.h lpc.h lsp.h codebook.h misc.h psy.h\
16                         masking.h iir.h os.h mdct.h smallft.h\
17                         registry.h scales.h window.h lookup.h lookup_data.h\
18                         codec_internal.h backends.h
19 libvorbis_la_LDFLAGS = -version-info @V_LIB_CURRENT@:@V_LIB_REVISION@:@V_LIB_AGE@
20
21 libvorbisfile_la_SOURCES = vorbisfile.c
22 libvorbisfile_la_LIBADD = libvorbis.la
23 libvorbisfile_la_LDFLAGS = -version-info @VF_LIB_CURRENT@:@VF_LIB_REVISION@:@VF_LIB_AGE@
24
25 libvorbisenc_la_SOURCES = vorbisenc.c
26 libvorbisenc_la_LIBADD = libvorbis.la
27 libvorbisenc_la_LDFLAGS = -version-info @VE_LIB_CURRENT@:@VE_LIB_REVISION@:@VE_LIB_AGE@
28
29 EXTRA_PROGRAMS = barkmel tone psytune
30 CLEANFILES = $(EXTRA_PROGRAMS)
31
32 barkmel_SOURCES = barkmel.c
33 tone_SOURCES = tone.c
34 psytune_SOURCES = psytune.c
35 psytune_LDFLAGS = -static
36 psytune_LDADD = libvorbis.la
37
38 EXTRA_DIST = lookups.pl
39
40 debug:
41         $(MAKE) all CFLAGS="@DEBUG@"
42
43 profile:
44         $(MAKE) all CFLAGS="@PROFILE@"