Merge branch_beta3 onto the mainline.
[platform/upstream/libvorbis.git] / examples / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 AUTOMAKE_OPTIONS = foreign
4
5 INCLUDES = -I$(top_srcdir)/include
6
7 noinst_PROGRAMS = decoder_example encoder_example chaining_example\
8                 vorbisfile_example seeking_example
9
10 LDADD = ../lib/libvorbis.la $(OGG_LIBS)
11
12 decoder_example_SOURCES = decoder_example.c
13 encoder_example_SOURCES = encoder_example.c
14 encoder_example_LDADD = ../lib/libvorbisenc.la ../lib/libvorbis.la $(OGG_LIBS)
15 chaining_example_SOURCES = chaining_example.c
16 chaining_example_LDADD = ../lib/libvorbisfile.la ../lib/libvorbis.la $(OGG_LIBS)
17 vorbisfile_example_SOURCES = vorbisfile_example.c
18 vorbisfile_example_LDADD = ../lib/libvorbisfile.la ../lib/libvorbis.la $(OGG_LIBS)
19 seeking_example_SOURCES = seeking_example.c
20 seeking_example_LDADD = ../lib/libvorbisfile.la ../lib/libvorbis.la $(OGG_LIBS)
21
22 debug:
23         $(MAKE) all CFLAGS="@DEBUG@"
24
25 profile:
26         $(MAKE) all CFLAGS="@PROFILE@"