proj-scheme.el 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. ;;; ede/proj-scheme.el --- EDE Generic Project scheme (guile) support
  2. ;; Copyright (C) 1998-2000, 2009-2012 Free Software Foundation, Inc.
  3. ;; Author: Eric M. Ludlam <zappo@gnu.org>
  4. ;; Keywords: project, make, scheme
  5. ;; This file is part of GNU Emacs.
  6. ;; GNU Emacs is free software: you can redistribute it and/or modify
  7. ;; it under the terms of the GNU General Public License as published by
  8. ;; the Free Software Foundation, either version 3 of the License, or
  9. ;; (at your option) any later version.
  10. ;; GNU Emacs is distributed in the hope that it will be useful,
  11. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. ;; GNU General Public License for more details.
  14. ;; You should have received a copy of the GNU General Public License
  15. ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
  16. ;;; Commentary:
  17. ;;
  18. ;; Handle scheme (Guile) in and EDE Project file.
  19. ;; This is a specialized do nothing class.
  20. (require 'ede/proj)
  21. (require 'ede/autoconf-edit)
  22. ;;; Code:
  23. (defclass ede-proj-target-scheme (ede-proj-target)
  24. ((menu :initform nil)
  25. (keybindings :initform nil)
  26. (interpreter :initarg :interpreter
  27. :initform "guile"
  28. :type string
  29. :custom string
  30. :documentation "The preferred interpreter for this code.")
  31. )
  32. "This target consists of scheme files.")
  33. (defmethod ede-proj-tweak-autoconf ((this ede-proj-target-scheme))
  34. "Tweak the configure file (current buffer) to accommodate THIS."
  35. (autoconf-insert-new-macro "AM_INIT_GUILE_MODULE"))
  36. (provide 'ede/proj-scheme)
  37. ;;; ede/proj-scheme.el ends here