r1829: *** empty log message ***
[uffi.git] / uffi.system
1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
4 ;;;;
5 ;;;; Name:          uffi.system
6 ;;;; Purpose:       Defsystem-3/4 system definition file for UFFI package
7 ;;;; Programmer:    Kevin M. Rosenberg
8 ;;;; Date Started:  Feb 2002
9 ;;;;
10 ;;;; $Id: uffi.system,v 1.14 2002/04/09 20:06:18 kevin Exp $
11 ;;;;
12 ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
13 ;;;;
14 ;;;; UFFI users are granted the rights to distribute and use this software
15 ;;;; as governed by the terms of the Lisp Lesser GNU Public License
16 ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
17 ;;;; *************************************************************************
18
19 (declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))
20 (in-package :cl-user)
21
22 (load (make-pathname :name "set-logical" :type "cl"
23                      :defaults *load-truename*))
24
25 (set-logical-host-for-pathname "UFFI" *load-truename*)
26 (set-logical-host-for-pathname "UFFI-SRC" 
27                                (merge-pathnames
28                                 (make-pathname
29                                  :directory
30                                  #+(or cmu allegro lispworks)
31                                  '(:relative "src")
32                                  #+mcl
33                                  '(:relative "src" "mcl")
34                                  #+cormanlisp
35                                  '(:relative "src" "corman")
36                                  )
37                                 *load-truename*))
38
39 ;;; UFFI system definition
40
41 (mk:defsystem :uffi
42     :source-pathname "UFFI-SRC:"
43     :source-extension "cl"
44     :binary-pathname "UFFI-SRC:bin;"
45     :components 
46     ((:file "package")
47      (:file "primitives" :depends-on ("package"))
48      (:file "strings" :depends-on ("primitives"))
49      (:file "objects" :depends-on ("primitives"))
50      (:file "aggregates" :depends-on ("primitives"))
51      (:file "functions" :depends-on ("primitives"))
52      (:file "libraries" :depends-on ("package")))
53     :finally-do
54     (pushnew :uffi cl:*features*))
55