annotate src/libid3tag-0.15.1b/Makefile.am @ 79:91c729825bca pa_catalina

Update build for AUDIO_COMPONENT_FIX
author Chris Cannam
date Wed, 30 Oct 2019 12:40:34 +0000
parents c7265573341e
children
rev   line source
Chris@0 1 ##
Chris@0 2 ## libid3tag - ID3 tag manipulation 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.26 2004/02/17 02:11:28 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 = libid3tag.la
Chris@0 28 include_HEADERS = id3tag.h
Chris@0 29
Chris@0 30 ## From the libtool documentation on library versioning:
Chris@0 31 ##
Chris@0 32 ## CURRENT
Chris@0 33 ## The most recent interface number that this library implements.
Chris@0 34 ##
Chris@0 35 ## REVISION
Chris@0 36 ## The implementation number of the CURRENT interface.
Chris@0 37 ##
Chris@0 38 ## AGE
Chris@0 39 ## The difference between the newest and oldest interfaces that this
Chris@0 40 ## library implements. In other words, the library implements all the
Chris@0 41 ## interface numbers in the range from number `CURRENT - AGE' to
Chris@0 42 ## `CURRENT'.
Chris@0 43 ##
Chris@0 44 ## If two libraries have identical CURRENT and AGE numbers, then the
Chris@0 45 ## dynamic linker chooses the library with the greater REVISION number.
Chris@0 46 ##
Chris@0 47 ## 1. Start with version information of `0:0:0' for each libtool library.
Chris@0 48 ##
Chris@0 49 ## 2. Update the version information only immediately before a public
Chris@0 50 ## release of your software. More frequent updates are unnecessary,
Chris@0 51 ## and only guarantee that the current interface number gets larger
Chris@0 52 ## faster.
Chris@0 53 ##
Chris@0 54 ## 3. If the library source code has changed at all since the last
Chris@0 55 ## update, then increment REVISION (`C:R:A' becomes `C:r+1:A').
Chris@0 56 ##
Chris@0 57 ## 4. If any interfaces have been added, removed, or changed since the
Chris@0 58 ## last update, increment CURRENT, and set REVISION to 0.
Chris@0 59 ##
Chris@0 60 ## 5. If any interfaces have been added since the last public release,
Chris@0 61 ## then increment AGE.
Chris@0 62 ##
Chris@0 63 ## 6. If any interfaces have been removed since the last public release,
Chris@0 64 ## then set AGE to 0.
Chris@0 65
Chris@0 66 version_current = 3
Chris@0 67 version_revision = 0
Chris@0 68 version_age = 3
Chris@0 69
Chris@0 70 version_info = $(version_current):$(version_revision):$(version_age)
Chris@0 71
Chris@0 72 EXTRA_DIST = genre.dat.sed \
Chris@0 73 CHANGES COPYRIGHT CREDITS README TODO VERSION
Chris@0 74
Chris@0 75 if DEBUG
Chris@0 76 debug = debug.c debug.h
Chris@0 77 else
Chris@0 78 debug =
Chris@0 79 endif
Chris@0 80
Chris@0 81 libid3tag_la_SOURCES = version.c ucs4.c latin1.c utf16.c utf8.c \
Chris@0 82 parse.c render.c field.c frametype.c compat.c \
Chris@0 83 genre.c frame.c crc.c util.c tag.c file.c \
Chris@0 84 version.h ucs4.h latin1.h utf16.h utf8.h \
Chris@0 85 parse.h render.h field.h frametype.h compat.h \
Chris@0 86 genre.h frame.h crc.h util.h tag.h file.h \
Chris@0 87 id3tag.h global.h genre.dat $(debug)
Chris@0 88
Chris@0 89 EXTRA_libid3tag_la_SOURCES = \
Chris@0 90 frametype.gperf compat.gperf genre.dat.in \
Chris@0 91 debug.c debug.h
Chris@0 92
Chris@0 93 libid3tag_la_LDFLAGS = -version-info $(version_info)
Chris@0 94
Chris@0 95 BUILT_SOURCES = frametype.c compat.c genre.dat
Chris@0 96
Chris@0 97 $(srcdir)/frametype.c: $(srcdir)/frametype.gperf Makefile.am
Chris@0 98 cd $(srcdir) && \
Chris@0 99 gperf -tCcTonD -K id -N id3_frametype_lookup -s -3 -k '*' \
Chris@0 100 frametype.gperf | \
Chris@0 101 sed -e 's/\(struct id3_frametype\);/\1/' | \
Chris@0 102 sed -e '/\$$''Id: /s/\$$//g' >frametype.c
Chris@0 103
Chris@0 104 $(srcdir)/compat.c: $(srcdir)/compat.gperf Makefile.am
Chris@0 105 cd $(srcdir) && \
Chris@0 106 gperf -tCcTonD -K id -N id3_compat_lookup -s -3 -k '*' \
Chris@0 107 compat.gperf | \
Chris@0 108 sed -e 's/\(struct id3_compat\);/\1/' | \
Chris@0 109 sed -e '/\$$''Id: /s/\$$//g' >compat.c
Chris@0 110
Chris@0 111 $(srcdir)/genre.dat: $(srcdir)/genre.dat.in $(srcdir)/genre.dat.sed Makefile.am
Chris@0 112 cd $(srcdir) && \
Chris@0 113 sed -n -f genre.dat.sed genre.dat.in | \
Chris@0 114 sed -e '/\$$''Id: /s/\$$//g' >genre.dat
Chris@0 115
Chris@0 116 libtool: $(LIBTOOL_DEPS)
Chris@0 117 $(SHELL) ./config.status --recheck
Chris@0 118
Chris@0 119 again:
Chris@0 120 $(MAKE) clean
Chris@0 121 $(MAKE)
Chris@0 122
Chris@0 123 .PHONY: again