diff options
author | David Robillard <d@drobilla.net> | 2008-10-03 01:32:43 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-10-03 01:32:43 +0000 |
commit | aa97df1cb63bea5a635994ef758ac92b6bc8cfbf (patch) | |
tree | 16b5f9c8cdfc006b7cedfd0ddf1ea9ca0a7e742e | |
parent | d8e1831406ab0da10025e3fa203d9d0ae5c31368 (diff) | |
download | lilv-aa97df1cb63bea5a635994ef758ac92b6bc8cfbf.tar.gz lilv-aa97df1cb63bea5a635994ef758ac92b6bc8cfbf.tar.bz2 lilv-aa97df1cb63bea5a635994ef758ac92b6bc8cfbf.zip |
Good riddance.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1602 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | INSTALL | 229 | ||||
-rw-r--r-- | Makefile.am | 38 | ||||
-rw-r--r-- | acinclude.m4 | 285 | ||||
-rwxr-xr-x | autogen.sh | 15 | ||||
-rw-r--r-- | configure.ac | 219 | ||||
-rw-r--r-- | debian-sid/Makefile.am | 8 | ||||
-rw-r--r-- | doc/Makefile.am | 34 | ||||
-rw-r--r-- | hosts/Makefile.am | 25 | ||||
-rw-r--r-- | slv2/Makefile.am | 21 | ||||
-rw-r--r-- | src/Makefile.am | 24 | ||||
-rw-r--r-- | utils/Makefile.am | 16 |
11 files changed, 0 insertions, 914 deletions
diff --git a/INSTALL b/INSTALL deleted file mode 100644 index 54caf7c..0000000 --- a/INSTALL +++ /dev/null @@ -1,229 +0,0 @@ -Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software -Foundation, Inc. - - This file is free documentation; the Free Software Foundation gives -unlimited permission to copy, distribute and modify it. - -Basic Installation -================== - - These are generic installation instructions. - - The `configure' shell script attempts to guess correct values for -various system-dependent variables used during compilation. It uses -those values to create a `Makefile' in each directory of the package. -It may also create one or more `.h' files containing system-dependent -definitions. Finally, it creates a shell script `config.status' that -you can run in the future to recreate the current configuration, and a -file `config.log' containing compiler output (useful mainly for -debugging `configure'). - - It can also use an optional file (typically called `config.cache' -and enabled with `--cache-file=config.cache' or simply `-C') that saves -the results of its tests to speed up reconfiguring. (Caching is -disabled by default to prevent problems with accidental use of stale -cache files.) - - If you need to do unusual things to compile the package, please try -to figure out how `configure' could check whether to do them, and mail -diffs or instructions to the address given in the `README' so they can -be considered for the next release. If you are using the cache, and at -some point `config.cache' contains results you don't want to keep, you -may remove or edit it. - - The file `configure.ac' (or `configure.in') is used to create -`configure' by a program called `autoconf'. You only need -`configure.ac' if you want to change it or regenerate `configure' using -a newer version of `autoconf'. - -The simplest way to compile this package is: - - 1. `cd' to the directory containing the package's source code and type - `./configure' to configure the package for your system. If you're - using `csh' on an old version of System V, you might need to type - `sh ./configure' instead to prevent `csh' from trying to execute - `configure' itself. - - Running `configure' takes awhile. While running, it prints some - messages telling which features it is checking for. - - 2. Type `make' to compile the package. - - 3. Optionally, type `make check' to run any self-tests that come with - the package. - - 4. Type `make install' to install the programs and any data files and - documentation. - - 5. You can remove the program binaries and object files from the - source code directory by typing `make clean'. To also remove the - files that `configure' created (so you can compile the package for - a different kind of computer), type `make distclean'. There is - also a `make maintainer-clean' target, but that is intended mainly - for the package's developers. If you use it, you may have to get - all sorts of other programs in order to regenerate files that came - with the distribution. - -Compilers and Options -===================== - - Some systems require unusual options for compilation or linking that -the `configure' script does not know about. Run `./configure --help' -for details on some of the pertinent environment variables. - - You can give `configure' initial values for configuration parameters -by setting variables in the command line or in the environment. Here -is an example: - - ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix - - *Note Defining Variables::, for more details. - -Compiling For Multiple Architectures -==================================== - - You can compile the package for more than one kind of computer at the -same time, by placing the object files for each architecture in their -own directory. To do this, you must use a version of `make' that -supports the `VPATH' variable, such as GNU `make'. `cd' to the -directory where you want the object files and executables to go and run -the `configure' script. `configure' automatically checks for the -source code in the directory that `configure' is in and in `..'. - - If you have to use a `make' that does not support the `VPATH' -variable, you have to compile the package for one architecture at a -time in the source code directory. After you have installed the -package for one architecture, use `make distclean' before reconfiguring -for another architecture. - -Installation Names -================== - - By default, `make install' will install the package's files in -`/usr/local/bin', `/usr/local/man', etc. You can specify an -installation prefix other than `/usr/local' by giving `configure' the -option `--prefix=PATH'. - - You can specify separate installation prefixes for -architecture-specific files and architecture-independent files. If you -give `configure' the option `--exec-prefix=PATH', the package will use -PATH as the prefix for installing programs and libraries. -Documentation and other data files will still use the regular prefix. - - In addition, if you use an unusual directory layout you can give -options like `--bindir=PATH' to specify different values for particular -kinds of files. Run `configure --help' for a list of the directories -you can set and what kinds of files go in them. - - If the package supports it, you can cause programs to be installed -with an extra prefix or suffix on their names by giving `configure' the -option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. - -Optional Features -================= - - Some packages pay attention to `--enable-FEATURE' options to -`configure', where FEATURE indicates an optional part of the package. -They may also pay attention to `--with-PACKAGE' options, where PACKAGE -is something like `gnu-as' or `x' (for the X Window System). The -`README' should mention any `--enable-' and `--with-' options that the -package recognizes. - - For packages that use the X Window System, `configure' can usually -find the X include and library files automatically, but if it doesn't, -you can use the `configure' options `--x-includes=DIR' and -`--x-libraries=DIR' to specify their locations. - -Specifying the System Type -========================== - - There may be some features `configure' cannot figure out -automatically, but needs to determine by the type of machine the package -will run on. Usually, assuming the package is built to be run on the -_same_ architectures, `configure' can figure that out, but if it prints -a message saying it cannot guess the machine type, give it the -`--build=TYPE' option. TYPE can either be a short name for the system -type, such as `sun4', or a canonical name which has the form: - - CPU-COMPANY-SYSTEM - -where SYSTEM can have one of these forms: - - OS KERNEL-OS - - See the file `config.sub' for the possible values of each field. If -`config.sub' isn't included in this package, then this package doesn't -need to know the machine type. - - If you are _building_ compiler tools for cross-compiling, you should -use the `--target=TYPE' option to select the type of system they will -produce code for. - - If you want to _use_ a cross compiler, that generates code for a -platform different from the build platform, you should specify the -"host" platform (i.e., that on which the generated programs will -eventually be run) with `--host=TYPE'. - -Sharing Defaults -================ - - If you want to set default values for `configure' scripts to share, -you can create a site shell script called `config.site' that gives -default values for variables like `CC', `cache_file', and `prefix'. -`configure' looks for `PREFIX/share/config.site' if it exists, then -`PREFIX/etc/config.site' if it exists. Or, you can set the -`CONFIG_SITE' environment variable to the location of the site script. -A warning: not all `configure' scripts look for a site script. - -Defining Variables -================== - - Variables not defined in a site shell script can be set in the -environment passed to `configure'. However, some packages may run -configure again during the build, and the customized values of these -variables may be lost. In order to avoid this problem, you should set -them in the `configure' command line, using `VAR=value'. For example: - - ./configure CC=/usr/local2/bin/gcc - -will cause the specified gcc to be used as the C compiler (unless it is -overridden in the site shell script). - -`configure' Invocation -====================== - - `configure' recognizes the following options to control how it -operates. - -`--help' -`-h' - Print a summary of the options to `configure', and exit. - -`--version' -`-V' - Print the version of Autoconf used to generate the `configure' - script, and exit. - -`--cache-file=FILE' - Enable the cache: use and save the results of the tests in FILE, - traditionally `config.cache'. FILE defaults to `/dev/null' to - disable caching. - -`--config-cache' -`-C' - Alias for `--cache-file=config.cache'. - -`--quiet' -`--silent' -`-q' - Do not print messages saying which checks are being made. To - suppress all normal output, redirect it to `/dev/null' (any error - messages will still be shown). - -`--srcdir=DIR' - Look for the package's source code in directory DIR. Usually - `configure' can determine that directory automatically. - -`configure' also accepts some other, not widely useful, options. Run -`configure --help' for more details. - diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index a93ba3c..0000000 --- a/Makefile.am +++ /dev/null @@ -1,38 +0,0 @@ -AUTOMAKE_OPTIONS = foreign -EXTRA_DIST = COPYING INSTALL - -if HAVE_DOXYGEN -DOC_DIR = doc -dist-check-doxygen: -else -DOC_DIR = -dist-check-doxygen: - @echo - @echo ' ******' You need doxygen installed to make dist.' ******' - @echo - @false -endif - -SUBDIRS = src slv2 utils hosts $(DOC_DIR) swig debian-sid -DIST_SUBDIRS = src slv2 utils hosts doc swig debian-sid - -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = slv2.pc - -dist-hook: dist-check-doxygen - -docs: - cd doc && make docs - -install-man: - cd doc && make install-man - -deb: - if [ -e debian ]; then \ - echo "ERROR: ./debian exists, you must move it out of the way."; \ - else \ - ln -s debian-sid debian; \ - dpkg-buildpackage -sn; \ - rm debian; \ - fi - diff --git a/acinclude.m4 b/acinclude.m4 deleted file mode 100644 index f5e2290..0000000 --- a/acinclude.m4 +++ /dev/null @@ -1,285 +0,0 @@ -# Check for version of Jack MIDI API -# Copyright (C) 2007 Nedko Arnaudov <nedko@arnaudov.name> -# Distributed under the same terms as the Autoconf macro files. -AC_DEFUN([AC_JACK_MIDI_NFRAMES_CHECK], [ -AC_MSG_CHECKING([whether JACK MIDI functions need nframes parameter]) -AC_LANG_PUSH(C) -AC_COMPILE_IFELSE(AC_LANG_PROGRAM([[ -#include <jack/jack.h> -#include <jack/midiport.h> -]], [[ -jack_midi_event_get(0, 0, 0, 0); -]]), [jackmidi_nframes='yes'], [jackmidi_nframes='no']) -AC_MSG_RESULT([$jackmidi_nframes]) -AC_LANG_POP() -]) - - -##### http://autoconf-archive.cryp.to/ac_python_devel.html -# -# SYNOPSIS -# -# AC_PYTHON_DEVEL([version]) -# -# DESCRIPTION -# -# Note: Defines as a precious variable "PYTHON_VERSION". Don't -# override it in your configure.ac. -# -# This macro checks for Python and tries to get the include path to -# 'Python.h'. It provides the $(PYTHON_CPPFLAGS) and -# $(PYTHON_LDFLAGS) output variables. It also exports -# $(PYTHON_EXTRA_LIBS) and $(PYTHON_EXTRA_LDFLAGS) for embedding -# Python in your code. -# -# You can search for some particular version of Python by passing a -# parameter to this macro, for example ">= '2.3.1'", or "== '2.4'". -# Please note that you *have* to pass also an operator along with the -# version to match, and pay special attention to the single quotes -# surrounding the version number. Don't use "PYTHON_VERSION" for -# this: that environment variable is declared as precious and thus -# reserved for the end-user. -# -# This macro should work for all versions of Python >= 2.1.0. As an -# end user, you can disable the check for the python version by -# setting the PYTHON_NOVERSIONCHECK environment variable to something -# else than the empty string. -# -# If you need to use this macro for an older Python version, please -# contact the authors. We're always open for feedback. -# -# LAST MODIFICATION -# -# 2007-07-31 -# -# COPYLEFT -# -# Copyright (c) 2007 Sebastian Huber <sebastian-huber@web.de> -# Copyright (c) 2007 Alan W. Irwin <irwin@beluga.phys.uvic.ca> -# Copyright (c) 2007 Rafael Laboissiere <rafael@laboissiere.net> -# Copyright (c) 2007 Andrew Collier <colliera@ukzn.ac.za> -# Copyright (c) 2007 Matteo Settenvini <matteo@member.fsf.org> -# Copyright (c) 2007 Horst Knorr <hk_classes@knoda.org> -# -# 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 3 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, see -# <http://www.gnu.org/licenses/>. -# -# As a special exception, the respective Autoconf Macro's copyright -# owner gives unlimited permission to copy, distribute and modify the -# configure scripts that are the output of Autoconf when processing -# the Macro. You need not follow the terms of the GNU General Public -# License when using or distributing such scripts, even though -# portions of the text of the Macro appear in them. The GNU General -# Public License (GPL) does govern all other use of the material that -# constitutes the Autoconf Macro. -# -# This special exception to the GPL applies to versions of the -# Autoconf Macro released by the Autoconf Macro Archive. When you -# make and distribute a modified version of the Autoconf Macro, you -# may extend this special exception to the GPL to apply to your -# modified version as well. - -AC_DEFUN([AC_PYTHON_DEVEL],[ - # - # Allow the use of a (user set) custom python version - # - AC_ARG_VAR([PYTHON_VERSION],[The installed Python - version to use, for example '2.3'. This string - will be appended to the Python interpreter - canonical name.]) - - AC_PATH_PROG([PYTHON],[python[$PYTHON_VERSION]]) - if test -z "$PYTHON"; then - AC_MSG_ERROR([Cannot find python$PYTHON_VERSION in your system path]) - PYTHON_VERSION="" - fi - - # - # Check for a version of Python >= 2.1.0 - # - AC_MSG_CHECKING([for a version of Python >= '2.1.0']) - ac_supports_python_ver=`$PYTHON -c "import sys, string; \ - ver = string.split(sys.version)[[0]]; \ - print ver >= '2.1.0'"` - if test "$ac_supports_python_ver" != "True"; then - if test -z "$PYTHON_NOVERSIONCHECK"; then - AC_MSG_RESULT([no]) - AC_MSG_FAILURE([ -This version of the AC@&t@_PYTHON_DEVEL macro -doesn't work properly with versions of Python before -2.1.0. You may need to re-run configure, setting the -variables PYTHON_CPPFLAGS, PYTHON_LDFLAGS, PYTHON_SITE_PKG, -PYTHON_EXTRA_LIBS and PYTHON_EXTRA_LDFLAGS by hand. -Moreover, to disable this check, set PYTHON_NOVERSIONCHECK -to something else than an empty string. -]) - else - AC_MSG_RESULT([skip at user request]) - fi - else - AC_MSG_RESULT([yes]) - fi - - # - # if the macro parameter ``version'' is set, honour it - # - if test -n "$1"; then - AC_MSG_CHECKING([for a version of Python $1]) - ac_supports_python_ver=`$PYTHON -c "import sys, string; \ - ver = string.split(sys.version)[[0]]; \ - print ver $1"` - if test "$ac_supports_python_ver" = "True"; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - AC_MSG_ERROR([this package requires Python $1. -If you have it installed, but it isn't the default Python -interpreter in your system path, please pass the PYTHON_VERSION -variable to configure. See ``configure --help'' for reference. -]) - PYTHON_VERSION="" - fi - fi - - # - # Check if you have distutils, else fail - # - AC_MSG_CHECKING([for the distutils Python package]) - ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` - if test -z "$ac_distutils_result"; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - AC_MSG_ERROR([cannot import Python module "distutils". -Please check your Python installation. The error was: -$ac_distutils_result]) - PYTHON_VERSION="" - fi - - # - # Check for Python include path - # - AC_MSG_CHECKING([for Python include path]) - if test -z "$PYTHON_CPPFLAGS"; then - python_path=`$PYTHON -c "import distutils.sysconfig; \ - print distutils.sysconfig.get_python_inc();"` - if test -n "${python_path}"; then - python_path="-I$python_path" - fi - PYTHON_CPPFLAGS=$python_path - fi - AC_MSG_RESULT([$PYTHON_CPPFLAGS]) - AC_SUBST([PYTHON_CPPFLAGS]) - - # - # Check for Python library path - # - AC_MSG_CHECKING([for Python library path]) - if test -z "$PYTHON_LDFLAGS"; then - # (makes two attempts to ensure we've got a version number - # from the interpreter) - py_version=`$PYTHON -c "from distutils.sysconfig import *; \ - from string import join; \ - print join(get_config_vars('VERSION'))"` - if test "$py_version" == "[None]"; then - if test -n "$PYTHON_VERSION"; then - py_version=$PYTHON_VERSION - else - py_version=`$PYTHON -c "import sys; \ - print sys.version[[:3]]"` - fi - fi - - PYTHON_LDFLAGS=`$PYTHON -c "from distutils.sysconfig import *; \ - from string import join; \ - print '-L' + get_python_lib(0,1), \ - '-lpython';"`$py_version - fi - AC_MSG_RESULT([$PYTHON_LDFLAGS]) - AC_SUBST([PYTHON_LDFLAGS]) - - # - # Check for site packages - # - AC_MSG_CHECKING([for Python site-packages path]) - if test -z "$PYTHON_SITE_PKG"; then - PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \ - print distutils.sysconfig.get_python_lib(0,0);"` - fi - AC_MSG_RESULT([$PYTHON_SITE_PKG]) - AC_SUBST([PYTHON_SITE_PKG]) - - # - # libraries which must be linked in when embedding - # - AC_MSG_CHECKING(python extra libraries) - if test -z "$PYTHON_EXTRA_LIBS"; then - PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \ - conf = distutils.sysconfig.get_config_var; \ - print conf('LOCALMODLIBS'), conf('LIBS')"` - fi - AC_MSG_RESULT([$PYTHON_EXTRA_LIBS]) - AC_SUBST(PYTHON_EXTRA_LIBS) - - # - # linking flags needed when embedding - # - AC_MSG_CHECKING(python extra linking flags) - if test -z "$PYTHON_EXTRA_LDFLAGS"; then - PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import distutils.sysconfig; \ - conf = distutils.sysconfig.get_config_var; \ - print conf('LINKFORSHARED')"` - fi - AC_MSG_RESULT([$PYTHON_EXTRA_LDFLAGS]) - AC_SUBST(PYTHON_EXTRA_LDFLAGS) - - # - # final check to see if everything compiles alright - # - AC_MSG_CHECKING([consistency of all components of python development environment]) - AC_LANG_PUSH([C]) - # save current global flags - LIBS="$ac_save_LIBS $PYTHON_LDFLAGS" - CPPFLAGS="$ac_save_CPPFLAGS $PYTHON_CPPFLAGS" - AC_TRY_LINK([ - #include <Python.h> - ],[ - Py_Initialize(); - ],[pythonexists=yes],[pythonexists=no]) - - AC_MSG_RESULT([$pythonexists]) - - if test ! "$pythonexists" = "yes"; then - AC_MSG_ERROR([ - Could not link test program to Python. Maybe the main Python library has been - installed in some non-standard library path. If so, pass it to configure, - via the LDFLAGS environment variable. - Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib" - ============================================================================ - ERROR! - You probably have to install the development version of the Python package - for your distribution. The exact name of this package varies among them. - ============================================================================ - ]) - PYTHON_VERSION="" - fi - AC_LANG_POP - # turn back to default flags - CPPFLAGS="$ac_save_CPPFLAGS" - LIBS="$ac_save_LIBS" - - # - # all done! - # -]) diff --git a/autogen.sh b/autogen.sh deleted file mode 100755 index 7af4389..0000000 --- a/autogen.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -echo 'Generating necessary files...' -rm -rf config -mkdir -p config -if [ -x "`which glibtoolize`" ]; then # OSX - glibtoolize --force -else # Unix - libtoolize --force -fi -aclocal -autoheader -Wall -automake --foreign --add-missing -autoconf - diff --git a/configure.ac b/configure.ac deleted file mode 100644 index 6aafb5c..0000000 --- a/configure.ac +++ /dev/null @@ -1,219 +0,0 @@ -AC_PREREQ(2.59) - -AC_INIT([slv2],0.6.0,[dave@drobilla.net]) - -AC_CONFIG_AUX_DIR([config]) - -AC_CONFIG_SRCDIR([src/plugin.c]) -AC_CONFIG_SRCDIR([slv2/plugin.h]) -AC_CONFIG_SRCDIR([utils/lv2_list.c]) -AC_CONFIG_SRCDIR([swig/slv2.i]) -AC_CONFIG_HEADER([config/config.h]) -AM_INIT_AUTOMAKE - -# SLV2 interface version (libtool shared library versioning) -# -# current = incremented whenever the public API is changed -# revision = incremented when the implementation of current is changed -# age = current library is both source and binary compatible with -# interfaces: current,current-1,...,current-age -# -# See libtool documentation for detailed documentation -# -# Version history: -# 0.0.1 = 0,0,0 -# 0.1.0 = 2,0,0 -# 0.2.0 = 3,0,0 -# 0.3.0 = 4,0,0 -# 0.3.1 = 4,0,0 -# 0.3.2 = 5,0,1 -# 0.4.0 = 6,0,0 -# 0.4.1 = 6,0,0 (oops, should have been 6,1,0) -# 0.4.2 = 6,0,0 (oops, should have been 6,2,0) -# 0.4.3 = 6,0,0 (oops, should have been 6,3,0) -# 0.4.4 = 7,0,1 -# 0.4.5 = 7,0,1 -# 0.5.0 = 8,0,0 -# 0.6.0 = 9,0,0 (SVN r1282) - -SLV2_VERSION="0.6.0" -SLV2_API_CURRENT="9" -SLV2_API_REVISION="0" -SLV2_API_AGE="0" - -AC_SUBST(SLV2_API_CURRENT) -AC_SUBST(SLV2_API_REVISION) -AC_SUBST(SLV2_API_AGE) -SLV2_SO_VERSION="${SLV2_API_CURRENT}:${SLV2_API_REVISION}:${SLV2_API_AGE}" -AC_SUBST(SLV2_SO_VERSION) -AC_SUBST(SLV2_VERSION) - -# This is cute... autohell FTW -builddir=`pwd` -cd $srcdir -abs_srcdir=`pwd` -cd $builddir - -SLV2_CFLAGS="-I$abs_srcdir" -SLV2_LIBS="$abs_srcdir/src/.libs/libslv2.la" -SLV2_SRCDIR="$abs_srcdir" -AC_SUBST(SLV2_CFLAGS) -AC_SUBST(SLV2_LIBS) -AC_SUBST(SLV2_SRCDIR) - -CONFIG_H_PATH="$builddir/config/config.h" - -# Checks for compiler -AM_PROG_CC_C_O - -# Library building stuff -AC_PROG_LIBTOOL - -# LV2 core package -PKG_CHECK_MODULES(LV2CORE, lv2core >= 1, , [AC_ERROR([SLV2 Requires the LV2 core package (http://lv2plug.in/spec/)])]) - -# Check for debugging flag -debug="no" -AC_ARG_ENABLE(debug, - [AS_HELP_STRING(--enable-debug, [Enable debugging (false)])], - [debug="$enableval"]) -if test "$debug" = "yes"; then - CFLAGS="-O0 -g -DDEBUG -DLIBRDF_DEBUG" - CXXFLAGS="-O0 -g -DDEBUG -DLIBRDF_DEBUG" -else - CFLAGS="$CFLAGS -DNDEBUG -DLIBRDF_DEBUG" - CXXFLAGS="$CFLAGS -DNDEBUG -DLIBRDF_DEBUG" -fi - -# Check for strict flag -strict="no" -AC_ARG_ENABLE(strict, - [AS_HELP_STRING(--enable-strict, [Enable strict compiler warnings and errors (false)])], - [strict="$enableval"]) -if test "$strict" = "yes"; then - CFLAGS="$CFLAGS -std=c99 -pedantic -Wall -Wextra -Winit-self -Wno-unused-parameter" - CXXFLAGS="$CFLAGS -ansi -pedantic -Wall -Wextra -Wconversion -Winit-self -Wno-unused-parameter" -fi - -# SWIG bindings -bindings="no" -AC_ARG_ENABLE(bindings, - [AS_HELP_STRING(--enable-bindings, [Build language bindings via SWIG (false)])], - [bindings="$enableval"]) -if test "$bindings" = "yes"; then - AC_CHECK_PROGS(SWIG, "swig swig-1.3") - if test "$SWIG" = ""; then - AC_MSG_WARN("SWIG not found, language bindings disabled") - fi -fi -AM_CONDITIONAL(WITH_SWIG, [test "$bindings" = "yes"]) - -# Check for binding languages -mzscheme="no" -chicken="no" -if test "$bindings" = "yes"; then - AC_PYTHON_DEVEL([>= '2.3.0']) - AC_CHECK_HEADER([plt/escheme.h], [mzscheme="yes"], [mzscheme="no"]) - AC_CHECK_HEADER([chicken.h], [chicken="yes"], [chicken="no"]) -fi -AM_CONDITIONAL(WITH_PYTHON, [test ! "$PYTHON_VERSION" = "yes"]) -AM_CONDITIONAL(WITH_MZSCHEME, [test "$mzscheme" = "yes"]) -AM_CONDITIONAL(WITH_CHICKEN, [test "$chicken" = "yes"]) - -# Check for Redland -build_redland="no" -AC_CHECK_PROG(REDLAND_CONFIG, redland-config, redland-config) -if test "X$REDLAND_CONFIG" = X; then - AC_MSG_ERROR([SLV2 requires Redland (librdf), but redland-config not found.]) -else - build_redland="yes" - PKG_CHECK_MODULES(RAPTOR, raptor) - PKG_CHECK_MODULES(RASQAL, rasqal >= 0.9.14) - redland_major_version=`$REDLAND_CONFIG --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` - redland_minor_version=`$REDLAND_CONFIG --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` - redland_micro_version=`$REDLAND_CONFIG --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` - AC_MSG_CHECKING([for REDLAND version >= 1.0.6]) - version_ok="no" - if test 1 -le $redland_major_version; then - if test 0 -le $redland_minor_version; then - if test 6 -le $redland_micro_version; then - version_ok="yes" - fi - fi - fi - if test $version_ok = "no"; then - act=`$REDLAND_CONFIG --version` - AC_MSG_ERROR([REDLAND version >= 1.0.6 required; $act found]) - else - AC_MSG_RESULT([yes]) - fi - REDLAND_CFLAGS=`$REDLAND_CONFIG --cflags` - REDLAND_LIBS=`$REDLAND_CONFIG --libs` - AC_SUBST(REDLAND_CFLAGS) - AC_SUBST(REDLAND_LIBS) -fi -AM_CONDITIONAL(WITH_REDLAND, [test "$build_redland" = "yes"]) - -# Check for JACK -build_jack="yes" -AC_ARG_ENABLE(jack, - [AS_HELP_STRING(--enable-jack, [Build JACK clients (true)])], - [ if test x$enable_jack = xno ; then build_jack=no ; fi ]) -if test "$build_jack" = "yes"; then - PKG_CHECK_MODULES(JACK, jack >= 0.102.29, build_jack="yes", build_jack="no") - AC_DEFINE(HAVE_JACK, 1, [Has JACK]) - AC_JACK_MIDI_NFRAMES_CHECK() - if test "$jackmidi_nframes" == "yes"; then - AC_DEFINE([JACK_MIDI_NEEDS_NFRAMES], 1, [Defined if we JACK MIDI functions need nframes parameter.]) - fi -else - AC_MSG_WARN("Sufficiently recent JACK not found, JACK clients will not be built.") -fi -AM_CONDITIONAL(WITH_JACK, [test "$build_jack" = "yes"]) - -# Build documentation -build_documentation="yes" -AC_ARG_ENABLE(documentation, - [AS_HELP_STRING(--enable-documentation, [Build documentation (yes, if doxygen available)])], - [build_documentation="$enableval"]) -if test "$build_documentation" = "yes"; then - AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, true, false) - if test $HAVE_DOXYGEN = "false"; then - AC_MSG_WARN([*** Doxygen not found, API documentation will not be built]) - build_documentation="no" - fi -fi -AM_CONDITIONAL(HAVE_DOXYGEN, [test "x$build_documentation" = "xyes"]) - -# Bolt on a few specific flags to CFLAGS that should always be used -CXXFLAGS="$CXXFLAGS -ansi -pipe -fmessage-length=999 -DCONFIG_H_PATH=\\\"$CONFIG_H_PATH\\\"" -CFLAGS="$CFLAGS -std=c99 -pipe -fmessage-length=999 -DCONFIG_H_PATH=\\\"$CONFIG_H_PATH\\\"" - -# Write output files -AC_CONFIG_FILES([Makefile]) -AC_CONFIG_FILES([debian-sid/Makefile]) -AC_CONFIG_FILES([doc/Makefile]) -AC_CONFIG_FILES([doc/reference.doxygen]) -AC_CONFIG_FILES([hosts/Makefile]) -AC_CONFIG_FILES([slv2.pc]) -AC_CONFIG_FILES([slv2/Makefile]) -AC_CONFIG_FILES([src/Makefile]) -AC_CONFIG_FILES([swig/Makefile]) -AC_CONFIG_FILES([swig/python/Makefile]) -AC_CONFIG_FILES([swig/mzscheme/Makefile]) -AC_CONFIG_FILES([swig/chicken/Makefile]) -AC_CONFIG_FILES([utils/Makefile]) - -AC_OUTPUT - -AC_MSG_RESULT([]) -AC_MSG_RESULT([**********************************************************************]) -AC_MSG_RESULT([SLV2 build configuration:]) -AC_MSG_RESULT([]) -AC_MSG_RESULT([Building JACK clients: $build_jack]) -AC_MSG_RESULT([**********************************************************************]) -AC_MSG_RESULT([]) - diff --git a/debian-sid/Makefile.am b/debian-sid/Makefile.am deleted file mode 100644 index 757249d..0000000 --- a/debian-sid/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -EXTRA_DIST = \ - README \ - changelog \ - compat \ - control \ - copyright \ - docs \ - rules diff --git a/doc/Makefile.am b/doc/Makefile.am deleted file mode 100644 index fe3f6ff..0000000 --- a/doc/Makefile.am +++ /dev/null @@ -1,34 +0,0 @@ -dist_man_MANS = \ - man/man3/slv2.3 \ - man/man3/slv2_collections.3 \ - man/man3/slv2_data.3 \ - man/man3/slv2_library.3 \ - man/man3/slv2_util.3 \ - man/man3/slv2_world.3 - -if HAVE_DOXYGEN -man_MANS = $(dist_man_MANS) -all: docs -else -man_mans = -all: -endif - -EXTRA_DIST = mainpage.dox reference.doxygen.in $(man_MANS) - - - -%.3: - make docs - -reference.doxygen: @SLV2_SRCDIR@/doc/reference.doxygen.in - -distclean-local: - rm -rf man html - -docs: reference.doxygen @SLV2_SRCDIR@/slv2/*.h - doxygen reference.doxygen - -# Don't install man pages with this target, -# only install with install-man (for debian package building) -install-data: diff --git a/hosts/Makefile.am b/hosts/Makefile.am deleted file mode 100644 index 9570a80..0000000 --- a/hosts/Makefile.am +++ /dev/null @@ -1,25 +0,0 @@ -AM_CFLAGS = -std=c99 -I$(top_srcdir) @REDLAND_CFLAGS@ @SLV2_CFLAGS@ - -if WITH_JACK - -noinst_HEADERS = lv2_event.h lv2_event_helpers.h lv2_uri_map.h - -bin_PROGRAMS = lv2_jack_host lv2_simple_jack_host - -lv2_jack_host_CFLAGS = @JACK_CFLAGS@ $(AM_CFLAGS) - -lv2_jack_host_DEPENDENCIES = ../src/libslv2.la -lv2_jack_host_LDADD = ../src/libslv2.la @JACK_LIBS@ @REDLAND_LIBS@ - -lv2_simple_jack_host_LDADD = ../src/libslv2.la @JACK_LIBS@ @REDLAND_LIBS@ - -lv2_jack_host_SOURCES = \ - jack_compat.h \ - lv2_jack_host.c - -lv2_simple_jack_host_SOURCES = \ - jack_compat.h \ - lv2_simple_jack_host.c - -endif - diff --git a/slv2/Makefile.am b/slv2/Makefile.am deleted file mode 100644 index 4c37778..0000000 --- a/slv2/Makefile.am +++ /dev/null @@ -1,21 +0,0 @@ -slv2includedir = $(includedir)/slv2 - -slv2include_HEADERS = \ - lv2_ui.h \ - plugin.h \ - pluginclass.h \ - pluginclasses.h \ - plugininstance.h \ - plugins.h \ - pluginui.h \ - pluginuiinstance.h \ - pluginuis.h \ - port.h \ - slv2.h \ - types.h \ - scalepoint.h \ - scalepoints.h \ - util.h \ - value.h \ - values.h \ - world.h diff --git a/src/Makefile.am b/src/Makefile.am deleted file mode 100644 index 148fafb..0000000 --- a/src/Makefile.am +++ /dev/null @@ -1,24 +0,0 @@ -AM_CFLAGS = -std=c99 @LV2CORE_CFLAGS@ @SLV2_CFLAGS@ @REDLAND_CFLAGS@ @RAPTOR_CFLAGS@ -DLIBSLV2_SOURCE - -lib_LTLIBRARIES = libslv2.la -libslv2_la_LIBADD = @REDLAND_LIBS@ @RAPTOR_LIBS@ -ldl -libslv2_la_LDFLAGS = -version-info @SLV2_SO_VERSION@ - -libslv2_la_SOURCES = \ - plugin.c \ - pluginclass.c \ - pluginclasses.c \ - plugininstance.c \ - plugins.c \ - pluginui.c \ - pluginuiinstance.c \ - pluginuis.c \ - port.c \ - query.c \ - scalepoint.c \ - scalepoints.c \ - slv2_internal.h \ - util.c \ - value.c \ - values.c \ - world.c diff --git a/utils/Makefile.am b/utils/Makefile.am deleted file mode 100644 index f445519..0000000 --- a/utils/Makefile.am +++ /dev/null @@ -1,16 +0,0 @@ -EXTRA_DIST = ladspa.h - -AM_CFLAGS = -std=c99 -I$(top_srcdir) @REDLAND_CFLAGS@ @SLV2_CFLAGS@ @LV2CORE_CFLAGS@ - -bin_PROGRAMS = lv2_list lv2_inspect -noinst_PROGRAMS = ladspa2lv2 - -lv2_list_SOURCES = lv2_list.c -lv2_list_LDADD = ../src/libslv2.la - -lv2_inspect_SOURCES = lv2_inspect.c -lv2_inspect_LDADD = ../src/libslv2.la - -ladspa2lv2_SOURCES = ladspa2lv2.c -ladspa2lv2_LDADD = -ldl -lm @REDLAND_LIBS@ - |