httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Frey <jens.f...@coffeecrew.org>
Subject AW: Re: Splitting source
Date Wed, 25 Jun 2008 08:00:57 GMT
Hi Tim, 

thanks so much for pointing me to your example, that seems to work
this way ... just if anyone needs this too, what i did was which differs
from Tim's version slightly with the file endings.

--- modules.mk ---
SRC = splitfile.slo mod_simple.slo
SRC_LO = splitfile.lo mod_simple.lo
mod_simple.la: $(SRC)
        $(SH_LINK) -rpath $(libexecdir) -module -avoid-version $(SRC_LO)
DISTCLEAN_TARGETS = modules.mk
shared =  mod_simple.la
--- modules.mk ---


/jens

----- Urspr√ľngliche Mail -----
Von: "Tim Bray" <Tim.Bray@Sun.COM>
An: dev@httpd.apache.org
Gesendet: Dienstag, 24. Juni 2008 21:16:03 GMT +01:00 Amsterdam/Berlin/Bern/Rom/Stockholm/Wien
Betreff: Re: Splitting source

On Jun 24, 2008, at 1:28 AM, Jens Frey wrote:

> Hi all,
>
> i am trying to develop a module where parts of the source is in  
> other files.
> The question now is, where exactly in the Makefile do i plug that in?
>
> If i use apxs to build a simple module it creates a few files, like:

I got that working by fooling with the modules.mk that apxs produced.   
Check out mod_atom at code.google.com.  -Tim


Mime
View raw message