File: umlisp.asd

package info (click to toggle)
cl-umlisp 1%3A2007ac.2-6
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm, bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 296 kB
  • ctags: 418
  • sloc: lisp: 3,593; makefile: 55
file content (52 lines) | stat: -rw-r--r-- 2,046 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10; Package: umlisp -*-
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name:          umlisp.asd
;;;; Purpose:       ASDF system definition file for UMLisp
;;;; Author:        Kevin M. Rosenberg
;;;; Date Started:  Apr 2000
;;;;
;;;; $Id$
;;;;
;;;; This file, part of UMLisp, is
;;;;    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.
;;;; *************************************************************************

(defpackage #:umlisp-system (:use #:asdf #:cl))
(in-package #:umlisp-system)

(defsystem umlisp
    :components
  ((:file "package")
   (:file "data-structures" :depends-on ("package"))
   (:file "utils" :depends-on ("data-structures"))
   (:file "sql" :depends-on ("utils"))
   (:file "parse-macros"  :depends-on ("sql"))
   (:file "parse-rrf"  :depends-on ("parse-macros"))
   (:file "parse-common"  :depends-on ("parse-rrf"))
   (:file "create-sql" :depends-on ("parse-common"))
   (:file "sql-classes" :depends-on ("sql"))
   (:file "classes" :depends-on ("sql-classes"))
   (:file "class-support" :depends-on ("classes"))
   (:file "composite" :depends-on ("sql-classes")))
  :depends-on (clsql clsql-mysql kmrcl hyperobject))

(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))))