Rev 9011 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
## ${R_HOME}/MakefileVPATH = @srcdir@srcdir = @srcdir@top_srcdir = @top_srcdir@top_builddir = .include $(top_builddir)/Makeconfdistdir = $(PACKAGE)-$(VERSION)INSTFILES = COPYING COPYRIGHTS FAQ MIRROR-SITES NEWS RESOURCESDISTFILES = $(INSTFILES) \BUGS INSTALL ONEWS README VERSION Y2K \Makeconf.in Makefile.in \aclocal.m4 config.site configure configure.in \date-stampSUBDIRS = src afm demos doc etc tests toolsGZIP = --bestall: Makefile Makeconf R docsMakefile: $(srcdir)/Makefile.in $(top_builddir)/config.status@cd $(top_builddir) \&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.statusMakeconf: $(srcdir)/Makeconf.in $(top_builddir)/config.status@cd $(top_builddir) \&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.statusconfig.status: $(srcdir)/configure@$(SHELL) ./config.status --recheck$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4@cd $(srcdir) && autoconfR:@if [ "$(srcdir)" != "." ]; then \for f in $(INSTFILES); do \$(INSTALL_DATA) $(srcdir)/$${f} $(top_builddir); \done; \fi@for d in tools afm doc etc src demos; do \(cd $${d} && $(MAKE) R) || exit 1; \done@if [ ! -f src/library/stamp-docs ]; then \echo "you should \`make docs' now ..."; \fidocs help html latex examples:: FORCE-@(cd src/library && $(MAKE) $@)FORCE:install: installdirs@for d in afm demos doc etc; do \(cd $${d} && $(MAKE) $@) || exit 1; \done@for f in $(INSTFILES); do \$(INSTALL_DATA) $(srcdir)/$${f} $(rhome); \done@echo "installing executables ..."@$(INSTALL_PROGRAM) bin/R.bin $(rhome)/bin@sed "s@R_HOME=.*@R_HOME=$(rhome)\}@" < bin/R > $(rhome)/bin/R@sed "s@R_HOME=.*@R_HOME=$(rhome)\}@" < bin/R > $(bindir)/R@chmod 755 $(bindir)/R $(rhome)/bin/R@for f in `ls bin/*.$(SHLIBEXT)`; do \$(INSTALL_PROGRAM) $${f} $(rhome)/bin; \done@if test -n "$(GNOMEUI_LIBS)"; then \$(INSTALL_PROGRAM) gnome/R_gnome.$(SHLIBEXT) $(rhome)/gnome; \fi@for f in `find bin -type f -print \| grep -v '^bin/R$$' \| grep -v '^bin/R_' \| grep -v '^bin/R.bin'`; do \$(INSTALL_SCRIPT) $${f} $(rhome)/bin; \done@echo "installing headers ..."@for f in include/*.h; do \$(INSTALL_DATA) $${f} $(rhome)/include; \done@for f in include/R_ext/*.h; do \$(INSTALL_DATA) $${f} $(rhome)/include/R_ext; \done@echo "installing library ..."@cp -r library $(rhome) || \(cd library; \$(TAR) cf - [a-z]* | (cd $(rhome)/library; $(TAR) xof -))@echo " building help index ..."@(cd $(rhome)/library; cat */TITLE > LibIndex 2> /dev/null)@echo " building HTML index ..."@$(rhome)/bin/build-help --rhome $(rhome) --htmllistsinstalldirs:@$(MKINSTALLDIRS) $(bindir)@$(MKINSTALLDIRS) $(rhome)/bin@$(MKINSTALLDIRS) $(rhome)/include@$(MKINSTALLDIRS) $(rhome)/include/R_ext@$(MKINSTALLDIRS) $(rhome)/libraryinstall-strip:$(MAKE) INSTALL_PROGRAM="${INSTALL_PROGRAM} -s" installuninstall:@echo "uninstalling library ..."@(cd $(rhome)/library; \for p in $(R_PKGS); do rm -rf $${p}; done)@echo " rebuilding help index ..."@(cd $(rhome)/library; \cat */TITLE > LibIndex 2> /dev/null || echo "" > LibIndex)@echo " rebuilding HTML index ..."@if test -x $(rhome)/bin/build-help; then \$(rhome)/bin/build-help --rhome $(rhome) --htmllists; \fi@echo "uninstalling headers ..."@rm -rf $(rhome)/include@echo "uninstalling executables ..."@rm -rf $(rhome)/bin@rm -rf $(rhome)/gnome@rm -f $(bindir)/R@for f in $(INSTFILES); do \rm -f $(rhome)/$${f}; \done@for d in afm demos doc etc; do \(cd $${d} && $(MAKE) $@); \donemostlyclean: cleanclean:@for d in $(SUBDIRS); do \(cd $${d} && $(MAKE) $@); \done@if [ "$(srcdir)" != "." ]; then \rm -f $(INSTFILES); \fidistclean: clean@for d in $(SUBDIRS); do \(cd $${d} && $(MAKE) $@); \done@rm -rf bin include library@rm -f Makeconf Makefile Makefile.bak Makefrag.* \config.cache config.log config.statusmaintainer-clean: distclean@echo "This command is intended for maintainers to use; it"@echo "deletes files that may need special rules to rebuild"dist: dist-unixdist-unix: distdir-chmod -R a+r $(distdir)GZIP=$(GZIP) $(TAR) chzf $(distdir).tar.gz $(distdir)rm -rf $(distdir)dist-win:distdir: $(DISTFILES)@rm -rf $(distdir)@mkdir $(distdir)@-chmod 755 $(distdir)@for f in $(DISTFILES); do \test -f $(distdir)/$${f} \|| ln $(srcdir)/$${f} $(distdir)/$${f} 2>/dev/null \|| cp -p $(srcdir)/$${f} $(distdir)/$${f}; \done@for d in $(SUBDIRS); do \test -d $(distdir)/$${d} \|| mkdir $(distdir)/$${d} \|| exit 1; \chmod 755 $(distdir)/$${d}; \(cd $${d} && $(MAKE) distdir) \|| exit 1; \done@for d in debian; do \((cd $(srcdir); $(TAR) -c -f - --exclude=CVS $${d}) \| (cd $(distdir); $(TAR) -x -f -)) \|| exit 1; \donedvi info pdf::-@(cd doc && $(MAKE) $@)install-dvi install-info install-pdf::-@(cd doc/manual && $(MAKE) $@)uninstall-dvi uninstall-info uninstall-pdf::-@(cd doc/manual && $(MAKE) $@)TAGS:check test:: test-Alltest-All test-Examples test-Specific::@(cd tests && $(MAKE) $@)check-force: test-All-forcetest-All-force:@(cd tests && $(MAKE) test-All FORCE=FORCE)test-Examples-force:@(cd tests && $(MAKE) test-Examples FORCE=FORCE)test-Specific-force:@(cd tests && $(MAKE) test-Specific FORCE=FORCE)