Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 171 lines (154 sloc) 4.735 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)
c7b5dc4b » pd
1999-10-07 branch update - not bugfree
13 INSTFILES = COPYING COPYRIGHTS FAQ MIRROR-SITES NEWS RESOURCES
14 DISTFILES = $(INSTFILES) \
15 BUGS INSTALL PLATFORMS PROJECTS README VERSION Y2K \
a2d7cb87 » hornik
1998-10-05 Remove `stamp-R' when updating.
16 Makeconf.in Makefile.in \
c7b5dc4b » pd
1999-10-07 branch update - not bugfree
17 aclocal.m4 config.site configure configure.in configure.mac \
a2d7cb87 » hornik
1998-10-05 Remove `stamp-R' when updating.
18 date-stamp
1d792911 » hornik
1998-10-13 Improve `distclean'.
19 SUBDIRS = src afm demos doc etc tests
a2d7cb87 » hornik
1998-10-05 Remove `stamp-R' when updating.
20
21 GZIP = --best
22
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
23 all: Makefile R docs
1f7ea5b8 » hornik
1998-09-17 Rewrite.
24
ba6787e8 » pd
1999-05-08 branch update
25 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
26 cd $(top_builddir) \
27 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
28
aa8b39a6 » hornik
1999-07-05 Renamed strict-tests to test-Specific.
29 R:
0aaec01b » hornik
1998-09-22 Add demos in install and clean.
30 @for d in afm demos doc etc src; do \
aa7eb80a » pd
1998-12-04 branch update
31 (cd $${d} && $(MAKE) R) || exit 1; \
0aaec01b » hornik
1998-09-22 Add demos in install and clean.
32 done
1f7ea5b8 » hornik
1998-09-17 Rewrite.
33 @if [ ! -f src/library/stamp-docs ]; then \
34 echo "You should \`make docs' now ..."; \
35 fi
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
36
dd42820e » hornik
1999-07-15 Rename Platform.h to Rconfig.h, Version.h to Rversion.h.
37 src/include/Rconfig.h: $(srcdir)/configure \
38 $(srcdir)/src/include/Rconfig.h.in
e17f797d » hornik
1999-07-28 Rerun configure with options given originally.
39 $(top_srcdir)/configure --srcdir $(top_srcdir) @config_opts@
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
40
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
41 docs help html latex examples:: FORCE
42 -@(cd src/library && $(MAKE) $@)
1f7ea5b8 » hornik
1998-09-17 Rewrite.
43 FORCE:
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
44
45 install: all installdirs
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
46 @for d in afm demos doc etc; do \
aa7eb80a » pd
1998-12-04 branch update
47 (cd $${d} && $(MAKE) $@) || exit 1; \
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
48 done
1f7ea5b8 » hornik
1998-09-17 Rewrite.
49 @(cd $(srcdir); \
c7b5dc4b » pd
1999-10-07 branch update - not bugfree
50 for f in $(INSTFILES); do \
aa7eb80a » pd
1998-12-04 branch update
51 $(INSTALL_DATA) $${f} $(rhome); \
1f7ea5b8 » hornik
1998-09-17 Rewrite.
52 done)
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
53 @echo "Installing executables ..."
cdb9c2a3 » hornik
1999-07-07 Call the basic X11 binary `R.X11'.
54 @$(INSTALL_PROGRAM) bin/R.X11 $(rhome)/bin
55 @if test -x bin/R.gnome; then \
56 $(INSTALL_PROGRAM) bin/R.gnome $(rhome)/bin; \
57 fi
8c38a94e » pd
1999-10-13 branch update
58 @sed "s@R_HOME=.*@R_HOME=$(rhome)\}@" < bin/R > $(rhome)/bin/R
59 @sed "s@R_HOME=.*@R_HOME=$(rhome)\}@" < bin/R > $(bindir)/R
aafd5980 » pd
1999-01-06 Branch update + setjmp problem fixup
60 @chmod 755 $(bindir)/R $(rhome)/bin/R
6605adf6 » hornik
1999-05-11 Fix installation of executables (alternative regexp did not always wo…
61 @for f in `ls bin/* | grep -v '^bin/R\**$$' \
cdb9c2a3 » hornik
1999-07-07 Call the basic X11 binary `R.X11'.
62 | grep -v '^bin/R.X11\**$$' \
63 | grep -v '^bin/R.gnome\**$$'`; do \
aa7eb80a » pd
1998-12-04 branch update
64 $(INSTALL) $${f} $(rhome)/bin; \
1f7ea5b8 » hornik
1998-09-17 Rewrite.
65 done
66 @for f in Rd2txt Rdconv Rdindex Sd2Rd; do \
aa7eb80a » pd
1998-12-04 branch update
67 $(INSTALL) bin/$${f} $(bindir); \
1f7ea5b8 » hornik
1998-09-17 Rewrite.
68 done
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
69 @echo "Installing headers ..."
1f7ea5b8 » hornik
1998-09-17 Rewrite.
70 @for f in include/*.h; do \
aa7eb80a » pd
1998-12-04 branch update
71 $(INSTALL_DATA) $${f} $(rhome)/include; \
1f7ea5b8 » hornik
1998-09-17 Rewrite.
72 done
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
73 @echo "Installing library ..."
e71c9a35 » hornik
1999-05-26 Improve treatment of ownership in library installation.
74 @cp -r library $(rhome) || \
75 (cd library; \
76 $(TAR) cf - [a-z]* | (cd $(rhome)/library; $(TAR) xof -))
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
77 @echo " Building help index ..."
78 @(cd $(rhome)/library; cat */TITLE > LibIndex 2> /dev/null)
79 @echo " Building HTML index ..."
80 @$(rhome)/bin/build-help --rhome $(rhome) --htmllists
afe5b256 » hornik
1998-09-15 Improve installdirs target.
81 installdirs:
1f7ea5b8 » hornik
1998-09-17 Rewrite.
82 @$(MKINSTALLDIRS) $(bindir)
83 @$(MKINSTALLDIRS) $(rhome)/bin
84 @$(MKINSTALLDIRS) $(rhome)/include
85 @$(MKINSTALLDIRS) $(rhome)/library
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
86 install-strip:
87 $(MAKE) INSTALL_PROGRAM="${INSTALL_PROGRAM} -s" install
88 uninstall:
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
89 @echo "Uninstalling library ..."
90 @(cd $(rhome)/library; \
c7b5dc4b » pd
1999-10-07 branch update - not bugfree
91 for p in $(R_PKGS); do rm -rf $${p}; done)
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
92 @echo " Rebuilding help index ..."
9d3546ea » hornik
1999-08-02 Improve uninstall.
93 @(cd $(rhome)/library; \
94 cat */TITLE > LibIndex 2> /dev/null || echo "" > LibIndex)
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
95 @echo " Rebuilding HTML index ..."
9d3546ea » hornik
1999-08-02 Improve uninstall.
96 @if test -x $(rhome)/bin/build-help; then \
97 $(rhome)/bin/build-help --rhome $(rhome) --htmllists; \
98 fi
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
99 @echo "Uninstalling headers ..."
100 @rm -rf $(rhome)/include
101 @echo "Uninstalling executables ..."
102 @rm -rf $(rhome)/bin
103 @for f in R Rd2txt Rdconv Rdindex Sd2Rd; do \
aa7eb80a » pd
1998-12-04 branch update
104 rm -f $(bindir)/$${f}; \
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
105 done
c7b5dc4b » pd
1999-10-07 branch update - not bugfree
106 @for f in $(INSTFILES); do \
aa7eb80a » pd
1998-12-04 branch update
107 rm -f $(rhome)/$${f}; \
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
108 done
109 @for d in afm demos doc etc; do \
aa7eb80a » pd
1998-12-04 branch update
110 (cd $${d} && $(MAKE) $@); \
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
111 done
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
112
1f7ea5b8 » hornik
1998-09-17 Rewrite.
113 mostlyclean: clean
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
114 clean:
a2d7cb87 » hornik
1998-10-05 Remove `stamp-R' when updating.
115 @for d in $(SUBDIRS); do \
aa7eb80a » pd
1998-12-04 branch update
116 (cd $${d} && $(MAKE) $@); \
1f7ea5b8 » hornik
1998-09-17 Rewrite.
117 done
aa7eb80a » pd
1998-12-04 branch update
118
1f7ea5b8 » hornik
1998-09-17 Rewrite.
119 distclean: clean
a2d7cb87 » hornik
1998-10-05 Remove `stamp-R' when updating.
120 @for d in $(SUBDIRS); do \
121 (cd $${d} && $(MAKE) $@); \
1f7ea5b8 » hornik
1998-09-17 Rewrite.
122 done
ba3f3cca » hornik
1998-10-20 Have make distclean completely remove `bin', `include', and `library'.
123 @rm -rf bin include library
8d5746d2 » hornik
1998-10-14 Have make clean delete Makefrag.*
124 @rm -f Makeconf Makefile Makefile.bak Makefrag.* \
1f7ea5b8 » hornik
1998-09-17 Rewrite.
125 config.cache config.log config.status
126 maintainer-clean: distclean
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
127
a2d7cb87 » hornik
1998-10-05 Remove `stamp-R' when updating.
128 dist: dist-unix
129 dist-unix: distdir
130 -chmod -R a+r $(distdir)
5e4482c3 » hornik
1998-10-08 Improve distdir.
131 GZIP=$(GZIP) $(TAR) chzf $(distdir).tar.gz $(distdir)
a2d7cb87 » hornik
1998-10-05 Remove `stamp-R' when updating.
132 rm -rf $(distdir)
133 dist-win:
134 distdir: $(DISTFILES)
135 @rm -rf $(distdir)
136 @mkdir $(distdir)
137 @-chmod 755 $(distdir)
138 @for f in $(DISTFILES); do \
139 test -f $(distdir)/$${f} \
140 || ln $(srcdir)/$${f} $(distdir)/$${f} 2>/dev/null \
141 || cp -p $(srcdir)/$${f} $(distdir)/$${f}; \
142 done
143 @for d in $(SUBDIRS); do \
144 test -d $(distdir)/$${d} \
145 || mkdir $(distdir)/$${d} \
146 || exit 1; \
147 chmod 755 $(distdir)/$${d}; \
148 (cd $${d} && $(MAKE) distdir) \
149 || exit 1; \
150 done
2e7d6b13 » pd
1999-05-31 branch update
151 @for d in tools debian; do \
5e4482c3 » hornik
1998-10-08 Improve distdir.
152 ((cd $(srcdir); $(TAR) -c -f - --exclude=CVS $${d}) \
153 | (cd $(distdir); $(TAR) -x -f -)) \
a2d7cb87 » hornik
1998-10-05 Remove `stamp-R' when updating.
154 || exit 1; \
155 done
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
156
d8e69463 » hornik
1999-11-24 Add target `pdf'.
157 dvi info pdf::
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
158 -@(cd doc && $(MAKE) $@)
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
159
160 TAGS:
161
af1b03b8 » maechler
1998-10-14 test-All, not just test-Examples
162 check test:: test-All
aa8b39a6 » hornik
1999-07-05 Renamed strict-tests to test-Specific.
163 test-All test-Examples test-Specific::
ba6787e8 » pd
1999-05-08 branch update
164 @(cd tests && $(MAKE) $@)
c7b5dc4b » pd
1999-10-07 branch update - not bugfree
165 check-force: test-All-force
166 test-All-force:
167 @(cd tests && $(MAKE) test-All FORCE=FORCE)
168 test-Examples-force:
169 @(cd tests && $(MAKE) test-Examples FORCE=FORCE)
170 test-Specific-force:
171 @(cd tests && $(MAKE) test-Specific FORCE=FORCE)
Something went wrong with that request. Please try again.