1# This file is part of PulseAudio. 2# 3# PulseAudio is free software; you can redistribute it and/or modify 4# it under the terms of the GNU Lesser General Public License as published by 5# the Free Software Foundation; either version 2 of the License, or 6# (at your option) any later version. 7# 8# PulseAudio is distributed in the hope that it will be useful, but 9# WITHOUT ANY WARRANTY; without even the implied warranty of 10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 11# General Public License for more details. 12# 13# You should have received a copy of the GNU Lesser General Public License 14# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>. 15 16ACLOCAL_AMFLAGS = -I m4 17 18EXTRA_DIST = \ 19 bootstrap.sh \ 20 coverity/model.c \ 21 .gitlab-ci.yml \ 22 .gitlab/issue_templates/Bug.md \ 23 git-version-gen \ 24 LICENSE \ 25 pulseaudio.supp \ 26 GPL \ 27 LGPL \ 28 doxygen/Makefile.am \ 29 doxygen/Makefile.in \ 30 doxygen/doxygen.conf.in \ 31 PROTOCOL \ 32 README \ 33 CODE_OF_CONDUCT.md \ 34 scripts/benchmark_memory_usage.sh \ 35 scripts/plot_memory_usage.gp \ 36 scripts/benchmarks/README \ 37 todo \ 38 .gitignore \ 39 doxygen/.gitignore \ 40 m4/.gitignore \ 41 man/.gitignore \ 42 po/.gitignore \ 43 scripts/benchmarks/.gitignore \ 44 src/.gitignore \ 45 src/daemon/.gitignore \ 46 src/pulse/.gitignore \ 47 meson.build \ 48 meson_options.txt \ 49 doxygen/meson.build \ 50 man/meson.build \ 51 po/meson.build \ 52 shell-completion/bash/meson.build \ 53 shell-completion/zsh/meson.build \ 54 src/daemon/meson.build \ 55 src/meson.build \ 56 src/modules/alsa/meson.build \ 57 src/modules/alsa/mixer/meson.build \ 58 src/modules/bluetooth/meson.build \ 59 src/modules/echo-cancel/meson.build \ 60 src/modules/gsettings/meson.build \ 61 src/modules/gsettings/meson_post_install.py \ 62 src/modules/meson.build \ 63 src/modules/oss/meson.build \ 64 src/modules/raop/meson.build \ 65 src/modules/rtp/meson.build \ 66 src/pulsecore/meson.build \ 67 src/pulse/meson.build \ 68 src/tests/meson.build \ 69 src/tests/test-daemon.meson.sh \ 70 src/utils/meson.build \ 71 vala/meson.build 72 73SUBDIRS = src doxygen man po 74 75MAINTAINERCLEANFILES = 76noinst_DATA = 77 78vapidir = $(datadir)/vala/vapi 79dist_vapi_DATA = \ 80 vala/libpulse.deps vala/libpulse.vapi \ 81 vala/libpulse-mainloop-glib.deps vala/libpulse-mainloop-glib.vapi \ 82 vala/libpulse-simple.deps vala/libpulse-simple.vapi 83 84pkgconfigdir = $(libdir)/pkgconfig 85pkgconfig_DATA = libpulse.pc libpulse-simple.pc 86 87if HAVE_GLIB20 88pkgconfig_DATA += \ 89 libpulse-mainloop-glib.pc 90endif 91 92cmakedir = $(libdir)/cmake/PulseAudio 93cmake_DATA = PulseAudioConfig.cmake PulseAudioConfigVersion.cmake 94 95bashcompletiondir=@bashcompletiondir@ 96dist_bashcompletion_DATA = shell-completion/bash/pulseaudio 97 98install-bashcompletion-aliases: 99 cd $(DESTDIR)$(bashcompletiondir) && $(LN_S) -f pulseaudio pactl 100 cd $(DESTDIR)$(bashcompletiondir) && $(LN_S) -f pulseaudio pacmd 101 cd $(DESTDIR)$(bashcompletiondir) && $(LN_S) -f pulseaudio pasuspender 102 cd $(DESTDIR)$(bashcompletiondir) && $(LN_S) -f pulseaudio padsp 103 cd $(DESTDIR)$(bashcompletiondir) && $(LN_S) -f pulseaudio pacat 104 cd $(DESTDIR)$(bashcompletiondir) && $(LN_S) -f pulseaudio paplay 105 cd $(DESTDIR)$(bashcompletiondir) && $(LN_S) -f pulseaudio parec 106 cd $(DESTDIR)$(bashcompletiondir) && $(LN_S) -f pulseaudio parecord 107 108install-data-hook: install-bashcompletion-aliases 109 110zshcompletiondir=@zshcompletiondir@ 111dist_zshcompletion_DATA = shell-completion/zsh/_pulseaudio 112 113homepage: all dist doxygen 114 test -d $$HOME/homepage/private 115 mkdir -p $$HOME/homepage/private/projects/pulseaudio $$HOME/homepage/private/projects/pulseaudio/doxygen 116 cp pulseaudio-@PACKAGE_VERSION@.tar.gz $$HOME/homepage/private/projects/pulseaudio 117 cp pulseaudio-@PACKAGE_VERSION@.tar.gz $$HOME/git.fedora/pulseaudio 118 cp -a doxygen/html/* $$HOME/homepage/private/projects/pulseaudio/doxygen 119 120doxygen: 121 $(MAKE) -C doxygen doxygen 122 123eolspace: 124 find \( -name '*.c' -o -name '*.h' -o -name 'Makefile.am' \) -exec perl -i -pe 's/\s+\n$$/\1\n/;' \{\} \; 125 126untabify: 127 find \( -name '*.c' -o -name '*.h' \) -exec perl -i -pe 's/\t/ /g;' \{\} \; 128 129fedora-snapshot: dist 130 cp $(distdir).tar.gz $$HOME/git.fedora/pulseaudio/$(distdir).tar.gz 131 132dist-hook: 133 echo $(VERSION) > $(distdir)/.tarball-version 134 echo $(VERSION) > $(distdir)/.version 135 136check-daemon: 137 $(MAKE) -C src check-daemon 138 139check-daemon-long: 140 $(MAKE) -C src check-daemon-long 141 142.PHONY: homepage distcleancheck doxygen 143 144# see git-version-gen 145BUILT_SOURCES = $(top_srcdir)/.version 146$(top_srcdir)/.version: 147 echo $(VERSION) > $@-t && mv $@-t $@ 148 149DISTCHECK_CONFIGURE_FLAGS = --with-udev-rules-dir="$$dc_install_base/lib/udev/rules.d" --with-systemduserunitdir="$$dc_install_base/lib/systemd/user" --with-bash-completion-dir="$$dc_install_base/share/bash-completion/completions" 150