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