Skip to content
Newer
Older
100644 163 lines (143 sloc) 4.5 KB
e281dcf Merged from `Makefile' and `Makefile.2nd'.
hornik authored Sep 15, 1998
1 #
3f74187 Rename RHOME to R_HOME.
hornik authored May 11, 1999
2 # ${R_HOME}/Makefile
e281dcf Merged from `Makefile' and `Makefile.2nd'.
hornik authored Sep 15, 1998
3
4 VPATH = @srcdir@
5 srcdir = @srcdir@
6 top_srcdir = @top_srcdir@
7
8 top_builddir = .
9
10 include $(top_builddir)/Makeconf
11
a2d7cb8 Remove `stamp-R' when updating.
hornik authored Oct 5, 1998
12 distdir = $(PACKAGE)-$(VERSION)
3bacd61 branch update
pd authored Feb 7, 2001
13 INSTFILES = AUTHORS COPYING COPYING.LIB COPYRIGHTS FAQ NEWS RESOURCES THANKS
c7b5dc4 branch update - not bugfree
pd authored Oct 7, 1999
14 DISTFILES = $(INSTFILES) \
489fab0 Added front-matter files required by GNU strictness.
hornik authored Nov 14, 2000
15 BUGS ChangeLog INSTALL ONEWS README VERSION Y2K \
a2d7cb8 Remove `stamp-R' when updating.
hornik authored Oct 5, 1998
16 Makeconf.in Makefile.in \
3f2fe45 Rename 'configure.in' to 'configure.ac'.
hornik authored Jan 20, 2002
17 acinclude.m4 aclocal.m4 \
18 config.site configure configure.ac \
a2d7cb8 Remove `stamp-R' when updating.
hornik authored Oct 5, 1998
19 date-stamp
4d29d3d Split `acinclude.m4' into new subdir `m4'.
hornik authored May 14, 2001
20 SUBDIRS = m4 tools afm doc etc share src tests
189bc25 Use Make variable 'SUBDIRS_WITH_NO_BUILD' to indicate subdirs where u…
hornik authored Jun 8, 2002
21 SUBDIRS_WITH_NO_BUILD = debian
a2d7cb8 Remove `stamp-R' when updating.
hornik authored Oct 5, 1998
22
23 GZIP = --best
24
3ca2d9e Further changes related to recommended packages.
hornik authored Sep 4, 2002
25 all: Makefile Makeconf R docs @USE_RECOMMENDED_PACKAGES_TRUE@ stamp-recommended
1f7ea5b Rewrite.
hornik authored Sep 17, 1998
26
ba6787e branch update
pd authored May 8, 1999
27 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
3f2fe45 Rename 'configure.in' to 'configure.ac'.
hornik authored Jan 20, 2002
28 @cd $(top_builddir) && $(SHELL) ./config.status $@
b2a3d9a Misc fixes and cleanups.
hornik authored Feb 21, 2000
29 Makeconf: $(srcdir)/Makeconf.in $(top_builddir)/config.status
3f2fe45 Rename 'configure.in' to 'configure.ac'.
hornik authored Jan 20, 2002
30 @cd $(top_builddir) && $(SHELL) ./config.status $@
b2a3d9a Misc fixes and cleanups.
hornik authored Feb 21, 2000
31
4d29d3d Split `acinclude.m4' into new subdir `m4'.
hornik authored May 14, 2001
32 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
33 ACLOCAL_DEPENDENCIES = \
3f2fe45 Rename 'configure.in' to 'configure.ac'.
hornik authored Jan 20, 2002
34 configure.ac \
06e1709 Create `aclocal.m4' from `m4/*' via `acconfig.h'.
hornik authored May 17, 2001
35 acinclude.m4
36 ACINCLUDE_DEPENDENCIES = \
4d29d3d Split `acinclude.m4' into new subdir `m4'.
hornik authored May 14, 2001
37 m4/R.m4 \
38 m4/gnome-gnorba-check.m4 \
39 m4/gnome-orbit-check.m4 \
40 m4/gnome.m4 \
41 m4/libglade.m4 \
42 m4/libtool.m4
530510d configure needs a dependency on VERSION.
hornik authored Jan 22, 2002
43 CONFIGURE_DEPENDENCIES = $(srcdir)/VERSION
b2a3d9a Misc fixes and cleanups.
hornik authored Feb 21, 2000
44 config.status: $(srcdir)/configure
e6f219c Improve automatic remaking.
hornik authored Mar 6, 2000
45 @$(SHELL) ./config.status --recheck
530510d configure needs a dependency on VERSION.
hornik authored Jan 22, 2002
46 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
2e5c579 Use autoheader/aclocal for maintaining the configure environment.
hornik authored Oct 11, 2000
47 @cd $(srcdir) && $(AUTOCONF)
3f2fe45 Rename 'configure.in' to 'configure.ac'.
hornik authored Jan 20, 2002
48 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.ac $(ACLOCAL_DEPENDENCIES)
06e1709 Create `aclocal.m4' from `m4/*' via `acconfig.h'.
hornik authored May 17, 2001
49 @cd $(srcdir) && $(ACLOCAL)
50 $(srcdir)/acinclude.m4: @MAINTAINER_MODE_TRUE@ $(ACINCLUDE_DEPENDENCIES)
51 @cd $(srcdir) && cat $(ACINCLUDE_DEPENDENCIES) > $@
e281dcf Merged from `Makefile' and `Makefile.2nd'.
hornik authored Sep 15, 1998
52
e1acdaf Start support for libtool and R shared library.
hornik authored Oct 23, 2000
53 LIBTOOL_DEPS = @LIBTOOL_DEPS@
54 libtool: $(LIBTOOL_DEPS)
55 $(SHELL) ./config.status --recheck
56
640f330 Build HTML versions of texinfo manuals.
hornik authored Oct 6, 2000
57 R: Makefile
a437d9e Improve testing whether srcdir equals builddir.
hornik authored Apr 17, 2001
58 @if test "$(BUILDDIR_IS_SRCDIR)" = no ; then \
6f16fac branch update
pd authored Dec 26, 1999
59 for f in $(INSTFILES); do \
60 $(INSTALL_DATA) $(srcdir)/$${f} $(top_builddir); \
61 done; \
62 fi
89cc593 Make targets for build and (un)install more recursive.
hornik authored May 11, 2001
63 @for d in $(SUBDIRS); do \
aa7eb80 branch update
pd authored Dec 4, 1998
64 (cd $${d} && $(MAKE) R) || exit 1; \
0aaec01 Add demos in install and clean.
hornik authored Sep 22, 1998
65 done
8cbcb25 Remove 'autom4te.cache' in 'make maintainer-clean'.
hornik authored Apr 30, 2002
66 @test -f src/library/stamp-docs || \
67 echo "you should 'make docs' now ..."
e281dcf Merged from `Makefile' and `Makefile.2nd'.
hornik authored Sep 15, 1998
68
640f330 Build HTML versions of texinfo manuals.
hornik authored Oct 6, 2000
69 docs: FORCE
70 -@(cd doc && $(MAKE) $@)
71 -@(cd src/library && $(MAKE) $@)
72 help html latex examples: FORCE
a16651d New targets Makefile and uninstall.
hornik authored Sep 28, 1998
73 -@(cd src/library && $(MAKE) $@)
1f7ea5b Rewrite.
hornik authored Sep 17, 1998
74 FORCE:
e281dcf Merged from `Makefile' and `Makefile.2nd'.
hornik authored Sep 15, 1998
75
49dde09 updated mechanism re. recommended packages
pd authored Sep 8, 2002
76 stamp-recommended: R docs
77 -@(cd src/library/Recommended && $(MAKE) )
3ca2d9e Further changes related to recommended packages.
hornik authored Sep 4, 2002
78
badb0d1 Do not rebuild before installing.
hornik authored Mar 27, 2000
79 install: installdirs
89cc593 Make targets for build and (un)install more recursive.
hornik authored May 11, 2001
80 @for d in $(SUBDIRS); do \
aa7eb80 branch update
pd authored Dec 4, 1998
81 (cd $${d} && $(MAKE) $@) || exit 1; \
a16651d New targets Makefile and uninstall.
hornik authored Sep 28, 1998
82 done
fd3265c Fix installation bug.
hornik authored Apr 8, 2000
83 @for f in $(INSTFILES); do \
84 $(INSTALL_DATA) $(srcdir)/$${f} $(rhome); \
85 done
afe5b25 Improve installdirs target.
hornik authored Sep 15, 1998
86 installdirs:
89cc593 Make targets for build and (un)install more recursive.
hornik authored May 11, 2001
87 @$(MKINSTALLDIRS) $(rhome)
e281dcf Merged from `Makefile' and `Makefile.2nd'.
hornik authored Sep 15, 1998
88 install-strip:
89 $(MAKE) INSTALL_PROGRAM="${INSTALL_PROGRAM} -s" install
90 uninstall:
89cc593 Make targets for build and (un)install more recursive.
hornik authored May 11, 2001
91 @(for d in $(SUBDIRS); do rsd="$${d} $${rsd}"; done; \
92 for d in $${rsd}; do (cd $${d} && $(MAKE) $@); done)
2f6ef11 Improve testing whether srcdir equals builddir.
hornik authored Apr 16, 2001
93 @for f in $(INSTFILES); do \
aa7eb80 branch update
pd authored Dec 4, 1998
94 rm -f $(rhome)/$${f}; \
a16651d New targets Makefile and uninstall.
hornik authored Sep 28, 1998
95 done
89cc593 Make targets for build and (un)install more recursive.
hornik authored May 11, 2001
96 @rm -rf $(Rexecbindir)
5cd99bc Introduce package-specific demos.
hornik authored Apr 11, 2001
97 @rm -rf $(rhome)/demos
89cc593 Make targets for build and (un)install more recursive.
hornik authored May 11, 2001
98 @rm -rf $(rhome)/gnome
e281dcf Merged from `Makefile' and `Makefile.2nd'.
hornik authored Sep 15, 1998
99
1f7ea5b Rewrite.
hornik authored Sep 17, 1998
100 mostlyclean: clean
e281dcf Merged from `Makefile' and `Makefile.2nd'.
hornik authored Sep 15, 1998
101 clean:
4b393dc Reverse order of SUBDIRS for clean/disclean.
hornik authored May 21, 2001
102 @(for d in $(SUBDIRS); do rsd="$${d} $${rsd}"; done; \
103 for d in $${rsd}; do (cd $${d} && $(MAKE) $@); done)
a437d9e Improve testing whether srcdir equals builddir.
hornik authored Apr 17, 2001
104 @if test "$(BUILDDIR_IS_SRCDIR)" = no ; then \
2f6ef11 Improve testing whether srcdir equals builddir.
hornik authored Apr 16, 2001
105 rm -f $(INSTFILES); \
6f16fac branch update
pd authored Dec 26, 1999
106 fi
1f7ea5b Rewrite.
hornik authored Sep 17, 1998
107 distclean: clean
4b393dc Reverse order of SUBDIRS for clean/disclean.
hornik authored May 21, 2001
108 @(for d in $(SUBDIRS); do rsd="$${d} $${rsd}"; done; \
109 for d in $${rsd}; do (cd $${d} && $(MAKE) $@); done)
f7688be Misc Makefile cleanups: FIXME, NOTE, quoting, and so on.
hornik authored Mar 10, 2002
110 -@rm -rf bin include library modules gnome
111 -@rm -f Makeconf Makefile Makefile.bak Makefrag.* \
e1acdaf Start support for libtool and R shared library.
hornik authored Oct 23, 2000
112 config.cache config.log config.status libtool
1f7ea5b Rewrite.
hornik authored Sep 17, 1998
113 maintainer-clean: distclean
86f8f19 Install only front-end script to $(bindir).
hornik authored Jan 21, 2000
114 @echo "This command is intended for maintainers to use; it"
92e8dab Add warning about effects of maintainer-clean.
hornik authored Jan 4, 2000
115 @echo "deletes files that may need special rules to rebuild"
f7688be Misc Makefile cleanups: FIXME, NOTE, quoting, and so on.
hornik authored Mar 10, 2002
116 @(for d in $(SUBDIRS); do rsd="$${d} $${rsd}"; done; \
117 for d in $${rsd}; do (cd $${d} && $(MAKE) $@); done)
8cbcb25 Remove 'autom4te.cache' in 'make maintainer-clean'.
hornik authored Apr 30, 2002
118 -@(cd $(srcdir) && rm -rf autom4te.cache)
e281dcf Merged from `Makefile' and `Makefile.2nd'.
hornik authored Sep 15, 1998
119
a2d7cb8 Remove `stamp-R' when updating.
hornik authored Oct 5, 1998
120 dist: dist-unix
121 dist-unix: distdir
122 -chmod -R a+r $(distdir)
49dde09 updated mechanism re. recommended packages
pd authored Sep 8, 2002
123 GZIP=$(GZIP) $(TAR) czf $(distdir).tar.gz $(distdir)
a2d7cb8 Remove `stamp-R' when updating.
hornik authored Oct 5, 1998
124 rm -rf $(distdir)
125 dist-win:
126 distdir: $(DISTFILES)
127 @rm -rf $(distdir)
128 @mkdir $(distdir)
129 @-chmod 755 $(distdir)
130 @for f in $(DISTFILES); do \
131 test -f $(distdir)/$${f} \
d061198 Replace leading spaces by tabs.
hornik authored Jan 7, 2000
132 || ln $(srcdir)/$${f} $(distdir)/$${f} 2>/dev/null \
a2d7cb8 Remove `stamp-R' when updating.
hornik authored Oct 5, 1998
133 || cp -p $(srcdir)/$${f} $(distdir)/$${f}; \
134 done
135 @for d in $(SUBDIRS); do \
136 test -d $(distdir)/$${d} \
137 || mkdir $(distdir)/$${d} \
138 || exit 1; \
139 chmod 755 $(distdir)/$${d}; \
140 (cd $${d} && $(MAKE) distdir) \
141 || exit 1; \
d061198 Replace leading spaces by tabs.
hornik authored Jan 7, 2000
142 done
189bc25 Use Make variable 'SUBDIRS_WITH_NO_BUILD' to indicate subdirs where u…
hornik authored Jun 8, 2002
143 @for d in $(SUBDIRS_WITH_NO_BUILD); do \
5e4482c Improve distdir.
hornik authored Oct 8, 1998
144 ((cd $(srcdir); $(TAR) -c -f - --exclude=CVS $${d}) \
189bc25 Use Make variable 'SUBDIRS_WITH_NO_BUILD' to indicate subdirs where u…
hornik authored Jun 8, 2002
145 | (cd $(distdir); $(TAR) -x -f -)) \
a2d7cb8 Remove `stamp-R' when updating.
hornik authored Oct 5, 1998
146 || exit 1; \
147 done
e281dcf Merged from `Makefile' and `Makefile.2nd'.
hornik authored Sep 15, 1998
148
bbbd710 Improve/simplify targets for checking.
hornik authored Jun 3, 2001
149 dvi info pdf:
a16651d New targets Makefile and uninstall.
hornik authored Sep 28, 1998
150 -@(cd doc && $(MAKE) $@)
bbbd710 Improve/simplify targets for checking.
hornik authored Jun 3, 2001
151 install-dvi install-info install-pdf:
10da9f2 branch update
pd authored Dec 11, 1999
152 -@(cd doc/manual && $(MAKE) $@)
bbbd710 Improve/simplify targets for checking.
hornik authored Jun 3, 2001
153 uninstall-dvi uninstall-info uninstall-pdf:
10da9f2 branch update
pd authored Dec 11, 1999
154 -@(cd doc/manual && $(MAKE) $@)
e281dcf Merged from `Makefile' and `Makefile.2nd'.
hornik authored Sep 15, 1998
155
93d29fc make fullcheck
pd authored Sep 9, 2002
156 check fullcheck:
ba6787e branch update
pd authored May 8, 1999
157 @(cd tests && $(MAKE) $@)
bbbd710 Improve/simplify targets for checking.
hornik authored Jun 3, 2001
158
17300d7 Makefile support for bundling recommended packages
pd authored Sep 1, 2002
159 reset-recommended:
93d29fc make fullcheck
pd authored Sep 9, 2002
160 @(cd src/library/Recommended && $(MAKE) clean)
17300d7 Makefile support for bundling recommended packages
pd authored Sep 1, 2002
161
bbbd710 Improve/simplify targets for checking.
hornik authored Jun 3, 2001
162 TAGS:
Something went wrong with that request. Please try again.