Initial Commit
[packages] / xemacs-packages / ede / ede-proj-scheme.el
1 ;;; ede-proj-scheme.el --- EDE Generic Project scheme (guile) support
2
3 ;;;  Copyright (C) 1998, 1999, 2000  Eric M. Ludlam
4
5 ;; Author: Eric M. Ludlam <zappo@gnu.org>
6 ;; Keywords: project, make, scheme
7 ;; RCS: $Id: ede-proj-scheme.el,v 1.1 2007-11-26 15:22:09 michaels Exp $
8
9 ;; This software is free software; you can redistribute it and/or modify
10 ;; it under the terms of the GNU General Public License as published by
11 ;; the Free Software Foundation; either version 2, or (at your option)
12 ;; any later version.
13
14 ;; This software is distributed in the hope that it will be useful,
15 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 ;; GNU General Public License for more details.
18
19 ;; You should have received a copy of the GNU General Public License
20 ;; along with GNU Emacs; see the file COPYING.  If not, write to the
21 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 ;; Boston, MA 02110-1301, USA.
23
24 ;;; Commentary:
25 ;;
26 ;; Handle scheme (Guile) in and EDE Project file.
27 ;; This is a specialized do nothing class.
28
29 (require 'ede-proj)
30 (require 'autoconf-edit)
31
32 ;;; Code:
33 (defclass ede-proj-target-scheme (ede-proj-target)
34   ((menu :initform nil)
35    (keybindings :initform nil)
36    (interpreter :initarg :interpreter
37                 :initform "guile"
38                 :type string
39                 :custom string
40                 :documentation "The preferred interpreter for this code.")
41    )
42   "This target consists of scheme files.")
43
44 (defmethod ede-proj-tweak-autoconf ((this ede-proj-target-scheme))
45   "Tweak the configure file (current buffer) to accomodate THIS."
46   (autoconf-insert-new-macro "AM_INIT_GUILE_MODULE"))
47
48 (provide 'ede-proj-scheme)
49
50 ;;; ede-proj-scheme.el ends here