1 ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
3 ;;; Copyright (c) 2004-2010, Dr. Edmund Weitz. All rights reserved.
5 ;;; Redistribution and use in source and binary forms, with or without
6 ;;; modification, are permitted provided that the following conditions
9 ;;; * Redistributions of source code must retain the above copyright
10 ;;; notice, this list of conditions and the following disclaimer.
12 ;;; * Redistributions in binary form must reproduce the above
13 ;;; copyright notice, this list of conditions and the following
14 ;;; disclaimer in the documentation and/or other materials
15 ;;; provided with the distribution.
17 ;;; THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESSED
18 ;;; OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19 ;;; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 ;;; ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
21 ;;; DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 ;;; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
23 ;;; GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 ;;; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
25 ;;; WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
26 ;;; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27 ;;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 (defpackage :hunchentoot-asd
34 (in-package :hunchentoot-asd)
36 (defsystem :hunchentoot
39 :description "Hunchentoot is a HTTP server based on USOCKET and
40 BORDEAUX-THREADS. It supports HTTP 1.1, serves static files, has a
41 simple framework for user-defined handlers and can be extended
48 #-(or :lispworks :hunchentoot-no-ssl) :cl+ssl
53 #-:lispworks :bordeaux-threads)
54 :components ((:module url-rewrite
56 :components ((:file "packages")
60 (:file "url-rewrite")))
62 #+:lispworks (:file "lispworks")
63 #-:lispworks (:file "compat")
74 (:file "easy-handlers")
76 (:file "set-timeouts")
79 #-:hunchentoot-no-ssl (:file "ssl")))
81 (defsystem :hunchentoot-test
82 :description "Self test functionality for the Hunchentoot HTTP server."
83 :components ((:module "test"
85 :components ((:file "packages")
86 (:file "test-handlers")
87 (:file "script-engine")
89 :depends-on (:hunchentoot :cl-who :cl-ppcre :drakma))
91 (defmethod perform ((o test-op) (c (eql (find-system 'hunchentoot))))
92 (load (merge-pathnames "run-test.lisp" (system-source-directory c))))
94 (defsystem :hunchentoot-dev
95 :description "Development tools for Hunchentoot development and releases"
96 :components ((:file "make-docstrings"))
97 :depends-on (:hunchentoot