URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [tags/] [first/] [mp3/] [sw/] [mad-xess/] [libmad/] [Makefile.am] - Rev 1780
Go to most recent revision | Compare with Previous | Blame | View Log
##
## mad - MPEG audio decoder
## Copyright (C) 2000-2001 Robert Leslie
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##
## If you would like to negotiate alternate licensing terms, you may do
## so by contacting the author: Robert Leslie <rob@mars.org>
##
## $Id: Makefile.am,v 1.1.1.1 2001-11-04 19:37:32 lampret Exp $
##
## Process this file with automake to produce Makefile.in
include_HEADERS = mad.h
EXTRA_DIST = mad.h.sed
noinst_LIBRARIES = libmad.a
exported_headers = \
fixed.h bit.h timer.h stream.h frame.h synth.h decoder.h
headers = \
$(exported_headers) global.h layer3.h huffman.h
data_includes = \
D.dat imdct_s.dat qc_table.dat rq_table.dat sf_table.dat
libmad_a_SOURCES = \
fixed.c bit.c timer.c stream.c frame.c synth.c decoder.c \
layer3.c huffman.c $(headers) $(data_includes)
#CFLAGS = -Wall @CFLAGS@ $(ARCH) $(DEBUGGER) $(OPTIMIZER) $(PROFILER)
#LDFLAGS = @LDFLAGS@ $(PROFILER)
INCLUDES = $(FPM) $(ASO)
BUILT_SOURCES = mad.h
CLEANFILES = mad.h
mad.h: Makefile.am config.status config.h \
$(srcdir)/../COPYRIGHT $(srcdir)/mad.h.sed $(exported_headers)
(sed -e '1s|.*|/*|' -e '1b' -e '$$s|.*| */|' -e '$$b' \
-e 's/^.*/ *&/' $(srcdir)/../COPYRIGHT; echo; \
if [ ".$(FPM)" != "." ]; then \
echo ".$(FPM)" | sed -e 's|^\.-D|# define |'; echo; \
fi; \
sed -ne 's/^# *define *\(HAVE_.*_ASM\).*/# define \1/p' \
config.h; echo; \
sed -ne 's/^# *define *OPT_\(SPEED\|ACCURACY\).*/# define OPT_\1/p' \
config.h; echo; \
sed -ne 's/^# *define *\(SIZEOF_.*\)/# define \1/p' \
config.h; echo; \
for header in $(exported_headers); do \
echo; \
sed -n -f $(srcdir)/mad.h.sed $(srcdir)/$$header; echo; \
done) | cat -s >$@
.c.s:
$(COMPILE) -S $<
again: clean all
all: libmad.a
echo $(RANLIB)
.PHONY: again
Go to most recent revision | Compare with Previous | Blame | View Log