Next: , Previous: , Up: Targets   [Contents]

8.8.2 ede-proj-target

Inheritance Tree:
eieio-speedbar
eieio-speedbar-directory-button
ede-target

See ede-target.

ede-proj-target
Children:

See ede-proj-target-makefile, ede-proj-target-aux, See ede-proj-target-scheme.

Slots:
:name

Type: string

Name of this target.

:path

Type: string

The path to the sources of this target. Relative to the path of the project it belongs to.

:auxsource

Type: list
Default Value: nil

Auxiliary source files included in this target. Each of these is considered equivalent to a source file, but it is not distributed, and each should have a corresponding rule to build it.

:compiler

Type: (or null symbol)
Default Value: nil

The compiler to be used to compile this object. This should be a symbol, which contains the object defining the compiler. This enables save/restore to do so by name, permitting the sharing of these compiler resources, and global customization thereof.

:linker

Type: (or null symbol)
Default Value: nil

The linker to be used to link compiled sources for this object. This should be a symbol, which contains the object defining the linker. This enables save/restore to do so by name, permitting the sharing of these linker resources, and global customization thereof.

8.8.2.1 Specialized Methods

Method: project-compile-target :AFTER obj &optional command

Compile the current target OBJ. Argument COMMAND is the command to use for compiling the target.

Method: project-debug-target :AFTER obj

Run the current project target OBJ in a debugger.

Method: ede-proj-configure-add-missing :AFTER this

Query if any files needed by THIS provided by automake are missing. Results in –add-missing being passed to automake.

Method: ede-proj-flush-autoconf :AFTER this

Flush the configure file (current buffer) to accommodate THIS. By flushing, remove any cruft that may be in the file. Subsequent calls to ede-proj-tweak-autoconf can restore items removed by flush.

Method: ede-proj-makefile-insert-rules :AFTER this

Insert rules needed by THIS target.

Method: project-remove-file :AFTER target file

For TARGET, remove FILE. FILE must be massaged by ede-convert-path.

Method: ede-proj-configure-create-missing :AFTER this

Add any missing files for THIS by creating them.

Method: ede-proj-makefile-sourcevar :AFTER this

Return the variable name for THIS’s sources.

Method: ede-proj-makefile-insert-variables :AFTER this &optional moresource

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

Method: ede-proj-makefile-insert-automake-post-variables :AFTER this

Insert variables needed by target THIS in Makefile.am after SOURCES.

Method: ede-proj-makefile-insert-dist-dependencies :AFTER this

Insert any symbols that the DIST rule should depend on. Argument THIS is the target that should insert stuff.

Method: ede-proj-linkers :AFTER obj

List of linkers being used by OBJ. If the linker slot is empty, concoct one on a first match found basis for any given type from the availablelinkers slot. Otherwise, return the linker slot. Converts all symbols into the objects to be used.

Method: ede-proj-makefile-garbage-patterns :AFTER this

Return a list of patterns that are considered garbage to THIS. These are removed with make clean.

Method: ede-proj-tweak-autoconf :AFTER this

Tweak the configure file (current buffer) to accommodate THIS.

Method: ede-proj-compilers :AFTER obj

List of compilers being used by OBJ. If the compiler slot is empty, concoct one on a first match found basis for any given type from the availablecompilers slot. Otherwise, return the compiler slot. Converts all symbols into the objects to be used.

Method: project-delete-target :AFTER this

Delete the current target THIS from its parent project.

Method: ede-proj-makefile-target-name :AFTER this

Return the name of the main target for THIS target.

Method: eieio-done-customizing :AFTER target

Call this when a user finishes customizing this object. Argument TARGET is the project we are completing customization on.

Method: ede-proj-makefile-insert-user-rules :AFTER this

Insert user specified rules needed by THIS target.

Method: project-add-file :AFTER this file

Add to target THIS the current buffer represented as FILE.

Method: ede-proj-makefile-insert-automake-pre-variables :AFTER this

Insert variables needed by target THIS in Makefile.am before SOURCES.

Method: ede-proj-makefile-insert-dist-filepatterns :AFTER this

Insert any symbols that the DIST rule should depend on. Argument THIS is the target that should insert stuff.

Method: ede-proj-makefile-dependency-files :AFTER this

Return a list of source files to convert to dependencies. Argument THIS is the target to get sources from.

Method: ede-proj-makefile-insert-source-variables :AFTER this &optional moresource

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

Next: ede-proj-target-makefile, Previous: ede-target, Up: Targets   [Contents]