Skip to content

HTTPS clone URL

Subversion checkout URL

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