Newer
Older
monitord / lame-3.97 / frontend / .svn / text-base / Makefile.am.svn-base
  1. ## $Id: Makefile.am,v 1.25 2005/09/04 19:02:11 aleidinger Exp $
  2.  
  3. include $(top_srcdir)/Makefile.am.global
  4.  
  5. bin_PROGRAMS = @WITH_FRONTEND@ @WITH_MP3RTP@ @WITH_MP3X@
  6. EXTRA_PROGRAMS = lame$(EXEEXT) mp3rtp$(EXEEXT) mp3x$(EXEEXT)
  7.  
  8. brhist_sources = brhist.c brhist.h
  9.  
  10. EXTRA_DIST = \
  11. $(brhist_sources) \
  12. console.c \
  13. console.h \
  14. lame_vc6.dsp \
  15. lame_vc7.vcproj \
  16. mp3x_vc6.dsp \
  17. mp3x_vc7.vcproj \
  18. amiga_mpega.c
  19.  
  20. DEFS = @DEFS@ @CONFIG_DEFS@
  21.  
  22. common_sources = \
  23. get_audio.c \
  24. lametime.c \
  25. parse.c \
  26. portableio.c \
  27. timestatus.c
  28.  
  29. noinst_HEADERS = get_audio.h \
  30. gtkanal.h \
  31. gpkplotting.h \
  32. lametime.h \
  33. main.h \
  34. parse.h \
  35. portableio.h \
  36. timestatus.h
  37.  
  38. ## EXTRA_lame__EXEEXT__SOURCES = $(brhist_sources)
  39. ## EXTRA_mp3rtp__EXEEXT__SOURCES = $(brhist_sources)
  40. ## EXTRA_mp3x__EXEEXT__SOURCES = $(brhist_sources)
  41.  
  42. if WITH_BRHIST
  43. lame_SOURCES = main.c $(common_sources) $(brhist_sources)
  44. mp3rtp_SOURCES = mp3rtp.c rtp.c rtp.h $(common_sources) \
  45. $(brhist_sources)
  46. mp3x_SOURCES = mp3x.c gtkanal.c gpkplotting.c \
  47. $(common_sources) $(brhist_sources)
  48. else
  49. lame_SOURCES = main.c $(common_sources)
  50. mp3rtp_SOURCES = mp3rtp.c rtp.c rtp.h $(common_sources)
  51. mp3x_SOURCES = mp3x.c gtkanal.c gpkplotting.c $(common_sources)
  52. endif
  53.  
  54. CFLAGS = @CFLAGS@ @GTK_CFLAGS@ @FRONTEND_CFLAGS@
  55. LDFLAGS = @LDFLAGS@ @FRONTEND_LDFLAGS@ -static
  56.  
  57. INCLUDES = -I$(top_srcdir)/libmp3lame -I$(top_srcdir)/include -I$(top_builddir)
  58.  
  59. LDADD = @LDADD@ \
  60. $(top_builddir)/libmp3lame/libmp3lame.la \
  61. @FRONTEND_LDADD@
  62.  
  63. mp3x_LDADD = $(LDADD) @GTK_LIBS@
  64.  
  65. CLEANFILES = lclint.txt $(EXTRA_PROGRAMS)
  66.  
  67. LCLINTFLAGS= \
  68. +posixlib \
  69. +showsummary \
  70. +showalluses \
  71. +whichlib \
  72. +forcehints \
  73. -fixedformalarray \
  74. +matchanyintegral \
  75. -Dlint
  76.  
  77. lclint.txt: ${lame_SOURCES} ${noinst_HEADERS}
  78. @lclint ${LCLINTFLAGS} ${INCLUDES} ${DEFS} ${lame_SOURCES} 2>&1 >lclint.txt || true
  79.  
  80. lclint: lclint.txt
  81. more lclint.txt