Makefile.am 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. ## Process this file with automake to produce Makefile.in
  2. SUBDIRS = modes books
  3. INCLUDES = -I$(top_srcdir)/include @OGG_CFLAGS@
  4. lib_LTLIBRARIES = libvorbis.la libvorbisfile.la libvorbisenc.la
  5. libvorbis_la_SOURCES = mdct.c smallft.c block.c envelope.c window.c lsp.c \
  6. lpc.c analysis.c synthesis.c psy.c info.c \
  7. floor1.c floor0.c\
  8. res0.c mapping0.c registry.c codebook.c sharedbook.c\
  9. lookup.c bitrate.c\
  10. envelope.h lpc.h lsp.h codebook.h misc.h psy.h\
  11. masking.h os.h mdct.h smallft.h highlevel.h\
  12. registry.h scales.h window.h lookup.h lookup_data.h\
  13. codec_internal.h backends.h bitrate.h
  14. libvorbis_la_LDFLAGS = -no-undefined -version-info @V_LIB_CURRENT@:@V_LIB_REVISION@:@V_LIB_AGE@
  15. libvorbis_la_LIBADD = @VORBIS_LIBS@ @OGG_LIBS@
  16. libvorbisfile_la_SOURCES = vorbisfile.c
  17. libvorbisfile_la_LDFLAGS = -no-undefined -version-info @VF_LIB_CURRENT@:@VF_LIB_REVISION@:@VF_LIB_AGE@
  18. libvorbisfile_la_LIBADD = libvorbis.la @OGG_LIBS@
  19. libvorbisenc_la_SOURCES = vorbisenc.c
  20. libvorbisenc_la_LDFLAGS = -no-undefined -version-info @VE_LIB_CURRENT@:@VE_LIB_REVISION@:@VE_LIB_AGE@
  21. libvorbisenc_la_LIBADD = libvorbis.la @OGG_LIBS@
  22. EXTRA_PROGRAMS = barkmel tone psytune
  23. CLEANFILES = $(EXTRA_PROGRAMS)
  24. barkmel_SOURCES = barkmel.c
  25. tone_SOURCES = tone.c
  26. psytune_SOURCES = psytune.c
  27. psytune_LDFLAGS = -static
  28. psytune_LDADD = libvorbis.la
  29. EXTRA_DIST = lookups.pl
  30. # build and run the self tests on 'make check'
  31. #vorbis_selftests = test_codebook test_sharedbook
  32. vorbis_selftests = test_sharedbook
  33. noinst_PROGRAMS = $(vorbis_selftests)
  34. check: $(noinst_PROGRAMS)
  35. ./test_sharedbook$(EXEEXT)
  36. #test_codebook_SOURCES = codebook.c
  37. #test_codebook_CFLAGS = -D_V_SELFTEST
  38. test_sharedbook_SOURCES = sharedbook.c
  39. test_sharedbook_CFLAGS = -D_V_SELFTEST
  40. test_sharedbook_LDADD = @VORBIS_LIBS@
  41. # recurse for alternate targets
  42. debug:
  43. $(MAKE) all CFLAGS="@DEBUG@"
  44. profile:
  45. $(MAKE) all CFLAGS="@PROFILE@"