dh_installdirs -p $(debpkg) $(doc-dir) $(clc-uffi)/mcl
# Add here commands to install the package into debian/uffi.
- dh_install "uffi.system" $(clc-systems)
+ dh_install uffi.system uffi.asd $(clc-systems)
dh_install "uffi/*.cl" $(clc-uffi)
dh_install "uffi/mcl/*.cl" $(clc-uffi)/mcl
--- /dev/null
+;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
+;;;; *************************************************************************
+;;;; FILE IDENTIFICATION
+;;;;
+;;;; Name: uffi.asd
+;;;; Purpose: ASDF system definition file for UFFI package
+;;;; Programmer: Kevin M. Rosenberg
+;;;; Date Started: Aug 2002
+;;;;
+;;;; $Id: uffi.asd,v 1.1 2002/08/18 00:51:54 kevin Exp $
+;;;;
+;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
+;;;;
+;;;; UFFI users are granted the rights to distribute and use this software
+;;;; as governed by the terms of the Lisp Lesser GNU Public License
+;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
+;;;; *************************************************************************
+
+(declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))
+(in-package :cl-user)
+
+;; For use with non-Debian installations
+(let ((helper-pathname (make-pathname :name "set-cl-library" :type "cl"
+ :defaults *load-truename*)))
+ (when (probe-file helper-pathname)
+ (load helper-pathname)))
+
+(in-package :asdf)
+
+(defclass uffi-cl-source-file (cl-source-file) ())
+(defmethod source-file-type ((c uffi-cl-source-file) (s module))
+ "cl")
+
+(defsystem uffi
+ :default-component-class uffi-cl-source-file
+ :pathname #-mcl "cl-library:uffi;"
+ #+mcl "cl-library:uffi;mcl;"
+ :perform (load-op :after (op uffi)
+ (pushnew :uffi cl:*features*))
+ :components
+ ((:file "package")
+ (:file "primitives" :depends-on ("package"))
+ (:file "strings" :depends-on ("primitives"))
+ (:file "objects" :depends-on ("primitives"))
+ (:file "aggregates" :depends-on ("primitives"))
+ (:file "functions" :depends-on ("primitives"))
+ (:file "libraries" :depends-on ("package")))
+)
+