[cl-unification-cvs] CVS cl-unification

mantoniotti mantoniotti at common-lisp.net
Fri Apr 17 22:42:46 UTC 2009


Update of /project/cl-unification/cvsroot/cl-unification
In directory cl-net:/tmp/cvs-serv28862

Modified Files:
	cl-unification.asd 
Log Message:
System definitions files (.asd and .system) modified in order to make
dependency form CL-PPCRE optional.


--- /project/cl-unification/cvsroot/cl-unification/cl-unification.asd	2009/04/15 10:06:40	1.2
+++ /project/cl-unification/cvsroot/cl-unification/cl-unification.asd	2009/04/17 22:42:46	1.3
@@ -3,22 +3,38 @@
 ;;;; cl-unification.asd --
 ;;;; ASDF system file.
 
-(asdf:defsystem cl-unification
-		:author "Marco Antoniotti"
-		:serial t
-		:components ((:file "unification-package")
-			     (:file "variables")
-			     (:file "substitutions")
-			     (:file "lambda-list-parsing")
-			     (:file "templates-hierarchy")
-			     (:file "unifier")
-			     (:file "match-block")
-			     (:file "apply-substitution")
-                             (:module "lib-dependent"
-                              :depends-on ("templates-hierarchy" "unifier")
-                              :components (
-                                           #+cl-ppcre
-                                           (:file "cl-ppcre-template")
-                                           ))))
+;;;;===========================================================================
+;;;; Simple stuff that should be built in ASDF.
+
+(defpackage "CL-UNIFICATION-SYSTEM" (:use "CL" "ASDF"))
+
+(in-package "CL-UNIFICATION-SYSTEM")
+
+(defclass asdf-system-definition-file (asdf:cl-source-file) ())
+(defmethod source-file-type ((c asdf-system-definition-file) (s module)) "asd")
+
+
+(asdf:defsystem :cl-unification
+  :author "Marco Antoniotti"
+  :serial t
+  :components ((:file "unification-package")
+               (:file "variables")
+               (:file "substitutions")
+               (:file "lambda-list-parsing")
+               (:file "templates-hierarchy")
+               (:file "unifier")
+               (:file "match-block")
+               (:file "apply-substitution")
+               #+asdf-with-optional-dependencies
+               (:module "lib-dependent"
+                :pathname "lib-dependent"
+                :depends-on ("templates-hierarchy" "unifier")
+                :components ((:file "cl-ppcre-template"
+                              :depends-on (cl-ppcre))
+                             ))
+               #-asdf-with-optional-dependencies
+               (asdf-system-definition-file
+                "cl-unification-lib")
+               ))
 
 ;;;; end of file -- cl-unification.asd --





More information about the Cl-unification-cvs mailing list