]> git.tdb.fi Git - ext/vorbisfile.git/blob - examples/Makefile.am
Add headers to the library component so dependencies work correctly
[ext/vorbisfile.git] / examples / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 AUTOMAKE_OPTIONS = foreign
4
5 noinst_PROGRAMS = decoder_example encoder_example chaining_example\
6                 vorbisfile_example seeking_example
7
8 EXTRA_DIST = frameview.pl
9
10 AM_CPPFLAGS = -I$(top_srcdir)/include @OGG_CFLAGS@
11
12 # uncomment to build static executables from the example code
13 #LDFLAGS = -all-static 
14
15 decoder_example_SOURCES = decoder_example.c
16 decoder_example_LDADD = $(top_builddir)/lib/libvorbis.la @VORBIS_LIBS@ @OGG_LIBS@
17
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@
20
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@
23
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@
26
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@
29
30 debug:
31         $(MAKE) all CFLAGS="@DEBUG@"
32
33 profile:
34         $(MAKE) all CFLAGS="@PROFILE@"