Makefile.am 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. ## Process this file with Automake to create Makefile.in
  2. ##
  3. ## Copyright (C) 2001, 2006, 2008, 2009, 2010 Free Software Foundation, Inc.
  4. ##
  5. ## This file is part of GUILE.
  6. ##
  7. ## GUILE is free software; you can redistribute it and/or modify it
  8. ## under the terms of the GNU Lesser General Public License as
  9. ## published by the Free Software Foundation; either version 3, or
  10. ## (at your option) any later version.
  11. ##
  12. ## GUILE is distributed in the hope that it will be useful, but
  13. ## WITHOUT ANY WARRANTY; without even the implied warranty of
  14. ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. ## GNU Lesser General Public License for more details.
  16. ##
  17. ## You should have received a copy of the GNU Lesser General Public
  18. ## License along with GUILE; see the file COPYING.LESSER. If not,
  19. ## write to the Free Software Foundation, Inc., 51 Franklin Street,
  20. ## Fifth Floor, Boston, MA 02110-1301 USA
  21. EXTRA_DIST = README ChangeLog-2008 check.test \
  22. \
  23. scripts/README scripts/simple-hello.scm scripts/hello \
  24. scripts/fact \
  25. \
  26. box/README box/box.c \
  27. \
  28. box-module/README box-module/box.c \
  29. \
  30. box-dynamic/README box-dynamic/box.c \
  31. \
  32. box-dynamic-module/README box-dynamic-module/box.c \
  33. box-dynamic-module/box-module.scm box-dynamic-module/box-mixed.scm \
  34. \
  35. modules/README modules/module-0.scm modules/module-1.scm \
  36. modules/module-2.scm modules/main \
  37. \
  38. safe/README safe/safe safe/untrusted.scm safe/evil.scm \
  39. \
  40. web/hello.scm web/debug-sxml.scm
  41. AM_CFLAGS = `PATH=$(bindir)$(PATH_SEPARATOR)$$PATH PKG_CONFIG_PATH=$(libdir)/pkgconfig $(bindir)/guile-config compile`
  42. AM_LIBS = `PATH=$(bindir)$(PATH_SEPARATOR)$$PATH PKG_CONFIG_PATH=$(libdir)/pkgconfig $(bindir)/guile-config link`
  43. box/box: box/box.o
  44. -$(MKDIR_P) box
  45. $(CC) $< $(AM_LIBS) -o $@
  46. box/box.o: box/box.c
  47. -$(MKDIR_P) box
  48. $(CC) $(AM_CFLAGS) -c $< -o $@
  49. box-module/box: box-module/box.o
  50. -$(MKDIR_P) box-module
  51. $(CC) $< $(AM_LIBS) -o $@
  52. box-module/box.o: box-module/box.c
  53. -$(MKDIR_P) box-module
  54. $(CC) $(AM_CFLAGS) -c $< -o $@
  55. libbox.la: box-dynamic/box.lo
  56. $(top_builddir)/libtool --mode=link $(CC) $< $(AM_LIBS) -rpath $(libdir) -o $@
  57. box-dynamic/box.lo: box-dynamic/box.c
  58. -$(MKDIR_P) box-dynamic
  59. $(top_builddir)/libtool --mode=compile $(CC) $(AM_CFLAGS) -c $< -o $@
  60. libbox-module.la: box-dynamic-module/box.lo
  61. $(top_builddir)/libtool --mode=link $(CC) $< $(AM_LIBS) -rpath $(libdir) -o $@
  62. box-dynamic-module/box.lo: box-dynamic-module/box.c
  63. -$(MKDIR_P) box-dynamic-module
  64. $(top_builddir)/libtool --mode=compile $(CC) $(AM_CFLAGS) -c $< -o $@
  65. installcheck: box/box box-module/box libbox.la libbox-module.la
  66. LD_LIBRARY_PATH="$(libdir)$(PATH_SEPARATOR)$$LD_LIBRARY_PATH" \
  67. LTDL_LIBRARY_PATH="$(builddir)$(PATH_SEPARATOR)$$LTDL_LIBRARY_PATH" \
  68. GUILE_LOAD_PATH="$(abs_top_srcdir)$(PATH_SEPARATOR)$$GUILE_LOAD_PATH" \
  69. PATH="$(bindir)$(PATH_SEPARATOR)$$PATH" \
  70. GUILE_AUTO_COMPILE=0 \
  71. srcdir="$(srcdir)" \
  72. $(srcdir)/check.test
  73. CLEANFILES = \
  74. box/box box/box.o \
  75. box-module/box box-module/box.o
  76. clean-local:
  77. $(top_builddir)/libtool --mode=clean rm -f \
  78. box-dynamic/box.lo libbox.la \
  79. box-dynamic-module/box.lo libbox-module.la