summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am35
-rwxr-xr-xautogen.sh11
-rw-r--r--configure.ac202
-rw-r--r--debian-sid/Makefile.am8
-rw-r--r--doc/Makefile.am15
-rw-r--r--raul/Makefile.am42
-rw-r--r--src/Makefile.am18
-rw-r--r--tests/Makefile.am43
8 files changed, 0 insertions, 374 deletions
diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index c9ab54e..0000000
--- a/Makefile.am
+++ /dev/null
@@ -1,35 +0,0 @@
-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 = raul src $(DOC_DIR) debian-sid
-DIST_SUBDIRS = raul src tests doc debian-sid
-
-if BUILD_UNIT_TESTS
-SUBDIRS += tests
-endif
-
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = raul.pc
-
-dist-hook: dist-check-doxygen
-
-docs:
- cd doc && make docs
-
-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/autogen.sh b/autogen.sh
deleted file mode 100755
index 25cfb35..0000000
--- a/autogen.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-echo 'Generating necessary files...'
-rm -rf config
-mkdir -p config
-libtoolize --force
-aclocal
-autoheader -Wall
-automake --foreign --add-missing -Wall
-autoconf
-
diff --git a/configure.ac b/configure.ac
deleted file mode 100644
index 5b44301..0000000
--- a/configure.ac
+++ /dev/null
@@ -1,202 +0,0 @@
-AC_PREREQ(2.59)
-AC_INIT([raul],[0.5.1],[dave@drobilla.net])
-
-AC_CONFIG_AUX_DIR([config])
-
-
-################### SOURCES
-
-# Raul
-AC_CONFIG_SRCDIR([raul/Semaphore.h])
-AC_CONFIG_SRCDIR([src/Thread.cpp])
-
-AC_CONFIG_HEADER([config/config.h])
-
-AM_INIT_AUTOMAKE
-
-# Raul 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.4.0 = 0,0,0
-# 0.5.0 = 1,0,0 (SVN r1283)
-# 0.5.1 = 2,0,0
-
-RAUL_VERSION="0.5.1"
-RAUL_API_CURRENT="2"
-RAUL_API_REVISION="0"
-RAUL_API_AGE="0"
-
-AC_SUBST(RAUL_API_CURRENT)
-AC_SUBST(RAUL_API_REVISION)
-AC_SUBST(RAUL_API_AGE)
-RAUL_SO_VERSION="${RAUL_API_CURRENT}:${RAUL_API_REVISION}:${RAUL_API_AGE}"
-AC_SUBST(RAUL_SO_VERSION)
-AC_SUBST(RAUL_VERSION)
-
-
-#################### ENVIRONMENT
-
-AC_LANG([C++])
-
-AC_PROG_CXX
-
-AC_DISABLE_STATIC
-AC_PROG_LIBTOOL
-
-PKG_CHECK_MODULES(GLIBMM, glibmm-2.4)
-PKG_CHECK_MODULES(GTHREAD, gthread-2.0)
-
-# Check for boost smart pointers
-AC_CHECK_HEADERS([boost/shared_ptr.hpp], [],
- AC_MSG_ERROR([You need the boost headers package (e.g. libboost-dev)]))
-AC_CHECK_HEADERS([boost/weak_ptr.hpp], [],
- AC_MSG_ERROR([You need the boost headers package (e.g. libboost-dev)]))
-
-# This is cute... autohell FTW
-builddir=`pwd`
-cd $srcdir
-abs_srcdir=`pwd`
-cd $builddir
-
-RAUL_CFLAGS="-I$abs_srcdir"
-RAUL_LIBS="$builddir/src/.libs/libraul.la"
-RAUL_SRCDIR="$abs_srcdir"
-AC_SUBST(RAUL_CFLAGS)
-AC_SUBST(RAUL_LIBS)
-AC_SUBST(RAUL_SRCDIR)
-
-CONFIG_H_PATH="$builddir/config/config.h"
-
-#################### COMMAND LINE PARAMETERS
-
-AC_ARG_ENABLE(debug,
- [AS_HELP_STRING(--enable-debug, [Enable debugging symbols and assertions (no)])],
- [debug="$enableval"])
-if test "$debug" = "yes"; then
- debug_symbols="yes"
- debug_assertions="yes"
-fi
-
-AC_ARG_ENABLE(debug_symbols,
- [AS_HELP_STRING(--enable-debug-symbols, [Enable debugging symbols - overrides CXXFLAGS (no)])],
- [debug_symbols="$enableval"])
-
-AC_ARG_ENABLE(debug_assertions,
- [AS_HELP_STRING(--enable-debug-assertions, [Enable debugging assertions (no)])],
- [debug_assertions="$enableval"])
-
-if test "$debug_symbols" = "yes"; then
- CFLAGS="-O0 -g"
- CXXFLAGS="-O0 -g"
-fi
-
-if test "$debug_assertions" = "yes"; then
- CFLAGS="$CFLAGS -DDEBUG -DLIBRDF_DEBUG"
- CXXFLAGS="$CXXFLAGS -DDEBUG -DLIBRDF_DEBUG"
-else
- CFLAGS="$CFLAGS -DNDEBUG"
- CXXFLAGS="$CXXFLAGS -DNDEBUG"
-fi
-
-# Boost shared_ptr debugging
-pointer_debug="no"
-AC_ARG_ENABLE(pointer_debug,
- [AS_HELP_STRING(--enable-pointer-debug, [Enable smart pointer debugging (no)])],
- [pointer_debug="$enableval"])
-if test "$pointer_debug" = "yes"; then
- CFLAGS="$CFLAGS -DBOOST_SP_ENABLE_DEBUG_HOOKS"
- CXXFLAGS="$CXXFLAGS -DBOOST_SP_ENABLE_DEBUG_HOOKS"
-fi
-
-# Use strict flags?
-strict="no"
-AC_ARG_ENABLE(strict,
- [AS_HELP_STRING(--enable-strict, [Enable strict compiler warnings and errors (no)])],
- [strict="$enableval"])
-if test "$strict" = "yes"; then
- # Stupid Gtkmm won't build with -pedantic
- CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter -Winit-self"
- CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wno-unused-parameter -Winit-self -Woverloaded-virtual -Wsign-promo"
-fi
-
-# 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\\\""
-
-
-#################### GENERIC OPTIONS
-
-
-# Jack support
-build_jack="yes"
-AC_ARG_ENABLE(jack,
- [AS_HELP_STRING(--enable-jack, [Enable Jack support (yes)])],
- [ if test x$enable_jack = xno ; then build_jack=no ; fi ])
-if test "$build_jack" = "yes"; then
- PKG_CHECK_MODULES(JACK, jack >= 0.107.0)
- AC_DEFINE(HAVE_JACK_MIDI, 1, [Has Jack MIDI])
-fi
-
-# 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"])
-
-# Build unit tests
-build_unit_tests="no"
-AC_ARG_ENABLE(unit-tests,
- [AS_HELP_STRING(--enable-unit-tests, [Build unit tests (no) - Developers only])],
- [build_unit_tests="$enableval"])
-
-AM_CONDITIONAL(WITH_JACK, [test "$build_jack" = "yes"])
-AM_CONDITIONAL(BUILD_UNIT_TESTS, [test "$build_unit_tests" = "yes"])
-
-
-################## RAUL
-
-# (No required dependencies)
-
-#################### OUTPUT
-
-# RAUL
-AC_CONFIG_FILES([Makefile])
-AC_CONFIG_FILES([debian-sid/Makefile])
-AC_CONFIG_FILES([doc/Makefile])
-AC_CONFIG_FILES([doc/reference.doxygen])
-AC_CONFIG_FILES([raul.pc])
-AC_CONFIG_FILES([raul/Makefile])
-AC_CONFIG_FILES([src/Makefile])
-AC_CONFIG_FILES([tests/Makefile])
-
-AC_OUTPUT
-
-AC_MSG_RESULT([])
-AC_MSG_RESULT([])
-AC_MSG_RESULT([**********************************************************************])
-AC_MSG_RESULT([Configuration:])
-AC_MSG_RESULT([])
-AC_MSG_RESULT([Jack support: $build_jack])
-AC_MSG_RESULT([Build unit tests: $build_unit_tests])
-AC_MSG_RESULT([])
-AC_MSG_RESULT([C FLAGS: $CFLAGS])
-AC_MSG_RESULT([C++ FLAGS: $CXXFLAGS])
-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 2378db2..0000000
--- a/doc/Makefile.am
+++ /dev/null
@@ -1,15 +0,0 @@
-EXTRA_DIST = reference.doxygen.in mainpage.dox
-
-if HAVE_DOXYGEN
-all: docs
-else
-all:
-endif
-
-reference.doxygen: @RAUL_SRCDIR@/doc/reference.doxygen.in
-
-distclean-local:
- rm -rf html
-
-docs: reference.doxygen @RAUL_SRCDIR@/raul/*.hpp
- doxygen reference.doxygen
diff --git a/raul/Makefile.am b/raul/Makefile.am
deleted file mode 100644
index 45adad8..0000000
--- a/raul/Makefile.am
+++ /dev/null
@@ -1,42 +0,0 @@
-raulincludedir = $(includedir)/raul
-
-raulinclude_HEADERS = \
- Array.hpp \
- Atom.hpp \
- AtomLiblo.hpp \
- AtomRDF.hpp \
- AtomicInt.hpp \
- AtomicPtr.hpp \
- Command.hpp \
- Deletable.hpp \
- DoubleBuffer.hpp \
- EventRingBuffer.hpp \
- JackDriver.hpp \
- List.hpp \
- ListImpl.hpp \
- MIDISink.hpp \
- Maid.hpp \
- Path.hpp \
- PathTable.hpp \
- Process.hpp \
- Quantizer.hpp \
- RingBuffer.hpp \
- SMFReader.hpp \
- SMFWriter.hpp \
- SRMWQueue.hpp \
- SRSWQueue.hpp \
- Semaphore.hpp \
- SharedPtr.hpp \
- Slave.hpp \
- Stateful.hpp \
- Symbol.hpp \
- Table.hpp \
- TableImpl.hpp \
- Thread.hpp \
- TimeSlice.hpp \
- TimeStamp.hpp \
- WeakPtr.hpp \
- lv2_event.h \
- midi_events.h \
- midi_names.h
-
diff --git a/src/Makefile.am b/src/Makefile.am
deleted file mode 100644
index 6f3d527..0000000
--- a/src/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-libraul_la_CXXFLAGS = @RAUL_CFLAGS@ @GLIBMM_CFLAGS@ @GTHREAD_CFLAGS@ @JACK_CFLAGS@
-libraul_la_LIBADD = @GLIBMM_LIBS@ @GTHREAD_LIBS@ @JACK_LIBS@
-libraul_la_LDFLAGS = -version-info @RAUL_SO_VERSION@
-
-lib_LTLIBRARIES = libraul.la
-
-libraul_la_SOURCES = \
- Maid.cpp \
- Path.cpp \
- SMFReader.cpp \
- SMFWriter.cpp \
- Symbol.cpp \
- Thread.cpp
-
-if WITH_JACK
-libraul_la_SOURCES += JackDriver.cpp
-endif
-
diff --git a/tests/Makefile.am b/tests/Makefile.am
deleted file mode 100644
index 2a9d5b4..0000000
--- a/tests/Makefile.am
+++ /dev/null
@@ -1,43 +0,0 @@
-if BUILD_UNIT_TESTS
-
-AM_CXXFLAGS = -I.. @GLIBMM_CFLAGS@ @GTHREAD_CFLAGS@ # -DTABLE_SORT_DEBUG
-ALL_LIBS = @GLIBMM_LIBS@ @GTHREAD_LIBS@ ../src/libraul.la
-
-noinst_PROGRAMS = \
- path_test \
- thread_test \
- queue_test \
- ringbuffer_test \
- midi_ringbuffer_test \
- atomic_test \
- list_test \
- time_test \
- quantize_test \
- smf_test \
- table_test
-
-thread_test_LDADD = $(ALL_LIBS)
-path_test_LDADD = $(ALL_LIBS)
-queue_test_LDADD = $(ALL_LIBS)
-ringbuffer_test_LDADD = $(ALL_LIBS)
-midi_ringbuffer_test_LDADD = $(ALL_LIBS)
-atomic_test_LDADD = $(ALL_LIBS)
-list_test_LDADD = $(ALL_LIBS)
-time_test_LDADD = $(ALL_LIBS)
-quantize_test_LDADD = $(ALL_LIBS)
-smf_test_LDADD = $(ALL_LIBS)
-table_test_LDADD = $(ALL_LIBS)
-
-path_test_SOURCES = path_test.cpp
-thread_test_SOURCES = thread_test.cpp
-queue_test_SOURCES = queue_test.cpp
-midi_ringbuffer_test_SOURCES = midi_ringbuffer_test.cpp
-ringbuffer_test_SOURCES = ringbuffer_test.cpp
-atomic_test_SOURCES = atomic_test.cpp
-list_test_SOURCES = list_test.cpp
-time_test_SOURCES = time_test.cpp
-quantize_test_SOURCES = quantize_test.cpp
-smf_test_SOURCES = smf_test.cpp
-table_test_SOURCES = table_test.cpp
-
-endif