X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=umlisp.asd;h=a9e7cb291a6b03d6aa5e0ad6e02bac95e8c6948a;hb=28aeae6f894ac1e2b4ded59af9371b373e38a701;hp=db42aed0eeb920764dc07d123d35cdd237e4fd5f;hpb=188873f068b0c53febe4ee0ededbc755fce4869d;p=umlisp.git diff --git a/umlisp.asd b/umlisp.asd index db42aed..a9e7cb2 100644 --- a/umlisp.asd +++ b/umlisp.asd @@ -7,10 +7,8 @@ ;;;; Author: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id$ -;;;; ;;;; This file, part of UMLisp, is -;;;; Copyright (c) 2000-2004 by Kevin M. Rosenberg, M.D. +;;;; Copyright (c) 2000-2006 by Kevin M. Rosenberg, M.D. ;;;; ;;;; UMLisp users are granted the rights to distribute and use this software ;;;; as governed by the terms of the GNU General Public License. @@ -19,9 +17,8 @@ (defpackage #:umlisp-system (:use #:asdf #:cl)) (in-package #:umlisp-system) -#+(or allegro lispworks cmu sbcl openmcl scl) (defsystem umlisp - :components + :components ((:file "package") (:file "data-structures" :depends-on ("package")) (:file "utils" :depends-on ("data-structures")) @@ -34,9 +31,20 @@ (:file "classes" :depends-on ("sql-classes")) (:file "class-support" :depends-on ("classes")) (:file "composite" :depends-on ("sql-classes"))) - :depends-on (clsql clsql-postgresql-socket kmrcl hyperobject)) + :depends-on (clsql clsql-mysql kmrcl hyperobject)) -#+(or allegro lispworks cmu sbcl openmcl scl) (defmethod perform ((o test-op) (c (eql (find-system 'umlisp)))) (operate 'load-op 'umlisp-tests) (operate 'test-op 'umlisp-tests :force t)) + +(defmethod perform :after ((o load-op) (c (eql (find-system 'umlisp)))) + (let ((init-file (or (probe-file + (merge-pathnames + (make-pathname :name ".umlisprc") + (user-homedir-pathname))) + #+(or mswin windows win32) + (probe-file "c:\\etc\\umlisp-init.lisp")))) + (when init-file + (format t "loading umlisp init file ~A~%" init-file) + (load init-file)))) +