diff --git a/bio.lisp b/bio.lisp index 2903eb8..228d041 100644 --- a/bio.lisp +++ b/bio.lisp @@ -2,6 +2,8 @@ ;;; ;;; See LICENSE for details. +#+xcvb (module (:depends-on ("package"))) + (in-package cl+ssl) (defconstant +bio-type-socket+ (logior 5 #x0400 #x0100)) diff --git a/build.xcvb b/build.xcvb new file mode 100644 index 0000000..6665395 --- /dev/null +++ b/build.xcvb @@ -0,0 +1,25 @@ +;;; -*- mode: lisp -*- +;;; +;;; Copyright (C) 2001, 2003 Eric Marsden +;;; Copyright (C) 2005 David Lichteblau +;;; Copyright (C) 2007 Pixel // pinterface +;;; "the conditions and ENSURE-SSL-FUNCALL are by Jochen Schmidt." +;;; +;;; See LICENSE for details. + + +#+xcvb +(module + (:fullname "cl+ssl" + :depends-on ("package" + "reload" + "conditions" + "ffi" + "ffi-buffer-all" + (:cond ((:featurep :clisp) "ffi-buffer-clisp") + ((:featurep (:not :clisp)) "ffi-buffer")) + "streams" + "bio") + :build-depends-on ("flexi-streams" "trivial-gray-streams" "cffi") + :supersedes-asdf ("cl+ssl"))) + diff --git a/conditions.lisp b/conditions.lisp index 3e94d8d..716d76d 100644 --- a/conditions.lisp +++ b/conditions.lisp @@ -4,6 +4,8 @@ ;;; ;;; See LICENSE for details. +#+xcvb (module (:depends-on ("package"))) + (in-package :cl+ssl) (eval-when (:compile-toplevel :load-toplevel :execute) diff --git a/ffi-buffer-all.lisp b/ffi-buffer-all.lisp index 0257db0..60d3e17 100644 --- a/ffi-buffer-all.lisp +++ b/ffi-buffer-all.lisp @@ -1,3 +1,5 @@ +#+xcvb (module (:depends-on ("package"))) + (in-package :cl+ssl) (defconstant +initial-buffer-size+ 2048) diff --git a/ffi-buffer-clisp.lisp b/ffi-buffer-clisp.lisp index 156e4c4..77d98c5 100644 --- a/ffi-buffer-clisp.lisp +++ b/ffi-buffer-clisp.lisp @@ -1,3 +1,5 @@ +#+xcvb (module (:depends-on ("package" "reload" "conditions" "ffi" "ffi-buffer-all"))) + (in-package :cl+ssl) (defun make-buffer (size) diff --git a/ffi-buffer.lisp b/ffi-buffer.lisp index b023e59..685bb79 100644 --- a/ffi-buffer.lisp +++ b/ffi-buffer.lisp @@ -1,3 +1,5 @@ +#+xcvb (module (:depends-on ("package"))) + (in-package :cl+ssl) (defun make-buffer (size) diff --git a/ffi.lisp b/ffi.lisp index 96b3fb7..ad436c1 100644 --- a/ffi.lisp +++ b/ffi.lisp @@ -4,6 +4,8 @@ ;;; ;;; See LICENSE for details. +#+xcvb (module (:depends-on ("package" "conditions"))) + (eval-when (:compile-toplevel) (declaim (optimize (speed 3) (space 1) (safety 1) (debug 0) (compilation-speed 0)))) diff --git a/package.lisp b/package.lisp index 1b536bb..5df06c4 100644 --- a/package.lisp +++ b/package.lisp @@ -4,6 +4,8 @@ ;;; ;;; See LICENSE for details. +#+xcvb (module (:depends-on ((:when (:featurep :sbcl) (:require :sb-posix))))) + (in-package :cl-user) (defpackage :cl+ssl diff --git a/reload.lisp b/reload.lisp index 6e6b27f..3525ad4 100644 --- a/reload.lisp +++ b/reload.lisp @@ -13,6 +13,8 @@ ;;; - but not every time ffi.lisp is re-loaded as would happen if we ;;; put this directly into ffi.lisp +#+xcvb (module (:depends-on ("package"))) + (in-package :cl+ssl) (cffi:define-foreign-library libssl diff --git a/streams.lisp b/streams.lisp index 76b7b85..2c7c0a5 100644 --- a/streams.lisp +++ b/streams.lisp @@ -5,6 +5,12 @@ ;;; ;;; See LICENSE for details. +#+xcvb +(module + (:depends-on ("package" "conditions" "ffi" + (:cond ((:featurep :clisp) "ffi-buffer-clisp") + (t "ffi-buffer"))))) + (eval-when (:compile-toplevel) (declaim (optimize (speed 3) (space 1) (safety 1) (debug 0) (compilation-speed 0))))