Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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