apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brad Nicholes" <BNICHO...@novell.com>
Subject Re: Adding a source .c
Date Thu, 07 Jun 2007 14:18:04 GMT
>>> On 6/6/2007 at 6:48 PM, in message <466755D8.5060901@rowe-clan.net>, "William
A. Rowe, Jr." <wrowe@rowe-clan.net> wrote:
> Lucian Adrian Grijincu wrote:
>> 
>> can someone please illuminate me what needs to be done to have a
>> single source file be compiled and linked on all platforms?
>> 
>> I'd like to see this:
>> 
> http://mail-archives.apache.org/mod_mbox/apr-dev/200705.mbox/%3c4d45da0507051 
> 61718l54f7b079h83ade8a3cc19751c@mail.gmail.com%3e 
>> 
>> included in APR. It's been discussed in december 2006 too:
>> http://mail-archives.apache.org/mod_mbox/apr-dev/200612.mbox/browser 
>> 
>> It's an implementation of "rm -d -r" based only on APR objects.
> 
> Of course, it's too late to extend the 1.2 api, this could be backported
> to 0.9 if you desired, and added to trunk of course.
> 
> 1. drop the file in unix/
> 2. add a new #SOURCE section in the libapr.dsp and apr.dsp win32 build
>    files which add that new source (pointing to the unix tree).
> 3. for other platforms which -exist- (don't add a platform, the build will
>    default to unix/ where another doesn't exist) add the same-named source
>    consisting of nothing but an #include "../unix/foo.c" which means we have
>    only one source to maintain.
> 4. add to the NW build (ENOCLUE offhand, you might look at a recent commit
>    or someone else might pipe in).

In most cases for NetWare, just add the file to the appropriate unix dir and then add the
file name to the corresponding NWGnuMakefile.




Mime
View raw message