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 (175 sloc) 5.46 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) \
fd3265c1 »
2000-04-08 Fix installation bug.
15 BUGS INSTALL ONEWS 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
e6f219c0 »
2000-03-06 Improve automatic remaking.
26 @cd $(top_builddir) \
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
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
e6f219c0 »
2000-03-06 Improve automatic remaking.
29 @cd $(top_builddir) \
b2a3d9aa »
2000-02-21 Misc fixes and cleanups.
30 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
31
32 config.status: $(srcdir)/configure
e6f219c0 »
2000-03-06 Improve automatic remaking.
33 @$(SHELL) ./config.status --recheck
b2a3d9aa »
2000-02-21 Misc fixes and cleanups.
34 $(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
e6f219c0 »
2000-03-06 Improve automatic remaking.
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
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
50 docs help html latex examples:: FORCE
51 -@(cd src/library && $(MAKE) $@)
1f7ea5b8 »
1998-09-17 Rewrite.
52 FORCE:
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
53
badb0d1e »
2000-03-27 Do not rebuild before installing.
54 install: installdirs
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
55 @for d in afm demos doc etc; do \
aa7eb80a »
1998-12-04 branch update
56 (cd $${d} && $(MAKE) $@) || exit 1; \
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
57 done
fd3265c1 »
2000-04-08 Fix installation bug.
58 @for f in $(INSTFILES); do \
59 $(INSTALL_DATA) $(srcdir)/$${f} $(rhome); \
60 done
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
61 @echo "installing executables ..."
69b136f8 »
2000-04-17 Rename R binary to `R.bin'.
62 @$(INSTALL_PROGRAM) bin/R.bin $(rhome)/bin
8c38a94e »
1999-10-13 branch update
63 @sed "s@R_HOME=.*@R_HOME=$(rhome)\}@" < bin/R > $(rhome)/bin/R
64 @sed "s@R_HOME=.*@R_HOME=$(rhome)\}@" < bin/R > $(bindir)/R
aafd5980 »
1999-01-06 Branch update + setjmp problem fixup
65 @chmod 755 $(bindir)/R $(rhome)/bin/R
d57d433a »
2000-05-06 move gnome install to R_HOME/gnome
66 @for f in `ls bin/*.$(SHLIBEXT)`; do \
67 $(INSTALL_PROGRAM) $${f} $(rhome)/bin; \
68 done
64daea81 »
2000-08-15 This commit was manufactured by cvs2svn to create tag 'R-1-1-1'.
69 @if test -f gnome/R_gnome.$(SHLIBEXT); then \
d57d433a »
2000-05-06 move gnome install to R_HOME/gnome
70 $(INSTALL_PROGRAM) gnome/R_gnome.$(SHLIBEXT) $(rhome)/gnome; \
b19d7ab0 »
2000-04-25 Improve installation.
71 fi
72 @for f in `find bin -type f -print \
5bdac572 »
2000-05-05 remove fwf2table: no longer used.
73 | grep -v '^bin/R$$' \
b19d7ab0 »
2000-04-25 Improve installation.
74 | grep -v '^bin/R_' \
75 | grep -v '^bin/R.bin'`; do \
76 $(INSTALL_SCRIPT) $${f} $(rhome)/bin; \
1f7ea5b8 »
1998-09-17 Rewrite.
77 done
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
78 @echo "installing headers ..."
1f7ea5b8 »
1998-09-17 Rewrite.
79 @for f in include/*.h; do \
aa7eb80a »
1998-12-04 branch update
80 $(INSTALL_DATA) $${f} $(rhome)/include; \
1f7ea5b8 »
1998-09-17 Rewrite.
81 done
097a5717 »
2000-01-23 Install header files in `R_ext', too.
82 @for f in include/R_ext/*.h; do \
83 $(INSTALL_DATA) $${f} $(rhome)/include/R_ext; \
84 done
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
85 @echo "installing library ..."
e71c9a35 »
1999-05-26 Improve treatment of ownership in library installation.
86 @cp -r library $(rhome) || \
87 (cd library; \
88 $(TAR) cf - [a-z]* | (cd $(rhome)/library; $(TAR) xof -))
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
89 @echo " building help index ..."
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
90 @(cd $(rhome)/library; cat */TITLE > LibIndex 2> /dev/null)
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
91 @echo " building HTML index ..."
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
92 @$(rhome)/bin/build-help --rhome $(rhome) --htmllists
afe5b256 »
1998-09-15 Improve installdirs target.
93 installdirs:
1f7ea5b8 »
1998-09-17 Rewrite.
94 @$(MKINSTALLDIRS) $(bindir)
95 @$(MKINSTALLDIRS) $(rhome)/bin
96 @$(MKINSTALLDIRS) $(rhome)/include
097a5717 »
2000-01-23 Install header files in `R_ext', too.
97 @$(MKINSTALLDIRS) $(rhome)/include/R_ext
1f7ea5b8 »
1998-09-17 Rewrite.
98 @$(MKINSTALLDIRS) $(rhome)/library
e281dcff »
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
99 install-strip:
100 $(MAKE) INSTALL_PROGRAM="${INSTALL_PROGRAM} -s" install
101 uninstall:
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
102 @echo "uninstalling library ..."
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
103 @(cd $(rhome)/library; \
c7b5dc4b »
1999-10-07 branch update - not bugfree
104 for p in $(R_PKGS); do rm -rf $${p}; done)
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
105 @echo " rebuilding help index ..."
9d3546ea »
1999-08-02 Improve uninstall.
106 @(cd $(rhome)/library; \
107 cat */TITLE > LibIndex 2> /dev/null || echo "" > LibIndex)
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
108 @echo " rebuilding HTML index ..."
9d3546ea »
1999-08-02 Improve uninstall.
109 @if test -x $(rhome)/bin/build-help; then \
110 $(rhome)/bin/build-help --rhome $(rhome) --htmllists; \
111 fi
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
112 @echo "uninstalling headers ..."
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
113 @rm -rf $(rhome)/include
86f8f19b »
2000-01-21 Install only front-end script to $(bindir).
114 @echo "uninstalling executables ..."
a16651d0 »
1998-09-28 New targets Makefile and uninstall.
115 @rm -rf $(rhome)/bin
d57d433a »
2000-05-06 move gnome install to R_HOME/gnome
116 @rm -rf $(rhome)/gnome
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
ec319275 »
2000-05-13 distcelan a little better
137 @rm -rf bin include library gnome
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.