r2246: *** 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.15 2002/07/26 03:18:27 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 :make)
21
22 ;; For use with non-Debian installations
23 (let ((helper-pathname (make-pathname :name "set-cl-library" :type "cl"
24                                       :defaults *load-truename*)))
25   (when (probe-file helper-pathname)
26       (load helper-pathname)))
27
28 ;;; UFFI system definition
29
30 (make:defsystem :uffi
31     :source-pathname #-mcl "cl-library:uffi;"
32                      #+mcl "cl-library:uffi;mcl;"
33     :source-extension "cl"
34     :components 
35     ((:file "package")
36      (:file "primitives" :depends-on ("package"))
37      (:file "strings" :depends-on ("primitives"))
38      (:file "objects" :depends-on ("primitives"))
39      (:file "aggregates" :depends-on ("primitives"))
40      (:file "functions" :depends-on ("primitives"))
41      (:file "libraries" :depends-on ("package")))
42     :finally-do
43     (pushnew :uffi cl:*features*))
44