httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Lewis <...@joe-lewis.com>
Subject Re: Specifying a different target directory for APXS
Date Fri, 14 Dec 2007 17:12:25 GMT
Subra A Narayanan wrote:
> I didnt receive any helpful responses to that posting thats why I am trying
> to use apxs.
>   

You DID get helpful responses - I was one of those responders who said
to use apxs.  (We pointed you to the tool because there are too many
changes across systems, platforms, etc, that it is faster, more
efficient, and better quality to use a tool that also makes the end
result more portable - go figure).

> Would you care to take a look at this issue =>
> http://mail-archives.apache.org/mod_mbox/httpd-modules-dev/200711.mbox/%3c489947c0711271021m1ac26237n4c9fc5f0db8234f4@mail.gmail.com%3e
>   

We need no more discussion on that - use apxs.  If you need a Makefile,
use the apxs tool in your Makefile.  (It IS possible, after all.)  For
example, Makefile rules might look like :

mod_test.so:
    apxs -c mod_test.so
    cp .libs/mod_test.so path/to/mod_test.so

install:
    apxs -n mod_test -i mod_test.la

That is how I have done all of my modules.  It's easier to type "make
install" rather than "apxs -i -a -c mod_test.c".  If you think you need
help in your makefile, go to google, and type in "makefile".  Just
copying a makefile from another package seriously limits your capabilities.

Joe
-- 
Joseph Lewis <http://sharktooth.org/>
"Divide the fire, and you will sooner put it out." - Publius Syrus

Mime
View raw message