To add a new group (a directory in automake based projects):
Select -> and a dialog to add a new group would popup.
Select the group under which to add new group.
Give a name of the new group and click Ok.
New group can also be added from the menu in Project View by selecting . First select the group under which to add the group in Project View.
To remove a group:
Select the target in Project Manager view.
Select from the menu.
To add a new target:
Select -> and a dialog to add a new target would popup.
Select the group under which to add the target.
Select the target type.
Give a name of the new target and click Ok.
New target can also be added from the menu in Project View by selecting . First select the group under which to add the target in Project View.
Target names usually require some standard prefix and suffix, depending on the type of target. Anjuta would warn if the name is not valid and may give an example of a name.
There are several target types for automake project. They are:
Program target type is for executable binaries. Select this if you want to add an executable to the project. By default, all program targets would be installed in standard executable directory, e.g. /usr/bin or /usr/local/bin. You can override it by specifying a different installation directory in its group properties.
Shared Library target type is for shared or dynamic libraries. Select this if you are adding a shared library to the project. By default, all shared libraries are installed in standard libraries directory, e.g. /usr/lib or /usr/local/lib. You can override it by specifying a different installation directory in its group properties.
Static Library target type is for static library. Select this if you are adding a static library to the project. By default, all static libraries are installed in standard libraries directory, e.g. /usr/lib or /usr/local/lib. You can override it by specifying a different installation directory in its group properties.
Java module target type is for java module. Select this if you are grouping java sources into a module. You need to provide an installation directory for this target where the .class files will be installed. It can be set in group properties of the group where this target belongs.
![]() | There can really be only one java module in a group. This is a restriction put by automake. Please read automake info page for more details. |
Python module target type is for python module. Select this if you are grouping python sources into a module. You need to provide an installation directory for this target where the sources will be installed. It can be set in group properties of the group where this target belongs.
Scripts target is to group scripts. They will be installed in standard executable directory.
Miscellaneous Data target type is to group simple files in the project. An installation directory needs to be specified in its group properties.
Header Files target type is to group C/C++ header files that need to be installed in system (for example as part of library API). For header files that do not need to be installed, make them part of the Program target along with the sources. They will be installed in standard include directory unless installation path is specified in its group properties.
Man documentation and Info documentation target types are for grouping man and info documentation respectively. By default, they will be installed in standard installation directories.
To remove a target:
Select the target in Project Manager view
Select from the menu.