From andreas.borg at unimedizin-mainz.de  Mon Nov 15 11:10:52 2010
From: andreas.borg at unimedizin-mainz.de (Andreas Borg)
Date: Mon, 15 Nov 2010 11:10:52 +0100
Subject: [Rd] Package with multiple shared libraries
Message-ID: <4CE1072C.8010709@unimedizin-mainz.de>

Dear R-devel members,

I would like to compile a package with two seperate shared libraries. 
For example, in a package 'foo', a file 'bar.so' built from a distinct 
set of source files should be installed in addition to the default 
'foo.so' (or .dll on windows). Does anyone know about a way to achieve 
this without having a custom Makefile, e.g. via 'Makevars'?

Also, I'd be thankful for information on existing packages which make 
use of this or a similar customization.

Just in case anyone is interested in details: I have some C-code which 
is not intended to be loaded into R but into a SQLite database to which 
I connect via RSQLite. I would like to have these object in a seperate 
library.

Thanks and kind regards,

Andreas

-- 
Andreas Borg
Medizinische Informatik

UNIVERSIT?TSMEDIZIN
der Johannes Gutenberg-Universit?t
Institut f?r Medizinische Biometrie, Epidemiologie und Informatik
Obere Zahlbacher Stra?e 69, 55131 Mainz
www.imbei.uni-mainz.de

Telefon +49 (0) 6131 175062
E-Mail: borg at imbei.uni-mainz.de

Diese E-Mail enth?lt vertrauliche und/oder rechtlich gesch?tzte Informationen. Wenn Sie nicht der
richtige Adressat sind oder diese E-Mail irrt?mlich erhalten haben, informieren Sie bitte sofort den
Absender und l?schen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe
dieser Mail und der darin enthaltenen Informationen ist nicht gestattet.



[Rd] Package with multiple shared libraries
Andreas Borg