• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## Process this file with automake to produce Makefile.in
2
3AUTOMAKE_OPTIONS = foreign
4
5INCLUDES = -I$(top_srcdir)/include @OGG_CFLAGS@
6
7noinst_PROGRAMS = decoder_example encoder_example chaining_example\
8		vorbisfile_example seeking_example
9
10EXTRA_DIST = frameview.pl
11
12# uncomment to build static executables from the example code
13#LDFLAGS = -all-static
14
15decoder_example_SOURCES = decoder_example.c
16decoder_example_LDADD = $(top_builddir)/lib/libvorbis.la
17
18encoder_example_SOURCES = encoder_example.c
19encoder_example_LDADD = $(top_builddir)/lib/libvorbisenc.la $(top_builddir)/lib/libvorbis.la
20
21chaining_example_SOURCES = chaining_example.c
22chaining_example_LDADD = $(top_builddir)/lib/libvorbisfile.la $(top_builddir)/lib/libvorbis.la
23
24vorbisfile_example_SOURCES = vorbisfile_example.c
25vorbisfile_example_LDADD = $(top_builddir)/lib/libvorbisfile.la $(top_builddir)/lib/libvorbis.la
26
27seeking_example_SOURCES = seeking_example.c
28seeking_example_LDADD = $(top_builddir)/lib/libvorbisfile.la $(top_builddir)/lib/libvorbis.la
29
30debug:
31	$(MAKE) all CFLAGS="@DEBUG@"
32
33profile:
34	$(MAKE) all CFLAGS="@PROFILE@"
35