[jamming] Patch: make.c, 'updated' handling of source files when includes are newer

David Turner dturner at nds.com
Tue May 23 05:13:57 PDT 2006


Deak Ferenc a écrit :
>   
>> IV.4. Experimental Package Management:
>> ---------------------------------------
>>
>> The end of our Jambase contains the definitions of several new rules
>> that can be used to define independent software packages and manage
>> their installation, deinstallation and dependencies on various platforms.
>>
>> This code is highly experimental at the moment and we will not describe
>> it here in detail. If you're interested, look at the end of the Jambase
>> for rules whose name begin in Pkg (e.g. PkgBegin, PkgEnd, PkgUses, etc...)
>>     
>
> Could you provide a detailed complete example for this package framework?
>
>   
I can't write a very long document, here's an example:


in directory foo/Jamfile:
----------------------------------------
PkgBegin Foo ;

Library Foo : foo.c ;
PkgInstallLib Foo ;          # install library Foo
PkgInstallHeader foo.h ;  # install header foo.h

PkgEnd ;
----------------------------------------

in directory bar/Jamfile:
----------------------------------------
PkgBegin  Bar ;
PkgUses Foo ;  # adds installed foo.h to include path

PkgMain  bar : bar.c ;  # compiles bar executable and links it to 
installed Foo

PkgEnd ;
-------------------------------

there is more to it, you'll need to read the Jambase for more details,
sorry,

- David Turner
- The FreeType Project  (www.freetype.org)

> Ferenc Deak
>
>
>
> _______________________________________________
> jamming mailing list  -  jamming at perforce.com
> http://maillist.perforce.com/mailman/listinfo/jamming
>
>   


***********************************************************************************
Information contained in this email message is confidential and may be privileged, and is intended only for use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the postmaster at nds.com and destroy the original message.
*********************************************************************************** 


More information about the jamming mailing list