# # ${RHOME}/src/Makefile VPATH = @srcdir@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = .. subdir = src include $(top_builddir)/Makeconf distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) DISTFILES = Makefile.in SUBDIRS = include appl nmath unix main scripts library TARGETS = all install install-strip uninstall mostlyclean clean \ TAGS info dvi dist check R docs $(TARGETS):: @for d in $(SUBDIRS); do (cd $$d && $(MAKE) $@); done distclean: @for d in $(SUBDIRS); do (cd $$d && $(MAKE) $@); done @rm -f Makefile maintainer-clean: distclean 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 @((cd $(srcdir); \ $(TAR) -c -f - --exclude=CVS macintosh windows) \ | (cd $(distdir); $(TAR) -x -f -)) \ || exit 1