Rev 84790 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
## ${R_HOME}/src/library/tools/MakefileVPATH = @srcdir@srcdir = @srcdir@top_srcdir = @top_srcdir@top_builddir = ../../..subdir = src/library/toolsinclude $(top_builddir)/Makeconfdistdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)DISTFILES = DESCRIPTION.in Makefile.in Makefile.win NAMESPACEpkg = toolsRSRC = `LC_COLLATE=C ls $(srcdir)/R/*.R`## avoid bootstrapping issue with internal tzcode.R_EXE = R_ENABLE_JIT=0 TZ=UTC $(top_builddir)/bin/R --vanilla --no-echo## For people who do make -C ../src/library/toolsupdate:@$(MAKE) all@R_SYSTEM_ABI='@R_SYSTEM_ABI@' $(MAKE) mklazycomp## This is deliberately conservative: -nt seems to work differently in some shells## We first use mkdesc2 (with date) to install the DESCRIPTION, then re-installall: Makefile DESCRIPTION@$(ECHO) "building package '$(pkg)'"@$(MKINSTALLDIRS) $(top_builddir)/library/$(pkg)@$(MAKE) mkR1 mkdesc2@$(MAKE) mksrc@if ! test -f $(top_builddir)/library/$(pkg)/R/$(pkg); then \$(INSTALL_DATA) all.R $(top_builddir)/library/$(pkg)/R/$(pkg); \else if test all.R -nt $(top_builddir)/library/$(pkg)/R/$(pkg); then \$(INSTALL_DATA) all.R $(top_builddir)/library/$(pkg)/R/$(pkg); \fi \fi@$(MAKE) sysdata@$(ECHO) "tools:::.install_package_description('.', '"$(top_builddir)/library/${pkg}"')" | \R_DEFAULT_PACKAGES=NULL $(R_EXE) > /dev/nullmkR: mkR1include $(top_srcdir)/share/make/basepkg.mk## Note that R_COMPILER_SUPPRESS_ALL is now on by default## Depends on Makefile for @R_SYSTEM_ABI@$(top_builddir)/library/$(pkg)/R/$(pkg).rdb: Makefile all.R $(top_srcdir)/share/licenses/license.db@$(ECHO) "byte-compiling package '$(pkg)'"@$(INSTALL_DATA) all.R $(top_builddir)/library/$(pkg)/R/$(pkg)@(cat $(srcdir)/R/makeLazyLoad.R; \$(ECHO) "makeLazyLoading(\"$(pkg)\")") | \_R_COMPILE_PKGS_=1 R_COMPILER_SUPPRESS_ALL=1 \R_SYSTEM_ABI='@R_SYSTEM_ABI@' \R_DEFAULT_PACKAGES=NULL LC_ALL=C $(R_EXE) > /dev/nullRsimple: mkR mkRsimpleRlazy: mkR mkRsimple@$(INSTALL_DATA) all.R $(top_builddir)/library/$(pkg)/R/$(pkg)@(cat $(srcdir)/R/makeLazyLoad.R; \$(ECHO) "makeLazyLoading(\"$(pkg)\")") | \R_SYSTEM_ABI='@R_SYSTEM_ABI@' \R_DEFAULT_PACKAGES=NULL LC_ALL=C $(R_EXE) > /dev/nullRlazycomp: mkR mkRsimple mklazycomp