Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 277 lines (254 sloc) 12.367 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 \
a2d7cb87 » hornik
1998-10-05 Remove `stamp-R' when updating.
17 Makeconf.in Makefile.in \
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 \
d7c77fdc » ripley
2004-11-19 more cleaning up of FLIBS
33 m4/clibs.m4 \
faf7cb13 » ripley
2004-04-18 branch update
34 m4/codeset.m4 \
f5eef21c » ripley
2005-12-26 add gettext-lib.m4, as not always already installed
35 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…
36 m4/java.m4 \
4d29d3dd » hornik
2001-05-14 Split `acinclude.m4' into new subdir `m4'.
37 m4/libtool.m4
530510dd » hornik
2002-01-22 configure needs a dependency on VERSION.
38 CONFIGURE_DEPENDENCIES = $(srcdir)/VERSION
b2a3d9aa » hornik
2000-02-21 Misc fixes and cleanups.
39 config.status: $(srcdir)/configure
e6f219c0 » hornik
2000-03-06 Improve automatic remaking.
40 @$(SHELL) ./config.status --recheck
530510dd » hornik
2002-01-22 configure needs a dependency on VERSION.
41 $(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
42 @BD=`pwd`; cd $(srcdir) && $(AUTOCONF) -B $${BD}
43 $(ACLOCAL_M4): $(srcdir)/configure.ac acinclude.m4
44 @BD=`pwd`; cd $(srcdir) && $(ACLOCAL) --output=$${BD}/$@ -I $${BD}
f8d49774 » ripley
2004-10-19 lost dependencies
45 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
46 @(cd $(srcdir) && cat $(ACINCLUDE_DEPENDENCIES)) > $@
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
47
e1acdaf0 » hornik
2000-10-23 Start support for libtool and R shared library.
48 LIBTOOL_DEPS = @LIBTOOL_DEPS@
49 libtool: $(LIBTOOL_DEPS)
50 $(SHELL) ./config.status --recheck
51
0f0950ca » ripley
2004-10-15 move some files from SVN sources to `make dist'.
52 R: Makefile svnonly
a437d9e6 » hornik
2001-04-17 Improve testing whether srcdir equals builddir.
53 @if test "$(BUILDDIR_IS_SRCDIR)" = no ; then \
6f16facb » pd
1999-12-26 branch update
54 for f in $(INSTFILES); do \
55 $(INSTALL_DATA) $(srcdir)/$${f} $(top_builddir); \
56 done; \
57 fi
89cc5935 » hornik
2001-05-11 Make targets for build and (un)install more recursive.
58 @for d in $(SUBDIRS); do \
aa7eb80a » pd
1998-12-04 branch update
59 (cd $${d} && $(MAKE) R) || exit 1; \
0aaec01b » hornik
1998-09-22 Add demos in install and clean.
60 done
8cbcb25d » hornik
2002-04-30 Remove 'autom4te.cache' in 'make maintainer-clean'.
61 @test -f src/library/stamp-docs || \
62 echo "you should 'make docs' now ..."
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
63
1c06edb2 » ripley
2002-10-22 branch update
64 docs: R FORCE
640f3305 » hornik
2000-10-06 Build HTML versions of texinfo manuals.
65 -@(cd doc && $(MAKE) $@)
66 -@(cd src/library && $(MAKE) $@)
67 help html latex examples: FORCE
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
68 -@(cd src/library && $(MAKE) $@)
1f7ea5b8 » hornik
1998-09-17 Rewrite.
69 FORCE:
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
70
49dde093 » pd
2002-09-08 updated mechanism re. recommended packages
71 stamp-recommended: R docs
368bb7f7 » hornik
2002-10-28 Improve target 'stamp-recommended'.
72 @(cd src/library/Recommended && $(MAKE))
3ca2d9e4 » hornik
2002-09-04 Further changes related to recommended packages.
73
8fe74355 » ripley
2004-08-20 make recommended packages before vignettes (as use lattice, at least …
74 vignettes: stamp-recommended
1478e360 » hornik
2006-10-05 Don't catch build vignette failures.
75 @(cd src/library && $(MAKE) $@)
8fe74355 » ripley
2004-08-20 make recommended packages before vignettes (as use lattice, at least …
76
eeb85233 » ripley
2007-01-08 make install-strip
77 install install-strip: installdirs svnonly
89cc5935 » hornik
2001-05-11 Make targets for build and (un)install more recursive.
78 @for d in $(SUBDIRS); do \
aa7eb80a » pd
1998-12-04 branch update
79 (cd $${d} && $(MAKE) $@) || exit 1; \
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
80 done
fd3265c1 » hornik
2000-04-08 Fix installation bug.
81 @for f in $(INSTFILES); do \
78bf050c » ripley
2007-05-03 add DESTDIR support
82 $(INSTALL_DATA) $(srcdir)/$${f} "$(DESTDIR)$(rhome)"; \
fd3265c1 » hornik
2000-04-08 Fix installation bug.
83 done
0f0950ca » ripley
2004-10-15 move some files from SVN sources to `make dist'.
84 @for f in $(NON_SVN_INSTFILES); do \
78bf050c » ripley
2007-05-03 add DESTDIR support
85 $(INSTALL_DATA) $${f} "$(DESTDIR)$(rhome)"; \
0f0950ca » ripley
2004-10-15 move some files from SVN sources to `make dist'.
86 done
a69edad8 » iacus
2004-02-20 fixed small problems with symlink in the R.framework
87 @WANT_R_FRAMEWORK_TRUE@ $(MAKE) install-R-framework
0c57821a » urbaneks
2005-09-08 Add support for configurable framework version name on OS X and chang…
88 @WANT_R_FRAMEWORK_TRUE@ @(sed 's|^LIBR =.*|LIBR = -F$(R_FRAMEWORK_DIR)/.. -framework R|' \
0bf2e3b4 » urbaneks
2006-10-03 Fix install-R-framework to respect R_ARCH when creating Makeconf
89 @WANT_R_FRAMEWORK_TRUE@ $(top_builddir)/etc/Makeconf > "$(rhome)/etc${R_ARCH}/Makeconf")
0c57821a » urbaneks
2005-09-08 Add support for configurable framework version name on OS X and chang…
90 @WANT_R_FRAMEWORK_TRUE@ @(sed 's/Versions\/$(FW_VERSION)\/Resources/Resources/' \
c6140253 » iacus
2004-02-29 new fixes for the R framework installation: patches to the SHLIB scri…
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)
5a1f986d » urbaneks
2007-03-30 fix R script in a universal framework
94 @WANT_R_FRAMEWORK_TRUE@ @(chmod a+x $(R_FRAMEWORK_DIR)/Resources/bin/R)
deb59cfe » urbaneks
2006-02-09 Adjust install-R-framework to support multiple architectures and
95 @WANT_R_FRAMEWORK_TRUE@ @(chmod -R g+w $(R_FRAMEWORK_DIR))
c6140253 » iacus
2004-02-29 new fixes for the R framework installation: patches to the SHLIB scri…
96
0f0950ca » ripley
2004-10-15 move some files from SVN sources to `make dist'.
97 svnonly:
147bf7a2 » ripley
2005-12-20 repair last attempt at a fix
98 @if test ! -f "$(srcdir)/doc/FAQ" || test -f non-tarball ; then \
4d49f36c » ripley
2006-08-14 simplify make distclean
99 (cd doc/manual && $(MAKE) front-matter html-non-svn) ; \
0f0950ca » ripley
2004-10-15 move some files from SVN sources to `make dist'.
100 touch non-tarball ; \
e7673f3c » maechler
2005-06-06 LC_ALL=C : svn info is locale dependent
101 (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
102 | sed -n -e '/^Revision/p' -e '/^Last Changed Date/'p \
7b296477 » ripley
2006-09-21 updates for SVN 1.4.0
103 | cut -d' ' -f1,2,3,4 > SVN-REVISION-tmp ; \
beaf15d0 » ripley
2005-05-18 try harder to get svn info
104 $(top_srcdir)/tools/move-if-change SVN-REVISION-tmp SVN-REVISION ; \
105 rm -f SVN-REVISION-tmp ; \
0f0950ca » ripley
2004-10-15 move some files from SVN sources to `make dist'.
106 else \
107 if test "$(BUILDDIR_IS_SRCDIR)" = no ; then \
108 for f in $(NON_SVN_INSTFILES); do \
5e24ffc4 » ripley
2004-10-22 update DISTFILES, tweak install from make dist tarball
109 $(INSTALL_DATA) $(srcdir)/$${f} $(top_builddir); \
0f0950ca » ripley
2004-10-15 move some files from SVN sources to `make dist'.
110 done \
111 fi \
112 fi
c6140253 » iacus
2004-02-29 new fixes for the R framework installation: patches to the SHLIB scri…
113
d8c40343 » ripley
2005-04-20 add target to install libR.so
114 libR_la = lib/libR$(DYLIB_EXT)
115 install-libR:
116 @if test -f $(libR_la); then $(MAKE) install-libR-exists; fi
117 install-libR-exists:
78bf050c » ripley
2007-05-03 add DESTDIR support
118 @$(MKINSTALLDIRS) "$(DESTDIR)${libdir}"
119 @$(INSTALL_DATA) -m755 $(libR_la) "$(DESTDIR)${libdir}"
d8c40343 » ripley
2005-04-20 add target to install libR.so
120
afe5b256 » hornik
1998-09-15 Improve installdirs target.
121 installdirs:
78bf050c » ripley
2007-05-03 add DESTDIR support
122 @$(MKINSTALLDIRS) "$(DESTDIR)$(rhome)"
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
123 uninstall:
89cc5935 » hornik
2001-05-11 Make targets for build and (un)install more recursive.
124 @(for d in $(SUBDIRS); do rsd="$${d} $${rsd}"; done; \
125 for d in $${rsd}; do (cd $${d} && $(MAKE) $@); done)
b6a6356a » ripley
2005-04-20 tidy up make uninstall
126 @for f in $(INSTFILES) $(NON_SVN_INSTFILES); do \
78bf050c » ripley
2007-05-03 add DESTDIR support
127 rm -f "$(DESTDIR)$(rhome)/$${f}"; \
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
128 done
78bf050c » ripley
2007-05-03 add DESTDIR support
129 @rm -rf "$(DESTDIR)$(Rexecbindir)" "$(DESTDIR)$(rhome)/lib"
130 @rmdir "$(DESTDIR)$(rhome)" 2>/dev/null \
131 || echo " dir $(DESTDIR)$(rhome) not removed"
132 @rm -f "$(DESTDIR)${libdir}/libR$(DYLIB_EXT)"
1dbd6668 » iacus
2003-08-04 added install-aqua target to the install procedure
133
1f7ea5b8 » hornik
1998-09-17 Rewrite.
134 mostlyclean: clean
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
135 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)
a437d9e6 » hornik
2001-04-17 Improve testing whether srcdir equals builddir.
138 @if test "$(BUILDDIR_IS_SRCDIR)" = no ; then \
120ce4a2 » ripley
2006-01-07 sort out some make distclean/make uninstall issues
139 rm -f $(INSTFILES); \
6f16facb » pd
1999-12-26 branch update
140 fi
1f7ea5b8 » hornik
1998-09-17 Rewrite.
141 distclean: clean
4b393dcb » hornik
2001-05-21 Reverse order of SUBDIRS for clean/disclean.
142 @(for d in $(SUBDIRS); do rsd="$${d} $${rsd}"; done; \
143 for d in $${rsd}; do (cd $${d} && $(MAKE) $@); done)
7a48a55f » ripley
2004-06-28 distclean should remove the lib directory
144 -@rm -rf bin include lib library modules gnome
0f0950ca » ripley
2004-10-15 move some files from SVN sources to `make dist'.
145 @if test -f non-tarball ; then \
4d49f36c » ripley
2006-08-14 simplify make distclean
146 rm -f $(NON_SVN_INSTFILES) non-tarball doc/FAQ doc/RESOURCES doc/html/resources.html ; \
147 fi
148 @if test "$(BUILDDIR_IS_SRCDIR)" = no ; then \
149 rm -f $(NON_SVN_INSTFILES); \
0f0950ca » ripley
2004-10-15 move some files from SVN sources to `make dist'.
150 fi
f7688be5 » hornik
2002-03-10 Misc Makefile cleanups: FIXME, NOTE, quoting, and so on.
151 -@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
152 config.cache config.log config.status libtool \
0f0950ca » ripley
2004-10-15 move some files from SVN sources to `make dist'.
153 $(ACLOCAL_M4) acinclude.m4 $(distdir).tar.gz
1f7ea5b8 » hornik
1998-09-17 Rewrite.
154 maintainer-clean: distclean
86f8f19b » hornik
2000-01-21 Install only front-end script to $(bindir).
155 @echo "This command is intended for maintainers to use; it"
92e8dabc » hornik
2000-01-04 Add warning about effects of maintainer-clean.
156 @echo "deletes files that may need special rules to rebuild"
f7688be5 » hornik
2002-03-10 Misc Makefile cleanups: FIXME, NOTE, quoting, and so on.
157 @(for d in $(SUBDIRS); do rsd="$${d} $${rsd}"; done; \
158 for d in $${rsd}; do (cd $${d} && $(MAKE) $@); done)
8cbcb25d » hornik
2002-04-30 Remove 'autom4te.cache' in 'make maintainer-clean'.
159 -@(cd $(srcdir) && rm -rf autom4te.cache)
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
160
a2d7cb87 » hornik
1998-10-05 Remove `stamp-R' when updating.
161 dist: dist-unix
162 dist-unix: distdir
163 -chmod -R a+r $(distdir)
96d39132 » pd
2003-09-10 prevent wrong permissions from make dist
164 -chmod -R go-w $(distdir)
25a5dc63 » ripley
2004-10-18 name dist tarball more sensibly
165 distname=`$(srcdir)/tools/GETDISTNAME`; \
5f192991 » ripley
2004-10-22 improve names of dist tarballs
166 dirname=`echo $${distname} | sed -e s/_.*//`; \
bfe6497a » ripley
2004-11-16 some systems think 'mv a a' is an error
167 if test $(distdir) != $${dirname} ; then \
168 mv $(distdir) $${dirname}; \
169 fi ; \
5f192991 » ripley
2004-10-22 improve names of dist tarballs
170 GZIP=$(GZIP) $(TAR) czf $${distname}.tar.gz $${dirname}; \
171 rm -rf $${dirname}
a2d7cb87 » hornik
1998-10-05 Remove `stamp-R' when updating.
172 dist-win:
f7fda403 » ripley
2005-05-18 always have SVN-REVISION file
173 distdir: $(DISTFILES) vignettes
a2d7cb87 » hornik
1998-10-05 Remove `stamp-R' when updating.
174 @rm -rf $(distdir)
175 @mkdir $(distdir)
176 @-chmod 755 $(distdir)
177 @for f in $(DISTFILES); do \
178 test -f $(distdir)/$${f} \
d0611980 » hornik
2000-01-07 Replace leading spaces by tabs.
179 || ln $(srcdir)/$${f} $(distdir)/$${f} 2>/dev/null \
a2d7cb87 » hornik
1998-10-05 Remove `stamp-R' when updating.
180 || cp -p $(srcdir)/$${f} $(distdir)/$${f}; \
181 done
f7fda403 » ripley
2005-05-18 always have SVN-REVISION file
182 @for f in $(NON_SVN_INSTFILES) ; do \
0f0950ca » ripley
2004-10-15 move some files from SVN sources to `make dist'.
183 cp -p $${f} $(distdir)/$${f}; \
184 done
a2d7cb87 » hornik
1998-10-05 Remove `stamp-R' when updating.
185 @for d in $(SUBDIRS); do \
186 test -d $(distdir)/$${d} \
187 || mkdir $(distdir)/$${d} \
188 || exit 1; \
189 chmod 755 $(distdir)/$${d}; \
190 (cd $${d} && $(MAKE) distdir) \
191 || exit 1; \
d0611980 » hornik
2000-01-07 Replace leading spaces by tabs.
192 done
189bc259 » hornik
2002-06-08 Use Make variable 'SUBDIRS_WITH_NO_BUILD' to indicate subdirs where u…
193 @for d in $(SUBDIRS_WITH_NO_BUILD); do \
b9368b1a » hornik
2004-08-02 Teach make dist to exclude .svn subdirs.
194 ((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…
195 | (cd $(distdir); $(TAR) -x -f -)) \
a2d7cb87 » hornik
1998-10-05 Remove `stamp-R' when updating.
196 || exit 1; \
197 done
98e20d7f » ripley
2004-08-24 ship the grid vignette index too
198 @cp library/grid/doc/*.pdf library/grid/doc/index.html \
199 $(distdir)/src/library/grid/inst/doc
0f0950ca » ripley
2004-10-15 move some files from SVN sources to `make dist'.
200 @(cd $(distdir); tools/link-recommended)
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
201
bbbd7109 » hornik
2001-06-03 Improve/simplify targets for checking.
202 dvi info pdf:
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
203 -@(cd doc && $(MAKE) $@)
bbbd7109 » hornik
2001-06-03 Improve/simplify targets for checking.
204 install-dvi install-info install-pdf:
10da9f28 » pd
1999-12-11 branch update
205 -@(cd doc/manual && $(MAKE) $@)
bbbd7109 » hornik
2001-06-03 Improve/simplify targets for checking.
206 uninstall-dvi uninstall-info uninstall-pdf:
10da9f28 » pd
1999-12-11 branch update
207 -@(cd doc/manual && $(MAKE) $@)
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
208
ecc3b531 » ripley
2003-03-13 new test targets
209 check check-devel check-all:
ba6787e8 » pd
1999-05-08 branch update
210 @(cd tests && $(MAKE) $@)
bbbd7109 » hornik
2001-06-03 Improve/simplify targets for checking.
211
17300d7e » pd
2002-09-01 Makefile support for bundling recommended packages
212 reset-recommended:
93d29fc2 » pd
2002-09-09 make fullcheck
213 @(cd src/library/Recommended && $(MAKE) clean)
60ee3fae » iacus
2003-12-08 changes needed for the new RAqua and Rframework
214
0ee73c6f » hornik
2004-01-09 Set installation paths when building as a framework.
215 install-R-framework:
37bda514 » urbaneks
2006-04-12 port 37727 and 37728 from R-2-3-patches
216 @echo "Creating R framework ..."
0c57821a » urbaneks
2005-09-08 Add support for configurable framework version name on OS X and chang…
217 @(cd "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)" && \
d2e27ea3 » iacus
2004-04-05 in darwin specific chunks: changed ln -h with ln -n for compatibility
218 ln -f -s -n Resources/include Headers && \
37bda514 » urbaneks
2006-04-12 port 37727 and 37728 from R-2-3-patches
219 ln -f -s -n Resources/lib/libR.dylib R)
f1b3bb49 » hornik
2004-02-03 Try simplifying/standardizing installing R as a framework.
220 @(cd "$(R_FRAMEWORK_DIR)/Versions" && \
0c57821a » urbaneks
2005-09-08 Add support for configurable framework version name on OS X and chang…
221 ln -f -s -n $(FW_VERSION) Current)
f1b3bb49 » hornik
2004-02-03 Try simplifying/standardizing installing R as a framework.
222 @(cd "$(R_FRAMEWORK_DIR)" && \
87de1429 » iacus
2004-09-15 r-framework installation changed to copy src/include in PrivateHeaders
223 ln -f -s -n Versions/Current/PrivateHeaders PrivateHeaders&& \
d2e27ea3 » iacus
2004-04-05 in darwin specific chunks: changed ln -h with ln -n for compatibility
224 ln -f -s -n Versions/Current/Headers Headers&& \
225 ln -f -s -n Versions/Current/R R && \
226 ln -f -s -n Versions/Current/Resources Resources)
deb59cfe » urbaneks
2006-02-09 Adjust install-R-framework to support multiple architectures and
227 @## the resulting libR will point dyld to the fat libR regardless of its origin
0f0ae241 » tlumley
2004-08-31 install-R-framework looks for libR.dylib in the wrong place.
228 @(cd "$(R_FRAMEWORK_DIR)/Resources/lib" && \
deb59cfe » urbaneks
2006-02-09 Adjust install-R-framework to support multiple architectures and
229 install_name_tool -id "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)/Resources/lib/libR.dylib" $(Rexeclibdir)/libR.dylib)
72db1311 » urbaneks
2007-01-09 Use otool64 for 64-bit framework if necessary
230 @( otool=otool ; if otool -D "$(Rexeclibdir)/libR.dylib"|grep 'not an object'>/dev/null; then otool=otool64; fi; \
231 for lib in Rlapack Rblas R; do \
512a39d6 » urbaneks
2006-08-02 Framework cleanup and generate Info.plist
232 if test -e "$(Rexeclibdir)/lib$${lib}.dylib"; then echo " lib$${lib}"; \
233 find "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)/Resources/" -name '*.so' -or -name '*.dylib' | \
234 xargs -n 1 install_name_tool -change \
72db1311 » urbaneks
2007-01-09 Use otool64 for 64-bit framework if necessary
235 `$${otool} -L $(Rexeclibdir)/lib$${lib}.dylib |sed -n -e '2 s/.\(.*\) (compat.*/\1/p'` \
512a39d6 » urbaneks
2006-08-02 Framework cleanup and generate Info.plist
236 "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)/Resources/lib/lib$${lib}.dylib" ; \
2d39bed6 » urbaneks
2006-08-16 macosx: one more framework fix
237 find "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)/Resources/" -name '*.so' -or -name '*.dylib' | \
238 xargs -n 1 install_name_tool -change lib$${lib}.dylib \
239 "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)/Resources/lib/lib$${lib}.dylib" ; \
512a39d6 » urbaneks
2006-08-02 Framework cleanup and generate Info.plist
240 install_name_tool -id "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)/Resources/lib/lib$${lib}.dylib" \
241 "$(Rexeclibdir)/lib$${lib}.dylib"; \
242 if [ "$(Rexeclibdir)" != "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)/Resources/lib" ]; then \
243 $(srcdir)/tools/updatefat "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)/Resources/lib/lib$${lib}.dylib" "$(Rexeclibdir)/lib$${lib}.dylib"; \
6f1fbf6a » urbaneks
2006-08-16 Fix path id in multi-arch framework
244 install_name_tool -id "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)/Resources/lib/lib$${lib}.dylib" \
245 "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)/Resources/lib/lib$${lib}.dylib"; \
512a39d6 » urbaneks
2006-08-02 Framework cleanup and generate Info.plist
246 fi; \
140283ab » urbaneks
2006-09-28 Fix paths to R libraries in exec/R binaries upon framework install
247 for rexe in `ls "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)"/Resources/bin/exec/*/R "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)/Resources/bin/exec/R" 2>/dev/null`; do \
248 install_name_tool -change lib$${lib}.dylib \
249 "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)/Resources/lib/lib$${lib}.dylib" "$$rexe" ; \
250 done; \
512a39d6 » urbaneks
2006-08-02 Framework cleanup and generate Info.plist
251 fi; \
252 done)
0c57821a » urbaneks
2005-09-08 Add support for configurable framework version name on OS X and chang…
253 @(cp -R $(srcdir)/src/include $(R_FRAMEWORK_DIR)/Versions/Current/PrivateHeaders && \
deb59cfe » urbaneks
2006-02-09 Adjust install-R-framework to support multiple architectures and
254 cp src/include/config.h $(R_FRAMEWORK_DIR)/Versions/Current/PrivateHeaders/ && \
0c57821a » urbaneks
2005-09-08 Add support for configurable framework version name on OS X and chang…
255 find $(R_FRAMEWORK_DIR)/Versions/Current/PrivateHeaders -name .svn | xargs rm -rf)
256 @(install_name_tool -change libR.dylib \
257 "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)/Resources/lib/libR.dylib" \
deb59cfe » urbaneks
2006-02-09 Adjust install-R-framework to support multiple architectures and
258 $(Rexecbindir2)/R)
37bda514 » urbaneks
2006-04-12 port 37727 and 37728 from R-2-3-patches
259 @(if [ -n "${R_ARCH}" ]; then \
5a1f986d » urbaneks
2007-03-30 fix R script in a universal framework
260 sed -e "s|R_ARCH=${R_ARCH}|R_ARCH=/\`arch\`|" "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)/Resources/bin/R" \
261 > "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)/Resources/bin/.tmp.R" && \
262 chmod a+x "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)/Resources/bin/.tmp.R" && \
263 mv "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)/Resources/bin/.tmp.R" "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)/Resources/bin/R"; \
3246cbbb » urbaneks
2006-12-06 get ready for x86_64 R framework
264 if [ "${R_ARCH}" != /ppc -a "${R_ARCH}" != /i386 -a "${R_ARCH}" != /ppc64 -a "${R_ARCH}" != /x86_64 ]; then \
37bda514 » urbaneks
2006-04-12 port 37727 and 37728 from R-2-3-patches
265 echo "\
3246cbbb » urbaneks
2006-12-06 get ready for x86_64 R framework
266 *** WARNING: The architecture name is incompatible with Apple's naming~ convention. This may prevent applications from using the R~ framework. Please use i386, x86_64, ppc or ppc64 as architecture~ names to allow universal builds."|sed 'y/~/\n/' >&2; \
37bda514 » urbaneks
2006-04-12 port 37727 and 37728 from R-2-3-patches
267 else \
268 for f in `ls "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)/Headers/${R_ARCH}/"*.h|xargs basename`; do \
3246cbbb » urbaneks
2006-12-06 get ready for x86_64 R framework
269 echo "/* This is an automatically generated universal stub for architecture-dependent headers. */~#ifdef __i386__~#include <i386/$$f>~#else~#ifdef __ppc__~#include <ppc/$$f>~#else~#ifdef __ppc64__~#include <ppc64/$$f>~#else~#ifdef __x86_64__~#include <x86_64/$$f>~#else~#error Cannot determine the correct architecture. To force a certain configuration, include architecture-specific include path *before* general R headers path.~#endif~#endif~#endif~#endif" |sed -e 'y/~/\n/' > "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)/Headers/$$f"; \
37bda514 » urbaneks
2006-04-12 port 37727 and 37728 from R-2-3-patches
270 done; \
512a39d6 » urbaneks
2006-08-02 Framework cleanup and generate Info.plist
271 fi; \
37bda514 » urbaneks
2006-04-12 port 37727 and 37728 from R-2-3-patches
272 fi )
5a1f986d » urbaneks
2007-03-30 fix R script in a universal framework
273 @( rm -f "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)/Resources/R" && \
274 ln -s bin/R "$(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)/Resources/R" )
512a39d6 » urbaneks
2006-08-02 Framework cleanup and generate Info.plist
275 @( echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>~<!DOCTYPE plist PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">~<plist version=\"1.0\">~<dict>~ <key>CFBundleIdentifier</key>~ <string>org.r-project.R-framework</string>~ <key>CFBundleInfoDictionaryVersion</key>~ <string>6.0</string>~ <key>CFBundleName</key>~ <string>R</string>~ <key>CFBundlePackageType</key>~ <string>FMWK</string>~ <key>CFBundleVersion</key>~ <string>$(VERSION)</string>~</dict>~</plist>" |sed -e 'y/~/\n/' > $(R_FRAMEWORK_DIR)/Versions/$(FW_VERSION)/Resources/Info.plist)
37bda514 » urbaneks
2006-04-12 port 37727 and 37728 from R-2-3-patches
276
660b7fd6 » iacus
2003-12-06 modified Rframework target
277 TAGS:
Something went wrong with that request. Please try again.