annotate src/libmad-0.15.1b/Makefile.am @ 23:619f715526df sv_v2.1

Update Vamp plugin SDK to 2.5
author Chris Cannam
date Thu, 09 May 2013 10:52:46 +0100
parents c7265573341e
children
rev   line source
Chris@0 1 ##
Chris@0 2 ## libmad - MPEG audio decoder library
Chris@0 3 ## Copyright (C) 2000-2004 Underbit Technologies, Inc.
Chris@0 4 ##
Chris@0 5 ## This program is free software; you can redistribute it and/or modify
Chris@0 6 ## it under the terms of the GNU General Public License as published by
Chris@0 7 ## the Free Software Foundation; either version 2 of the License, or
Chris@0 8 ## (at your option) any later version.
Chris@0 9 ##
Chris@0 10 ## This program is distributed in the hope that it will be useful,
Chris@0 11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
Chris@0 12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Chris@0 13 ## GNU General Public License for more details.
Chris@0 14 ##
Chris@0 15 ## You should have received a copy of the GNU General Public License
Chris@0 16 ## along with this program; if not, write to the Free Software
Chris@0 17 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Chris@0 18 ##
Chris@0 19 ## $Id: Makefile.am,v 1.23 2004/02/17 02:02:03 rob Exp $
Chris@0 20 ##
Chris@0 21
Chris@0 22 ## Process this file with automake to produce Makefile.in
Chris@0 23
Chris@0 24 SUBDIRS =
Chris@0 25 DIST_SUBDIRS = msvc++
Chris@0 26
Chris@0 27 lib_LTLIBRARIES = libmad.la
Chris@0 28 include_HEADERS = mad.h
Chris@0 29
Chris@0 30 EXTRA_PROGRAMS = minimad
Chris@0 31
Chris@0 32 minimad_SOURCES = minimad.c
Chris@0 33 minimad_INCLUDES =
Chris@0 34 minimad_LDADD = libmad.la
Chris@0 35
Chris@0 36 EXTRA_DIST = mad.h.sed \
Chris@0 37 CHANGES COPYRIGHT CREDITS README TODO VERSION
Chris@0 38
Chris@0 39 exported_headers = version.h fixed.h bit.h timer.h stream.h frame.h \
Chris@0 40 synth.h decoder.h
Chris@0 41
Chris@0 42 headers = $(exported_headers) \
Chris@0 43 global.h layer12.h layer3.h huffman.h
Chris@0 44
Chris@0 45 data_includes = D.dat imdct_s.dat qc_table.dat rq_table.dat \
Chris@0 46 sf_table.dat
Chris@0 47
Chris@0 48 libmad_la_SOURCES = version.c fixed.c bit.c timer.c stream.c frame.c \
Chris@0 49 synth.c decoder.c layer12.c layer3.c huffman.c \
Chris@0 50 $(headers) $(data_includes)
Chris@0 51
Chris@0 52 EXTRA_libmad_la_SOURCES = imdct_l_arm.S #synth_mmx.S
Chris@0 53
Chris@0 54 libmad_la_DEPENDENCIES = @ASO_OBJS@
Chris@0 55 libmad_la_LIBADD = @ASO_OBJS@
Chris@0 56
Chris@0 57 INCLUDES = $(FPM) $(ASO)
Chris@0 58
Chris@0 59 BUILT_SOURCES = mad.h
Chris@0 60 CLEANFILES = mad.h
Chris@0 61
Chris@0 62 ## From the libtool documentation on library versioning:
Chris@0 63 ##
Chris@0 64 ## CURRENT
Chris@0 65 ## The most recent interface number that this library implements.
Chris@0 66 ##
Chris@0 67 ## REVISION
Chris@0 68 ## The implementation number of the CURRENT interface.
Chris@0 69 ##
Chris@0 70 ## AGE
Chris@0 71 ## The difference between the newest and oldest interfaces that this
Chris@0 72 ## library implements. In other words, the library implements all the
Chris@0 73 ## interface numbers in the range from number `CURRENT - AGE' to
Chris@0 74 ## `CURRENT'.
Chris@0 75 ##
Chris@0 76 ## If two libraries have identical CURRENT and AGE numbers, then the
Chris@0 77 ## dynamic linker chooses the library with the greater REVISION number.
Chris@0 78 ##
Chris@0 79 ## 1. Start with version information of `0:0:0' for each libtool library.
Chris@0 80 ##
Chris@0 81 ## 2. Update the version information only immediately before a public
Chris@0 82 ## release of your software. More frequent updates are unnecessary,
Chris@0 83 ## and only guarantee that the current interface number gets larger
Chris@0 84 ## faster.
Chris@0 85 ##
Chris@0 86 ## 3. If the library source code has changed at all since the last
Chris@0 87 ## update, then increment REVISION (`C:R:A' becomes `C:r+1:A').
Chris@0 88 ##
Chris@0 89 ## 4. If any interfaces have been added, removed, or changed since the
Chris@0 90 ## last update, increment CURRENT, and set REVISION to 0.
Chris@0 91 ##
Chris@0 92 ## 5. If any interfaces have been added since the last public release,
Chris@0 93 ## then increment AGE.
Chris@0 94 ##
Chris@0 95 ## 6. If any interfaces have been removed since the last public release,
Chris@0 96 ## then set AGE to 0.
Chris@0 97
Chris@0 98 version_current = 2
Chris@0 99 version_revision = 1
Chris@0 100 version_age = 2
Chris@0 101
Chris@0 102 version_info = $(version_current):$(version_revision):$(version_age)
Chris@0 103
Chris@0 104 libmad_la_LDFLAGS = -version-info $(version_info)
Chris@0 105
Chris@0 106 mad.h: config.status config.h Makefile.am \
Chris@0 107 $(srcdir)/COPYRIGHT $(srcdir)/mad.h.sed $(exported_headers)
Chris@0 108 (sed -e '1s|.*|/*|' -e '1b' -e '$$s|.*| */|' -e '$$b' \
Chris@0 109 -e 's/^.*/ *&/' $(srcdir)/COPYRIGHT; echo; \
Chris@0 110 echo "# ifdef __cplusplus"; \
Chris@0 111 echo 'extern "C" {'; \
Chris@0 112 echo "# endif"; echo; \
Chris@0 113 if [ ".$(FPM)" != "." ]; then \
Chris@0 114 echo ".$(FPM)" | sed -e 's|^\.-D|# define |'; echo; \
Chris@0 115 fi; \
Chris@0 116 sed -ne 's/^# *define *\(HAVE_.*_ASM\).*/# define \1/p' \
Chris@0 117 config.h; echo; \
Chris@0 118 sed -ne 's/^# *define *OPT_\(SPEED\|ACCURACY\).*/# define OPT_\1/p' \
Chris@0 119 config.h; echo; \
Chris@0 120 sed -ne 's/^# *define *\(SIZEOF_.*\)/# define \1/p' \
Chris@0 121 config.h; echo; \
Chris@0 122 for header in $(exported_headers); do \
Chris@0 123 echo; \
Chris@0 124 sed -n -f $(srcdir)/mad.h.sed $(srcdir)/$$header; \
Chris@0 125 done; echo; \
Chris@0 126 echo "# ifdef __cplusplus"; \
Chris@0 127 echo '}'; \
Chris@0 128 echo "# endif") >$@
Chris@0 129
Chris@0 130 libtool: $(LIBTOOL_DEPS)
Chris@0 131 $(SHELL) ./config.status --recheck
Chris@0 132
Chris@0 133 .c.s:
Chris@0 134 $(COMPILE) -S $<
Chris@0 135
Chris@0 136 again:
Chris@0 137 $(MAKE) clean
Chris@0 138 $(MAKE)
Chris@0 139
Chris@0 140 .PHONY: again