Skip to content

Commit

Permalink
ASDF system definition changes for MCL, also make it smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
ctian committed Jan 3, 2010
1 parent b809921 commit dcf3ee3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 21 deletions.
5 changes: 3 additions & 2 deletions backend/mcl.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

(in-package :usocket)

(eval-when (:compile-toplevel :load-toplevel :execute)
(require :opentransport))

(defun handle-condition (condition &optional socket)
; incomplete, needs to handle additional conditions
(flet ((raise-error (&optional socket-condition)
Expand Down Expand Up @@ -93,8 +96,6 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; BASIC MCL SOCKET IMPLEMENTATION

(require :opentransport)

(defclass socket ()
((local-port :reader local-port :initarg :local-port)
(local-host :reader local-host :initarg :local-host)
Expand Down
30 changes: 11 additions & 19 deletions usocket.asd
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,14 @@
:depends-on ("package"))
(:file "condition"
:depends-on ("usocket"))
#+clisp (:file "clisp" :pathname "backend/clisp"
:depends-on ("condition"))
#+cmu (:file "cmucl" :pathname "backend/cmucl"
:depends-on ("condition"))
#+scl (:file "scl" :pathname "backend/scl"
:depends-on ("condition"))
#+(or sbcl ecl) (:file "sbcl" :pathname "backend/sbcl"
:depends-on ("condition"))
#+lispworks (:file "lispworks" :pathname "backend/lispworks"
:depends-on ("condition"))
#+openmcl (:file "openmcl" :pathname "backend/openmcl"
:depends-on ("condition"))
#+allegro (:file "allegro" :pathname "backend/allegro"
:depends-on ("condition"))
#+armedbear (:file "armedbear" :pathname "backend/armedbear"
:depends-on ("condition"))
#+mcl (:file "mcl" :pathname "backend/armedbear"
:depends-on ("condition"))
))
(:module "backend"
:depends-on ("condition")
:components (#+clisp (:file "clisp")
#+cmu (:file "cmucl")
#+scl (:file "scl")
#+(or sbcl ecl) (:file "sbcl")
#+lispworks (:file "lispworks")
#+mcl (:file "mcl")
#+openmcl (:file "openmcl")
#+allegro (:file "allegro")
#+armedbear (:file "armedbear")))))

0 comments on commit dcf3ee3

Please sign in to comment.