asdf.asd 2.72 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
13
14
15
#+asdf2.27
(defsystem :asdf/header
  :components
  ((:static-file "header.lisp")))
16

17
#+asdf2.27
18
(defsystem :asdf/defsystem
19
  :licence "MIT"
20
  :description "The defsystem part of ASDF"
21
  :description "Generate asdf.lisp based on this and monolithic-concatenate-source-op"
22
  :version (:read-file-form "version.lisp-expr")
23
24
25
26
27
28
29
  :class :bundle-system
  :build-operation monolithic-concatenate-source-op
  :bundle-pathname "build/asdf"
  :around-compile call-without-redefinition-warnings ;; be the same as asdf-driver
  :depends-on (:asdf/header :asdf-driver)
  :components
  ((:file "upgrade")
30
   (:file "component" :depends-on ("upgrade"))
31
32
33
   (:file "system" :depends-on ("component"))
   (:file "find-system" :depends-on ("system"))
   (:file "find-component" :depends-on ("find-system"))
34
   (:file "operation" :depends-on ("upgrade"))
35
36
37
38
39
40
41
42
43
   (:file "action" :depends-on ("find-component" "operation"))
   (:file "lisp-action" :depends-on ("action"))
   (:file "plan" :depends-on ("action"))
   (:file "operate" :depends-on ("plan"))
   (:file "output-translations" :depends-on ("operate"))
   (:file "source-registry" :depends-on ("find-system"))
   (:file "backward-internals" :depends-on ("action" "operate"))
   (:file "defsystem" :depends-on ("backward-internals"))
   (:file "bundle" :depends-on ("lisp-action"))
44
   (:file "concatenate-source" :depends-on ("bundle"))
45
   (:file "backward-interface" :depends-on ("lisp-action"))
46
47
48
49
   (:file "interface" :depends-on
          ("defsystem" "concatenate-source"
           "backward-interface" "backward-internals"
           "output-translations" "source-registry"))
50
51
   (:file "footer" :depends-on ("interface"))))

52
53
54
55
56
57
58
59
(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."
  :version "2.26.141" ;; to be automatically updated by make bump-version
  :depends-on ()
60
  :components
61
62
63
64
65
66
  ((:module "build"
    :components
    ((:file "asdf"
      :in-order-to (#-asdf2.27 (compile-op (load-source-op "asdf")))))))
  :in-order-to
  (#+asdf2.27 (compile-op (monolithic-load-concatenated-source-op asdf/defsystem))))