Makefile.am 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. ## Process this file with automake to produce Makefile.in
  2. AUTOMAKE_OPTIONS = foreign
  3. noinst_PROGRAMS = decoder_example encoder_example chaining_example\
  4. vorbisfile_example seeking_example
  5. EXTRA_DIST = frameview.pl
  6. AM_CPPFLAGS = -I$(top_srcdir)/include @OGG_CFLAGS@
  7. # uncomment to build static executables from the example code
  8. #LDFLAGS = -all-static
  9. decoder_example_SOURCES = decoder_example.c
  10. decoder_example_LDADD = $(top_builddir)/lib/libvorbis.la @OGG_LIBS@
  11. encoder_example_SOURCES = encoder_example.c
  12. encoder_example_LDADD = $(top_builddir)/lib/libvorbisenc.la $(top_builddir)/lib/libvorbis.la @OGG_LIBS@
  13. chaining_example_SOURCES = chaining_example.c
  14. chaining_example_LDADD = $(top_builddir)/lib/libvorbisfile.la $(top_builddir)/lib/libvorbis.la @OGG_LIBS@
  15. vorbisfile_example_SOURCES = vorbisfile_example.c
  16. vorbisfile_example_LDADD = $(top_builddir)/lib/libvorbisfile.la $(top_builddir)/lib/libvorbis.la @OGG_LIBS@
  17. seeking_example_SOURCES = seeking_example.c
  18. seeking_example_LDADD = $(top_builddir)/lib/libvorbisfile.la $(top_builddir)/lib/libvorbis.la @OGG_LIBS@
  19. debug:
  20. $(MAKE) all CFLAGS="@DEBUG@"
  21. profile:
  22. $(MAKE) all CFLAGS="@PROFILE@"