Makefile.am 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. ## Process this file with Automake to create Makefile.in
  2. ## Jim Blandy <jimb@red-bean.com> --- September 1997
  3. ##
  4. ## Copyright (C) 1998, 1999, 2001, 2006, 2007, 2008, 2009, 2011 Free Software Foundation, Inc.
  5. ##
  6. ## This file is part of GUILE.
  7. ##
  8. ## GUILE is free software; you can redistribute it and/or modify it
  9. ## under the terms of the GNU Lesser General Public License as
  10. ## published by the Free Software Foundation; either version 3, or
  11. ## (at your option) any later version.
  12. ##
  13. ## GUILE is distributed in the hope that it will be useful, but
  14. ## WITHOUT ANY WARRANTY; without even the implied warranty of
  15. ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. ## GNU Lesser General Public License for more details.
  17. ##
  18. ## You should have received a copy of the GNU Lesser General Public
  19. ## License along with GUILE; see the file COPYING.LESSER. If not,
  20. ## write to the Free Software Foundation, Inc., 51 Franklin Street,
  21. ## Fifth Floor, Boston, MA 02110-1301 USA
  22. bin_SCRIPTS = guile-config guile-tools
  23. EXTRA_DIST= \
  24. guile.m4 ChangeLog-2008 \
  25. guile-2.2.pc.in guile-2.2-uninstalled.pc.in \
  26. guile-tools.in guile-config.in
  27. pkgconfigdir = $(libdir)/pkgconfig
  28. pkgconfig_DATA = guile-2.2.pc
  29. ## FIXME: in the future there will be direct automake support for
  30. ## doing this. When that happens, switch over.
  31. aclocaldir = $(datadir)/aclocal
  32. aclocal_DATA = guile.m4
  33. guile-config: $(srcdir)/guile-config.in $(top_builddir)/config.status
  34. guile="@bindir@/`echo guile | $(SED) -e '$(program_transform_name)'`" ; \
  35. cat $(srcdir)/guile-config.in \
  36. | $(SED) -e "s,@pkgconfigdir@,$(pkgconfigdir),g ; \
  37. s,@""PKG_CONFIG@,$(PKG_CONFIG),g ; \
  38. s,@installed_guile@,$$guile,g" \
  39. > guile-config.out
  40. mv guile-config.out guile-config
  41. chmod +x guile-config
  42. CLEANFILES = guile-config