diff options
author | Doug Evans <dje@google.com> | 2009-06-26 17:27:08 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2009-06-26 17:27:08 +0000 |
commit | 86717d399660c58d7b7be39a24c07b01ef9a1154 (patch) | |
tree | e9f69409f29ba154579fb93fcbcddc79512d2109 | |
parent | 4a1ad93bf82c444ba28547531ea79683dc1731cc (diff) | |
download | gdb-cgen-1_1-branch.zip gdb-cgen-1_1-branch.tar.gz gdb-cgen-1_1-branch.tar.bz2 |
* Makefile.def (host_modules): Add cgen.cgen-1_1-branch
* Makefile.in: Regenerate.
* configure.ac (host_tools): Add cgen.
* configure: Regenerate.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Makefile.def | 1 | ||||
-rw-r--r-- | Makefile.in | 443 | ||||
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
5 files changed, 453 insertions, 2 deletions
@@ -1,3 +1,10 @@ +2009-06-26 Doug Evans <dje@sebabeach.org> + + * Makefile.def (host_modules): Add cgen. + * Makefile.in: Regenerate. + * configure.ac (host_tools): Add cgen. + * configure: Regenerate. + 2009-06-17 Michael Eager <eager@eagercon.com> * COPYING.LIBGLOSS: Add Xilinx license. diff --git a/Makefile.def b/Makefile.def index 30d4d17..5cda3a3 100644 --- a/Makefile.def +++ b/Makefile.def @@ -43,6 +43,7 @@ host_modules= { module= binutils; bootstrap=true; }; host_modules= { module= bison; no_check_cross= true; }; host_modules= { module= byacc; no_check_cross= true; }; host_modules= { module= bzip2; }; +host_modules= { module= cgen; }; host_modules= { module= dejagnu; }; host_modules= { module= diff; }; host_modules= { module= dosutils; no_check= true; }; diff --git a/Makefile.in b/Makefile.in index fdc2d2e..104d69c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -753,6 +753,7 @@ configure-host: \ maybe-configure-bison \ maybe-configure-byacc \ maybe-configure-bzip2 \ + maybe-configure-cgen \ maybe-configure-dejagnu \ maybe-configure-diff \ maybe-configure-dosutils \ @@ -894,6 +895,7 @@ all-host: maybe-all-binutils all-host: maybe-all-bison all-host: maybe-all-byacc all-host: maybe-all-bzip2 +all-host: maybe-all-cgen all-host: maybe-all-dejagnu all-host: maybe-all-diff all-host: maybe-all-dosutils @@ -1037,6 +1039,7 @@ info-host: maybe-info-binutils info-host: maybe-info-bison info-host: maybe-info-byacc info-host: maybe-info-bzip2 +info-host: maybe-info-cgen info-host: maybe-info-dejagnu info-host: maybe-info-diff info-host: maybe-info-dosutils @@ -1147,6 +1150,7 @@ dvi-host: maybe-dvi-binutils dvi-host: maybe-dvi-bison dvi-host: maybe-dvi-byacc dvi-host: maybe-dvi-bzip2 +dvi-host: maybe-dvi-cgen dvi-host: maybe-dvi-dejagnu dvi-host: maybe-dvi-diff dvi-host: maybe-dvi-dosutils @@ -1257,6 +1261,7 @@ pdf-host: maybe-pdf-binutils pdf-host: maybe-pdf-bison pdf-host: maybe-pdf-byacc pdf-host: maybe-pdf-bzip2 +pdf-host: maybe-pdf-cgen pdf-host: maybe-pdf-dejagnu pdf-host: maybe-pdf-diff pdf-host: maybe-pdf-dosutils @@ -1367,6 +1372,7 @@ html-host: maybe-html-binutils html-host: maybe-html-bison html-host: maybe-html-byacc html-host: maybe-html-bzip2 +html-host: maybe-html-cgen html-host: maybe-html-dejagnu html-host: maybe-html-diff html-host: maybe-html-dosutils @@ -1477,6 +1483,7 @@ TAGS-host: maybe-TAGS-binutils TAGS-host: maybe-TAGS-bison TAGS-host: maybe-TAGS-byacc TAGS-host: maybe-TAGS-bzip2 +TAGS-host: maybe-TAGS-cgen TAGS-host: maybe-TAGS-dejagnu TAGS-host: maybe-TAGS-diff TAGS-host: maybe-TAGS-dosutils @@ -1587,6 +1594,7 @@ install-info-host: maybe-install-info-binutils install-info-host: maybe-install-info-bison install-info-host: maybe-install-info-byacc install-info-host: maybe-install-info-bzip2 +install-info-host: maybe-install-info-cgen install-info-host: maybe-install-info-dejagnu install-info-host: maybe-install-info-diff install-info-host: maybe-install-info-dosutils @@ -1697,6 +1705,7 @@ install-pdf-host: maybe-install-pdf-binutils install-pdf-host: maybe-install-pdf-bison install-pdf-host: maybe-install-pdf-byacc install-pdf-host: maybe-install-pdf-bzip2 +install-pdf-host: maybe-install-pdf-cgen install-pdf-host: maybe-install-pdf-dejagnu install-pdf-host: maybe-install-pdf-diff install-pdf-host: maybe-install-pdf-dosutils @@ -1807,6 +1816,7 @@ install-html-host: maybe-install-html-binutils install-html-host: maybe-install-html-bison install-html-host: maybe-install-html-byacc install-html-host: maybe-install-html-bzip2 +install-html-host: maybe-install-html-cgen install-html-host: maybe-install-html-dejagnu install-html-host: maybe-install-html-diff install-html-host: maybe-install-html-dosutils @@ -1917,6 +1927,7 @@ installcheck-host: maybe-installcheck-binutils installcheck-host: maybe-installcheck-bison installcheck-host: maybe-installcheck-byacc installcheck-host: maybe-installcheck-bzip2 +installcheck-host: maybe-installcheck-cgen installcheck-host: maybe-installcheck-dejagnu installcheck-host: maybe-installcheck-diff installcheck-host: maybe-installcheck-dosutils @@ -2027,6 +2038,7 @@ mostlyclean-host: maybe-mostlyclean-binutils mostlyclean-host: maybe-mostlyclean-bison mostlyclean-host: maybe-mostlyclean-byacc mostlyclean-host: maybe-mostlyclean-bzip2 +mostlyclean-host: maybe-mostlyclean-cgen mostlyclean-host: maybe-mostlyclean-dejagnu mostlyclean-host: maybe-mostlyclean-diff mostlyclean-host: maybe-mostlyclean-dosutils @@ -2137,6 +2149,7 @@ clean-host: maybe-clean-binutils clean-host: maybe-clean-bison clean-host: maybe-clean-byacc clean-host: maybe-clean-bzip2 +clean-host: maybe-clean-cgen clean-host: maybe-clean-dejagnu clean-host: maybe-clean-diff clean-host: maybe-clean-dosutils @@ -2247,6 +2260,7 @@ distclean-host: maybe-distclean-binutils distclean-host: maybe-distclean-bison distclean-host: maybe-distclean-byacc distclean-host: maybe-distclean-bzip2 +distclean-host: maybe-distclean-cgen distclean-host: maybe-distclean-dejagnu distclean-host: maybe-distclean-diff distclean-host: maybe-distclean-dosutils @@ -2357,6 +2371,7 @@ maintainer-clean-host: maybe-maintainer-clean-binutils maintainer-clean-host: maybe-maintainer-clean-bison maintainer-clean-host: maybe-maintainer-clean-byacc maintainer-clean-host: maybe-maintainer-clean-bzip2 +maintainer-clean-host: maybe-maintainer-clean-cgen maintainer-clean-host: maybe-maintainer-clean-dejagnu maintainer-clean-host: maybe-maintainer-clean-diff maintainer-clean-host: maybe-maintainer-clean-dosutils @@ -2521,6 +2536,7 @@ check-host: \ maybe-check-bison \ maybe-check-byacc \ maybe-check-bzip2 \ + maybe-check-cgen \ maybe-check-dejagnu \ maybe-check-diff \ maybe-check-dosutils \ @@ -2658,6 +2674,7 @@ install-host-nogcc: \ maybe-install-bison \ maybe-install-byacc \ maybe-install-bzip2 \ + maybe-install-cgen \ maybe-install-dejagnu \ maybe-install-diff \ maybe-install-dosutils \ @@ -2734,6 +2751,7 @@ install-host: \ maybe-install-bison \ maybe-install-byacc \ maybe-install-bzip2 \ + maybe-install-cgen \ maybe-install-dejagnu \ maybe-install-diff \ maybe-install-dosutils \ @@ -8863,6 +8881,431 @@ maintainer-clean-bzip2: +.PHONY: configure-cgen maybe-configure-cgen +maybe-configure-cgen: +@if gcc-bootstrap +configure-cgen: stage_current +@endif gcc-bootstrap +@if cgen +maybe-configure-cgen: configure-cgen +configure-cgen: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \ + $(HOST_EXPORTS) \ + echo Configuring in $(HOST_SUBDIR)/cgen; \ + cd "$(HOST_SUBDIR)/cgen" || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/cgen"; \ + libsrcdir="$$s/cgen"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ + --target=${target_alias} $${srcdiroption} \ + || exit 1 +@endif cgen + + + + + +.PHONY: all-cgen maybe-all-cgen +maybe-all-cgen: +@if gcc-bootstrap +all-cgen: stage_current +@endif gcc-bootstrap +@if cgen +TARGET-cgen=all +maybe-all-cgen: all-cgen +all-cgen: configure-cgen + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/cgen && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \ + $(TARGET-cgen)) +@endif cgen + + + + +.PHONY: check-cgen maybe-check-cgen +maybe-check-cgen: +@if cgen +maybe-check-cgen: check-cgen + +check-cgen: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/cgen && \ + $(MAKE) $(FLAGS_TO_PASS) check) + +@endif cgen + +.PHONY: install-cgen maybe-install-cgen +maybe-install-cgen: +@if cgen +maybe-install-cgen: install-cgen + +install-cgen: installdirs + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/cgen && \ + $(MAKE) $(FLAGS_TO_PASS) install) + +@endif cgen + +# Other targets (info, dvi, pdf, etc.) + +.PHONY: maybe-info-cgen info-cgen +maybe-info-cgen: +@if cgen +maybe-info-cgen: info-cgen + +info-cgen: \ + configure-cgen + @: $(MAKE); $(unstage) + @[ -f ./cgen/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing info in cgen" ; \ + (cd $(HOST_SUBDIR)/cgen && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + info) \ + || exit 1 + +@endif cgen + +.PHONY: maybe-dvi-cgen dvi-cgen +maybe-dvi-cgen: +@if cgen +maybe-dvi-cgen: dvi-cgen + +dvi-cgen: \ + configure-cgen + @: $(MAKE); $(unstage) + @[ -f ./cgen/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing dvi in cgen" ; \ + (cd $(HOST_SUBDIR)/cgen && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + dvi) \ + || exit 1 + +@endif cgen + +.PHONY: maybe-pdf-cgen pdf-cgen +maybe-pdf-cgen: +@if cgen +maybe-pdf-cgen: pdf-cgen + +pdf-cgen: \ + configure-cgen + @: $(MAKE); $(unstage) + @[ -f ./cgen/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing pdf in cgen" ; \ + (cd $(HOST_SUBDIR)/cgen && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + pdf) \ + || exit 1 + +@endif cgen + +.PHONY: maybe-html-cgen html-cgen +maybe-html-cgen: +@if cgen +maybe-html-cgen: html-cgen + +html-cgen: \ + configure-cgen + @: $(MAKE); $(unstage) + @[ -f ./cgen/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing html in cgen" ; \ + (cd $(HOST_SUBDIR)/cgen && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + html) \ + || exit 1 + +@endif cgen + +.PHONY: maybe-TAGS-cgen TAGS-cgen +maybe-TAGS-cgen: +@if cgen +maybe-TAGS-cgen: TAGS-cgen + +TAGS-cgen: \ + configure-cgen + @: $(MAKE); $(unstage) + @[ -f ./cgen/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing TAGS in cgen" ; \ + (cd $(HOST_SUBDIR)/cgen && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + TAGS) \ + || exit 1 + +@endif cgen + +.PHONY: maybe-install-info-cgen install-info-cgen +maybe-install-info-cgen: +@if cgen +maybe-install-info-cgen: install-info-cgen + +install-info-cgen: \ + configure-cgen \ + info-cgen + @: $(MAKE); $(unstage) + @[ -f ./cgen/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing install-info in cgen" ; \ + (cd $(HOST_SUBDIR)/cgen && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + install-info) \ + || exit 1 + +@endif cgen + +.PHONY: maybe-install-pdf-cgen install-pdf-cgen +maybe-install-pdf-cgen: +@if cgen +maybe-install-pdf-cgen: install-pdf-cgen + +install-pdf-cgen: \ + configure-cgen \ + pdf-cgen + @: $(MAKE); $(unstage) + @[ -f ./cgen/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing install-pdf in cgen" ; \ + (cd $(HOST_SUBDIR)/cgen && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + install-pdf) \ + || exit 1 + +@endif cgen + +.PHONY: maybe-install-html-cgen install-html-cgen +maybe-install-html-cgen: +@if cgen +maybe-install-html-cgen: install-html-cgen + +install-html-cgen: \ + configure-cgen \ + html-cgen + @: $(MAKE); $(unstage) + @[ -f ./cgen/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing install-html in cgen" ; \ + (cd $(HOST_SUBDIR)/cgen && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + install-html) \ + || exit 1 + +@endif cgen + +.PHONY: maybe-installcheck-cgen installcheck-cgen +maybe-installcheck-cgen: +@if cgen +maybe-installcheck-cgen: installcheck-cgen + +installcheck-cgen: \ + configure-cgen + @: $(MAKE); $(unstage) + @[ -f ./cgen/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing installcheck in cgen" ; \ + (cd $(HOST_SUBDIR)/cgen && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + installcheck) \ + || exit 1 + +@endif cgen + +.PHONY: maybe-mostlyclean-cgen mostlyclean-cgen +maybe-mostlyclean-cgen: +@if cgen +maybe-mostlyclean-cgen: mostlyclean-cgen + +mostlyclean-cgen: + @: $(MAKE); $(unstage) + @[ -f ./cgen/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing mostlyclean in cgen" ; \ + (cd $(HOST_SUBDIR)/cgen && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + mostlyclean) \ + || exit 1 + +@endif cgen + +.PHONY: maybe-clean-cgen clean-cgen +maybe-clean-cgen: +@if cgen +maybe-clean-cgen: clean-cgen + +clean-cgen: + @: $(MAKE); $(unstage) + @[ -f ./cgen/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing clean in cgen" ; \ + (cd $(HOST_SUBDIR)/cgen && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + clean) \ + || exit 1 + +@endif cgen + +.PHONY: maybe-distclean-cgen distclean-cgen +maybe-distclean-cgen: +@if cgen +maybe-distclean-cgen: distclean-cgen + +distclean-cgen: + @: $(MAKE); $(unstage) + @[ -f ./cgen/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing distclean in cgen" ; \ + (cd $(HOST_SUBDIR)/cgen && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + distclean) \ + || exit 1 + +@endif cgen + +.PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen +maybe-maintainer-clean-cgen: +@if cgen +maybe-maintainer-clean-cgen: maintainer-clean-cgen + +maintainer-clean-cgen: + @: $(MAKE); $(unstage) + @[ -f ./cgen/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing maintainer-clean in cgen" ; \ + (cd $(HOST_SUBDIR)/cgen && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + maintainer-clean) \ + || exit 1 + +@endif cgen + + + .PHONY: configure-dejagnu maybe-configure-dejagnu maybe-configure-dejagnu: @if gcc-bootstrap @@ -1895,7 +1895,7 @@ host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib l # binutils, gas and ld appear in that order because it makes sense to run # "make check" in that particular order. # If --enable-gold is used, "gold" will replace "ld". -host_tools="texinfo byacc flex bison binutils gas ld fixincludes gcc sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools" +host_tools="texinfo byacc flex bison binutils gas ld fixincludes gcc cgen sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools" # libgcj represents the runtime libraries only used by gcj. libgcj="target-libffi \ diff --git a/configure.ac b/configure.ac index d2ad27e..e8bcc4b 100644 --- a/configure.ac +++ b/configure.ac @@ -166,7 +166,7 @@ host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib l # binutils, gas and ld appear in that order because it makes sense to run # "make check" in that particular order. # If --enable-gold is used, "gold" will replace "ld". -host_tools="texinfo byacc flex bison binutils gas ld fixincludes gcc sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools" +host_tools="texinfo byacc flex bison binutils gas ld fixincludes gcc cgen sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools" # libgcj represents the runtime libraries only used by gcj. libgcj="target-libffi \ |