1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
#
# This file is part of jack_mixer
#
# Copyright (C) 2007 Nedko Arnaudov <nedko@arnaudov.name>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
AM_CFLAGS = $(JACKMIXER_CFLAGS) -D_GNU_SOURCE -Wall -fno-strict-aliasing
if DEV_VERSION
AM_CFLAGS += -Werror
endif
SUBDIRS = data
INCLUDES = $(PYTHON_INCLUDES)
jack_mixerdir = $(pkgdatadir)
pkgpyexecdir = $(pythondir)
pkgpyexec_LTLIBRARIES = jack_mixer_c.la
jack_mixer_c_la_LDFLAGS = -module -avoid-version
jack_mixer_c_la_LIBADD = $(JACKMIXER_LIBS)
jack_mixer_c_la_SOURCES = \
jack_mixer.c jack_mixer.h list.h memory_atomic.c memory_atomic.h log.h log.c scale.c jack_compat.h \
jack_mixer_c.c
dist_jack_mixer_DATA = abspeak.py channel.py gui.py meter.py scale.py serialization.py serialization_xml.py slider.py preferences.py
CLEANFILES = *.pyc
EXTRA_DIST = test.py COPYING jack_mixer.schemas jack_mixer.py NEWS
bin_SCRIPTS = $(srcdir)/jack_mixer.py
jack_mixer_c.so: jack_mixer_c.la
ln -nfs .libs/jack_mixer_c.so
test: _jack_mixer_c.so
@./test.py
schemadir = @GCONF_SCHEMA_FILE_DIR@
schema_DATA = jack_mixer.schemas
install-exec-hook:
ln -vfs jack_mixer.py $(DESTDIR)$(bindir)/jack_mixer
if GCONF_SCHEMAS_INSTALL
install-data-hook:
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA)
uninstall-hook:
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-uninstall-rule $(srcdir)/$(schema_DATA)
rm -vf $(DESTDIR)$(bindir)/jack_mixer
endif
pacoinstall:
test `whoami` == root # test for root
-paco -rvB jack_mixer
-paco -lE `pwd` -E /etc -p jack_mixer-`svnversion` "make install"
-paco -i jack_mixer
|