1 ## Process this file with automake to produce Makefile.in
3 AUTOMAKE_OPTIONS = foreign
5 noinst_PROGRAMS = decoder_example encoder_example chaining_example\
6 vorbisfile_example seeking_example
8 EXTRA_DIST = frameview.pl
10 AM_CPPFLAGS = -I$(top_srcdir)/include @OGG_CFLAGS@
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 @VORBIS_LIBS@ @OGG_LIBS@
18 encoder_example_SOURCES = encoder_example.c
19 encoder_example_LDADD = $(top_builddir)/lib/libvorbisenc.la $(top_builddir)/lib/libvorbis.la @VORBIS_LIBS@ @OGG_LIBS@
21 chaining_example_SOURCES = chaining_example.c
22 chaining_example_LDADD = $(top_builddir)/lib/libvorbisfile.la $(top_builddir)/lib/libvorbis.la @VORBIS_LIBS@ @OGG_LIBS@
24 vorbisfile_example_SOURCES = vorbisfile_example.c
25 vorbisfile_example_LDADD = $(top_builddir)/lib/libvorbisfile.la $(top_builddir)/lib/libvorbis.la @VORBIS_LIBS@ @OGG_LIBS@
27 seeking_example_SOURCES = seeking_example.c
28 seeking_example_LDADD = $(top_builddir)/lib/libvorbisfile.la $(top_builddir)/lib/libvorbis.la @VORBIS_LIBS@ @OGG_LIBS@
31 $(MAKE) all CFLAGS="@DEBUG@"
34 $(MAKE) all CFLAGS="@PROFILE@"