r5241: *** empty log message ***
[cl-modlisp.git] / modlisp.asd
index 95a75b77aacb03dcbf5414e3618e96fb93225502..461084f41eb0a1e391e194bf5b943b0046f23691 100644 (file)
@@ -7,28 +7,34 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Dec 2002
 ;;;;
-;;;; $Id: modlisp.asd,v 1.2 2003/07/04 22:41:06 kevin Exp $
+;;;; $Id: modlisp.asd,v 1.6 2003/07/05 23:04:32 kevin Exp $
 ;;;; *************************************************************************
 
+(in-package #:cl-user)
+
+#+(and sbcl (not sb-thread))
+(error "This package requires the multitasking version of sbcl")
+
+(eval-when (:compile-toplevel :load-toplevel :execute)
+  #+sbcl (require :sb-bsd-sockets)
+  #+lispworks (require "comm")
+  #+allegro (require :socket))
+
 (defpackage #:modlisp-system (:use #:cl #:asdf))
 (in-package #:modlisp-system)
 
 #+(or allegro clisp cmu lispworks sbcl)
 (defsystem modlisp
-    :depends-on (:kmrcl #+sbcl :sb-bsd-sockets)
+    :depends-on (:kmrcl)
     :components
     ((:file "package")
+     (:file "compat" :depends-on ("package"))
      (:file "variables" :depends-on ("package"))
-     (:file #+allegro "impl-acl"
-           #+clisp "impl-clisp"
-           #+cmu "impl-cmucl"
-           #+sbcl "impl-sbcl"
+     (:file #+(or allegro clisp cmu sbcl) "server"
            #+lispworks "impl-lispworks"
-           :depends-on ("variables"))
+           :depends-on ("compat" "variables"))
      (:file "base"
-           :depends-on (#+allegro "impl-acl"
-                        #+clisp "impl-clisp"
-                        #+cmu "impl-cmucl"
-                        #+lispworks "impl-lispworks"
-                        #+sbcl "impl-sbcl"))
-     (:file "utils" :depends-on ("base"))))
+           :depends-on (#+(or allegro clisp cmu sbcl) "server"
+                        #+lispworks "impl-lispworks"))
+     (:file "utils" :depends-on ("base"))
+     (:file "demo" :depends-on ("utils"))))