New files.
authormorioka <morioka>
Mon, 13 Apr 1998 13:08:14 +0000 (13:08 +0000)
committermorioka <morioka>
Mon, 13 Apr 1998 13:08:14 +0000 (13:08 +0000)
FLIM-CFG [new file with mode: 0644]
FLIM-ELS [new file with mode: 0644]
FLIM-MK [new file with mode: 0644]

diff --git a/FLIM-CFG b/FLIM-CFG
new file mode 100644 (file)
index 0000000..0e81588
--- /dev/null
+++ b/FLIM-CFG
@@ -0,0 +1,52 @@
+;;; -*-Emacs-Lisp-*-
+
+;; FLIM-CFG: installation setting about FLIM.
+
+;;; Code:
+
+(defvar default-load-path load-path)
+
+(add-to-list 'load-path
+            (expand-file-name "../../site-lisp/apel" data-directory))
+
+(if (boundp 'LISPDIR)
+    (progn
+      (add-to-list 'default-load-path LISPDIR)
+      (add-to-list 'load-path LISPDIR)
+      (add-to-list 'load-path (expand-file-name "apel" LISPDIR))
+      ))
+
+(require 'install)
+
+(add-path default-directory)
+
+(or (fboundp 'write-region-as-binary)
+    (error "Please install latest APEL 7.3 or later."))
+(or (fboundp 'insert-file-contents-as-binary)
+    (error "Please install latest APEL 7.3 or later."))
+
+
+;;; @ Please specify prefix of install directory.
+;;;
+
+;; Please specify install path prefix.
+;; If it is omitted, shared directory (maybe /usr/local is used).
+(defvar PREFIX install-prefix)
+;;(setq PREFIX "~/")
+
+;; Please specify prefix for ``FLIM'' [optional]
+(setq FLIM_PREFIX "flim")
+
+\f
+
+;;; @ optional settings
+;;;
+
+;; It is generated by automatically. Please set variable `PREFIX'.
+;; If you don't like default directory tree, please set it.
+(defvar LISPDIR (install-detect-elisp-directory PREFIX))
+;; (setq install-default-elisp-directory "~/lib/emacs/lisp")
+
+(setq FLIM_DIR (expand-file-name FLIM_PREFIX LISPDIR))
+
+;;; FLIM-CFG ends here
diff --git a/FLIM-ELS b/FLIM-ELS
new file mode 100644 (file)
index 0000000..d42f9b7
--- /dev/null
+++ b/FLIM-ELS
@@ -0,0 +1,15 @@
+;;; -*-Emacs-Lisp-*-
+;;;
+;;; $Id: FLIM-ELS,v 1.1 1998-04-13 13:08:14 morioka Exp $
+;;;
+
+(setq flim-modules '(std11 std11-parse
+                          mel mel-dl mel-b mel-q mel-u mel-g
+                          mime-def eword-decode eword-encode
+                          ))
+
+(if (fboundp 'dynamic-link)
+    (setq flim-modules (cons 'mel-dl flim-modules))
+  )
+
+;;; FLIM-ELS ends here
diff --git a/FLIM-MK b/FLIM-MK
new file mode 100644 (file)
index 0000000..b76594e
--- /dev/null
+++ b/FLIM-MK
@@ -0,0 +1,34 @@
+;;; -*-Emacs-Lisp-*-
+;;;
+;;; $Id: FLIM-MK,v 1.1 1998-04-13 13:08:14 morioka Exp $
+;;;
+
+(defun config-flim ()
+  (let (prefix lisp-dir)
+    (and (setq prefix (car command-line-args-left))
+        (or (string-equal "NONE" prefix)
+            (defvar PREFIX prefix)
+            ))
+    (setq command-line-args-left (cdr command-line-args-left))
+    (and (setq lisp-dir (car command-line-args-left))
+        (or (string-equal "NONE" lisp-dir)
+            (defvar LISPDIR lisp-dir)
+            ))
+    (setq command-line-args-left (cdr command-line-args-left))
+    (load-file "FLIM-CFG")
+    (load-file "FLIM-ELS")
+    (princ (format "PREFIX=%s
+LISPDIR=%s\n" PREFIX LISPDIR))
+    ))
+
+(defun compile-flim ()
+  (config-flim)
+  (compile-elisp-modules flim-modules ".")
+  )
+
+(defun install-flim ()
+  (config-flim)
+  (install-elisp-modules flim-modules "./" FLIM_DIR)
+  )
+
+;;; FLIM-MK ends here