The R Project SVN R

Rev

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

Rev 7003 Rev 7017
Line 8... Line 8...
8
top_builddir = ../..
8
top_builddir = ../..
9
subdir = src/include
9
subdir = src/include
10
 
10
 
11
include $(top_builddir)/Makeconf
11
include $(top_builddir)/Makeconf
12
 
12
 
13
SRC_HEADERS = Mathlib.h \
-
 
14
	Rdefines.h Rinternals.h R.h S.h S_compat.h f2c.h
13
SRC_HEADERS = Mathlib.h Rdefines.h Rinternals.h R.h S.h S_compat.h f2c.h
15
OBJ_HEADERS = Rconfig.h Rversion.h
14
OBJ_HEADERS = Rconfig.h Rversion.h
16
R_EXT_HEADERS = Arith.h Complex.h Constants.h Error.h Errormsg.h \
15
R_EXT_HEADERS = Arith.h Complex.h Constants.h Error.h Errormsg.h \
17
	F77.h Memory.h Print.h Random.h Scompat.h Sort.h \
16
	F77.h Memory.h Print.h Random.h Scompat.h Sort.h \
18
	Linpack.h Blas.h
17
	Linpack.h Blas.h
19
R_EXT_HEADERS2 = Applic.h Fortran.h PrtUtil.h Utils.h
18
R_EXT_HEADERS2 = Applic.h Fortran.h PrtUtil.h Utils.h
-
 
19
R_EXT_OBJ_HEADERS = Rver.h
20
 
20
 
21
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
21
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
22
DISTFILES = Makefile.in README \
22
DISTFILES = Makefile.in README \
23
	Defn.h Fileio.h Graphics.h IOStuff.h Parse.h Print.h \
23
	Defn.h Fileio.h Graphics.h IOStuff.h Parse.h Print.h \
24
	Statdecl.h Startup.h Stattab.h \
24
	Statdecl.h Startup.h Stattab.h \
Line 30... Line 30...
30
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
30
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
31
	@cd $(top_builddir) && \
31
	@cd $(top_builddir) && \
32
	  CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \
32
	  CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \
33
	  $(SHELL) ./config.status
33
	  $(SHELL) ./config.status
34
 
34
 
35
R: Makefile Rconfig.h Rversion.h FFDecl.h FFTab.h
35
R: Makefile Rconfig.h Rversion.h FFDecl.h FFTab.h R_ext/Rver.h # R_ext/F77.h 
36
	@$(MKINSTALLDIRS) $(top_builddir)/include $(top_builddir)/include/R_ext
36
	@$(MKINSTALLDIRS) $(top_builddir)/include $(top_builddir)/include/R_ext
37
	@for f in $(SRC_HEADERS); do \
37
	@for f in $(SRC_HEADERS); do \
38
	  $(INSTALL_DATA) $(srcdir)/$$f $(top_builddir)/include; \
38
	  $(INSTALL_DATA) $(srcdir)/$$f $(top_builddir)/include; \
39
	done
39
	done
40
	@for f in $(R_EXT_HEADERS); do \
40
	@for f in $(R_EXT_HEADERS); do \
Line 44... Line 44...
44
	  $(INSTALL_DATA) $(srcdir)/$$f $(top_builddir)/include/R_ext; \
44
	  $(INSTALL_DATA) $(srcdir)/$$f $(top_builddir)/include/R_ext; \
45
	done
45
	done
46
	@for f in $(OBJ_HEADERS); do \
46
	@for f in $(OBJ_HEADERS); do \
47
	  $(INSTALL_DATA) $$f $(top_builddir)/include; \
47
	  $(INSTALL_DATA) $$f $(top_builddir)/include; \
48
	done
48
	done
-
 
49
	@for f in $(R_EXT_OBJ_HEADERS); do \
-
 
50
	  $(INSTALL_DATA) R_ext/$$f $(top_builddir)/include/R_ext; \
-
 
51
	done
49
 
52
 
50
Rconfig.h: $(top_srcdir)/configure $(srcdir)/Rconfig.h.in
53
Rconfig.h: $(top_srcdir)/configure $(srcdir)/Rconfig.h.in
51
	@cd $(top_builddir) && $(MAKE) src/include/Rconfig.h
54
	@cd $(top_builddir) && $(MAKE) src/include/Rconfig.h
52
	@touch $@
55
	@touch $@
53
 
56
 
54
Rversion.h: $(top_srcdir)/VERSION $(top_srcdir)/date-stamp
57
Rversion.h: $(top_srcdir)/VERSION $(top_srcdir)/date-stamp
55
	@$(top_srcdir)/tools/GETVERSION > $@
58
	@$(top_srcdir)/tools/GETVERSION > $@
56
 
59
 
-
 
60
R_ext/Rver.h: $(top_srcdir)/VERSION
-
 
61
	@mkdir -p R_ext
-
 
62
	@$(top_srcdir)/tools/GETRVERSION > $@
-
 
63
 
-
 
64
R_ext/F77.h: $(top_srcdir)/configure $(srcdir)/R_ext/F77.h.in
-
 
65
	mkdir -p R_ext
-
 
66
	cd $(top_builddir) && \
-
 
67
	  CONFIG_FILES=$(subdir)/$@\
-
 
68
	  $(SHELL) ./config.status
-
 
69
 
-
 
70
 
57
FFDecl.h FFTab.h:: $(top_srcdir)/src/appl/ROUTINES
71
FFDecl.h FFTab.h:: $(top_srcdir)/src/appl/ROUTINES
58
	@$(top_srcdir)/tools/GETSYMBOLS
72
	@$(top_srcdir)/tools/GETSYMBOLS
59
 
73
 
60
mostlyclean:
74
mostlyclean:
61
clean:
75
clean: