asdf.asd 3.47 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 asdf-driver
18
  :encoding :utf-8
19
  :components
20
  ((:file "header")))
21

22
#+asdf3
23
(defsystem :asdf/defsystem
24
  :licence "MIT"
25
  :description "The defsystem part of ASDF"
26
  :long-description "Another System Definition Facility, the portable defsystem for Common Lisp"
27
  :version (:read-file-form "version.lisp-expr")
28
  :build-operation monolithic-concatenate-source-op
29 30
  :build-pathname "build/asdf" ;; our target
  :around-compile call-without-redefinition-warnings ;; we need be the same as asdf-driver
31
  :depends-on (:asdf/header :asdf-driver)
32
  :encoding :utf-8
33 34
  :components
  ((:file "upgrade")
35
   (:file "component" :depends-on ("upgrade"))
36
   (:file "system" :depends-on ("component"))
37 38
   (:file "cache" :depends-on ("upgrade"))
   (:file "find-system" :depends-on ("system" "cache"))
39
   (:file "find-component" :depends-on ("find-system"))
40
   (:file "operation" :depends-on ("upgrade"))
41
   (:file "action" :depends-on ("find-component" "operation" "cache"))
42
   (:file "lisp-action" :depends-on ("action"))
43
   (:file "plan" :depends-on ("lisp-action" "cache"))
44 45 46
   (:file "operate" :depends-on ("plan"))
   (:file "output-translations" :depends-on ("operate"))
   (:file "source-registry" :depends-on ("find-system"))
47
   (:file "backward-internals" :depends-on ("lisp-action" "operate"))
48
   (:file "defsystem" :depends-on ("backward-internals" "cache"))
49
   (:file "bundle" :depends-on ("lisp-action"))
50
   (:file "concatenate-source" :depends-on ("bundle"))
51
   (:file "backward-interface" :depends-on ("operate" "output-translations"))
52 53 54 55
   (:file "interface" :depends-on
          ("defsystem" "concatenate-source"
           "backward-interface" "backward-internals"
           "output-translations" "source-registry"))
56 57
   (:file "user" :depends-on ("interface"))
   (:file "footer" :depends-on ("user"))))
58

59 60 61 62 63 64
(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."
65
  :version "2.26.156" ;; to be automatically updated by make bump-version
66
  :depends-on ()
67
  #+asdf3 :encoding #+asdf3 :utf-8
68 69 70 71
  ;; For most purposes, asdf itself specially counts as a builtin system.
  ;; If you want to link it or do something forbidden to builtin systems,
  ;; specify separate dependencies on asdf-driver and asdf-defsystem.
  #+asdf3 :builtin-system-p #+asdf3 t
72
  :components
73 74
  ((:module "build"
    :components
75 76
    (#-gcl2.6
     (:file "asdf"
77 78
      #-asdf3 :do-first #+asdf3 :in-order-to ((compile-op (load-source-op "asdf")))))))
  :in-order-to (#+asdf3 (prepare-source-op (monolithic-concatenate-source-op :asdf/defsystem))))