Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 222 lines (196 sloc) 7.556 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)
3bacd617 »
2001-02-07 branch update
13 INSTFILES = AUTHORS COPYING COPYING.LIB COPYRIGHTS FAQ NEWS RESOURCES THANKS
c7b5dc4b »
1999-10-07 branch update - not bugfree
14 DISTFILES = $(INSTFILES) \
489fab0c »
2000-11-14 Added front-matter files required by GNU strictness.
15 BUGS ChangeLog INSTALL ONEWS README VERSION Y2K \
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
16 Makeconf.in Makefile.in \
3f2fe45c »
2002-01-20 Rename 'configure.in' to 'configure.ac'.
17 acinclude.m4 aclocal.m4 \
18 config.site configure configure.ac \
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
19 date-stamp
4d29d3dd »
2001-05-14 Split `acinclude.m4' into new subdir `m4'.
20 SUBDIRS = m4 tools afm doc etc share src tests
189bc259 »
2002-06-08 Use Make variable 'SUBDIRS_WITH_NO_BUILD' to indicate subdirs where u…
21 SUBDIRS_WITH_NO_BUILD = debian
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
22
23 GZIP = --best
24
3ca2d9e4 »
2002-09-04 Further changes related to recommended packages.
25 all: Makefile Makeconf R docs @USE_RECOMMENDED_PACKAGES_TRUE@ stamp-recommended
1f7ea5b8 »
1998-09-17 Rewrite.
26
ba6787e8 »
1999-05-08 branch update
27 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
3f2fe45c »
2002-01-20 Rename 'configure.in' to 'configure.ac'.
28 @cd $(top_builddir) && $(SHELL) ./config.status $@
b2a3d9aa »
2000-02-21 Misc fixes and cleanups.
29 Makeconf: $(srcdir)/Makeconf.in $(top_builddir)/config.status
3f2fe45c »
2002-01-20 Rename 'configure.in' to 'configure.ac'.
30 @cd $(top_builddir) && $(SHELL) ./config.status $@
b2a3d9aa »
2000-02-21 Misc fixes and cleanups.
31
4d29d3dd »
2001-05-14 Split `acinclude.m4' into new subdir `m4'.
32 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
33 ACLOCAL_DEPENDENCIES = \
3f2fe45c »
2002-01-20 Rename 'configure.in' to 'configure.ac'.
34 configure.ac \
06e17098 »
2001-05-17 Create `aclocal.m4' from `m4/*' via `acconfig.h'.
35 acinclude.m4
36 ACINCLUDE_DEPENDENCIES = \
4d29d3dd »
2001-05-14 Split `acinclude.m4' into new subdir `m4'.
37 m4/R.m4 \
faf7cb13 »
2004-04-18 branch update
38 m4/codeset.m4 \
4d29d3dd »
2001-05-14 Split `acinclude.m4' into new subdir `m4'.
39 m4/gnome-gnorba-check.m4 \
40 m4/gnome-orbit-check.m4 \
41 m4/gnome.m4 \
42 m4/libglade.m4 \
43 m4/libtool.m4
530510dd »
2002-01-22 configure needs a dependency on VERSION.
44 CONFIGURE_DEPENDENCIES = $(srcdir)/VERSION
b2a3d9aa »
2000-02-21 Misc fixes and cleanups.
45 config.status: $(srcdir)/configure
e6f219c0 »
2000-03-06 Improve automatic remaking.
46 @$(SHELL) ./config.status --recheck
530510dd »
2002-01-22 configure needs a dependency on VERSION.
47 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
2e5c5795 »
2000-10-11 Use autoheader/aclocal for maintaining the configure environment.
48 @cd $(srcdir) && $(AUTOCONF)
3f2fe45c »
2002-01-20 Rename 'configure.in' to 'configure.ac'.
49 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.ac $(ACLOCAL_DEPENDENCIES)
06e17098 »
2001-05-17 Create `aclocal.m4' from `m4/*' via `acconfig.h'.
50 @cd $(srcdir) && $(ACLOCAL)
51 $(srcdir)/acinclude.m4: @MAINTAINER_MODE_TRUE@ $(ACINCLUDE_DEPENDENCIES)
52 @cd $(srcdir) && cat $(ACINCLUDE_DEPENDENCIES) > $@
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
53
e1acdaf0 »
2000-10-23 Start support for libtool and R shared library.
54 LIBTOOL_DEPS = @LIBTOOL_DEPS@
55 libtool: $(LIBTOOL_DEPS)
56 $(SHELL) ./config.status --recheck
57
640f3305 »
2000-10-06 Build HTML versions of texinfo manuals.
58 R: Makefile
a437d9e6 »
2001-04-17 Improve testing whether srcdir equals builddir.
59 @if test "$(BUILDDIR_IS_SRCDIR)" = no ; then \
6f16facb »
1999-12-26 branch update
60 for f in $(INSTFILES); do \
61 $(INSTALL_DATA) $(srcdir)/$${f} $(top_builddir); \
62 done; \
63 fi
89cc5935 »
2001-05-11 Make targets for build and (un)install more recursive.
64 @for d in $(SUBDIRS); do \
aa7eb80a »
1998-12-04 branch update
65 (cd $${d} && $(MAKE) R) || exit 1; \
0aaec01b »
1998-09-22 Add demos in install and clean.
66 done
8cbcb25d »
2002-04-30 Remove 'autom4te.cache' in 'make maintainer-clean'.
67 @test -f src/library/stamp-docs || \
68 echo "you should 'make docs' now ..."
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
69
1c06edb2 »
2002-10-22 branch update
70 docs: R FORCE
640f3305 »
2000-10-06 Build HTML versions of texinfo manuals.
71 -@(cd doc && $(MAKE) $@)
72 -@(cd src/library && $(MAKE) $@)
73 help html latex examples: FORCE
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
74 -@(cd src/library && $(MAKE) $@)
1f7ea5b8 »
1998-09-17 Rewrite.
75 FORCE:
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
76
49dde093 »
2002-09-08 updated mechanism re. recommended packages
77 stamp-recommended: R docs
368bb7f7 »
2002-10-28 Improve target 'stamp-recommended'.
78 @(cd src/library/Recommended && $(MAKE))
3ca2d9e4 »
2002-09-04 Further changes related to recommended packages.
79
badb0d1e »
2000-03-27 Do not rebuild before installing.
80 install: installdirs
89cc5935 »
2001-05-11 Make targets for build and (un)install more recursive.
81 @for d in $(SUBDIRS); do \
aa7eb80a »
1998-12-04 branch update
82 (cd $${d} && $(MAKE) $@) || exit 1; \
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
83 done
fd3265c1 »
2000-04-08 Fix installation bug.
84 @for f in $(INSTFILES); do \
85 $(INSTALL_DATA) $(srcdir)/$${f} $(rhome); \
86 done
a69edad8 »
2004-02-20 fixed small problems with symlink in the R.framework
87 @WANT_R_FRAMEWORK_TRUE@ $(MAKE) install-R-framework
88 @WANT_R_FRAMEWORK_TRUE@ @(sed 's/^LIBR =.*/LIBR = -framework R/' \
c6140253 »
2004-02-29 new fixes for the R framework installation: patches to the SHLIB scri…
89 @WANT_R_FRAMEWORK_TRUE@ $(top_builddir)/etc/Makeconf > $(rhome)/etc/Makeconf)
90 @WANT_R_FRAMEWORK_TRUE@ @(sed 's/Versions\/$(VERSION)\/Resources/Resources/' \
91 @WANT_R_FRAMEWORK_TRUE@ $(R_FRAMEWORK_DIR)/Resources/bin/R > \
92 @WANT_R_FRAMEWORK_TRUE@ $(R_FRAMEWORK_DIR)/Resources/bin/RR)
93 @WANT_R_FRAMEWORK_TRUE@ @(mv $(R_FRAMEWORK_DIR)/Resources/bin/RR $(R_FRAMEWORK_DIR)/Resources/bin/R)
94 @WANT_R_FRAMEWORK_TRUE@ @(chmod 755 $(R_FRAMEWORK_DIR)/Resources/bin/R)
6eee7cb2 »
2004-06-08 branch update
95 @WANT_R_FRAMEWORK_TRUE@ @(cp $(R_FRAMEWORK_DIR)/Resources/bin/R $(R_FRAMEWORK_DIR)/Resources/R)
c6140253 »
2004-02-29 new fixes for the R framework installation: patches to the SHLIB scri…
96
97
afe5b256 »
1998-09-15 Improve installdirs target.
98 installdirs:
89cc5935 »
2001-05-11 Make targets for build and (un)install more recursive.
99 @$(MKINSTALLDIRS) $(rhome)
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
100 install-strip:
101 $(MAKE) INSTALL_PROGRAM="${INSTALL_PROGRAM} -s" install
102 uninstall:
89cc5935 »
2001-05-11 Make targets for build and (un)install more recursive.
103 @(for d in $(SUBDIRS); do rsd="$${d} $${rsd}"; done; \
104 for d in $${rsd}; do (cd $${d} && $(MAKE) $@); done)
2f6ef113 »
2001-04-16 Improve testing whether srcdir equals builddir.
105 @for f in $(INSTFILES); do \
aa7eb80a »
1998-12-04 branch update
106 rm -f $(rhome)/$${f}; \
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
107 done
713cc01e »
2004-05-03 install dynamic libraries in R_HOME/lib
108 @rm -rf $(Rexecbindir) $(Rexeclibdir)
5cd99bc7 »
2001-04-11 Introduce package-specific demos.
109 @rm -rf $(rhome)/demos
89cc5935 »
2001-05-11 Make targets for build and (un)install more recursive.
110 @rm -rf $(rhome)/gnome
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
111
1dbd6668 »
2003-08-04 added install-aqua target to the install procedure
112
1f7ea5b8 »
1998-09-17 Rewrite.
113 mostlyclean: clean
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
114 clean:
4b393dcb »
2001-05-21 Reverse order of SUBDIRS for clean/disclean.
115 @(for d in $(SUBDIRS); do rsd="$${d} $${rsd}"; done; \
116 for d in $${rsd}; do (cd $${d} && $(MAKE) $@); done)
a437d9e6 »
2001-04-17 Improve testing whether srcdir equals builddir.
117 @if test "$(BUILDDIR_IS_SRCDIR)" = no ; then \
2f6ef113 »
2001-04-16 Improve testing whether srcdir equals builddir.
118 rm -f $(INSTFILES); \
6f16facb »
1999-12-26 branch update
119 fi
1f7ea5b8 »
1998-09-17 Rewrite.
120 distclean: clean
4b393dcb »
2001-05-21 Reverse order of SUBDIRS for clean/disclean.
121 @(for d in $(SUBDIRS); do rsd="$${d} $${rsd}"; done; \
122 for d in $${rsd}; do (cd $${d} && $(MAKE) $@); done)
7a48a55f »
2004-06-28 distclean should remove the lib directory
123 -@rm -rf bin include lib library modules gnome
f7688be5 »
2002-03-10 Misc Makefile cleanups: FIXME, NOTE, quoting, and so on.
124 -@rm -f Makeconf Makefile Makefile.bak Makefrag.* \
e1acdaf0 »
2000-10-23 Start support for libtool and R shared library.
125 config.cache config.log config.status libtool
1f7ea5b8 »
1998-09-17 Rewrite.
126 maintainer-clean: distclean
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
127 @echo "This command is intended for maintainers to use; it"
92e8dabc »
2000-01-04 Add warning about effects of maintainer-clean.
128 @echo "deletes files that may need special rules to rebuild"
f7688be5 »
2002-03-10 Misc Makefile cleanups: FIXME, NOTE, quoting, and so on.
129 @(for d in $(SUBDIRS); do rsd="$${d} $${rsd}"; done; \
130 for d in $${rsd}; do (cd $${d} && $(MAKE) $@); done)
8cbcb25d »
2002-04-30 Remove 'autom4te.cache' in 'make maintainer-clean'.
131 -@(cd $(srcdir) && rm -rf autom4te.cache)
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
132
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
133 dist: dist-unix
134 dist-unix: distdir
135 -chmod -R a+r $(distdir)
96d39132 »
2003-09-10 prevent wrong permissions from make dist
136 -chmod -R go-w $(distdir)
49dde093 »
2002-09-08 updated mechanism re. recommended packages
137 GZIP=$(GZIP) $(TAR) czf $(distdir).tar.gz $(distdir)
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
138 rm -rf $(distdir)
139 dist-win:
140 distdir: $(DISTFILES)
141 @rm -rf $(distdir)
142 @mkdir $(distdir)
143 @-chmod 755 $(distdir)
144 @for f in $(DISTFILES); do \
145 test -f $(distdir)/$${f} \
d0611980 »
2000-01-07 Replace leading spaces by tabs.
146 || ln $(srcdir)/$${f} $(distdir)/$${f} 2>/dev/null \
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
147 || cp -p $(srcdir)/$${f} $(distdir)/$${f}; \
148 done
149 @for d in $(SUBDIRS); do \
150 test -d $(distdir)/$${d} \
151 || mkdir $(distdir)/$${d} \
152 || exit 1; \
153 chmod 755 $(distdir)/$${d}; \
154 (cd $${d} && $(MAKE) distdir) \
155 || exit 1; \
d0611980 »
2000-01-07 Replace leading spaces by tabs.
156 done
189bc259 »
2002-06-08 Use Make variable 'SUBDIRS_WITH_NO_BUILD' to indicate subdirs where u…
157 @for d in $(SUBDIRS_WITH_NO_BUILD); do \
5e4482c3 »
1998-10-08 Improve distdir.
158 ((cd $(srcdir); $(TAR) -c -f - --exclude=CVS $${d}) \
189bc259 »
2002-06-08 Use Make variable 'SUBDIRS_WITH_NO_BUILD' to indicate subdirs where u…
159 | (cd $(distdir); $(TAR) -x -f -)) \
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
160 || exit 1; \
161 done
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
162
bbbd7109 »
2001-06-03 Improve/simplify targets for checking.
163 dvi info pdf:
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
164 -@(cd doc && $(MAKE) $@)
bbbd7109 »
2001-06-03 Improve/simplify targets for checking.
165 install-dvi install-info install-pdf:
10da9f28 »
1999-12-11 branch update
166 -@(cd doc/manual && $(MAKE) $@)
bbbd7109 »
2001-06-03 Improve/simplify targets for checking.
167 uninstall-dvi uninstall-info uninstall-pdf:
10da9f28 »
1999-12-11 branch update
168 -@(cd doc/manual && $(MAKE) $@)
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
169
ecc3b531 »
2003-03-13 new test targets
170 check check-devel check-all:
ba6787e8 »
1999-05-08 branch update
171 @(cd tests && $(MAKE) $@)
bbbd7109 »
2001-06-03 Improve/simplify targets for checking.
172
17300d7e »
2002-09-01 Makefile support for bundling recommended packages
173 reset-recommended:
93d29fc2 »
2002-09-09 make fullcheck
174 @(cd src/library/Recommended && $(MAKE) clean)
60ee3fae »
2003-12-08 changes needed for the new RAqua and Rframework
175
0ee73c6f »
2004-01-09 Set installation paths when building as a framework.
176 install-R-framework:
9ace8b9a »
2003-12-02 changed to take care of src/modules/aqua/Info.plist
177 @(cd $(top_builddir)/src/modules/aqua && \
f1b3bb49 »
2004-02-03 Try simplifying/standardizing installing R as a framework.
178 cp Info.plist "$(R_FRAMEWORK_DIR)/Versions/$(VERSION)/Resources")
179 @(cd "$(R_FRAMEWORK_DIR)/Versions/$(VERSION)" && \
d2e27ea3 »
2004-04-05 in darwin specific chunks: changed ln -h with ln -n for compatibility
180 ln -f -s -n Resources/include Headers && \
181 ln -f -s -n Resources/bin/libR.dylib R && \
d6b3da62 »
2004-05-07 changes specific to R-framework install
182 test -d "Resources/bin/Frameworks" || mkdir -p "Resources/bin/Frameworks" && \
183 cd Resources/bin/exec && \
184 ln -f -s -n ../Frameworks Frameworks)
f1b3bb49 »
2004-02-03 Try simplifying/standardizing installing R as a framework.
185 @(cd "$(R_FRAMEWORK_DIR)/Versions" && \
d2e27ea3 »
2004-04-05 in darwin specific chunks: changed ln -h with ln -n for compatibility
186 ln -f -s -n $(VERSION) Current)
f1b3bb49 »
2004-02-03 Try simplifying/standardizing installing R as a framework.
187 @(cd "$(R_FRAMEWORK_DIR)" && \
d2e27ea3 »
2004-04-05 in darwin specific chunks: changed ln -h with ln -n for compatibility
188 ln -f -s -n Versions/Current/Headers Headers&& \
189 ln -f -s -n Versions/Current/R R && \
190 ln -f -s -n Versions/Current/Resources Resources)
60ee3fae »
2003-12-08 changes needed for the new RAqua and Rframework
191 @(cd "$(srcdir)/src/modules/aqua/Contents/Resources" && \
d6b3da62 »
2004-05-07 changes specific to R-framework install
192 cp -R * "$(R_FRAMEWORK_DIR)/Resources/bin/exec/")
f1b3bb49 »
2004-02-03 Try simplifying/standardizing installing R as a framework.
193 @(cd "$(R_FRAMEWORK_DIR)/Resources/bin" && \
84914d74 »
2003-12-20 Add configure support for building an R framework (Darwin).
194 sed 's/^args=/args=--gui=aqua/' < R > RAqua && \
3e1d1ccb »
2004-01-31 modified install-R-framework target to set the correct install_name f…
195 chmod 755 RAqua && \
f1b3bb49 »
2004-02-03 Try simplifying/standardizing installing R as a framework.
196 install_name_tool -id "$(R_FRAMEWORK_DIR)/Versions/$(VERSION)/Resources/bin/libR.dylib" libR.dylib)
c6140253 »
2004-02-29 new fixes for the R framework installation: patches to the SHLIB scri…
197 @(sed 's/Versions\/$(VERSION)\/Resources/Resources/' $(R_FRAMEWORK_DIR)/Resources/bin/RAqua > \
198 $(R_FRAMEWORK_DIR)/Resources/bin/RRAqua)
199 @(mv $(R_FRAMEWORK_DIR)/Resources/bin/RRAqua $(R_FRAMEWORK_DIR)/Resources/bin/RAqua)
200 @(chmod 755 $(R_FRAMEWORK_DIR)/Resources/bin/RAqua)
a67c7b40 »
2004-03-02 added CHANGES for the aqua stuff
201 @(cp $(srcdir)/src/modules/aqua/CHANGES "$(R_FRAMEWORK_DIR)/Resources/NEWS.aqua")
df0fbbc3 »
2004-03-20 changed RAqua-FAQ to RMacOSX-FAQ in the framework install part
202 @(cp $(srcdir)/src/modules/aqua/RMacOSX-FAQ.html "$(R_FRAMEWORK_DIR)/Resources/RMacOSX-FAQ.html")
a67c7b40 »
2004-03-02 added CHANGES for the aqua stuff
203
c6140253 »
2004-02-29 new fixes for the R framework installation: patches to the SHLIB scri…
204
60ee3fae »
2003-12-08 changes needed for the new RAqua and Rframework
205
206 install-aqua:
207 @(rm -rf /Applications/R.app)
208 @(mkdir -p /Applications/R.app/Contents/Resources)
209 @(cd "$(srcdir)/src/modules/aqua/Contents" && \
84914d74 »
2003-12-20 Add configure support for building an R framework (Darwin).
210 cp PkgInfo /Applications/R.app/Contents)
b9b9d463 »
2003-12-14 we now have a version Info.plist file for the R.app
211 @(cd "$(top_builddir)/src/modules/aqua/Contents" && \
84914d74 »
2003-12-20 Add configure support for building an R framework (Darwin).
212 cp Info.plist /Applications/R.app/Contents)
60ee3fae »
2003-12-08 changes needed for the new RAqua and Rframework
213 @(cd "$(srcdir)/src/modules/aqua/Contents/Resources" && \
84914d74 »
2003-12-20 Add configure support for building an R framework (Darwin).
214 cp -R * /Applications/R.app/Contents/Resources)
60ee3fae »
2003-12-08 changes needed for the new RAqua and Rframework
215 @(mkdir -p /Applications/R.app/Contents/MacOS)
f1b3bb49 »
2004-02-03 Try simplifying/standardizing installing R as a framework.
216 @test -f "$(R_FRAMEWORK_DIR)/Resources/bin/RAqua" \
0ee73c6f »
2004-01-09 Set installation paths when building as a framework.
217 || (echo "please, make install-R-framework first" && exit 1)
60ee3fae »
2003-12-08 changes needed for the new RAqua and Rframework
218 @(cd /Applications/R.app/Contents/MacOS && \
d2e27ea3 »
2004-04-05 in darwin specific chunks: changed ln -h with ln -n for compatibility
219 ln -f -n "$(R_FRAMEWORK_DIR)/Resources/bin/RAqua" R && \
84914d74 »
2003-12-20 Add configure support for building an R framework (Darwin).
220 chmod 755 R)
660b7fd6 »
2003-12-06 modified Rframework target
221 TAGS:
Something went wrong with that request. Please try again.