Minor fix for flake8 complaint about comment whitespace
[jack_mixer.git] / Makefile.am
blob562cc1c693770863da48e1a6629ee485db6146b8
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 jack_mixerdir = $(pkgdatadir)
22 ACLOCAL_AMFLAGS = -I m4
23 AM_CFLAGS = $(JACKMIXER_CFLAGS) -D_GNU_SOURCE -Wall -fno-strict-aliasing
24 if DEV_VERSION
25 AM_CFLAGS +=  -Werror
26 endif
29 jack_mixer_c_la_LDFLAGS = -module -avoid-version
31 jack_mixer_c_la_LIBADD = $(JACKMIXER_LIBS)
33 jack_mixer_c_la_SOURCES = \
34         jack_mixer.c jack_mixer.h list.h log.h log.c scale.c scale.h jack_compat.h \
35         jack_mixer_c.c
37 EXTRA_DIST = COPYING NEWS
39 bin_PROGRAMS = jack_mix_box
42 jack_mix_box_SOURCES = jack_mix_box.c jack_mixer.c scale.c log.c
44 jack_mix_box_CFLAGS = $(JACKMIXER_CFLAGS)
46 jack_mix_box_LDADD = $(JACKMIXER_LIBS) -lm
51 if ENABLE_GUI
53 SUBDIRS = data
55 AM_CPPFLAGS = $(PYTHON_INCLUDES)
57 pkgpyexec_LTLIBRARIES = jack_mixer_c.la
59 dist_jack_mixer_DATA = \
60         abspeak.py \
61         channel.py \
62         gui.py \
63         meter.py \
64         nsmclient.py \
65         preferences.py \
66         scale.py \
67         serialization.py \
68         serialization_xml.py \
69         slider.py \
70         styling.py \
71         version.py
73 CLEANFILES = *.pyc
74 EXTRA_DIST += test.py jack_mixer.py
76 bin_SCRIPTS = $(srcdir)/jack_mixer.py
79 jack_mixer_c.so: jack_mixer_c.la
80         ln -nfs .libs/jack_mixer_c.so
82 test: _jack_mixer_c.so
83         @./test.py
85 install-exec-hook:
86         ln -vfs jack_mixer.py $(DESTDIR)$(bindir)/jack_mixer
88 pacoinstall:
89         test `whoami` == root # test for root
90         -paco -rvB jack_mixer
91         -paco -lE `pwd` -E /etc -p jack_mixer-`svnversion` "make install"
92         -paco -i jack_mixer
94 endif