1 ## Process this file with automake to produce Makefile.in
3 AUTOMAKE_OPTIONS = foreign
5 INCLUDES = -I$(top_srcdir)/include @OGG_CFLAGS@
7 noinst_PROGRAMS = decoder_example encoder_example chaining_example\
8 vorbisfile_example seeking_example
10 EXTRA_DIST = frameview.pl
12 # uncomment to build static executables from the example code
13 #LDFLAGS = -all-static
15 decoder_example_SOURCES = decoder_example.c
16 decoder_example_LDADD = $(top_builddir)/lib/libvorbis.la
18 encoder_example_SOURCES = encoder_example.c
19 encoder_example_LDADD = $(top_builddir)/lib/libvorbisenc.la $(top_builddir)/lib/libvorbis.la
21 chaining_example_SOURCES = chaining_example.c
22 chaining_example_LDADD = $(top_builddir)/lib/libvorbisfile.la $(top_builddir)/lib/libvorbis.la
24 vorbisfile_example_SOURCES = vorbisfile_example.c
25 vorbisfile_example_LDADD = $(top_builddir)/lib/libvorbisfile.la $(top_builddir)/lib/libvorbis.la
27 seeking_example_SOURCES = seeking_example.c
28 seeking_example_LDADD = $(top_builddir)/lib/libvorbisfile.la $(top_builddir)/lib/libvorbis.la
31 $(MAKE) all CFLAGS="@DEBUG@"
34 $(MAKE) all CFLAGS="@PROFILE@"