r2294: Autocommit for make-debian
[uffi.git] / uffi.asd
1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
4 ;;;;
5 ;;;; Name:          uffi.asd
6 ;;;; Purpose:       ASDF system definition file for UFFI package
7 ;;;; Programmer:    Kevin M. Rosenberg
8 ;;;; Date Started:  Aug 2002
9 ;;;;
10 ;;;; $Id: uffi.asd,v 1.1 2002/08/18 00:51:54 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 ;; 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 (in-package :asdf)
29
30 (defclass uffi-cl-source-file (cl-source-file) ())
31 (defmethod source-file-type ((c uffi-cl-source-file) (s module)) 
32   "cl")
33
34 (defsystem uffi
35     :default-component-class uffi-cl-source-file
36     :pathname #-mcl "cl-library:uffi;"
37               #+mcl "cl-library:uffi;mcl;"
38     :perform (load-op :after (op uffi)
39                       (pushnew :uffi cl:*features*))
40     :components 
41     ((:file "package")
42      (:file "primitives" :depends-on ("package"))
43      (:file "strings" :depends-on ("primitives"))
44      (:file "objects" :depends-on ("primitives"))
45      (:file "aggregates" :depends-on ("primitives"))
46      (:file "functions" :depends-on ("primitives"))
47      (:file "libraries" :depends-on ("package")))
48 )
49