Makefile.am 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. ## $Id$
  2. include $(top_srcdir)/Makefile.am.global
  3. SUBDIRS = i386 vector
  4. lib_LTLIBRARIES = libmp3lame.la
  5. if HAVE_NASM
  6. cpu_ldadd = $(top_builddir)/libmp3lame/@CPUTYPE@/liblameasmroutines.la
  7. endif
  8. if WITH_VECTOR
  9. vector_ldadd = $(top_builddir)/libmp3lame/vector/liblamevectorroutines.la
  10. endif
  11. if LIB_WITH_DECODER
  12. decoder_ldadd = $(top_builddir)/mpglib/libmpgdecoder.la
  13. else
  14. decoder_ldadd =
  15. endif
  16. libmp3lame_la_LIBADD = $(cpu_ldadd) $(vector_ldadd) $(decoder_ldadd) \
  17. $(CONFIG_MATH_LIB)
  18. libmp3lame_la_LDFLAGS = -version-info @LIB_MAJOR_VERSION@:@LIB_MINOR_VERSION@ \
  19. -export-symbols $(top_srcdir)/include/libmp3lame.sym \
  20. -no-undefined
  21. INCLUDES = @INCLUDES@ -I$(top_srcdir)/mpglib -I$(top_builddir)
  22. DEFS = @DEFS@ @CONFIG_DEFS@
  23. EXTRA_DIST = \
  24. lame.rc \
  25. vbrquantize.h \
  26. logoe.ico
  27. libmp3lame_la_SOURCES = \
  28. VbrTag.c \
  29. bitstream.c \
  30. encoder.c \
  31. fft.c \
  32. gain_analysis.c \
  33. id3tag.c \
  34. lame.c \
  35. newmdct.c \
  36. presets.c \
  37. psymodel.c \
  38. quantize.c \
  39. quantize_pvt.c \
  40. reservoir.c \
  41. set_get.c \
  42. tables.c \
  43. takehiro.c \
  44. util.c \
  45. vbrquantize.c \
  46. version.c \
  47. mpglib_interface.c
  48. noinst_HEADERS= \
  49. VbrTag.h \
  50. bitstream.h \
  51. encoder.h \
  52. fft.h \
  53. gain_analysis.h \
  54. id3tag.h \
  55. l3side.h \
  56. lame-analysis.h \
  57. lame_global_flags.h \
  58. lameerror.h \
  59. machine.h \
  60. newmdct.h \
  61. psymodel.h \
  62. quantize.h \
  63. quantize_pvt.h \
  64. reservoir.h \
  65. set_get.h \
  66. tables.h \
  67. util.h \
  68. vbrquantize.h \
  69. version.h
  70. CLEANFILES = lclint.txt
  71. LCLINTFLAGS= \
  72. +posixlib \
  73. +showsummary \
  74. +showalluses \
  75. +whichlib \
  76. +forcehints \
  77. -fixedformalarray \
  78. +matchanyintegral \
  79. -Dlint
  80. lclint.txt: ${libmp3lame_la_SOURCES} ${noinst_HEADERS}
  81. @lclint ${LCLINTFLAGS} ${INCLUDES} ${DEFS} ${libmp3lame_la_SOURCES} 2>&1 >lclint.txt || true
  82. lclint: lclint.txt
  83. more lclint.txt
  84. #$(OBJECTS): libtool
  85. #libtool: $(LIBTOOL_DEPS)
  86. # $(SHELL) $(top_builddir)/config.status --recheck