aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1991-12-19 00:22:09 +0000
committerK. Richard Pixley <rich@cygnus>1991-12-19 00:22:09 +0000
commit126825483cc9f2009c731eef1e01fe0d5a20c763 (patch)
tree0003fe5b1c452f380df887fc2fe55dfdb2c1f99a /Makefile.in
parent56f5e005991114707d00cb764cdc1bddcffa2b84 (diff)
downloadgdb-126825483cc9f2009c731eef1e01fe0d5a20c763.zip
gdb-126825483cc9f2009c731eef1e01fe0d5a20c763.tar.gz
gdb-126825483cc9f2009c731eef1e01fe0d5a20c763.tar.bz2
add menu item and Makefile.in hook
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in54
1 files changed, 47 insertions, 7 deletions
diff --git a/Makefile.in b/Makefile.in
index 0da2cf1..3bc4e34 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -75,17 +75,18 @@ INSTALL_TARGET = install.all
all: $(ALL)
-info: configure.info doc.info
+info: cfg-paper.info
$(MAKE) subdir_do DO=info "DODIRS=$(SUBDIRS)"
+cfg-paper.info: cfg-paper.texi
+ $(MAKEINFO) -o cfg-paper.info $(srcdir)/cfg-paper.texi
+
configure.info: configure.texi
$(MAKEINFO) -o configure.info $(srcdir)/configure.texi
-doc.info: doc.texi
- $(MAKEINFO) -o doc.info $(srcdir)/doc.texi
-
install-info: install-info-dirs force
$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)"
+ $(INSTALL_DATA) cfg-paper.info $(infodir)/cfg-paper.info
$(MAKE) dir.info install-dir.info
install-dir.info:
@@ -459,7 +460,7 @@ install-bison: force
### gcc
.PHONY: all-gcc just-gcc
all-gcc: just-gcc
-just-gcc: just-libiberty just-bison force
+just-gcc: just-libiberty just-bison just-gnulib1 force
if [ -d $(unsubdir)/gcc ] ; then \
(cd $(unsubdir)/gcc$(subdir); \
$(MAKE) \
@@ -741,8 +742,47 @@ install-ld: force
true ; \
fi
-### gnulib
-.PHONY: all-gnulib just-gnulib
+### gnulib (and gnulib1)
+.PHONY: all-gnulib just-gnulib1 just-gnulib
+just-gnulib1: all-gas all-binutils force
+ if [ -d $(unsubdir)/gnulib ] ; then \
+ (cd $(unsubdir)/gnulib$(subdir); \
+ $(MAKE) \
+ "against=$(against)" \
+ "AR=$(AR)" \
+ "AR_FLAGS=$(AR_FLAGS)" \
+ "CC=$(CC)" \
+ "RANLIB=$(RANLIB)" \
+ "LOADLIBES=$(LOADLIBES)" \
+ "LDFLAGS=$(LDFLAGS)" \
+ "BISON=$(BISON)" \
+ "MAKEINFO=$(MAKEINFO)" \
+ gnulib1.a) ; \
+ else \
+ true ; \
+ fi
+
+clean-gnulib1: force
+ if [ -d $(unsubdir)/gnulib ] ; then \
+ (cd $(unsubdir)/gnulib$(subdir); \
+ $(MAKE) \
+ "against=$(against)" \
+ "AR=$(AR)" \
+ "AR_FLAGS=$(AR_FLAGS)" \
+ "CC=$(CC)" \
+ "RANLIB=$(RANLIB)" \
+ "LOADLIBES=$(LOADLIBES)" \
+ "LDFLAGS=$(LDFLAGS)" \
+ "BISON=$(BISON)" \
+ "MAKEINFO=$(MAKEINFO)" \
+ clean-gnulib1) ; \
+ else \
+ true ; \
+ fi
+
+install-gnulib1: force
+ echo gnulib1 is a component, not an installable target
+
all-gnulib: just-gnulib
just-gnulib: all-gcc all-gas all-binutils force
if [ -d $(unsubdir)/gnulib ] ; then \