Lines Matching refs:dep

1729    ;; dep-target builds a string like "maybe-all-MODULE_KIND-gcc",
1732 (define dep-target (lambda (module-kind var-name hard)
1735 (dep-subtarget var-name)
1737 (dep-module var-name)
1740 ;; make-dep builds a dependency from the MODULE and ON AutoGen vars.
1741 (define make-dep (lambda (module-kind on-kind)
1743 (dep-target module-kind "module" #t) ": "
1744 (dep-target on-kind "on" (exist? "hard")))))
1746 ;; dep-subtarget extracts everything up to the first dash in the given
1748 (define dep-subtarget (lambda (var-name)
1751 ;; dep-module extracts everything up to the first dash in the given
1753 (define dep-module (lambda (var-name)
1756 ;; dep-stage builds a string for the prefix of a bootstrap stage.
1757 (define dep-stage (lambda ()
1763 ;; dep-maybe is the same as the AutoGen expression "- hard 'maybe-'"
1765 (define dep-maybe (lambda ()
1768 ;; dep-kind returns "normal" if the dependency is on an "install" target,
1774 (define dep-kind (lambda ()
1775 (if (and (hash-ref boot-modules (dep-module "module"))
1776 (=* (dep-module "on") "build-"))
1779 (if (or (= (dep-subtarget "on") "install-")
1780 (not (hash-ref boot-modules (dep-module "module")))
1781 (not (hash-ref boot-modules (dep-module "on"))))
1785 ;; We now build the hash table that is used by dep-kind.
1803 [+ FOR dependencies +][+ (make-dep "" "") +]
1804 [+ CASE (dep-kind) +]
1807 [+ (make-dep (dep-stage) "") +][+
1811 [+ (make-dep (dep-stage) (dep-stage)) +][+
1821 (define lang-dep (lambda (lang)
1840 @if gcc-bootstrap[+ FOR target_modules +][+ IF (not (lang-dep "no_gcc"))
1846 @if gcc-no-bootstrap[+ FOR target_modules +][+ IF (not (lang-dep "no_gcc")) +]
1851 [+ FOR target_modules +][+ IF (not (lang-dep "no_c")) +]
1853 ENDIF +][+ IF (lang-dep "cxx") +]