The R Project SVN R

Rev

Rev 22584 | Rev 33228 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22584 Rev 22605
Line 16... Line 16...
16
OBJECTS = $(SOURCES:.in=)
16
OBJECTS = $(SOURCES:.in=)
17
## </NOTE>
17
## </NOTE>
18
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
18
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
19
DISTFILES = Makefile.in $(SOURCES)
19
DISTFILES = Makefile.in $(SOURCES)
20
 
20
 
21
EXPORTFILE = @USE_EXPORTFILE_TRUE@ R.exp
21
EXPORTFILES = @USE_EXPORTFILES_TRUE@ R.exp Rlapack.exp
22
 
22
 
23
CLEANFILES = $(EXPORTFILE)
23
CLEANFILES = $(EXPORTFILES)
24
DISTCLEANFILES = $(OBJECTS) Makefile
24
DISTCLEANFILES = $(OBJECTS) Makefile
25
 
25
 
26
all: Makefile R
26
all: Makefile R
27
 
27
 
28
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
28
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
Line 40... Line 40...
40
 
40
 
41
R: $(OBJECTS)
41
R: $(OBJECTS)
42
 
42
 
43
install: installdirs
43
install: installdirs
44
	@echo "installing $(subdir) ..."
44
	@echo "installing $(subdir) ..."
45
	@for f in $(OBJECTS) $(EXPORTFILE); do \
45
	@for f in $(OBJECTS) $(EXPORTFILES); do \
46
	  $(INSTALL_DATA) $${f} $(rhome)/etc; \
46
	  $(INSTALL_DATA) $${f} $(rhome)/etc; \
47
	done
47
	done
48
installdirs:
48
installdirs:
49
	@$(MKINSTALLDIRS) $(rhome)/etc
49
	@$(MKINSTALLDIRS) $(rhome)/etc
50
install-strip: install
50
install-strip: install
Line 53... Line 53...
53
	@echo "uninstalling $(subdir) ..."
53
	@echo "uninstalling $(subdir) ..."
54
	@if test -d $(rhome)/$(subdir) \
54
	@if test -d $(rhome)/$(subdir) \
55
	  && test "`cd $(rhome); $(GETWD)`" \
55
	  && test "`cd $(rhome); $(GETWD)`" \
56
	       != "`cd $(top_builddir); $(GETWD)`"; then \
56
	       != "`cd $(top_builddir); $(GETWD)`"; then \
57
	  (cd $(rhome)/etc && \
57
	  (cd $(rhome)/etc && \
58
	    rm -f $(OBJECTS) $(EXPORTFILE)); \
58
	    rm -f $(OBJECTS) $(EXPORTFILES)); \
59
	  rmdir $(rhome)/etc 2> /dev/null \
59
	  rmdir $(rhome)/etc 2> /dev/null \
60
	    || echo "  subdir etc not removed"; \
60
	    || echo "  subdir etc not removed"; \
61
	fi
61
	fi
62
 
62
 
63
mostlyclean: clean
63
mostlyclean: clean