]> git.0d.be Git - jack_mixer.git/blob - Makefile.am
Remove now unnecessary call to gtk.gdk.threads_init()
[jack_mixer.git] / Makefile.am
1 #
2 # This file is part of jack_mixer
3 #
4 # Copyright (C) 2007 Nedko Arnaudov <nedko@arnaudov.name>
5 #
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
9 #
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.
14 #
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.
18 #
19
20 AM_CFLAGS = $(JACKMIXER_CFLAGS) -D_GNU_SOURCE -Wall -fno-strict-aliasing
21 if DEV_VERSION
22 AM_CFLAGS +=  -Werror
23 endif
24
25 SUBDIRS = data
26
27 INCLUDES = $(PYTHON_INCLUDES)
28
29 jack_mixerdir = $(pkgdatadir)
30 pkgpyexecdir = $(pythondir)
31 pkgpyexec_LTLIBRARIES = jack_mixer_c.la
32
33 jack_mixer_c_la_LDFLAGS = -module -avoid-version
34
35 jack_mixer_c_la_LIBADD = $(JACKMIXER_LIBS)
36
37 jack_mixer_c_la_SOURCES = \
38         jack_mixer.c jack_mixer.h list.h memory_atomic.c memory_atomic.h log.h log.c scale.c jack_compat.h \
39         jack_mixer_c.c
40
41 dist_jack_mixer_DATA = abspeak.py channel.py gui.py meter.py scale.py serialization.py serialization_xml.py slider.py preferences.py
42
43 CLEANFILES = *.pyc
44 EXTRA_DIST = test.py COPYING jack_mixer.schemas jack_mixer.py NEWS
45
46 bin_SCRIPTS = $(srcdir)/jack_mixer.py
47
48 jack_mixer_c.so: jack_mixer_c.la
49         ln -nfs .libs/jack_mixer_c.so
50
51 test: _jack_mixer_c.so
52         @./test.py
53
54 schemadir = @GCONF_SCHEMA_FILE_DIR@
55 schema_DATA = jack_mixer.schemas
56
57 install-exec-hook:
58         ln -vfs jack_mixer.py $(DESTDIR)$(bindir)/jack_mixer
59
60 if GCONF_SCHEMAS_INSTALL
61 install-data-hook:
62         GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA)
63
64 uninstall-hook:
65         GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-uninstall-rule $(srcdir)/$(schema_DATA)
66         rm -vf $(DESTDIR)$(bindir)/jack_mixer
67 endif
68
69 pacoinstall:
70         test `whoami` == root # test for root
71         -paco -rvB jack_mixer
72         -paco -lE `pwd` -E /etc -p jack_mixer-`svnversion` "make install"
73         -paco -i jack_mixer
74
75