asdf.asd 3.87 KB
Newer Older
1 2 3 4 5
;;; -*- mode: lisp -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;                                                                  ;;;
;;; Free Software available under an MIT-style license.              ;;;
;;;                                                                  ;;;
6
;;; Copyright (c) 2001-2013 Daniel Barlow and contributors           ;;;
7 8 9
;;;                                                                  ;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

10 11
(in-package :asdf)

12
#+asdf3
13
(defsystem :asdf/header
14 15 16
  ;; Note that it's polite to sort the defsystem forms in dependency order,
  ;; and compulsory to sort them in defsystem-depends-on order.
  :version (:read-file-form "version.lisp-expr")
17
  :around-compile call-without-redefinition-warnings ;; we need be the same as uiop
18
  :encoding :utf-8
19
  :components
20
  ((:file "header")))
21

22 23
#+asdf3
(defsystem :asdf/driver
24
  :depends-on (:uiop))
25

26
#+asdf3
27
(defsystem :asdf/defsystem
28
  :licence "MIT"
29
  :description "The defsystem part of ASDF"
30 31
  :long-name "Another System Definition Facility"
  :description "The portable defsystem for Common Lisp"
32
  :long-description "ASDF/DEFSYSTEM is the de facto standard DEFSYSTEM facility for Common Lisp,
33
   a successor to Dan Barlow's ASDF and Francois-Rene Rideau's ASDF2.
34
   For bootstrap purposes, it comes bundled with UIOP in a single file, asdf.lisp."
35 36 37
  :homepage "http://common-lisp.net/projects/asdf/"
  :bug-tracker "https://launchpad.net/asdf/"
  :mailto "asdf-devel@common-lisp.net"
38
  :source-control (:git "git://common-lisp.net/projects/asdf/asdf.git")
39
  :version (:read-file-form "version.lisp-expr")
40
  :build-operation monolithic-concatenate-source-op
41 42
  :build-pathname "build/asdf" ;; our target
  :around-compile call-without-redefinition-warnings ;; we need be the same as asdf-driver
43
  :depends-on (:asdf/header :asdf/driver)
44
  :encoding :utf-8
45 46
  :components
  ((:file "upgrade")
47
   (:file "component" :depends-on ("upgrade"))
48
   (:file "system" :depends-on ("component"))
49 50
   (:file "cache" :depends-on ("upgrade"))
   (:file "find-system" :depends-on ("system" "cache"))
51
   (:file "find-component" :depends-on ("find-system"))
52
   (:file "operation" :depends-on ("upgrade"))
53
   (:file "action" :depends-on ("find-component" "operation" "cache"))
54
   (:file "lisp-action" :depends-on ("action"))
55
   (:file "plan" :depends-on ("lisp-action" "cache"))
56 57 58
   (:file "operate" :depends-on ("plan"))
   (:file "output-translations" :depends-on ("operate"))
   (:file "source-registry" :depends-on ("find-system"))
59
   (:file "backward-internals" :depends-on ("lisp-action" "operate"))
60
   (:file "defsystem" :depends-on ("backward-internals" "cache"))
61
   (:file "bundle" :depends-on ("lisp-action"))
62
   (:file "concatenate-source" :depends-on ("bundle"))
63
   (:file "backward-interface" :depends-on ("operate" "output-translations"))
64 65 66 67
   (:file "interface" :depends-on
          ("defsystem" "concatenate-source"
           "backward-interface" "backward-internals"
           "output-translations" "source-registry"))
68 69
   (:file "user" :depends-on ("interface"))
   (:file "footer" :depends-on ("user"))))
70

71 72 73 74 75 76
(defsystem :asdf
  :author ("Daniel Barlow")
  :maintainer ("Francois-Rene Rideau")
  :licence "MIT"
  :description "Another System Definition Facility"
  :long-description "ASDF builds Common Lisp software organized into defined systems."
77
  :version "2.32.25" ;; to be automatically updated by make bump-version
78
  :depends-on ()
79
  #+asdf3 :encoding #+asdf3 :utf-8
80 81
  ;; For most purposes, asdf itself specially counts as a builtin system.
  ;; If you want to link it or do something forbidden to builtin systems,
82
  ;; specify separate dependencies on UIOP (aka asdf-driver) and asdf/defsystem.
83
  #+asdf3 :builtin-system-p #+asdf3 t
84 85
  :components ((:module "build" :components ((:file "asdf"))))
  :in-order-to (#+asdf3 (prepare-op (monolithic-concatenate-source-op :asdf/defsystem))))
86