RidgeRun SDK
20140701
|
The autotools class provides logic for (cross)compiling autotools applications
The following is a list of parameters that may be set according to an application's specific requirements.
AUTOTOOLS_PARAMS: Extra values passed to autotools, which may include --xxx-yyy definitions or ac_something definitions.
AUTOTOOLS_BUILD_DIR: The directory in which the build will be executed, by default defined through the arm directory, so that builds for diferent architectures may be produced without conflicts.
AUTOTOOLS_SRC_DIR: The directory which contains the package's. Set to the "src" directory by default, so there's no need to modify this variable unless another directory name is required.
AUTOTOOLS_CORRECT_LA: DEPRECATED: use CORRECT_LA instead. This variable holds all .la files that whose "wired paths" have to be corrected after using the --prefix option pointing to /usr/, due to having to use external libraries such as gstreamer. Check the Development and Integration guide for specific examples on the usage of this variable.
AUTOTOOLS_CORRECT_PKGCONFIG: DEPRECATED: use CORRECT_PKGCONFIG instead. This variable holds all pkgconfig (.pc) files that whose "wired paths" have to be corrected after using the --prefix option pointing to /usr/, due to having to use external libraries such as gstreamer. Check the Development and Integration guide for specific examples on the usage of this variable.
AUTOTOOLS_CORRECT_DBUS_SERVICE: DEPRECATED: use CORRECT_DBUS_SERVICE instead. This variable holds all DBUS services files that whose "wired paths" have to be corrected after using the --prefix option pointing to /usr/, due to having to use external libraries such as gstreamer. Check the Development and Integration guide for specific examples on the usage of this variable.
AUTOTOOLS_CORRECT_LA_SED_EXPRESSION: DEPRECATED: use CORRECT_LA_SED_EXPRESSION instead. Sed regular expression used to parse and detect .la file names.
AUTOTOOLS_CORRECT_PKGCONFIG_SED_EXPRESSION: DEPRECATED: use CORRECT_PKGCONFIG_SED_EXPRESSION instead. Sed regular expression used to parse and detect Pkg-Config files filenames.
AUTOTOOLS_CORRECT_DBUS_SERVICE_SED_EXPRESSION: DEPRECATED: use CORRECT_DBUS_SERVICE_SED_EXPRESSION instead. Sed regular expression used to parse and detect DBUS Services filenames.
AUTOTOOLS_CLONE_SRC: In the case that the application build process misbehaves when redirecting the directory to which the file output of this process ends up in (as we do through the AUTOTOOLS_BUILD_DIR variable), this variable can be used to specify a directory name in which to clone the whole source directory, so that conflicts are still avoided when compiling for different architectures (however, this comes with the cost of having to replicate the whole source directory).
AUTOTOOLS_AUTOGEN_GENERATION_RULE: In the case that a configure script isn't provided by the source directory as extracted by the Fetcher class, however an autogen-like mechanism is implemented or provided for the package's installation, this variable holds the rule to activate such mechanism or script.
AUTOTOOLS_AUTOGEN_PARAMS: A variable that holds any parameter that may be required for the aforementioned autogen-like script or mechanism.
By default the system installs all the executable data directly to FSROOT, and all the development files (header, man, info) into FSDEVROOT
The following is a list of private parameters that are recommended not to be modified.
AUTOTOOLS_HOST: Line to set the host for configure. By default this value is set to "--host $(TOOLCHAIN_PREFIX)", set to an empty string to compile for your desktop machine.
AUTOTOOLS_TOOLCHAIN_PREFIX: Related to the above, corresponds to the toolchain prefix that will be used for compilation.
DESTDIR: The autotools DESTDIR parameter is passed into the package's makefile when the package is installed. Often DESTDIR is set to in the Makefile that includes the autotools.class.