X-Git-Url: https://code.delx.au/pulseaudio/blobdiff_plain/0c99fb31826fba0ed4f904d04dd56f1df3663a3e..fa499dad06ba6558111cdef64c18f2401e803cff:/Makefile.am diff --git a/Makefile.am b/Makefile.am index c8592f86..04c8f2cf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,7 +3,7 @@ # This file is part of polypaudio. # # polypaudio is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by +# it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # @@ -12,19 +12,29 @@ # 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 +# You should have received a copy of the GNU Lesser General Public License # along with polypaudio; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. -EXTRA_DIST = bootstrap.sh README LICENSE GPL LGPL doxygen/Makefile.am doxygen/Makefile.in doxygen/doxygen.conf.in +EXTRA_DIST = bootstrap.sh README LICENSE doxygen/Makefile.am doxygen/Makefile.in doxygen/doxygen.conf.in SUBDIRS=polyp doc MAINTAINERCLEANFILES=README noinst_DATA = README pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = polyplib.pc polyplib-simple.pc polyplib-error.pc polyplib-mainloop.pc polyplib-glib-mainloop.pc polyplib-glib12-mainloop.pc +pkgconfig_DATA = polyplib.pc polyplib-simple.pc polyplib-error.pc polyplib-mainloop.pc + +if HAVE_GLIB20 +pkgconfig_DATA += \ + polyplib-glib-mainloop.pc +endif + +if HAVE_GLIB12 +pkgconfig_DATA += \ + polyplib-glib12-mainloop.pc +endif README: rm -f README