Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 228 lines (202 sloc) 7.247 kb
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
1 #
3f741870 »
1999-05-11 Rename RHOME to R_HOME.
2 # ${R_HOME}/Makefile
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
3
4 VPATH = @srcdir@
5 srcdir = @srcdir@
6 top_srcdir = @top_srcdir@
7
8 top_builddir = .
9
10 include $(top_builddir)/Makeconf
11
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
12 distdir = $(PACKAGE)-$(VERSION)
39b8f5bb »
2010-07-03 make use of HTML version of NEWS
13 INSTFILES = COPYING
5d9b5df5 »
2010-07-07 build and install R_HOME/NEWS.pdf
14 ## plus NEWS and NEWS.pdf, but need to wait until they are generated
3e5a783b »
2005-12-12 start moving top-level docs to doc/ for easier split installations
15 NON_SVN_INSTFILES = SVN-REVISION
c7b5dc4b »
1999-10-07 branch update - not bugfree
16 DISTFILES = $(INSTFILES) \
f9e88be3 »
2005-12-12 remove Y2K
17 ChangeLog INSTALL ONEWS OONEWS README VERSION \
fc709cac »
2009-02-24 separate framework-specific stuff to a separate makefile
18 Makeconf.in Makefile.in Makefile.fw \
76a7f91b »
2005-06-08 remove 'date-stamp' from DISTFILES
19 config.site configure configure.ac
a3eef76d »
2005-08-09 improve NLS, especially if --disable-nls
20 SUBDIRS = m4 tools doc etc share src tests @USE_NLS_TRUE@ po
3e5a783b »
2005-12-12 start moving top-level docs to doc/ for easier split installations
21 SUBDIRS_WITH_NO_BUILD = @USE_NLS_FALSE@ po
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
22
e1a42349 »
2011-04-06 now need lattice installed to build the grid vignettes
23 all: Makefile Makeconf R docs recommended svn-vignettes
8fe74355 »
2004-08-20 make recommended packages before vignettes (as use lattice, at least …
24 recommended: @USE_RECOMMENDED_PACKAGES_TRUE@ stamp-recommended
1f7ea5b8 »
1998-09-17 Rewrite.
25
ba6787e8 »
1999-05-08 branch update
26 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
3f2fe45c »
2002-01-20 Rename 'configure.in' to 'configure.ac'.
27 @cd $(top_builddir) && $(SHELL) ./config.status $@
b2a3d9aa »
2000-02-21 Misc fixes and cleanups.
28 Makeconf: $(srcdir)/Makeconf.in $(top_builddir)/config.status
3f2fe45c »
2002-01-20 Rename 'configure.in' to 'configure.ac'.
29 @cd $(top_builddir) && $(SHELL) ./config.status $@
b2a3d9aa »
2000-02-21 Misc fixes and cleanups.
30
3548e850 »
2004-10-15 build ac{include,local} in the build tree as needed, don't ship
31 ACLOCAL_M4 = aclocal.m4
a23f43e9 »
2011-06-20 tweaks for POSIX 2008 and FreeBSD stat() calls
32 ## NB: this is duplicated in m4/Makefile.in
06e17098 »
2001-05-17 Create `aclocal.m4' from `m4/*' via `acconfig.h'.
33 ACINCLUDE_DEPENDENCIES = \
4d29d3dd »
2001-05-14 Split `acinclude.m4' into new subdir `m4'.
34 m4/R.m4 \
5d81ae70 »
2009-03-18 support of own bigendian test (from autoconf 2.61)
35 m4/bigendian.m4 \
37397fcb »
2008-02-20 add cairo-based X11, jpeg and png devices (not yet the default
36 m4/cairo.m4 \
d7c77fdc »
2004-11-19 more cleaning up of FLIBS
37 m4/clibs.m4 \
faf7cb13 »
2004-04-18 branch update
38 m4/codeset.m4 \
f5eef21c »
2005-12-26 add gettext-lib.m4, as not always already installed
39 m4/gettext.m4 m4/gettext-lib.m4 \
6fd30062 »
2005-09-08 Add Java support to configure (append java library path to R_LD_LIBRA…
40 m4/java.m4 \
a23f43e9 »
2011-06-20 tweaks for POSIX 2008 and FreeBSD stat() calls
41 m4/libtool.m4 m4/ltoptions.m4 m4/ltversion.m4 m4/ltsugar.m4 m4/lt~obsolete.m4 \
42 m4/stat-time.m4
530510dd »
2002-01-22 configure needs a dependency on VERSION.
43 CONFIGURE_DEPENDENCIES = $(srcdir)/VERSION
b2a3d9aa »
2000-02-21 Misc fixes and cleanups.
44 config.status: $(srcdir)/configure
e6f219c0 »
2000-03-06 Improve automatic remaking.
45 @$(SHELL) ./config.status --recheck
530510dd »
2002-01-22 configure needs a dependency on VERSION.
46 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
3548e850 »
2004-10-15 build ac{include,local} in the build tree as needed, don't ship
47 @BD=`pwd`; cd $(srcdir) && $(AUTOCONF) -B $${BD}
48 $(ACLOCAL_M4): $(srcdir)/configure.ac acinclude.m4
49 @BD=`pwd`; cd $(srcdir) && $(ACLOCAL) --output=$${BD}/$@ -I $${BD}
f8d49774 »
2004-10-19 lost dependencies
50 acinclude.m4: $(srcdir)/configure.ac $(ACINCLUDE_DEPENDENCIES)
3548e850 »
2004-10-15 build ac{include,local} in the build tree as needed, don't ship
51 @(cd $(srcdir) && cat $(ACINCLUDE_DEPENDENCIES)) > $@
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
52
e1acdaf0 »
2000-10-23 Start support for libtool and R shared library.
53 LIBTOOL_DEPS = @LIBTOOL_DEPS@
54 libtool: $(LIBTOOL_DEPS)
55 $(SHELL) ./config.status --recheck
56
0f0950ca »
2004-10-15 move some files from SVN sources to `make dist'.
57 R: Makefile svnonly
a437d9e6 »
2001-04-17 Improve testing whether srcdir equals builddir.
58 @if test "$(BUILDDIR_IS_SRCDIR)" = no ; then \
6f16facb »
1999-12-26 branch update
59 for f in $(INSTFILES); do \
60 $(INSTALL_DATA) $(srcdir)/$${f} $(top_builddir); \
61 done; \
62 fi
89cc5935 »
2001-05-11 Make targets for build and (un)install more recursive.
63 @for d in $(SUBDIRS); do \
aa7eb80a »
1998-12-04 branch update
64 (cd $${d} && $(MAKE) R) || exit 1; \
0aaec01b »
1998-09-22 Add demos in install and clean.
65 done
8cbcb25d »
2002-04-30 Remove 'autom4te.cache' in 'make maintainer-clean'.
66 @test -f src/library/stamp-docs || \
86e64632 »
2007-11-16 more use of $(ECHO)
67 $(ECHO) "you should 'make docs' now ..."
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
68
1c06edb2 »
2002-10-22 branch update
69 docs: R FORCE
640f3305 »
2000-10-06 Build HTML versions of texinfo manuals.
70 -@(cd doc && $(MAKE) $@)
71 -@(cd src/library && $(MAKE) $@)
1f7ea5b8 »
1998-09-17 Rewrite.
72 FORCE:
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
73
49dde093 »
2002-09-08 updated mechanism re. recommended packages
74 stamp-recommended: R docs
368bb7f7 »
2002-10-28 Improve target 'stamp-recommended'.
75 @(cd src/library/Recommended && $(MAKE))
3ca2d9e4 »
2002-09-04 Further changes related to recommended packages.
76
8fe74355 »
2004-08-20 make recommended packages before vignettes (as use lattice, at least …
77 vignettes: stamp-recommended
1478e360 »
2006-10-05 Don't catch build vignette failures.
78 @(cd src/library && $(MAKE) $@)
8fe74355 »
2004-08-20 make recommended packages before vignettes (as use lattice, at least …
79
3379a448 »
2011-04-06 add par("ylbias")
80 ## One of the grid vignettes requires lattice
e1a42349 »
2011-04-06 now need lattice installed to build the grid vignettes
81 svn-vignettes: stamp-recommended
82 -@if test -f "non-tarball"; then \
83 (cd src/library && $(MAKE) vignettes); \
84 fi
85
eeb85233 »
2007-01-08 make install-strip
86 install install-strip: installdirs svnonly
89cc5935 »
2001-05-11 Make targets for build and (un)install more recursive.
87 @for d in $(SUBDIRS); do \
aa7eb80a »
1998-12-04 branch update
88 (cd $${d} && $(MAKE) $@) || exit 1; \
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
89 done
fd3265c1 »
2000-04-08 Fix installation bug.
90 @for f in $(INSTFILES); do \
78bf050c »
2007-05-03 add DESTDIR support
91 $(INSTALL_DATA) $(srcdir)/$${f} "$(DESTDIR)$(rhome)"; \
fd3265c1 »
2000-04-08 Fix installation bug.
92 done
5d9b5df5 »
2010-07-07 build and install R_HOME/NEWS.pdf
93 @for f in NEWS NEWS.pdf $(NON_SVN_INSTFILES); do \
78bf050c »
2007-05-03 add DESTDIR support
94 $(INSTALL_DATA) $${f} "$(DESTDIR)$(rhome)"; \
0f0950ca »
2004-10-15 move some files from SVN sources to `make dist'.
95 done
fc709cac »
2009-02-24 separate framework-specific stuff to a separate makefile
96 @WANT_R_FRAMEWORK_TRUE@ $(MAKE) -f $(srcdir)/Makefile.fw top_srcdir=$(top_srcdir) $@
c6140253 »
2004-02-29 new fixes for the R framework installation: patches to the SHLIB scri…
97
0f0950ca »
2004-10-15 move some files from SVN sources to `make dist'.
98 svnonly:
147bf7a2 »
2005-12-20 repair last attempt at a fix
99 @if test ! -f "$(srcdir)/doc/FAQ" || test -f non-tarball ; then \
4d49f36c »
2006-08-14 simplify make distclean
100 (cd doc/manual && $(MAKE) front-matter html-non-svn) ; \
0f0950ca »
2004-10-15 move some files from SVN sources to `make dist'.
101 touch non-tarball ; \
7c16b841 »
2008-06-26 do NOT use -rHEAD on svn info
102 (cd $(srcdir); LC_ALL=C TZ=GMT svn info || $(ECHO) "Revision: unknown") 2> /dev/null \
beaf15d0 »
2005-05-18 try harder to get svn info
103 | sed -n -e '/^Revision/p' -e '/^Last Changed Date/'p \
7b296477 »
2006-09-21 updates for SVN 1.4.0
104 | cut -d' ' -f1,2,3,4 > SVN-REVISION-tmp ; \
d2f1b3f4 »
2008-11-05 make non-executable scripts intended to be used via $(SHELL)
105 $(SHELL) $(top_srcdir)/tools/move-if-change SVN-REVISION-tmp SVN-REVISION ; \
beaf15d0 »
2005-05-18 try harder to get svn info
106 rm -f SVN-REVISION-tmp ; \
0f0950ca »
2004-10-15 move some files from SVN sources to `make dist'.
107 else \
108 if test "$(BUILDDIR_IS_SRCDIR)" = no ; then \
109 for f in $(NON_SVN_INSTFILES); do \
5e24ffc4 »
2004-10-22 update DISTFILES, tweak install from make dist tarball
110 $(INSTALL_DATA) $(srcdir)/$${f} $(top_builddir); \
0f0950ca »
2004-10-15 move some files from SVN sources to `make dist'.
111 done \
112 fi \
113 fi
c6140253 »
2004-02-29 new fixes for the R framework installation: patches to the SHLIB scri…
114
d8c40343 »
2005-04-20 add target to install libR.so
115 libR_la = lib/libR$(DYLIB_EXT)
116 install-libR:
117 @if test -f $(libR_la); then $(MAKE) install-libR-exists; fi
118 install-libR-exists:
78bf050c »
2007-05-03 add DESTDIR support
119 @$(MKINSTALLDIRS) "$(DESTDIR)${libdir}"
120 @$(INSTALL_DATA) -m755 $(libR_la) "$(DESTDIR)${libdir}"
d8c40343 »
2005-04-20 add target to install libR.so
121
afe5b256 »
1998-09-15 Improve installdirs target.
122 installdirs:
78bf050c »
2007-05-03 add DESTDIR support
123 @$(MKINSTALLDIRS) "$(DESTDIR)$(rhome)"
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
124 uninstall:
89cc5935 »
2001-05-11 Make targets for build and (un)install more recursive.
125 @(for d in $(SUBDIRS); do rsd="$${d} $${rsd}"; done; \
126 for d in $${rsd}; do (cd $${d} && $(MAKE) $@); done)
5d9b5df5 »
2010-07-07 build and install R_HOME/NEWS.pdf
127 @for f in NEWS NEWS.pdf $(INSTFILES) $(NON_SVN_INSTFILES); do \
78bf050c »
2007-05-03 add DESTDIR support
128 rm -f "$(DESTDIR)$(rhome)/$${f}"; \
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
129 done
78bf050c »
2007-05-03 add DESTDIR support
130 @rm -rf "$(DESTDIR)$(Rexecbindir)" "$(DESTDIR)$(rhome)/lib"
131 @rmdir "$(DESTDIR)$(rhome)" 2>/dev/null \
86e64632 »
2007-11-16 more use of $(ECHO)
132 || $(ECHO) " dir $(DESTDIR)$(rhome) not removed"
78bf050c »
2007-05-03 add DESTDIR support
133 @rm -f "$(DESTDIR)${libdir}/libR$(DYLIB_EXT)"
1dbd6668 »
2003-08-04 added install-aqua target to the install procedure
134
1f7ea5b8 »
1998-09-17 Rewrite.
135 mostlyclean: clean
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
136 clean:
4b393dcb »
2001-05-21 Reverse order of SUBDIRS for clean/disclean.
137 @(for d in $(SUBDIRS); do rsd="$${d} $${rsd}"; done; \
138 for d in $${rsd}; do (cd $${d} && $(MAKE) $@); done)
a437d9e6 »
2001-04-17 Improve testing whether srcdir equals builddir.
139 @if test "$(BUILDDIR_IS_SRCDIR)" = no ; then \
120ce4a2 »
2006-01-07 sort out some make distclean/make uninstall issues
140 rm -f $(INSTFILES); \
6f16facb »
1999-12-26 branch update
141 fi
1f7ea5b8 »
1998-09-17 Rewrite.
142 distclean: clean
4b393dcb »
2001-05-21 Reverse order of SUBDIRS for clean/disclean.
143 @(for d in $(SUBDIRS); do rsd="$${d} $${rsd}"; done; \
144 for d in $${rsd}; do (cd $${d} && $(MAKE) $@); done)
7a48a55f »
2004-06-28 distclean should remove the lib directory
145 -@rm -rf bin include lib library modules gnome
0f0950ca »
2004-10-15 move some files from SVN sources to `make dist'.
146 @if test -f non-tarball ; then \
5d9b5df5 »
2010-07-07 build and install R_HOME/NEWS.pdf
147 rm -f $(NON_SVN_INSTFILES) NEWS NEWS.pdf non-tarball doc/FAQ doc/RESOURCES doc/html/resources.html doc/html/NEWS.html; \
4d49f36c »
2006-08-14 simplify make distclean
148 fi
149 @if test "$(BUILDDIR_IS_SRCDIR)" = no ; then \
150 rm -f $(NON_SVN_INSTFILES); \
0f0950ca »
2004-10-15 move some files from SVN sources to `make dist'.
151 fi
811bf595 »
2008-12-28 better cleanup
152 -@rm -rf libconftest.dSYM
f7688be5 »
2002-03-10 Misc Makefile cleanups: FIXME, NOTE, quoting, and so on.
153 -@rm -f Makeconf Makefile Makefile.bak Makefrag.* \
3548e850 »
2004-10-15 build ac{include,local} in the build tree as needed, don't ship
154 config.cache config.log config.status libtool \
0f0950ca »
2004-10-15 move some files from SVN sources to `make dist'.
155 $(ACLOCAL_M4) acinclude.m4 $(distdir).tar.gz
1f7ea5b8 »
1998-09-17 Rewrite.
156 maintainer-clean: distclean
86e64632 »
2007-11-16 more use of $(ECHO)
157 @$(ECHO) "This command is intended for maintainers to use; it"
158 @$(ECHO) "deletes files that may need special rules to rebuild"
f7688be5 »
2002-03-10 Misc Makefile cleanups: FIXME, NOTE, quoting, and so on.
159 @(for d in $(SUBDIRS); do rsd="$${d} $${rsd}"; done; \
160 for d in $${rsd}; do (cd $${d} && $(MAKE) $@); done)
8cbcb25d »
2002-04-30 Remove 'autom4te.cache' in 'make maintainer-clean'.
161 -@(cd $(srcdir) && rm -rf autom4te.cache)
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
162
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
163 dist: dist-unix
164 dist-unix: distdir
165 -chmod -R a+r $(distdir)
96d39132 »
2003-09-10 prevent wrong permissions from make dist
166 -chmod -R go-w $(distdir)
25a5dc63 »
2004-10-18 name dist tarball more sensibly
167 distname=`$(srcdir)/tools/GETDISTNAME`; \
86e64632 »
2007-11-16 more use of $(ECHO)
168 dirname=`$(ECHO) $${distname} | sed -e s/_.*//`; \
bfe6497a »
2004-11-16 some systems think 'mv a a' is an error
169 if test $(distdir) != $${dirname} ; then \
170 mv $(distdir) $${dirname}; \
171 fi ; \
5f192991 »
2004-10-22 improve names of dist tarballs
172 GZIP=$(GZIP) $(TAR) czf $${distname}.tar.gz $${dirname}; \
173 rm -rf $${dirname}
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
174 dist-win:
f7fda403 »
2005-05-18 always have SVN-REVISION file
175 distdir: $(DISTFILES) vignettes
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
176 @rm -rf $(distdir)
177 @mkdir $(distdir)
178 @-chmod 755 $(distdir)
179 @for f in $(DISTFILES); do \
180 test -f $(distdir)/$${f} \
d0611980 »
2000-01-07 Replace leading spaces by tabs.
181 || ln $(srcdir)/$${f} $(distdir)/$${f} 2>/dev/null \
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
182 || cp -p $(srcdir)/$${f} $(distdir)/$${f}; \
183 done
5d9b5df5 »
2010-07-07 build and install R_HOME/NEWS.pdf
184 @for f in NEWS NEWS.pdf $(NON_SVN_INSTFILES) ; do \
0f0950ca »
2004-10-15 move some files from SVN sources to `make dist'.
185 cp -p $${f} $(distdir)/$${f}; \
186 done
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
187 @for d in $(SUBDIRS); do \
188 test -d $(distdir)/$${d} \
189 || mkdir $(distdir)/$${d} \
190 || exit 1; \
191 chmod 755 $(distdir)/$${d}; \
192 (cd $${d} && $(MAKE) distdir) \
193 || exit 1; \
d0611980 »
2000-01-07 Replace leading spaces by tabs.
194 done
189bc259 »
2002-06-08 Use Make variable 'SUBDIRS_WITH_NO_BUILD' to indicate subdirs where u…
195 @for d in $(SUBDIRS_WITH_NO_BUILD); do \
b9368b1a »
2004-08-02 Teach make dist to exclude .svn subdirs.
196 ((cd $(srcdir); $(TAR) -c -f - $(DISTDIR_TAR_EXCLUDE) $${d}) \
189bc259 »
2002-06-08 Use Make variable 'SUBDIRS_WITH_NO_BUILD' to indicate subdirs where u…
197 | (cd $(distdir); $(TAR) -x -f -)) \
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
198 || exit 1; \
199 done
bf143437 »
2011-07-30 start adding package parallel
200 @for d in grid parallel utils; do \
201 mkdir -p $(distdir)/src/library/$${d}/inst/doc; \
202 cp library/$${d}/doc/*.pdf $(distdir)/src/library/$${d}/inst/doc; \
203 done
0f0950ca »
2004-10-15 move some files from SVN sources to `make dist'.
204 @(cd $(distdir); tools/link-recommended)
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
205
5b301efa »
2011-07-06 start removing support for DVI manuals (but Rd2dvi is still supported
206 info pdf:
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
207 -@(cd doc && $(MAKE) $@)
5b301efa »
2011-07-06 start removing support for DVI manuals (but Rd2dvi is still supported
208 install-info install-pdf:
10da9f28 »
1999-12-11 branch update
209 -@(cd doc/manual && $(MAKE) $@)
5b301efa »
2011-07-06 start removing support for DVI manuals (but Rd2dvi is still supported
210 uninstall-info uninstall-pdf:
10da9f28 »
1999-12-11 branch update
211 -@(cd doc/manual && $(MAKE) $@)
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
212
0b31d29a »
2009-01-24 add isstall-tests
213 install-tests:
214 -@(cd tests && $(MAKE) $@)
215 -@(cd src/library && $(MAKE) $@)
216
217 uninstall-tests:
218 -@(cd src/library && $(MAKE) $@)
219 -@(cd tests && $(MAKE) $@)
220
b70611af »
2009-08-27 'make check-recommended' was documented, so restore it
221 check check-devel check-all check-recommended:
ba6787e8 »
1999-05-08 branch update
222 @(cd tests && $(MAKE) $@)
bbbd7109 »
2001-06-03 Improve/simplify targets for checking.
223
17300d7e »
2002-09-01 Makefile support for bundling recommended packages
224 reset-recommended:
93d29fc2 »
2002-09-09 make fullcheck
225 @(cd src/library/Recommended && $(MAKE) clean)
60ee3fae »
2003-12-08 changes needed for the new RAqua and Rframework
226
660b7fd6 »
2003-12-06 modified Rframework target
227 TAGS:
Something went wrong with that request. Please try again.