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

((this ede-proj-target-makefile-info) &optional moresource) in `ede/proj-info.el'.

Insert the source variables needed by THIS info target. Optional argument MORESOURCE is a list of additional sources to add to the sources variable. Does the usual for Makefile mode, but splits source into two variables when working in Automake mode.

((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 ((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.

((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 " ") "")))))