asdf.asd 2.96 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
#+asdf2.27
(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 18
  :components
  ((:static-file "header.lisp")))
19

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

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."
60
  :version "2.26.142" ;; to be automatically updated by make bump-version
61
  :depends-on ()
62
  :components
63 64
  ((:module "build"
    :components
65 66 67 68
    (#-gcl2.6
     (:file "asdf"
      #-asdf2.27 :do-first #-asdf2.27 ((compile-op (load-source-op "asdf")))
      ))))
69 70
  :in-order-to
  (#+asdf2.27 (compile-op (monolithic-load-concatenated-source-op asdf/defsystem))))