Rev 72387 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
## ${R_HOME}/etc/MakefileVPATH = @srcdir@srcdir = @srcdir@top_srcdir = @top_srcdir@top_builddir = ..subdir = etcinclude $(top_builddir)/Makeconf## <NOTE>## Need target rules for all elements of SOURCES/OBJECTS.SOURCES = Makeconf.in Renviron.in javaconf.in ldpaths.inOBJECTS = $(SOURCES:.in=)## </NOTE>INSTFILES = repositoriesdistdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)DISTFILES = Makefile.in $(INSTFILES) $(SOURCES)## javareconf may create theseCLEANFILES = Makeconf.old ldpaths.oldDISTCLEANFILES = $(OBJECTS) Makefileall: Makefile RMakefile: $(srcdir)/Makefile.in $(top_builddir)/config.status@cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@## <NOTE>## Seems we need target rules for creating FOO from FOO.in: pattern## rules ('%:%.in') are not portable, and some versions of Make do not## allow separated dependencies for single suffix rules.Makeconf: $(srcdir)/Makeconf.in $(top_builddir)/config.status@cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@Renviron: $(srcdir)/Renviron.in $(top_builddir)/config.status@cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@javaconf: $(srcdir)/javaconf.in $(top_builddir)/config.status@cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ldpaths: $(srcdir)/ldpaths.in $(top_builddir)/config.status@cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@## </NOTE>R: $(OBJECTS)@if test "$(BUILDDIR_IS_SRCDIR)" = no ; then \for f in $(INSTFILES); do \$(INSTALL_DATA) $(srcdir)/$${f} .; \done \fi@if test -n "$(R_ARCH)" ; then \$(MKINSTALLDIRS) .$(R_ARCH); \for f in $(OBJECTS); do \$(INSTALL_DATA) $${f} .$(R_ARCH); \done \fiinstall: installdirs@$(ECHO) "installing $(subdir) ..."@$(INSTALL_DATA) $(srcdir)/repositories "$(DESTDIR)$(rhome)/$(subdir)"@for f in $(OBJECTS); do \$(INSTALL_DATA) $${f} "$(DESTDIR)$(rhome)/$(subdir)$(R_ARCH)"; \doneinstalldirs:@$(MKINSTALLDIRS) "$(DESTDIR)$(rhome)/$(subdir)$(R_ARCH)"install-strip: installuninstall:@$(ECHO) "uninstalling $(subdir) ..."@if test -d "$(DESTDIR)$(rhome)/$(subdir)" \&& test "`cd \"$(DESTDIR)$(rhome)\"; $(GETWD)`" \!= "`cd $(top_builddir); $(GETWD)`"; then \(cd "$(DESTDIR)$(rhome)/$(subdir)" && rm -f $(INSTFILES)); \(cd "$(DESTDIR)$(rhome)/$(subdir)$(R_ARCH)" && rm -f $(OBJECTS)); \if test -n "$(R_ARCH)"; then \rmdir "$(DESTDIR)$(rhome)/$(subdir)$(R_ARCH)" 2> /dev/null ; \fi ; \rmdir "$(DESTDIR)$(rhome)/$(subdir)" 2> /dev/null \|| $(ECHO) " subdir $(DESTDIR)$(subdir) not removed"; \fimostlyclean: cleanclean:-@test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)@if test "$(BUILDDIR_IS_SRCDIR)" = no ; then \rm -f $(INSTFILES) ; \fi## do it this way to cope with subarchitecturesdistclean: clean-@test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)@if test -n "$(R_ARCH)"; then \rm -rf .$(R_ARCH) ; \fimaintainer-clean: distcleandistdir: $(DISTFILES)@for f in $(DISTFILES); do \test -f $(distdir)/$${f} \|| ln $(srcdir)/$${f} $(distdir)/$${f} 2>/dev/null \|| cp -p $(srcdir)/$${f} $(distdir)/$${f}; \done