This commit adds libiir++, a C++ wrapper library which provides a true object-oriented interface. The library has two primary objects, Coeff (coefficient set) and Filter (filter instance) which are implemented internally using the C objects. The C++ implementation does produce additional copies of various bits of information at setup time in order to better support querying the structure of the filter at runtime. This is intended to be useful for a future Python extension that will provide a filter experimentation lab.
37 lines
1.7 KiB
Bash
37 lines
1.7 KiB
Bash
# libiir/config
|
|
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
|
|
# vim: syntax=sh:expandtab:ts=4:sw=4
|
|
#
|
|
# Copyright: ©2010, Laurence Withers.
|
|
# Author: Laurence Withers <l@lwithers.me.uk>
|
|
# License: GPLv3
|
|
#
|
|
# This file contains options used to build libiir.
|
|
|
|
|
|
# PREFIX is the most important option. Many other paths are derived from it, as follows:
|
|
#
|
|
# PREFIX | / | /usr | /usr/local | /opt/*
|
|
# ------------+-------------------+-------------------+-------------------+-----------------
|
|
# BINDIR | /bin | /usr/bin | /usr/local/bin | /opt/*/bin
|
|
# SBINDIR | /sbin | /usr/sbin | /usr/local/sbin | /opt/*/sbin
|
|
# LIBDIR | /lib | /usr/lib | /usr/local/lib | /opt/*/lib
|
|
# INCLUDEDIR | /usr/include | /usr/include | /usr/local/include| /opt/*/include
|
|
# CONFIGDIR | /etc | /etc | /usr/local/etc | /etc/opt/*
|
|
# VARDIR | /var | /var | /var | /var/opt/*
|
|
# SHAREDIR | /usr/share | /usr/share | /usr/local/share | /opt/*/share
|
|
# DOCSDIR | /usr/share/doc | /usr/share/doc | /usr/local/share/doc, /opt/*/doc
|
|
# WEBDIR | /srv/http | /srv/http | /srv/http | /opt/*/http
|
|
#
|
|
# Specific notes:
|
|
# When installing, all paths are prepended with INSTALL_PREFIX.
|
|
# Any parameter can be overridden by setting an environment variable.
|
|
# CGIDIR is set to ${WEBDIR}/cgi-bin .
|
|
#
|
|
[ -z "${PREFIX}" ] && PREFIX="/usr/local"
|
|
source "scripts/paths"
|
|
|
|
# Project-specific variables below.
|
|
[ -z "${CC}" ] && CC="gcc"
|
|
[ -z "${CXX}" ] && CXX="g++"
|
|
[ -z "${CFLAGS}" ] && CFLAGS="-g -O2 -W -Wall"
|