[Rd] Bug(?) in Makefile.win
Prof Brian D Ripley
ripley@stats.ox.ac.uk
Tue, 6 Nov 2001 22:08:46 +0000 (GMT)
On Tue, 6 Nov 2001, Duncan Murdoch wrote:
> I'm working on a package that will need a separate makefile for
> Windows. However, I'm finding that when I rename the Makefile to
> Makefile.win, it stops working. (I suspect at least 3 differences so
> far: the code to convert .a libraries to a .dll doesn't work, and
> some macros like $(CP) and $(RANLIB) don't exist.)
>
> I'd like to submit a bug report, but I want to be sure this isn't "as
> designed" first.
>
> 1. Should Makefile.win and Makefile perform identically on Windows?
No. Makefile.win is only designed to be used in the src dir. If so
it is used (see MakePkg) but a src/Makefile never is.
So they are quite distinct, in my understanding.
You probably want to include MkRules in your own Makefile.win.
> 2. Where do I go to find where Makefile.win gets invoked, to see if I
> can spot why there'd be a difference?
Read readme.packages or CHANGES, for example
The reason is that many pacakges used to come with quite inappropriate
Makefiles for Windows (and often inappropriate for Windows too).
Brian
--
Brian D. Ripley, ripley@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._