Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 192 lines (174 sloc) 5.456 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)
c7b5dc4b »
1999-10-07 branch update - not bugfree
13 INSTFILES = COPYING COPYRIGHTS FAQ MIRROR-SITES NEWS RESOURCES
14 DISTFILES = $(INSTFILES) \
559364cb »
2000-01-25 Removed `PLATFORMS'.
15 BUGS INSTALL README VERSION Y2K \
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
16 Makeconf.in Makefile.in \
8f71ebea »
1999-12-30 Removed `PROJECTS'.
17 aclocal.m4 config.site configure configure.in \
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
18 date-stamp
10da9f28 »
1999-12-11 branch update
19 SUBDIRS = src afm demos doc etc tests tools
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
20
21 GZIP = --best
22
b2a3d9aa »
2000-02-21 Misc fixes and cleanups.
23 all: Makefile Makeconf R docs
1f7ea5b8 »
1998-09-17 Rewrite.
24
ba6787e8 »
1999-05-08 branch update
25 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
26 cd $(top_builddir) \
27 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
b2a3d9aa »
2000-02-21 Misc fixes and cleanups.
28 Makeconf: $(srcdir)/Makeconf.in $(top_builddir)/config.status
29 cd $(top_builddir) \
30 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
31
32 config.status: $(srcdir)/configure
33 $(SHELL) ./config.status --recheck
34 $(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
35 cd $(srcdir) && autoconf
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
36
6f16facb »
1999-12-26 branch update
37 R:
38 @if [ "$(srcdir)" != "." ]; then \
39 for f in $(INSTFILES); do \
40 $(INSTALL_DATA) $(srcdir)/$${f} $(top_builddir); \
41 done; \
42 fi
f68be1e7 »
2000-02-14 Build demos after src.
43 @for d in tools afm doc etc src demos; do \
aa7eb80a »
1998-12-04 branch update
44 (cd $${d} && $(MAKE) R) || exit 1; \
0aaec01b »
1998-09-22 Add demos in install and clean.
45 done
1f7ea5b8 »
1998-09-17 Rewrite.
46 @if [ ! -f src/library/stamp-docs ]; then \
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
47 echo "you should \`make docs' now ..."; \
1f7ea5b8 »
1998-09-17 Rewrite.
48 fi
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
49
0c845f43 »
2000-01-21 Renamed `Rconfig.h' to `config.h' in `src/include'.
50 src/include/config.h: $(srcdir)/configure \
51 $(srcdir)/src/include/config.h.in
e17f797d »
1999-07-28 Rerun configure with options given originally.
52 $(top_srcdir)/configure --srcdir $(top_srcdir) @config_opts@
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
53
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
54 docs help html latex examples:: FORCE
55 -@(cd src/library && $(MAKE) $@)
1f7ea5b8 »
1998-09-17 Rewrite.
56 FORCE:
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
57
58 install: all installdirs
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
59 @for d in afm demos doc etc; do \
aa7eb80a »
1998-12-04 branch update
60 (cd $${d} && $(MAKE) $@) || exit 1; \
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
61 done
1f7ea5b8 »
1998-09-17 Rewrite.
62 @(cd $(srcdir); \
c7b5dc4b »
1999-10-07 branch update - not bugfree
63 for f in $(INSTFILES); do \
aa7eb80a »
1998-12-04 branch update
64 $(INSTALL_DATA) $${f} $(rhome); \
1f7ea5b8 »
1998-09-17 Rewrite.
65 done)
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
66 @echo "installing executables ..."
cdb9c2a3 »
1999-07-07 Call the basic X11 binary `R.X11'.
67 @$(INSTALL_PROGRAM) bin/R.X11 $(rhome)/bin
d8151a13 »
2000-01-21 Invokation of GNOME now via `--gui'; GNOME binary now named `R.GNOME'.
68 @if test -x bin/R.GNOME; then \
69 $(INSTALL_PROGRAM) bin/R.GNOME $(rhome)/bin; \
cdb9c2a3 »
1999-07-07 Call the basic X11 binary `R.X11'.
70 fi
8c38a94e »
1999-10-13 branch update
71 @sed "s@R_HOME=.*@R_HOME=$(rhome)\}@" < bin/R > $(rhome)/bin/R
72 @sed "s@R_HOME=.*@R_HOME=$(rhome)\}@" < bin/R > $(bindir)/R
aafd5980 »
1999-01-06 Branch update + setjmp problem fixup
73 @chmod 755 $(bindir)/R $(rhome)/bin/R
6605adf6 »
1999-05-11 Fix installation of executables (alternative regexp did not always wo…
74 @for f in `ls bin/* | grep -v '^bin/R\**$$' \
d0611980 »
2000-01-07 Replace leading spaces by tabs.
75 | grep -v '^bin/R.X11\**$$' \
d8151a13 »
2000-01-21 Invokation of GNOME now via `--gui'; GNOME binary now named `R.GNOME'.
76 | grep -v '^bin/R.GNOME\**$$'`; do \
aa7eb80a »
1998-12-04 branch update
77 $(INSTALL) $${f} $(rhome)/bin; \
1f7ea5b8 »
1998-09-17 Rewrite.
78 done
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
79 @echo "installing headers ..."
1f7ea5b8 »
1998-09-17 Rewrite.
80 @for f in include/*.h; do \
aa7eb80a »
1998-12-04 branch update
81 $(INSTALL_DATA) $${f} $(rhome)/include; \
1f7ea5b8 »
1998-09-17 Rewrite.
82 done
097a5717 »
2000-01-23 Install header files in `R_ext', too.
83 @for f in include/R_ext/*.h; do \
84 $(INSTALL_DATA) $${f} $(rhome)/include/R_ext; \
85 done
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
86 @echo "installing library ..."
e71c9a35 »
1999-05-26 Improve treatment of ownership in library installation.
87 @cp -r library $(rhome) || \
88 (cd library; \
89 $(TAR) cf - [a-z]* | (cd $(rhome)/library; $(TAR) xof -))
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
90 @echo " building help index ..."
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
91 @(cd $(rhome)/library; cat */TITLE > LibIndex 2> /dev/null)
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
92 @echo " building HTML index ..."
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
93 @$(rhome)/bin/build-help --rhome $(rhome) --htmllists
afe5b256 »
1998-09-15 Improve installdirs target.
94 installdirs:
1f7ea5b8 »
1998-09-17 Rewrite.
95 @$(MKINSTALLDIRS) $(bindir)
96 @$(MKINSTALLDIRS) $(rhome)/bin
97 @$(MKINSTALLDIRS) $(rhome)/include
097a5717 »
2000-01-23 Install header files in `R_ext', too.
98 @$(MKINSTALLDIRS) $(rhome)/include/R_ext
1f7ea5b8 »
1998-09-17 Rewrite.
99 @$(MKINSTALLDIRS) $(rhome)/library
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
100 install-strip:
101 $(MAKE) INSTALL_PROGRAM="${INSTALL_PROGRAM} -s" install
102 uninstall:
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
103 @echo "uninstalling library ..."
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
104 @(cd $(rhome)/library; \
c7b5dc4b »
1999-10-07 branch update - not bugfree
105 for p in $(R_PKGS); do rm -rf $${p}; done)
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
106 @echo " rebuilding help index ..."
9d3546ea »
1999-08-02 Improve uninstall.
107 @(cd $(rhome)/library; \
108 cat */TITLE > LibIndex 2> /dev/null || echo "" > LibIndex)
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
109 @echo " rebuilding HTML index ..."
9d3546ea »
1999-08-02 Improve uninstall.
110 @if test -x $(rhome)/bin/build-help; then \
111 $(rhome)/bin/build-help --rhome $(rhome) --htmllists; \
112 fi
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
113 @echo "uninstalling headers ..."
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
114 @rm -rf $(rhome)/include
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
115 @echo "uninstalling executables ..."
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
116 @rm -rf $(rhome)/bin
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
117 @rm -f $(bindir)/R
c7b5dc4b »
1999-10-07 branch update - not bugfree
118 @for f in $(INSTFILES); do \
aa7eb80a »
1998-12-04 branch update
119 rm -f $(rhome)/$${f}; \
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
120 done
121 @for d in afm demos doc etc; do \
aa7eb80a »
1998-12-04 branch update
122 (cd $${d} && $(MAKE) $@); \
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
123 done
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
124
1f7ea5b8 »
1998-09-17 Rewrite.
125 mostlyclean: clean
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
126 clean:
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
127 @for d in $(SUBDIRS); do \
aa7eb80a »
1998-12-04 branch update
128 (cd $${d} && $(MAKE) $@); \
1f7ea5b8 »
1998-09-17 Rewrite.
129 done
6f16facb »
1999-12-26 branch update
130 @if [ "$(srcdir)" != "." ]; then \
9013739c »
2000-01-07 Cleaned up the clean target - it was missing a \ at the end of a line.
131 rm -f $(INSTFILES); \
6f16facb »
1999-12-26 branch update
132 fi
1f7ea5b8 »
1998-09-17 Rewrite.
133 distclean: clean
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
134 @for d in $(SUBDIRS); do \
135 (cd $${d} && $(MAKE) $@); \
1f7ea5b8 »
1998-09-17 Rewrite.
136 done
ba3f3cca »
1998-10-20 Have make distclean completely remove `bin', `include', and `library'.
137 @rm -rf bin include library
8d5746d2 »
1998-10-14 Have make clean delete Makefrag.*
138 @rm -f Makeconf Makefile Makefile.bak Makefrag.* \
1f7ea5b8 »
1998-09-17 Rewrite.
139 config.cache config.log config.status
140 maintainer-clean: distclean
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
141 @echo "This command is intended for maintainers to use; it"
92e8dabc »
2000-01-04 Add warning about effects of maintainer-clean.
142 @echo "deletes files that may need special rules to rebuild"
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
143
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
144 dist: dist-unix
145 dist-unix: distdir
146 -chmod -R a+r $(distdir)
5e4482c3 »
1998-10-08 Improve distdir.
147 GZIP=$(GZIP) $(TAR) chzf $(distdir).tar.gz $(distdir)
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
148 rm -rf $(distdir)
149 dist-win:
150 distdir: $(DISTFILES)
151 @rm -rf $(distdir)
152 @mkdir $(distdir)
153 @-chmod 755 $(distdir)
154 @for f in $(DISTFILES); do \
155 test -f $(distdir)/$${f} \
d0611980 »
2000-01-07 Replace leading spaces by tabs.
156 || ln $(srcdir)/$${f} $(distdir)/$${f} 2>/dev/null \
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
157 || cp -p $(srcdir)/$${f} $(distdir)/$${f}; \
158 done
159 @for d in $(SUBDIRS); do \
160 test -d $(distdir)/$${d} \
161 || mkdir $(distdir)/$${d} \
162 || exit 1; \
163 chmod 755 $(distdir)/$${d}; \
164 (cd $${d} && $(MAKE) distdir) \
165 || exit 1; \
d0611980 »
2000-01-07 Replace leading spaces by tabs.
166 done
10da9f28 »
1999-12-11 branch update
167 @for d in debian; do \
5e4482c3 »
1998-10-08 Improve distdir.
168 ((cd $(srcdir); $(TAR) -c -f - --exclude=CVS $${d}) \
169 | (cd $(distdir); $(TAR) -x -f -)) \
a2d7cb87 »
1998-10-05 Remove `stamp-R' when updating.
170 || exit 1; \
171 done
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
172
d8e69463 »
1999-11-24 Add target `pdf'.
173 dvi info pdf::
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
174 -@(cd doc && $(MAKE) $@)
10da9f28 »
1999-12-11 branch update
175 install-dvi install-info install-pdf::
176 -@(cd doc/manual && $(MAKE) $@)
177 uninstall-dvi uninstall-info uninstall-pdf::
178 -@(cd doc/manual && $(MAKE) $@)
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
179
180 TAGS:
181
af1b03b8 »
1998-10-14 test-All, not just test-Examples
182 check test:: test-All
aa8b39a6 »
1999-07-05 Renamed strict-tests to test-Specific.
183 test-All test-Examples test-Specific::
ba6787e8 »
1999-05-08 branch update
184 @(cd tests && $(MAKE) $@)
c7b5dc4b »
1999-10-07 branch update - not bugfree
185 check-force: test-All-force
186 test-All-force:
187 @(cd tests && $(MAKE) test-All FORCE=FORCE)
188 test-Examples-force:
189 @(cd tests && $(MAKE) test-Examples FORCE=FORCE)
190 test-Specific-force:
191 @(cd tests && $(MAKE) test-Specific FORCE=FORCE)
Something went wrong with that request. Please try again.