Function: ede-proj-makefile-insert-source-variables

ede-proj-makefile-insert-source-variables is a byte-compiled function defined in pmake.el.gz.

Signature

(ede-proj-makefile-insert-source-variables ARG &rest ARGS)

Implementations

(ede-proj-makefile-insert-source-variables (THIS ede-proj-target-makefile-info) &optional MORESOURCE) in `ede/proj-info.el'.

Undocumented

(ede-proj-makefile-insert-source-variables (THIS ede-proj-target-elisp-autoloads) &optional MORESOURCE) in `ede/proj-elisp.el'.

Insert the source variables needed by THIS. Optional argument MORESOURCE is a list of additional sources to add to the sources variable.

:before (ede-proj-makefile-insert-source-variables (THIS ede-proj-target-makefile-archive) &optional MORESOURCE) in `ede/proj-archive.el'.

Insert bin_PROGRAMS variables needed by target THIS. We aren't actually inserting SOURCE details, but this is used by the Makefile.am generator, so use it to add this important bin program.

(ede-proj-makefile-insert-source-variables (THIS ede-proj-target) &optional MORESOURCE) in `ede/pmake.el'.

Insert the source variables needed by THIS. Optional argument MORESOURCE is a list of additional sources to add to the sources variable.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/ede/pmake.el.gz
(cl-defmethod ede-proj-makefile-insert-source-variables ((this ede-proj-target)
						      &optional
						      moresource)
  "Insert the source variables needed by THIS.
Optional argument MORESOURCE is a list of additional sources to add to the
sources variable."
  (let ((sv (ede-proj-makefile-sourcevar this)))
    ;; This variable may be shared between targets
    (ede-pmake-insert-variable-shared (cond ((listp sv) (car sv))
					    (t sv))
      (insert (mapconcat (lambda (a) a) (oref this source) " "))
      (if moresource
	  (insert " \\\n   " (mapconcat (lambda (a) a) moresource " ") "")))))