|
Revision 3108, 1.7 KB
(checked in by hans, 2 years ago)
|
|
update xurielle dependencies
|
| Line | |
|---|
| 1 | ;;; -*- Mode: Lisp; Syntax: Common-Lisp; Package: CL-USER; Encoding: utf-8; -*- |
|---|
| 2 | |
|---|
| 3 | (defpackage :closure-system (:use #:asdf #:cl)) |
|---|
| 4 | (in-package :closure-system) |
|---|
| 5 | |
|---|
| 6 | (defclass closure-source-file (cl-source-file) ()) |
|---|
| 7 | |
|---|
| 8 | #+sbcl |
|---|
| 9 | (defmethod perform :around ((o compile-op) (s closure-source-file)) |
|---|
| 10 | ;; shut up already. Correctness first. |
|---|
| 11 | (handler-bind ((sb-ext:compiler-note #'muffle-warning)) |
|---|
| 12 | (call-next-method))) |
|---|
| 13 | |
|---|
| 14 | ;;; Convenience feature: will stop it from breaking into the debugger |
|---|
| 15 | ;;; under sbcl for full WARNINGs (better to fix the warnings :-). |
|---|
| 16 | #+sbcl |
|---|
| 17 | (defmethod perform :around ((o compile-op) s) |
|---|
| 18 | (setf (operation-on-failure o) :warn) |
|---|
| 19 | (call-next-method o s)) |
|---|
| 20 | |
|---|
| 21 | (asdf:defsystem closure-html |
|---|
| 22 | :default-component-class closure-source-file |
|---|
| 23 | :components |
|---|
| 24 | ((:module src |
|---|
| 25 | :serial t |
|---|
| 26 | :components |
|---|
| 27 | (;; Early package definitions |
|---|
| 28 | |
|---|
| 29 | (:file "defpack") |
|---|
| 30 | |
|---|
| 31 | ;; glisp |
|---|
| 32 | |
|---|
| 33 | (:module glisp |
|---|
| 34 | :pathname "glisp/" |
|---|
| 35 | :components ((:file "util"))) |
|---|
| 36 | |
|---|
| 37 | ;; CLEX and LALR |
|---|
| 38 | |
|---|
| 39 | (:module clex |
|---|
| 40 | :pathname "util/" |
|---|
| 41 | :components |
|---|
| 42 | ((:file "clex"))) |
|---|
| 43 | |
|---|
| 44 | (:module lalr |
|---|
| 45 | :pathname "util/" |
|---|
| 46 | :components |
|---|
| 47 | ((:file "lalr"))) |
|---|
| 48 | |
|---|
| 49 | ;; Networking stuff |
|---|
| 50 | |
|---|
| 51 | (:module net |
|---|
| 52 | :pathname "net/" |
|---|
| 53 | :components ((:file "mime"))) |
|---|
| 54 | |
|---|
| 55 | ;; The HTML parser |
|---|
| 56 | |
|---|
| 57 | (:module parse |
|---|
| 58 | :depends-on (clex lalr) |
|---|
| 59 | :components |
|---|
| 60 | ((:file "pt") |
|---|
| 61 | (:file "sgml-dtd") |
|---|
| 62 | (:file "sgml-parse" |
|---|
| 63 | :depends-on ("sgml-dtd" "pt")) |
|---|
| 64 | (:file "html-parser" |
|---|
| 65 | :depends-on ("sgml-parse")) |
|---|
| 66 | (:file "lhtml" |
|---|
| 67 | :depends-on ("html-parser")) |
|---|
| 68 | (:file "unparse" |
|---|
| 69 | :depends-on ("html-parser")) |
|---|
| 70 | (:file "documentation" |
|---|
| 71 | :depends-on ("html-parser"))))))) |
|---|
| 72 | :depends-on (:closure-common :flexi-streams)) |
|---|