From e9b4524fd90a96d74a0ab0b352b61e59c348a768 Mon Sep 17 00:00:00 2001 From: tmorioka Date: Fri, 28 Feb 1997 04:08:12 +0000 Subject: [PATCH] *** empty log message *** --- SEMI-MK | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 SEMI-MK diff --git a/SEMI-MK b/SEMI-MK new file mode 100644 index 0000000..09bfcf9 --- /dev/null +++ b/SEMI-MK @@ -0,0 +1,58 @@ +;;; -*-Emacs-Lisp-*- +;;; +;;; $Id: SEMI-MK,v 0.0 1997-02-28 04:08:12 tmorioka Exp $ +;;; + +(defun config-semi () + (let (prefix exec-prefix) + (setq prefix (car command-line-args-left)) + (and prefix + (not (string-equal "NONE" prefix)) + (progn + (defvar PREFIX prefix) + (setq command-line-args-left (cdr command-line-args-left)) + ) + (setq exec-prefix (car command-line-args-left)) + (progn + (defvar EXEC_PREFIX exec-prefix) + ;;(setq command-line-args-left (cdr command-line-args-left)) + ))) + (load-file "SEMI-CFG") + (load-file "../bitmap-mule/BITMAP-ELS") + (load-file "../mu/MU-ELS") + (load-file "../mel/MEL-ELS") + (load-file "SEMI-ELS") + (princ (format "PREFIX=%s\tEXEC_PREFIX=%s\n" PREFIX EXEC_PREFIX)) + ) + +(defun directory= (dir1 dir2) + (string= (file-name-as-directory dir1)(file-name-as-directory dir2)) + ) + +(defun compile-semi () + (config-semi) + (print load-path) + (compile-elisp-modules bitmap-modules "../bitmap-mule") + (compile-elisp-modules mu-modules-to-compile "../mu") + (compile-elisp-modules mel-modules "../mel") + (compile-elisp-modules semi-modules-to-compile ".") + (compile-elisp-module 'mime-setup ".") + ) + +(defun install-semi () + (config-semi) + (princ (format "%s\n" emacs-version)) + (install-elisp-modules bitmap-modules "../bitmap-mule" BITMAP_DIR) + (install-elisp-modules mu-modules "../mu" MU_DIR) + (install-elisp-modules mel-modules "../mel" MEL_DIR) + (install-elisp-modules semi-modules "." SEMI_KERNEL_DIR) + (install-elisp-modules '(mime-setup) "." SETUP_FILE_DIR) + ) + +(defun install-execs () + (config-semi) + (install-files BINS BIN_SRC_DIR BIN_DIR) + (install-files METHODS METHOD_SRC_DIR METHOD_DIR nil t) + ) + +;;; SEMI-MK ends here -- 1.7.10.4