"pavankumar karthikeya bulusu" <[EMAIL PROTECTED]> writes:
> all : mod_foo.so
> mod_foo.so : $(SRC)Makefile
> $(APXS) -o $@ -c $(SRC)
> but iam getting an error and not able to generate the .so file
>
> i want a single .so file like the mod_foo.so can you help me in this
> regard.
Exact error messages are very helpful.
apxs builds mod_foo.la in current directory and a shared library is
placed in the .libs subdirectory.
Thus, your Makefile should look more like
SRC=mod_foo.c whatever.c
mod_foo.la: $(SRC) Makefile
$(APXS) -c $(SRC)
"apxs -i mod_foo.la" will grab the .so (or .sl or whatever is
appropriate for that platform) from the .libs directory and copy it
to the Apache modules directory.
--
Jeff Trawick | [EMAIL PROTECTED]
Born in Roswell... married an alien...