From hb at biostat.ucsf.edu  Mon Feb 21 09:14:20 2011
From: hb at biostat.ucsf.edu (Henrik Bengtsson)
Date: Mon, 21 Feb 2011 00:14:20 -0800
Subject: [Rd] Using src/ to create executable - how to not build shared
	objects?
Message-ID: <AANLkTi=d=7VOY+Aj9e9h1rranRQ0HO8XyJKgYnw5ZYmi@mail.gmail.com>

Hi.

I can use the src/ directory to create executable, cf. Section
'Package subdirectories' in 'Writing R Extensions":

"A few packages use the src directory for purposes other than making a
shared object (e.g. to create executables). Such packages should have
files src/Makefile and src/Makefile.win (unless intended for only
Unix-alikes or only Windows)."

When doing this, how can I turn off the building of the shared objects
that are created under libs/<arch>/?  Currently they end up in the
built package binaries, e.g. *.zip and *.tgz.

Thanks,

Henrik



[Rd] Using src/ to create executable - how to not build shared objects?
Henrik Bengtsson