diff options
author | Matt Messier <mmessier@grapetv.org> | 2007-05-11 19:28:18 -0400 |
---|---|---|
committer | Matt Messier <mmessier@grapetv.org> | 2007-05-11 19:28:18 -0400 |
commit | 67b0ebb21185cb8ea2972dead6870bab8306724e (patch) | |
tree | e6380633bd936b52020455aae9eabb3860d10c7a /src/libmad | |
parent | 913f9b8ee348c91717cdf5cd4c8a4d56b9d22a5e (diff) | |
download | xine-lib-67b0ebb21185cb8ea2972dead6870bab8306724e.tar.gz xine-lib-67b0ebb21185cb8ea2972dead6870bab8306724e.tar.bz2 |
Another round of Makefile.am cleanups
Diffstat (limited to 'src/libmad')
-rw-r--r-- | src/libmad/Makefile.am | 57 |
1 files changed, 25 insertions, 32 deletions
diff --git a/src/libmad/Makefile.am b/src/libmad/Makefile.am index 7e8b617f4..b1e1f29f5 100644 --- a/src/libmad/Makefile.am +++ b/src/libmad/Makefile.am @@ -1,19 +1,36 @@ include $(top_srcdir)/misc/Makefile.common -AM_CFLAGS = $(DEFAULT_OCFLAGS) $(VISIBILITY_FLAG) +AM_CFLAGS = $(DEFAULT_OCFLAGS) $(VISIBILITY_FLAG) AM_CPPFLAGS = -DOPT_SPEED -AM_LDFLAGS = $(xineplug_ldflags) +AM_LDFLAGS = $(xineplug_ldflags) EXTRA_DIST = imdct_l_arm.S +noinst_HEADERS = \ + D.dat \ + imdct_s.dat \ + qc_table.dat \ + rq_table.dat \ + sf_table.dat \ + bit.h \ + fixed.h \ + frame.h \ + global.h \ + huffman.h \ + layer12.h \ + layer3.h \ + stream.h \ + synth.h \ + timer.h \ + version.h + if MAD -mad_module = xineplug_decode_mad.la +xineplug_LTLIBRARIES = xineplug_decode_mad.la endif -xineplug_LTLIBRARIES = $(mad_module) - if EXTERNAL_LIBMAD internal_sources = +external_libs = $(LIBMAD_LIBS) else internal_sources = \ bit.c \ @@ -26,33 +43,9 @@ internal_sources = \ synth.c \ timer.c \ version.c +external_libs = endif -xineplug_decode_mad_la_SOURCES = \ - xine_mad_decoder.c \ - $(internal_sources) - -if EXTERNAL_LIBMAD -xineplug_decode_mad_la_LIBADD = $(XINE_LIB) $(LIBMAD_LIBS) -else -xineplug_decode_mad_la_LIBADD = $(XINE_LIB) -endif +xineplug_decode_mad_la_SOURCES = xine_mad_decoder.c $(internal_sources) +xineplug_decode_mad_la_LIBADD = $(XINE_LIB) $(external_libs) xineplug_decode_mad_la_CFLAGS = $(AM_CFLAGS) $(LIBMAD_CFLAGS) - -noinst_HEADERS = \ - D.dat \ - imdct_s.dat \ - qc_table.dat \ - rq_table.dat \ - sf_table.dat \ - bit.h \ - fixed.h \ - frame.h \ - global.h \ - huffman.h \ - layer12.h \ - layer3.h \ - stream.h \ - synth.h \ - timer.h \ - version.h |