diff options
author | Jie Zhang <jie.zhang@analog.com> | 2010-10-21 23:50:46 +0000 |
---|---|---|
committer | Jie Zhang <jie.zhang@analog.com> | 2010-10-21 23:50:46 +0000 |
commit | f474844cb7ee9addf50986e165985eb3576e901a (patch) | |
tree | fc31de58de70fb1da6db14c75c3582bdc6ef3113 /gdb/data-directory | |
parent | 2b42b063f3a3b0268d5ac52d3fe09dd3b8964924 (diff) | |
download | gdb-f474844cb7ee9addf50986e165985eb3576e901a.zip gdb-f474844cb7ee9addf50986e165985eb3576e901a.tar.gz gdb-f474844cb7ee9addf50986e165985eb3576e901a.tar.bz2 |
* Makefile.in (install): Remove dependency of install-only and
recursively invoke make for install-only.
* data-directory/Makefile.in: Add FLAGS_TO_PASS variable.
(install): Pass FLAGS_TO_PASS when recursively make install-only.
gdbserver/
* Makefile.in: Add FLAGS_TO_PASS variable.
(install): Remove dependency of install-only and recursively
invoke make for install-only.
Diffstat (limited to 'gdb/data-directory')
-rw-r--r-- | gdb/data-directory/Makefile.in | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/gdb/data-directory/Makefile.in b/gdb/data-directory/Makefile.in index e60bc59..9153a29 100644 --- a/gdb/data-directory/Makefile.in +++ b/gdb/data-directory/Makefile.in @@ -54,6 +54,38 @@ PYTHON_FILES = \ gdb/__init__.py \ gdb/types.py +FLAGS_TO_PASS = \ + "prefix=$(prefix)" \ + "exec_prefix=$(exec_prefix)" \ + "infodir=$(infodir)" \ + "datarootdir=$(datarootdir)" \ + "docdir=$(docdir)" \ + "htmldir=$(htmldir)" \ + "pdfdir=$(pdfdir)" \ + "libdir=$(libdir)" \ + "mandir=$(mandir)" \ + "datadir=$(datadir)" \ + "includedir=$(includedir)" \ + "against=$(against)" \ + "DESTDIR=$(DESTDIR)" \ + "AR=$(AR)" \ + "AR_FLAGS=$(AR_FLAGS)" \ + "CC=$(CC)" \ + "CFLAGS=$(CFLAGS)" \ + "CXX=$(CXX)" \ + "CXXFLAGS=$(CXXFLAGS)" \ + "DLLTOOL=$(DLLTOOL)" \ + "LDFLAGS=$(LDFLAGS)" \ + "RANLIB=$(RANLIB)" \ + "MAKEINFO=$(MAKEINFO)" \ + "MAKEHTML=$(MAKEHTML)" \ + "MAKEHTMLFLAGS=$(MAKEHTMLFLAGS)" \ + "INSTALL=$(INSTALL)" \ + "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ + "INSTALL_DATA=$(INSTALL_DATA)" \ + "RUNTEST=$(RUNTEST)" \ + "RUNTESTFLAGS=$(RUNTESTFLAGS)" + .PHONY: all all: stamp-syscalls stamp-python @@ -146,7 +178,7 @@ uninstall-python: # install-only is intended to address that need. .PHONY: install install: all - $(MAKE) install-only + @$(MAKE) $(FLAGS_TO_PASS) install-only .PHONY: install-only install-only: install-syscalls install-python |