Rev 59853 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
## ${R_HOME}/src/library/methods/MakefileVPATH = @srcdir@srcdir = @srcdir@top_srcdir = @top_srcdir@top_builddir = ../../..subdir = src/library/methodsinclude $(top_builddir)/Makeconfdistdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)DISTFILES = DESCRIPTION.in Makefile.in Makefile.win NAMESPACEpkg = methodsRSRC = `LC_COLLATE=C ls $(srcdir)/R/*.R`R_EXE = $(top_builddir)/bin/R --vanilla --slaveEXTRAS = @BYTE_COMPILE_PACKAGES_TRUE@ R_COMPILE_PKGS=1 R_COMPILER_SUPPRESS_ALL=1all: Makefile DESCRIPTION@$(ECHO) "building package '$(pkg)'"@$(MKINSTALLDIRS) $(top_builddir)/library/$(pkg)@$(MAKE) mkR2 mkdesc@$(MAKE) mksrc@if test -n "$(R_NO_BASE_COMPILE)"; then \$(MAKE) RfilesLazy; \else \$(MAKE) RfilesLazy EXTRAS2=$(EXTRAS); \fimkR: mkR2include $(top_srcdir)/share/make/basepkg.mkRfilesLazy: $(top_builddir)/library/$(pkg)/R/$(pkg).rdb## loadNamespace() depends on the NAMESPACE file. We remove the## dumped copy (it is rebuilt later), and we have already installed## NAMESPACE in the library tree.## This depends on many other things, including the list of primitives.## Depending on names.c at least catches the latter.$(top_builddir)/library/$(pkg)/R/$(pkg).rdb: all.R $(srcdir)/NAMESPACE \$(top_srcdir)/src/main/names.c@rm -f $(top_builddir)/library/$(pkg)/Meta/nsInfo.rds $@@$(INSTALL_DATA) all.R $(top_builddir)/library/$(pkg)/R/$(pkg)@if test -n "$(EXTRAS2)"; then \$(ECHO) "byte-compiling '$(pkg)'"; \fi@$(ECHO) "invisible(loadNamespace(\"$(pkg)\"))" | \$(EXTRAS2) R_DEFAULT_PACKAGES=NULL LC_ALL=C $(R_EXE)@$(INSTALL_DATA) $(top_srcdir)/share/R/nspackloader.R \$(top_builddir)/library/$(pkg)/R/$(pkg)## not supportedRsimple:Rlazy: mkR@rm -f $(top_builddir)/library/$(pkg)/R/$(pkg).rdb@$(MAKE) RfilesLazyRlazycomp: mkR@rm -f $(top_builddir)/library/$(pkg)/R/$(pkg).rdb@$(MAKE) RfilesLazy EXTRAS2=$(EXTRAS)