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

10 11
(in-package :asdf)

12
#+asdf3
13
(defsystem "asdf/prelude"
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
#+asdf3
23 24
(defsystem "asdf/driver"
  :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
  :build-pathname "build/asdf" ;; our target
42
  :around-compile call-without-redefinition-warnings ;; we need be the same as uiop
43
  :depends-on ("asdf/prelude" "uiop")
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 ("find-system"))
53
   (:file "action" :depends-on ("find-component" "operation"))
54
   (:file "lisp-action" :depends-on ("action"))
55
   (:file "plan" :depends-on ("lisp-action"))
56 57 58
   (:file "operate" :depends-on ("plan"))
   (:file "output-translations" :depends-on ("operate"))
   (:file "source-registry" :depends-on ("find-system"))
59
   (:file "parse-defsystem" :depends-on ("cache" "system" "lisp-action" "operate"))
60
   (:file "bundle" :depends-on ("lisp-action" "operate" "parse-defsystem"))
61
   (:file "concatenate-source" :depends-on ("plan" "parse-defsystem" "bundle"))
62
   (:file "package-inferred-system" :depends-on ("system" "find-system" "parse-defsystem"))
63 64
   (:file "backward-internals" :depends-on ("find-system" "parse-defsystem"))
   (:file "backward-interface" :depends-on ("operate" "output-translations"))
65
   (:file "interface" :depends-on
66
          ("parse-defsystem" "concatenate-source"
67 68
           "output-translations" "source-registry" "package-inferred-system"
           "backward-interface" "backward-internals"))
69 70
   (:file "user" :depends-on ("interface"))
   (:file "footer" :depends-on ("user"))))
71

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