Move channel buffers from stack to structs so theyt can be reused when mixing with...
[jack_mixer.git] / Makefile.am
blob2e2030b0d41382e153c113feb836a6ee1e3f2081
2 # This file is part of jack_mixer
4 # Copyright (C) 2007 Nedko Arnaudov <nedko@arnaudov.name>
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; version 2 of the License
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 AM_CFLAGS = @JACK_CFLAGS@ -D_GNU_SOURCE -Wall -Werror -fno-strict-aliasing
21 INCLUDES = $(PYTHON_INCLUDES)
23 jack_mixerdir = $(pkgdatadir)
24 pkgpyexecdir = $(pythondir)
25 pkgpyexec_LTLIBRARIES = _jack_mixer_c.la
27 _jack_mixer_c_la_LDFLAGS = -module -avoid-version
29 _jack_mixer_c_la_LIBADD = @JACK_LIBS@
31 dist_jack_mixer_DATA = abspeak.py channel.py gui.py meter.py scale.py serialization.py serialization_xml.py slider.py jack_mixer.glade
33 jack_mixer_c.py jack_mixer_wrap.c: $(top_srcdir)/jack_mixer.h
34         swig -o jack_mixer_wrap.c -I$(top_srcdir) -python $(top_srcdir)/jack_mixer.h
36 pkgpyexec_SCRIPTS = jack_mixer_c.py
38 CLEANFILES = jack_mixer_c.py jack_mixer_wrap.c *.pyc
39 EXTRA_DIST = test.py gpl.txt jack_mixer.schemas jack_mixer.py jack_mixer_c.py
41 _jack_mixer_c_la_SOURCES = jack_mixer.c jack_mixer.h list.h jack_mixer_wrap.c memory_atomic.c memory_atomic.h log.h log.c
43 bin_SCRIPTS = $(srcdir)/jack_mixer.py
45 _jack_mixer_c.so: _jack_mixer_c.la
46         ln -nfs .libs/_jack_mixer_c.so
48 test: _jack_mixer_c.so
49         @./test.py
51 schemadir = @GCONF_SCHEMA_FILE_DIR@
52 schema_DATA = jack_mixer.schemas
54 install-exec-hook:
55         ln -vfs jack_mixer.py $(DESTDIR)$(bindir)/jack_mixer
57 if GCONF_SCHEMAS_INSTALL
58 install-data-hook:
59         GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA)
61 uninstall-hook:
62         GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-uninstall-rule $(srcdir)/$(schema_DATA)
63         rm -vf $(DESTDIR)$(bindir)/jack_mixer
64 endif