From: Laurent Montel Date: Sun, 24 Sep 2006 14:45:33 +0000 (+0000) Subject: Now taglib compiles with cmake X-Git-Tag: v1.5~199 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b428130f34c0b87af81a317f72286bab985c99e;p=taglib Now taglib compiles with cmake Remove old build system git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@587949 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index f54ce7b2..00000000 --- a/Makefile.am +++ /dev/null @@ -1,54 +0,0 @@ -SUBDIRS = toolkit mpeg ogg flac ape mpc - -INCLUDES = \ - -I$(top_srcdir)/taglib/toolkit \ - -I$(top_srcdir)/taglib/mpeg \ - -I$(top_srcdir)/taglib/ogg \ - -I$(top_srcdir)/taglib/flac \ - -I$(top_srcdir)/taglib/mpc \ - -I$(top_srcdir)/taglib/ogg/vorbis \ - $(all_includes) - -lib_LTLIBRARIES = libtag.la - -libtag_la_SOURCES = tag.cpp fileref.cpp audioproperties.cpp -taglib_include_HEADERS = tag.h fileref.h audioproperties.h -taglib_includedir = $(includedir)/taglib - -libtag_la_LDFLAGS = $(all_libraries) -no-undefined -version-info 5:0:4 -libtag_la_LIBADD = ./mpeg/libmpeg.la ./ogg/libogg.la ./flac/libflac.la ./mpc/libmpc.la ./ape/libape.la ./toolkit/libtoolkit.la - -bin_SCRIPTS = taglib-config - -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = taglib.pc - -EXTRA_DIST = $(libtag_la_SOURCES) $(taglib_include_HEADERS) $(pkgconfig_DATA) - -examples: examples-all - -examples-all: - cd examples ; \ - $(MAKE) all - -apidox: - $(mkinstalldirs) doc/api; \ - if test ! -x doc/common; then \ - $(LN_S) $(kde_libs_htmldir)/en/common doc/common ; \ - fi; \ - cp $(top_srcdir)/admin/Doxyfile.global taglib.doxyfile; \ - echo "PROJECT_NAME = TagLib" >> taglib.doxyfile; \ - echo "PROJECT_NUMBER = \"Version 1.1\"" >> taglib.doxyfile; \ - echo "INPUT = $(srcdir)" >> taglib.doxyfile; \ - echo "OUTPUT_DIRECTORY = doc/api" >> taglib.doxyfile; \ - echo "HTML_OUTPUT = html" >> taglib.doxyfile; \ - echo "GENERATE_HTML = YES" >> taglib.doxyfile ; \ - echo "GENERATE_MAN = NO" >> taglib.doxyfile ; \ - echo "GENERATE_LATEX = NO" >> taglib.doxyfile ; \ - echo "HTML_HEADER = doc/common/header.html" >> taglib.doxyfile ; \ - echo "HTML_FOOTER = doc/common/footer.html" >> taglib.doxyfile ; \ - echo "HTML_STYLESHEET = doc/common/doxygen.css" >> taglib.doxyfile ; \ - echo "FILE_PATTERNS = *.h" >> taglib.doxyfile ; \ - echo "PREDEFINED = DO_NOT_DOCUMENT DOXYGEN" >> taglib.doxyfile ; \ - echo "EXTRACT_ALL = YES" >> taglib.doxyfile ; \ - doxygen taglib.doxyfile diff --git a/ape/Makefile.am b/ape/Makefile.am deleted file mode 100644 index 6d0635a7..00000000 --- a/ape/Makefile.am +++ /dev/null @@ -1,13 +0,0 @@ -INCLUDES = \ - -I$(top_srcdir)/taglib \ - -I$(top_srcdir)/taglib/toolkit \ - $(all_includes) - -noinst_LTLIBRARIES = libape.la - -libape_la_SOURCES = apetag.cpp apefooter.cpp apeitem.cpp - -taglib_include_HEADERS = apetag.h apefooter.h apeitem.h -taglib_includedir = $(includedir)/taglib - -EXTRA_DIST = $(libape_la_SOURCES) $(taglib_include_HEADERS) diff --git a/bindings/Makefile.am b/bindings/Makefile.am deleted file mode 100644 index 6f20b92e..00000000 --- a/bindings/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = c diff --git a/bindings/c/Makefile.am b/bindings/c/Makefile.am deleted file mode 100644 index ad6591f2..00000000 --- a/bindings/c/Makefile.am +++ /dev/null @@ -1,25 +0,0 @@ -INCLUDES = \ - -I$(top_srcdir)/taglib \ - -I$(top_srcdir)/taglib/toolkit \ - -I$(top_srcdir)/taglib/mpeg \ - -I$(top_srcdir)/taglib/ogg \ - -I$(top_srcdir)/taglib/ogg/vorbis \ - -I$(top_srcdir)/taglib/ogg/flac \ - -I$(top_srcdir)/taglib/flac \ - -I$(top_srcdir)/taglib/mpc \ - -I$(top_srcdir)/taglib/mpeg/id3v2 \ - $(all_includes) - -lib_LTLIBRARIES = libtag_c.la - -libtag_c_la_SOURCES = tag_c.cpp -taglib_include_HEADERS = tag_c.h -taglib_includedir = $(includedir)/taglib - -libtag_c_la_LDFLAGS = $(all_libraries) -no-undefined -version-info 0:0 -libtag_c_la_LIBADD = ../../libtag.la - -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = taglib_c.pc - -EXTRA_DIST = $(libtag_c_la_SOURCES) $(taglib_include_HEADERS) diff --git a/bindings/c/configure.in.in b/bindings/c/configure.in.in deleted file mode 100644 index 5d84f17c..00000000 --- a/bindings/c/configure.in.in +++ /dev/null @@ -1 +0,0 @@ -dnl AC_OUTPUT(taglib/bindings/c/taglib_c.pc) diff --git a/bindings/c/taglib_c.pc.in b/bindings/c/taglib_c.pc.in deleted file mode 100644 index b5f0e68d..00000000 --- a/bindings/c/taglib_c.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: TagLib C Bindings -Description: Audio meta-data library (C bindings) -Requires: taglib -Version: 1.4 -Libs: -L${libdir} -ltag_c -Cflags: -I${includedir}/taglib diff --git a/configure.in.bot b/configure.in.bot deleted file mode 100644 index b3e513c0..00000000 --- a/configure.in.bot +++ /dev/null @@ -1,8 +0,0 @@ -if test "x$have_zlib" = "xfalse"; then - echo "**************************************************" - echo "*" - echo "* You don't seem to have libz / zlib.h installed." - echo "* Compressed frames have been disabled." - echo "*" - echo "**************************************************" -fi diff --git a/configure.in.in b/configure.in.in deleted file mode 100644 index 5e9bf287..00000000 --- a/configure.in.in +++ /dev/null @@ -1,19 +0,0 @@ -#AM_INIT_AUTOMAKE(taglib,1.0) -dnl don't remove the below -dnl AC_OUTPUT(taglib/taglib-config) -dnl AC_OUTPUT(taglib/taglib.pc) - -AC_DEFUN([AC_HAVE_ZLIB], -[ - AC_DEFINE(HAVE_ZLIB, 1, [have zlib]) - have_zlib=true -]) - -AC_DEFUN([AC_NO_ZLIB], -[ - AC_DEFINE(HAVE_ZLIB, 0, [have zlib]) - have_zlib=false -]) - -AC_CHECK_HEADER(zlib.h, AC_HAVE_ZLIB, AC_NO_ZLIB) -AM_CONDITIONAL(link_zlib, test x$have_zlib = xtrue) diff --git a/examples/Makefile.am b/examples/Makefile.am deleted file mode 100644 index 71665b99..00000000 --- a/examples/Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ -bin_PROGRAMS = tagreader tagreader_c tagwriter framelist strip-id3v1 -tagreader_SOURCES = tagreader.cpp -tagreader_c_SOURCES = tagreader_c.c -tagwriter_SOURCES = tagwriter.cpp -framelist_SOURCES = framelist.cpp -strip_id3v1_SOURCES = strip-id3v1.cpp - -INCLUDES = \ - -I$(top_srcdir)/taglib \ - -I$(top_srcdir)/taglib/toolkit \ - -I$(top_srcdir)/taglib/mpeg \ - -I$(top_srcdir)/taglib/mpeg/id3v1 \ - -I$(top_srcdir)/taglib/mpeg/id3v2 \ - -I$(top_srcdir)/taglib/bindings/c - -LDADD = ../libtag.la -tagreader_c_LDADD = ../bindings/c/libtag_c.la diff --git a/flac/Makefile.am b/flac/Makefile.am deleted file mode 100644 index 40caf2ea..00000000 --- a/flac/Makefile.am +++ /dev/null @@ -1,16 +0,0 @@ -INCLUDES = \ - -I$(top_srcdir)/taglib \ - -I$(top_srcdir)/taglib/toolkit \ - -I$(top_srcdir)/taglib/ogg \ - -I$(top_srcdir)/taglib/mpeg/id3v2 \ - -I$(top_srcdir)/taglib/mpeg/id3v1 \ - $(all_includes) - -noinst_LTLIBRARIES = libflac.la - -libflac_la_SOURCES = flacfile.cpp flacproperties.cpp - -taglib_include_HEADERS = flacfile.h flacproperties.h -taglib_includedir = $(includedir)/taglib - -EXTRA_DIST = $(libflac_la_SOURCES) $(taglib_include_HEADERS) diff --git a/mpc/Makefile.am b/mpc/Makefile.am deleted file mode 100644 index 4d12cb66..00000000 --- a/mpc/Makefile.am +++ /dev/null @@ -1,16 +0,0 @@ -INCLUDES = \ - -I$(top_srcdir)/taglib \ - -I$(top_srcdir)/taglib/toolkit \ - -I$(top_srcdir)/taglib/ape \ - -I$(top_srcdir)/taglib/mpeg/id3v1 \ - -I$(top_srcdir)/taglib/mpeg/id3v2 \ - $(all_includes) - -noinst_LTLIBRARIES = libmpc.la - -libmpc_la_SOURCES = mpcfile.cpp mpcproperties.cpp - -taglib_include_HEADERS = mpcfile.h mpcproperties.h -taglib_includedir = $(includedir)/taglib - -EXTRA_DIST = $(libmpc_la_SOURCES) $(taglib_include_HEADERS) diff --git a/mpeg/Makefile.am b/mpeg/Makefile.am deleted file mode 100644 index acc3614e..00000000 --- a/mpeg/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -SUBDIRS = id3v1 id3v2 -INCLUDES = \ - -I$(top_srcdir)/taglib\ - -I$(top_srcdir)/taglib/toolkit \ - -I$(top_srcdir)/taglib/ape \ - -I$(top_srcdir)/taglib/mpeg/id3v2 -I./id3v2 \ - -I$(top_srcdir)/taglib/mpeg/id3v1 -I./id3v1 \ - $(all_includes) - -noinst_LTLIBRARIES = libmpeg.la - -libmpeg_la_SOURCES = mpegfile.cpp mpegproperties.cpp mpegheader.cpp xingheader.cpp - -taglib_include_HEADERS = mpegfile.h mpegproperties.h mpegheader.h xingheader.h -taglib_includedir = $(includedir)/taglib - -libmpeg_la_LIBADD = ./id3v2/libid3v2.la ./id3v1/libid3v1.la - -EXTRA_DIST = $(libmpeg_la_SOURCES) $(taglib_include_HEADERS) diff --git a/mpeg/id3v1/Makefile.am b/mpeg/id3v1/Makefile.am deleted file mode 100644 index ae0b590a..00000000 --- a/mpeg/id3v1/Makefile.am +++ /dev/null @@ -1,14 +0,0 @@ -INCLUDES = \ - -I$(top_srcdir)/taglib \ - -I$(top_srcdir)/taglib/toolkit \ - -I$(top_srcdir)/taglib/mpeg \ - $(all_includes) - -noinst_LTLIBRARIES = libid3v1.la - -libid3v1_la_SOURCES = id3v1tag.cpp id3v1genres.cpp - -taglib_include_HEADERS = id3v1tag.h id3v1genres.h -taglib_includedir = $(includedir)/taglib - -EXTRA_DIST = $(libid3v1_la_SOURCES) $(taglib_include_HEADERS) diff --git a/mpeg/id3v2/Makefile.am b/mpeg/id3v2/Makefile.am deleted file mode 100644 index a58c83e9..00000000 --- a/mpeg/id3v2/Makefile.am +++ /dev/null @@ -1,28 +0,0 @@ -SUBDIRS = frames -INCLUDES = \ - -I$(top_srcdir)/taglib \ - -I$(top_srcdir)/taglib/toolkit \ - -I$(top_srcdir)/taglib/mpeg \ - -I$(top_srcdir)/taglib/mpeg/id3v1 \ - $(all_includes) - -noinst_LTLIBRARIES = libid3v2.la - -libid3v2_la_SOURCES = \ - id3v2framefactory.cpp id3v2synchdata.cpp id3v2tag.cpp \ - id3v2header.cpp id3v2frame.cpp id3v2footer.cpp \ - id3v2extendedheader.cpp - -taglib_include_HEADERS = \ - id3v2extendedheader.h id3v2frame.h id3v2header.h \ - id3v2synchdata.h id3v2footer.h id3v2framefactory.h id3v2tag.h - -taglib_includedir = $(includedir)/taglib - -if link_zlib -zlib = -lz -endif - -libid3v2_la_LIBADD = ./frames/libframes.la $(zlib) - -EXTRA_DIST = $(libid3v2_la_SOURCES) $(taglib_include_HEADERS) id3v2.4.0-frames.txt id3v2.4.0-structure.txt diff --git a/mpeg/id3v2/frames/Makefile.am b/mpeg/id3v2/frames/Makefile.am deleted file mode 100644 index 78474b5c..00000000 --- a/mpeg/id3v2/frames/Makefile.am +++ /dev/null @@ -1,29 +0,0 @@ -INCLUDES = \ - -I$(top_srcdir)/taglib \ - -I$(top_srcdir)/taglib/toolkit \ - -I$(top_srcdir)/taglib/mpeg/id3v2 \ - $(all_includes) - -noinst_LTLIBRARIES = libframes.la - -libframes_la_SOURCES = \ - attachedpictureframe.cpp \ - commentsframe.cpp \ - generalencapsulatedobjectframe.cpp \ - relativevolumeframe.cpp \ - textidentificationframe.cpp \ - uniquefileidentifierframe.cpp \ - unknownframe.cpp - -taglib_include_HEADERS = \ - attachedpictureframe.h \ - commentsframe.h \ - generalencapsulatedobjectframe.h \ - relativevolumeframe.h \ - textidentificationframe.h \ - uniquefileidentifierframe.h \ - unknownframe.h - -taglib_includedir = $(includedir)/taglib - -EXTRA_DIST = $(libframes_la_SOURCES) $(taglib_include_HEADERS) diff --git a/ogg/Makefile.am b/ogg/Makefile.am deleted file mode 100644 index d80e5e4f..00000000 --- a/ogg/Makefile.am +++ /dev/null @@ -1,23 +0,0 @@ -SUBDIRS = vorbis flac - -INCLUDES = -I$(top_srcdir)/taglib -I$(top_srcdir)/taglib/toolkit $(all_includes) - -noinst_LTLIBRARIES = libogg.la - -libogg_la_SOURCES = \ - oggfile.cpp \ - oggpage.cpp \ - oggpageheader.cpp \ - xiphcomment.cpp - -taglib_include_HEADERS = \ - oggfile.h \ - oggpage.h \ - oggpageheader.h \ - xiphcomment.h - -taglib_includedir = $(includedir)/taglib - -libogg_la_LIBADD = ./vorbis/libvorbis.la ./flac/liboggflac.la - -EXTRA_DIST = $(libogg_la_SOURCES) $(taglib_include_HEADERS) diff --git a/ogg/flac/Makefile.am b/ogg/flac/Makefile.am deleted file mode 100644 index 83c08539..00000000 --- a/ogg/flac/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -INCLUDES = \ - -I$(top_srcdir)/taglib \ - -I$(top_srcdir)/taglib/toolkit \ - -I$(top_srcdir)/taglib/ogg \ - -I$(top_srcdir)/taglib/flac \ - $(all_includes) - -noinst_LTLIBRARIES = liboggflac.la - -liboggflac_la_SOURCES = oggflacfile.cpp - -taglib_include_HEADERS = oggflacfile.h -taglib_includedir = $(includedir)/taglib - -EXTRA_DIST = $(liboggflac_la_SOURCES) $(taglib_include_HEADERS) diff --git a/ogg/vorbis/Makefile.am b/ogg/vorbis/Makefile.am deleted file mode 100644 index 4a6393c1..00000000 --- a/ogg/vorbis/Makefile.am +++ /dev/null @@ -1,14 +0,0 @@ -INCLUDES = \ - -I$(top_srcdir)/taglib \ - -I$(top_srcdir)/taglib/toolkit \ - -I$(top_srcdir)/taglib/ogg \ - $(all_includes) - -noinst_LTLIBRARIES = libvorbis.la - -libvorbis_la_SOURCES = vorbisfile.cpp vorbisproperties.cpp - -taglib_include_HEADERS = vorbisfile.h vorbisproperties.h -taglib_includedir = $(includedir)/taglib - -EXTRA_DIST = $(libvorbis_la_SOURCES) $(taglib_include_HEADERS) diff --git a/taglib-config.in b/taglib-config.in deleted file mode 100644 index da1c7e36..00000000 --- a/taglib-config.in +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/sh - -usage() -{ - echo "usage: $0 [OPTIONS]" -cat << EOH - -options: - [--libs] - [--cflags] - [--version] - [--prefix] -EOH - exit 1; -} - -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -flags="" - -if test $# -eq 0 ; then - usage -fi - -while test $# -gt 0 -do - case $1 in - --libs) - flags="$flags -L$libdir -ltag" - ;; - --cflags) - flags="$flags -I$includedir/taglib" - ;; - --version) - echo 1.4 - ;; - --prefix) - echo $prefix - ;; - *) - echo "$0: unknown option $1" - echo - usage - ;; - esac - shift -done - -if test -n "$flags" -then - echo $flags -fi diff --git a/taglib.pc.in b/taglib.pc.in deleted file mode 100644 index 72d2feca..00000000 --- a/taglib.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: TagLib -Description: Audio meta-data library -Requires: -Version: 1.4 -Libs: -L${libdir} -ltag -Cflags: -I${includedir}/taglib diff --git a/tests/Makefile.am b/tests/Makefile.am deleted file mode 100644 index a66e0acd..00000000 --- a/tests/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -INCLUDES = \ - -I$(top_srcdir)/taglib\ - -I$(top_srcdir)/taglib/toolkit \ - -I$(top_srcdir)/taglib/mpeg/id3v2 - -LDADD = ../libtag.la - -check_PROGRAMS = toolkit-test - -toolkit_test_SOURCES = toolkit-test.cpp diff --git a/toolkit/Makefile.am b/toolkit/Makefile.am deleted file mode 100644 index 7e9ea14c..00000000 --- a/toolkit/Makefile.am +++ /dev/null @@ -1,16 +0,0 @@ -INCLUDES = $(all_includes) - -noinst_LTLIBRARIES = libtoolkit.la - -libtoolkit_la_SOURCES = \ - tstring.cpp tstringlist.cpp tbytevector.cpp \ - tbytevectorlist.cpp tfile.cpp tdebug.cpp unicode.cpp - -taglib_include_HEADERS = \ - taglib.h tstring.h tlist.h tlist.tcc tstringlist.h \ - tbytevector.h tbytevectorlist.h tfile.h \ - tmap.h tmap.tcc - -taglib_includedir = $(includedir)/taglib - -EXTRA_DIST = $(libtoolkit_la_SOURCES) $(taglib_include_HEADERS)