2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 13:22:11 +00:00
Files
build/kcc-tools.jam
Dave Abrahams 2760c60bad This commit was generated by cvs2svn to compensate for changes in r3058,
which included commits to RCS files with non-trunk default branches.


[SVN r10675]
2001-07-20 16:50:21 +00:00

60 lines
1.3 KiB
Plaintext

# (C) Copyright Jeremy Siek 2001. Permission to copy, use, modify, sell
# and distribute this software is granted provided this copyright notice
# appears in all copies. This software is provided "as is" without
# express or implied warranty, and with no claim as to its suitability
# for any purpose.
# This file is /NOT/ up-to-date; please use other toolset description
# files as examples.
kcc.bin-directory = [ conditional $(kcc.root-directory) : $(kcc.root-directory)$(SLASH)bin$(SLASH) : " " ] ;
detect-build-tools kcc : "KCC" ;
#### Link ####
rule Link-action
{
kcc-Link-action $(<) : $(>) ;
}
actions kcc-Link-action bind NEEDLIBS
{
$(kcc.bin-directory)KCC $(LINKFLAGS) -o "$(<)" $(UNDEFS) -L$(STDLIBPATH) $(NEEDLIBS) "$(>)"
}
#### Cc #####
rule Cc-action
{
kcc-Cc-action $(<) : $(>) ;
}
actions kcc-Cc-action
{
$(kcc.bin-directory)KCC -c $(CFLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)"
}
#### C++ ####
rule C++-action
{
kcc-C++-action $(<) : $(>) ;
}
actions kcc-C++-action
{
$(kcc.bin-directory)KCC -c $(CFLAGS) $(C++FLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)"
}
#### Archive ####
rule Archive-action
{
kcc-Archive-action $(<) : $(>) ;
}
actions updated together piecemeal kcc-Archive-action
{
KCC -g -o "$(<)" "$(>)"
}