1include $(top_srcdir)/misc/Makefile.common
2
3AM_CFLAGS = $(DEFAULT_OCFLAGS) $(VISIBILITY_FLAG)
4AM_LDFLAGS = $(xineplug_ldflags)
5AM_CPPFLAGS += -DOPT_SPEED
6
7EXTRA_DIST = COPYING
8
9if ENABLE_MAD
10if !WITH_EXTERNAL_MAD
11noinst_LTLIBRARIES = libmad.la
12endif
13endif
14
15##
16## libmad - MPEG audio decoder library
17## Copyright (C) 2000-2004 Underbit Technologies, Inc.
18##
19## This program is free software; you can redistribute it and/or modify
20## it under the terms of the GNU General Public License as published by
21## the Free Software Foundation; either version 2 of the License, or
22## (at your option) any later version.
23##
24## This program is distributed in the hope that it will be useful,
25## but WITHOUT ANY WARRANTY; without even the implied warranty of
26## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27## GNU General Public License for more details.
28##
29## You should have received a copy of the GNU General Public License
30## along with this program; if not, write to the Free Software
31## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
32##
33## $Id: Makefile.am,v 1.23 2004/02/17 02:02:03 rob Exp $
34##
35
36exported_headers =	version.h fixed.h bit.h timer.h stream.h frame.h  \
37			synth.h decoder.h
38
39headers =		$(exported_headers)  \
40			global.h layer12.h layer3.h huffman.h
41
42data_includes =		D.dat imdct_s.dat qc_table.dat rq_table.dat  \
43			sf_table.dat
44
45libmad_la_SOURCES =	version.c fixed.c bit.c timer.c stream.c frame.c  \
46			synth.c decoder.c layer12.c layer3.c huffman.c  \
47			$(headers) $(data_includes)
48
49
50