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" <[EMAIL PROTECTED]>
An: [email protected]
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