Function: ede-proj-makefile-dependencies
ede-proj-makefile-dependencies is a byte-compiled function defined in
pmake.el.gz.
Signature
(ede-proj-makefile-dependencies ARG &rest ARGS)
Implementations
(ede-proj-makefile-dependencies (THIS semantic-ede-proj-target-grammar)) in `semantic/ede-grammar.el'.
Return a string representing the dependencies for THIS. Some compilers only use the first element in the dependencies, others have a list of intermediates (object files), and others don't care. This allows customization of how these elements appear. For Emacs Lisp, return addsuffix command on source files.
(ede-proj-makefile-dependencies (THIS ede-proj-target-elisp-autoloads)) in `ede/proj-elisp.el'.
Return a string representing the dependencies for THIS. Always return an empty string for an autoloads generator.
(ede-proj-makefile-dependencies (THIS ede-proj-target-elisp)) in `ede/proj-elisp.el'.
Return a string representing the dependencies for THIS. Some compilers only use the first element in the dependencies, others have a list of intermediates (object files), and others don't care. This allows customization of how these elements appear. For Emacs Lisp, return addsuffix command on source files.
(ede-proj-makefile-dependencies (THIS ede-proj-target-makefile)) in `ede/pmake.el'.
Return a string representing the dependencies for THIS. Some compilers only use the first element in the dependencies, others have a list of intermediates (object files), and others don't care. This allows customization of how these elements appear.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/ede/pmake.el.gz
(cl-defmethod ede-proj-makefile-dependencies ((this ede-proj-target-makefile))
"Return a string representing the dependencies for THIS.
Some compilers only use the first element in the dependencies, others
have a list of intermediates (object files), and others don't care.
This allows customization of how these elements appear."
(let* ((c (ede-proj-compilers this))
(io (seq-some #'ede-compiler-intermediate-objects-p c))
(out nil))
(if io
(progn
(while c
(setq out
(concat out "$(" (ede-compiler-intermediate-object-variable
(car c)
(ede-proj-makefile-target-name this))
")")
c (cdr c)))
out)
(let ((sv (ede-proj-makefile-sourcevar this))
(aux (oref this auxsource)))
(setq out
(if (and (stringp sv) (not (string= sv "")))
(concat "$(" sv ")")
""))
(while aux
(setq out (concat out " " (car aux)))
(setq aux (cdr aux)))
out))))