generate-asdf.asd 2.04 KB
Newer Older
1 2 3 4 5 6 7 8 9
;;; -*- mode: lisp -*-

(defsystem :generate-asdf
  :licence "MIT"
  :description "Generate a monolithic asdf.lisp from all its components"
  ;; :defsystem-depends-on (:asdf/bundle)
  :class :concatenated-source-system
  ;; :include-dependencies t
  :translate-output-p nil
10
  :concatenated-source-file "tmp/generated-asdf.lisp"
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
#|
  :depends-on (:asdf-header
               :asdf-package
               :asdf-portability
               :asdf-utility
               :asdf-pathname
               :asdf-upgrade
               :asdf-interface
               :asdf-lisp-build
               :asdf-action
               :asdf-bundle
               :asdf-backward-compat
               :asdf-footer))
|#
  :serial t
  :components
  ((:file "header")
   (:module
29
    "utils" :pathname "" :components
30 31 32 33
    ((:file "package")
     (:file "implementation" :depends-on ("package"))
     (:file "utility" :depends-on ("implementation"))
     (:file "pathname" :depends-on ("utility"))
34 35 36 37 38
     (:file "os" :depends-on ("pathname"))))
   (:module
    "code" :pathname "" :components
     (:file "upgrade")
     (:file "component")
39 40 41
     (:file "system" :depends-on ("component"))
     (:file "find-system" :depends-on ("system"))
     (:file "find-component" :depends-on ("find-system"))
42 43
     (:file "lisp-build")
     (:file "operation")
44 45 46 47
     (:file "action" :depends-on ("find-component" "operation"))
     (:file "lisp-action" :depends-on ("action" "lisp-build"))
     (:file "plan" :depends-on ("action"))
     (:file "operate" :depends-on ("plan"))
48
     (:file "configuration")
49 50 51 52 53 54 55
     (:file "output-translations" :depends-on ("configuration" "operate"))
     (:file "source-registry" :depends-on ("configuration" "find-system"))
     (:file "backward-internals" :depends-on ("action" "operate"))
     (:file "defsystem" :depends-on ("backward-internals"))
     (:file "bundle" :depends-on ("lisp-action"))
     (:file "concatenate-source" :depends-on ("lisp-action"))
     (:file "backward-interface" :depends-on ("lisp-action"))))
56
   (:file "interface")
57
   (:file "footer" :depends-on ("interface"))))