Linux Commands Examples

A great documentation place for Linux commands

kmk_ln

framework for writing simple makefiles for complex tasks


see also : make

Synopsis

kmk [OPTIONS]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
kDepObj kObjCache kmk_append kmk_cat kmk_cmp kmk_echo kmk_gmake kmk_ln kmk_mkdir kmk_printf kmk_rm kmk_sed kmk_test)
source=("http://tmp.chruetertee.ch/${pkgname}-${pkgver}r2695-src.tar.gz"
0
source
            
for prog in kmk kDepPre kDepIDB kmk_append kmk_ash kmk_cat kmk_cp kmk_echo kmk_install kmk_ln kmk_mkdir kmk_mv kmk_rm kmk_rmdir kmk_sed;
do
chmod a+x ${KBUILD_BIN_PATH}/${prog} > /dev/null 2>&1
0
source
            
echo "$0: warning: The bin directory for this platform doesn't exist. (${KBUILD_BIN_PATH}/)" 1>&${ERR_REDIR}
else
for prog in kmk kDepPre kDepIDB kmk_append kmk_ash kmk_cat kmk_cp kmk_echo kmk_install kmk_ln kmk_mkdir kmk_mv kmk_rm kmk_rmdir kmk_sed;
0
source
            
for prog in kmk kDepPre kDepIDB kmk_append kmk_ash kmk_cat kmk_cp kmk_echo kmk_install kmk_ln kmk_mkdir kmk_mv kmk_rm kmk_rmdir kmk_sed;

description

kmk and its helper tools are an extension to GNU make to ease writing portable Makefile.

The goals of the kBuild framework:

- Similar behavior cross all supported platforms.
- Flexibility, don’t create unnecessary restrictions preventing ad-hoc solutions.
- Makefile can very simple to write and maintain.

There are four concepts being tried out in the current kBuild incaration:

- One configuration file for a subtree automatically included.
- Target configuration templates as the primary mechanism for makefile simplification.
- Tools and SDKs for helping out the templates with flexibility.
- Non-recursive makefile method by using sub-makefiles.

kBuild does not provide any facilities for checking compiler/library/header configurations, that’s not in its scope. If this is important for your project, check out the autoconf tool in the GNU build system. It is possible to use kBuild together with autoconf if you like, but you might just as well use the full GNU package.

On Debian systems, the kBuild binaries can be found in /usr/bin and its data files in /usr/share/kBuild.

homepage

More information about kBuild project can be found at <http://svn.netlabs.org/kbuild/>.


see also

make


author

kBuild was written by Knut St. Osmundsen <bird-kBuild-spam[:at:]anduin[:dot:]net>.

This manual page was written by Daniel Baumann <daniel[:at:]debian[:dot:]org>, for the Debian project (but may be used by others).

How can this site be more helpful to YOU ?


give  feedback