| 1 | # |
| 2 | # Makefile for directory with subdirs to build. |
| 3 | # Copyright (C) 1990, 1991, 1992 Free Software Foundation |
| 4 | # |
| 5 | # This file is free software; you can redistribute it and/or modify |
| 6 | # it under the terms of the GNU General Public License as published by |
| 7 | # the Free Software Foundation; either version 2 of the License, or |
| 8 | # (at your option) any later version. |
| 9 | # |
| 10 | # This program is distributed in the hope that it will be useful, |
| 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | # GNU General Public License for more details. |
| 14 | # |
| 15 | # You should have received a copy of the GNU General Public License |
| 16 | # along with this program; if not, write to the Free Software |
| 17 | # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ |
| 18 | # |
| 19 | |
| 20 | srcdir = . |
| 21 | |
| 22 | prefix = /usr/local |
| 23 | |
| 24 | exec_prefix = $(prefix) |
| 25 | bindir = $(exec_prefix)/bin |
| 26 | libdir = $(exec_prefix)/lib |
| 27 | tooldir = $(libdir) |
| 28 | |
| 29 | program_transform_name = |
| 30 | |
| 31 | datadir = $(prefix)/lib |
| 32 | mandir = $(prefix)/man |
| 33 | man1dir = $(mandir)/man1 |
| 34 | man2dir = $(mandir)/man2 |
| 35 | man3dir = $(mandir)/man3 |
| 36 | man4dir = $(mandir)/man4 |
| 37 | man5dir = $(mandir)/man5 |
| 38 | man6dir = $(mandir)/man6 |
| 39 | man7dir = $(mandir)/man7 |
| 40 | man8dir = $(mandir)/man8 |
| 41 | man9dir = $(mandir)/man9 |
| 42 | infodir = $(prefix)/info |
| 43 | includedir = $(prefix)/include |
| 44 | docdir = $(datadir)/doc |
| 45 | |
| 46 | SHELL = /bin/sh |
| 47 | |
| 48 | INSTALL = cp |
| 49 | INSTALL_PROGRAM = $(INSTALL) |
| 50 | INSTALL_DATA = $(INSTALL) |
| 51 | |
| 52 | AS = as |
| 53 | AR = ar |
| 54 | AR_FLAGS = rc |
| 55 | CC = cc |
| 56 | CFLAGS = -g |
| 57 | $(start-sanitize-chill) |
| 58 | CHILLFLAGS = $(CFLAGS) |
| 59 | CHILL_LIB = -lchill |
| 60 | $(end-sanitize-chill) |
| 61 | CXX = gcc |
| 62 | CXXFLAGS = -g -O |
| 63 | RANLIB = ranlib |
| 64 | NM = nm |
| 65 | |
| 66 | BISON = `if [ -f $${rootme}/byacc/byacc ] ; \ |
| 67 | then echo $${rootme}/byacc/byacc ; \ |
| 68 | else echo byacc ; \ |
| 69 | fi` |
| 70 | |
| 71 | LEX = `if [ -f $${rootme}/flex/flex ] ; \ |
| 72 | then echo $${rootme}/flex/flex ; \ |
| 73 | else echo flex ; fi` |
| 74 | |
| 75 | MAKEINFO = `if [ -f $${rootme}/texinfo/C/makeinfo ] ; \ |
| 76 | then echo $${rootme}/texinfo/C/makeinfo ; \ |
| 77 | else echo makeinfo ; fi` |
| 78 | |
| 79 | |
| 80 | # libraries that may need to be augmented on a system-by-system basis |
| 81 | X11_LIB = -lX11 |
| 82 | |
| 83 | # compilers to use to create programs which must be run in the build |
| 84 | # environment. |
| 85 | CC_FOR_BUILD = $(CC) |
| 86 | CXX_FOR_BUILD = $(CXX) |
| 87 | |
| 88 | SUBDIRS = "this is set via configure, don't edit this" |
| 89 | OTHERS = |
| 90 | |
| 91 | ALL = all.normal |
| 92 | INSTALL_TARGET = install.all |
| 93 | |
| 94 | ### for debugging |
| 95 | #GCCVERBOSE=-v |
| 96 | |
| 97 | CC_FOR_TARGET = ` \ |
| 98 | if [ -f $${rootme}/gcc/Makefile ] ; then \ |
| 99 | echo $${rootme}/gcc/xgcc -B$${rootme}/gcc/; \ |
| 100 | else \ |
| 101 | if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ |
| 102 | echo $(CC); \ |
| 103 | else \ |
| 104 | t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \ |
| 105 | fi; \ |
| 106 | fi` |
| 107 | |
| 108 | GCC_FOR_TARGET = ` \ |
| 109 | if [ -f $${rootme}/gcc/Makefile ] ; then \ |
| 110 | echo $${rootme}/gcc/xgcc -B$${rootme}/gcc/; \ |
| 111 | else \ |
| 112 | if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ |
| 113 | echo $(CC); \ |
| 114 | else \ |
| 115 | t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \ |
| 116 | fi; \ |
| 117 | fi` |
| 118 | |
| 119 | $(start-sanitize-chill) |
| 120 | CHILL_FOR_TARGET = ` \ |
| 121 | if [ -f $${rootme}/gcc/Makefile ] ; then \ |
| 122 | echo $${rootme}/gcc/xgcc -B$${rootme}/gcc/ -L$${rootme}/chillrt/; \ |
| 123 | else \ |
| 124 | if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ |
| 125 | echo $(CC); \ |
| 126 | else \ |
| 127 | t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \ |
| 128 | fi; \ |
| 129 | fi` |
| 130 | $(end-sanitize-chill) |
| 131 | |
| 132 | CXX_FOR_TARGET = ` \ |
| 133 | if [ -f $${rootme}/gcc/Makefile ] ; then \ |
| 134 | echo $${rootme}/gcc/xgcc -B$${rootme}/gcc/; \ |
| 135 | else \ |
| 136 | if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ |
| 137 | echo $(CXX); \ |
| 138 | else \ |
| 139 | t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \ |
| 140 | fi; \ |
| 141 | fi` |
| 142 | |
| 143 | AS_FOR_TARGET = ` \ |
| 144 | if [ -f $${rootme}/gas/Makefile ] ; then \ |
| 145 | echo $${rootme}/gas/as.new ; \ |
| 146 | else \ |
| 147 | if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ |
| 148 | echo $(AS); \ |
| 149 | else \ |
| 150 | t='$(program_transform_name)'; echo as | sed -e '' $$t ; \ |
| 151 | fi \ |
| 152 | fi` |
| 153 | |
| 154 | AR_FOR_TARGET = ` \ |
| 155 | if [ -f $${rootme}/binutils/Makefile ] ; then \ |
| 156 | echo $${rootme}/binutils/ar ; \ |
| 157 | else \ |
| 158 | if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ |
| 159 | echo $(AR); \ |
| 160 | else \ |
| 161 | t='$(program_transform_name)'; echo ar | sed -e '' $$t ; \ |
| 162 | fi \ |
| 163 | fi` |
| 164 | |
| 165 | RANLIB_FOR_TARGET = ` \ |
| 166 | if [ -f $${rootme}/binutils/Makefile ] ; then \ |
| 167 | echo $${rootme}/binutils/ranlib ; \ |
| 168 | else \ |
| 169 | if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ |
| 170 | echo $(RANLIB); \ |
| 171 | else \ |
| 172 | t='$(program_transform_name)'; echo ranlib | sed -e '' $$t ; \ |
| 173 | fi \ |
| 174 | fi` |
| 175 | |
| 176 | NM_FOR_TARGET = ` \ |
| 177 | if [ -f $${rootme}/binutils/Makefile ] ; then \ |
| 178 | echo $${rootme}/binutils/nm ; \ |
| 179 | else \ |
| 180 | if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ |
| 181 | echo $(NM); \ |
| 182 | else \ |
| 183 | t='$(program_transform_name)'; echo nm | sed -e '' $$t ; \ |
| 184 | fi \ |
| 185 | fi` |
| 186 | |
| 187 | XTRAFLAGS = ` \ |
| 188 | if [ -f $${rootme}/gcc/Makefile ] ; then \ |
| 189 | if [ -f $${rootme}/newlib/Makefile ] ; then \ |
| 190 | echo -I$${rootme}/newlib/targ-include -I$${srcroot}/newlib/libc/include -I$${rootme}/gcc/include -nostdinc ; \ |
| 191 | else \ |
| 192 | echo -I$${rootme}/gcc/include ; \ |
| 193 | fi ; \ |
| 194 | else \ |
| 195 | echo ; \ |
| 196 | fi` |
| 197 | |
| 198 | |
| 199 | #### host and target specific makefile fragments come in here. |
| 200 | ### |
| 201 | |
| 202 | # Flags to pass down to sub-makes -- please keep these in alphabetical order |
| 203 | FLAGS_TO_PASS = \ |
| 204 | "AR=$(AR)" \ |
| 205 | "AR_FLAGS=$(AR_FLAGS)" \ |
| 206 | "AR_FOR_TARGET=$(AR_FOR_TARGET)" \ |
| 207 | "BISON=$(BISON)" \ |
| 208 | "CXXFLAGS=$(CXXFLAGS)" \ |
| 209 | "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \ |
| 210 | "CC=$(CC)" \ |
| 211 | "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ |
| 212 | "CFLAGS=$(CFLAGS)" \ |
| 213 | $(start-sanitize-chill)\ |
| 214 | "CHILLFLAGS=$(CHILLFLAGS)" \ |
| 215 | "CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \ |
| 216 | "CHILL_LIB=$(CHILL_LIB)" \ |
| 217 | $(end-sanitize-chill)\ |
| 218 | "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \ |
| 219 | "INSTALL=$(INSTALL)" \ |
| 220 | "INSTALL_DATA=$(INSTALL_DATA)" \ |
| 221 | "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ |
| 222 | "LDFLAGS=$(LDFLAGS)" \ |
| 223 | "LEX=$(LEX)" \ |
| 224 | "LOADLIBES=$(LOADLIBES)" \ |
| 225 | "MAKEINFO=$(MAKEINFO)" \ |
| 226 | "RANLIB=$(RANLIB)" \ |
| 227 | "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \ |
| 228 | "exec_prefix=$(exec_prefix)" \ |
| 229 | "prefix=$(prefix)" \ |
| 230 | "tooldir=$(tooldir)" |
| 231 | |
| 232 | # Flags that are concerned with the location of the X11 include files |
| 233 | # and library files |
| 234 | |
| 235 | X11_FLAGS_TO_PASS = \ |
| 236 | "X11_INCLUDE_FLAGS=$(X11_INCLUDE_FLAGS)" \ |
| 237 | "X11_LIB_FLAGS=$(X11_LIB_FLAGS)" \ |
| 238 | "X11_LIB=$(X11_LIB)" |
| 239 | |
| 240 | # Flags to pass down to makes which are built with the target |
| 241 | # environment (e.g. libg++, xiberty, newlib). -- keep these in alpha order please |
| 242 | TARGET_FLAGS_TO_PASS = \ |
| 243 | "AR=$(AR_FOR_TARGET)" \ |
| 244 | "AR_FLAGS=$(AR_FLAGS)" \ |
| 245 | "AS=$(AS_FOR_TARGET)" \ |
| 246 | "BISON=$(BISON)" \ |
| 247 | "CXX=$(CXX_FOR_TARGET)" \ |
| 248 | "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \ |
| 249 | "CXXFLAGS=$(CXXFLAGS)" \ |
| 250 | "CC=$(CC_FOR_TARGET)" \ |
| 251 | "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ |
| 252 | "CFLAGS=$(CFLAGS)" \ |
| 253 | "INSTALL=$(INSTALL)" \ |
| 254 | "INSTALL_DATA=$(INSTALL_DATA)" \ |
| 255 | "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ |
| 256 | "LDFLAGS=$(LDFLAGS)" \ |
| 257 | "LEX=$(LEX)" \ |
| 258 | "LOADLIBES=$(LOADLIBES)" \ |
| 259 | "MAKEINFO=$(MAKEINFO)" \ |
| 260 | "NM=$(NM_FOR_TARGET)" \ |
| 261 | "RANLIB=$(RANLIB_FOR_TARGET)" \ |
| 262 | "XTRAFLAGS=$(XTRAFLAGS)" \ |
| 263 | "exec_prefix=$(exec_prefix)" \ |
| 264 | "prefix=$(prefix)" \ |
| 265 | "tooldir=$(tooldir)" |
| 266 | |
| 267 | # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it |
| 268 | # unfortunately needs the native compiler and the target ar and |
| 269 | # ranlib. Keep these in alphabetical order, please. |
| 270 | GCC_FLAGS_TO_PASS = \ |
| 271 | "AR=$(AR_FOR_TARGET)" \ |
| 272 | "AR_FLAGS=$(AR_FLAGS)" \ |
| 273 | "AR_FOR_TARGET=$(AR_FOR_TARGET)" \ |
| 274 | "AS=$(AS)" \ |
| 275 | "BISON=$(BISON)" \ |
| 276 | "CXX=$(CXX)" \ |
| 277 | "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \ |
| 278 | "CXXFLAGS=$(CXXFLAGS)" \ |
| 279 | "CC=$(CC)" \ |
| 280 | "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ |
| 281 | "CFLAGS=$(CFLAGS)" \ |
| 282 | "INSTALL=$(INSTALL)" \ |
| 283 | "INSTALL_DATA=$(INSTALL_DATA)" \ |
| 284 | "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ |
| 285 | "LDFLAGS=$(LDFLAGS)" \ |
| 286 | "LEX=$(LEX)" \ |
| 287 | "LOADLIBES=$(LOADLIBES)" \ |
| 288 | "MAKEINFO=$(MAKEINFO)" \ |
| 289 | "NM=$(NM)" \ |
| 290 | "RANLIB=$(RANLIB_FOR_TARGET)" \ |
| 291 | "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \ |
| 292 | "XTRAFLAGS=$(XTRAFLAGS)" \ |
| 293 | "exec_prefix=$(exec_prefix)" \ |
| 294 | "prefix=$(prefix)" \ |
| 295 | "tooldir=$(tooldir)" |
| 296 | |
| 297 | # The first rule in the file had better be this one. Don't put any above it. |
| 298 | all: $(ALL) |
| 299 | |
| 300 | .PHONY: all check dvi info install-info |
| 301 | .NOEXPORT: |
| 302 | |
| 303 | info check dvi: |
| 304 | @rootme=`pwd` ; export rootme ; \ |
| 305 | $(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do |
| 306 | |
| 307 | install-info: install-info-dirs force |
| 308 | -parent=`echo $(infodir)|sed -e 's@/[^/]*$$@@'`; \ |
| 309 | if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi |
| 310 | -if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; fi |
| 311 | @rootme='pwd' ; export rootme ; $(MAKE) $(FLAGS_TO_PASS) DO=install-info "DODIRS=$(SUBDIRS)" subdir_do |
| 312 | @rootme='pwd' ; export rootme ; $(MAKE) $(FLAGS_TO_PASS) dir.info install-dir.info |
| 313 | |
| 314 | install-dir.info: |
| 315 | -parent=`echo $(infodir)|sed -e 's@/[^/]*$$@@'`; \ |
| 316 | if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi |
| 317 | -if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; fi |
| 318 | $(INSTALL_DATA) dir.info $(infodir)/dir.info |
| 319 | |
| 320 | all.normal: all-m4 all-autoconf all-libiberty all-mmalloc all-texinfo \ |
| 321 | all-byacc all-flex all-opcodes all-bfd all-ld all-gas all-tgas \ |
| 322 | all-gcc all-binutils all-libg++ all-readline all-z8ksim all-h8300sim all-gdb \ |
| 323 | all-make all-rcs all-cvs all-diff all-grep \ |
| 324 | all-patch all-emacs all-ispell all-etc \ |
| 325 | all-tcl all-tk all-expect \ |
| 326 | all-newlib \ |
| 327 | $(start-sanitize-chill) \ |
| 328 | all-chillrt \ |
| 329 | $(end-sanitize-chill) \ |
| 330 | all-gprof all-send_pr all-libm all-deja-gnu \ |
| 331 | all-fileutils all-find all-gawk all-sed all-shellutils \ |
| 332 | all-textutils all-time all-wdiff all-uudecode |
| 333 | |
| 334 | |
| 335 | all.cross: all-libiberty all-mmalloc all-gas all-byacc all-flex all-ld \ |
| 336 | all-opcodes all-z8ksim all-h8300sim all-bfd all-readline \ |
| 337 | all-gdb all-binutils all-gcc all-newlib \ |
| 338 | $(start-sanitize-chill) \ |
| 339 | all-chillrt \ |
| 340 | $(end-sanitize-chill) \ |
| 341 | all-deja-gnu |
| 342 | |
| 343 | .PHONY: clean distclean mostlyclean realclean do_clean |
| 344 | |
| 345 | do_clean: |
| 346 | -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E |
| 347 | |
| 348 | clean mostlyclean: do_clean |
| 349 | @rootme=`pwd` ; export rootme ; \ |
| 350 | $(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do |
| 351 | |
| 352 | distclean realclean: do_clean |
| 353 | @rootme=`pwd` ; export rootme ; \ |
| 354 | $(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do |
| 355 | -rm -f Makefile config.status |
| 356 | |
| 357 | uninstall: |
| 358 | @echo "the uninstall target is not supported in this tree" |
| 359 | |
| 360 | install: $(INSTALL_TARGET) |
| 361 | -parent=`echo $(man1dir)|sed -e 's@/[^/]*$$@@'`; \ |
| 362 | if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi |
| 363 | -if [ -d $(man1dir) ] ; then true ; else mkdir $(man1dir) ; fi |
| 364 | |
| 365 | install.all: install-no-fixedincludes |
| 366 | @if [ -f ./gcc/Makefile ] ; then \ |
| 367 | rootme=`pwd` ; export rootme ; \ |
| 368 | (cd ./gcc; \ |
| 369 | $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \ |
| 370 | else \ |
| 371 | true ; \ |
| 372 | fi |
| 373 | |
| 374 | install-no-fixedincludes: install-dirs gcc-no-fixedincludes \ |
| 375 | install-autoconf \ |
| 376 | install-bfd \ |
| 377 | install-binutils \ |
| 378 | install-opcodes \ |
| 379 | install-byacc \ |
| 380 | install-cvs \ |
| 381 | install-diff \ |
| 382 | install-deja-gnu \ |
| 383 | install-emacs \ |
| 384 | install-etc \ |
| 385 | install-expect \ |
| 386 | install-flex \ |
| 387 | install-gas \ |
| 388 | install-gdb \ |
| 389 | install-glob \ |
| 390 | install-gprof \ |
| 391 | install-grep \ |
| 392 | install-ispell \ |
| 393 | install-ld \ |
| 394 | install-libg++ \ |
| 395 | install-libiberty \ |
| 396 | install-libm \ |
| 397 | install-make \ |
| 398 | install-mmalloc \ |
| 399 | install-newlib \ |
| 400 | $(start-sanitize-chill) \ |
| 401 | install-chillrt \ |
| 402 | $(end-sanitize-chill) \ |
| 403 | install-patch \ |
| 404 | install-rcs \ |
| 405 | install-readline \ |
| 406 | install-send_pr \ |
| 407 | install-tcl \ |
| 408 | install-texinfo \ |
| 409 | install-tk \ |
| 410 | install-z8ksim \ |
| 411 | install-h8300sim \ |
| 412 | install-fileutils install-find install-gawk install-m4 install-sed install-shellutils \ |
| 413 | install-textutils install-time install-wdiff install-uudecode |
| 414 | |
| 415 | # |
| 416 | # Install the gcc headers files, but not the fixed include files, |
| 417 | # which we are not allowed to distribute. This rule is very dependent |
| 418 | # on the workings of the gcc Makefile.in. |
| 419 | # |
| 420 | gcc-no-fixedincludes: |
| 421 | @if [ -f ./gcc/Makefile ]; then \ |
| 422 | rm -rf gcc/tmp-include; \ |
| 423 | mv gcc/include gcc/tmp-include 2>/dev/null; \ |
| 424 | mkdir gcc/include; \ |
| 425 | touch gcc/stmp-fixincludes; \ |
| 426 | rm -f gcc/stmp-headers; \ |
| 427 | rootme=`pwd`; export rootme; \ |
| 428 | srcroot=`cd $(srcdir); pwd` ; export srcroot; \ |
| 429 | (cd ./gcc; \ |
| 430 | $(MAKE) $(GCC_FLAGS_TO_PASS) install); \ |
| 431 | rm -rf gcc/include; \ |
| 432 | mv gcc/tmp-include gcc/include 2>/dev/null; \ |
| 433 | else true; fi |
| 434 | |
| 435 | install.cross: install-dirs install-libiberty install-mmalloc \ |
| 436 | install-binutils install-opcodes install-byacc install-flex \ |
| 437 | install-ld install-gas install-readline \ |
| 438 | install-glob install-gdb install-mmalloc \ |
| 439 | install-newlib \ |
| 440 | $(start-sanitize-chill) \ |
| 441 | install-chillrt \ |
| 442 | $(end-sanitize-chill) \ |
| 443 | install-gcc install-etc install-deja-gnu |
| 444 | |
| 445 | ### deja-gnu |
| 446 | all-deja-gnu: force |
| 447 | @if [ -f ./deja-gnu/Makefile ] ; then \ |
| 448 | rootme=`pwd` ; export rootme ; \ |
| 449 | (cd ./deja-gnu; $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 450 | else \ |
| 451 | true ; \ |
| 452 | fi |
| 453 | |
| 454 | install-deja-gnu: force |
| 455 | @if [ -f ./deja-gnu/Makefile ] ; then \ |
| 456 | rootme=`pwd` ; export rootme ; \ |
| 457 | (cd ./deja-gnu; $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 458 | else \ |
| 459 | true ; \ |
| 460 | fi |
| 461 | |
| 462 | ### autoconf |
| 463 | all-autoconf: force |
| 464 | @if [ -f ./autoconf/Makefile ] ; then \ |
| 465 | rootme=`pwd` ; export rootme ; \ |
| 466 | (cd ./autoconf; $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 467 | else \ |
| 468 | true ; \ |
| 469 | fi |
| 470 | |
| 471 | install-autoconf: force |
| 472 | @if [ -f ./autoconf/Makefile ] ; then \ |
| 473 | rootme=`pwd` ; export rootme ; \ |
| 474 | (cd ./autoconf; $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 475 | else \ |
| 476 | true ; \ |
| 477 | fi |
| 478 | |
| 479 | ### etc |
| 480 | all-etc: force |
| 481 | @if [ -f ./etc/Makefile ] ; then \ |
| 482 | rootme=`pwd` ; export rootme ; \ |
| 483 | (cd ./etc; $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 484 | else \ |
| 485 | true ; \ |
| 486 | fi |
| 487 | |
| 488 | install-etc: force |
| 489 | @if [ -f ./etc/Makefile ] ; then \ |
| 490 | rootme=`pwd` ; export rootme ; \ |
| 491 | (cd ./etc; $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 492 | else \ |
| 493 | true ; \ |
| 494 | fi |
| 495 | |
| 496 | ### libiberty |
| 497 | all-libiberty: force |
| 498 | @if [ -f ./libiberty/Makefile ] ; then \ |
| 499 | rootme=`pwd` ; export rootme ; \ |
| 500 | (cd ./libiberty; \ |
| 501 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 502 | else \ |
| 503 | true ; \ |
| 504 | fi |
| 505 | |
| 506 | install-libiberty: force |
| 507 | @if [ -f ./libiberty/Makefile ] ; then \ |
| 508 | rootme=`pwd` ; export rootme ; \ |
| 509 | (cd ./libiberty; \ |
| 510 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 511 | else \ |
| 512 | true ; \ |
| 513 | fi |
| 514 | |
| 515 | ### xiberty |
| 516 | all-xiberty: all-gcc all-newlib |
| 517 | @if [ -f ./xiberty/Makefile ] ; then \ |
| 518 | rootme=`pwd` ; export rootme ; \ |
| 519 | srcroot=`cd $(srcdir); pwd`; export srcroot ; \ |
| 520 | (cd ./xiberty; \ |
| 521 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) ; \ |
| 522 | else \ |
| 523 | true ; \ |
| 524 | fi |
| 525 | |
| 526 | install-xiberty: force |
| 527 | @if [ -f ./xiberty/Makefile ] ; then \ |
| 528 | rootme=`pwd` ; export rootme ; \ |
| 529 | srcroot=`cd $(srcdir); pwd`; export srcroot ; \ |
| 530 | (cd ./xiberty; \ |
| 531 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) ; \ |
| 532 | else \ |
| 533 | true ; \ |
| 534 | fi |
| 535 | |
| 536 | ### mmalloc |
| 537 | all-mmalloc: force |
| 538 | @if [ -f ./mmalloc/Makefile ] ; then \ |
| 539 | rootme=`pwd` ; export rootme ; \ |
| 540 | (cd ./mmalloc; \ |
| 541 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 542 | else \ |
| 543 | true ; \ |
| 544 | fi |
| 545 | |
| 546 | install-mmalloc: force |
| 547 | @if [ -f ./mmalloc/Makefile ] ; then \ |
| 548 | rootme=`pwd` ; export rootme ; \ |
| 549 | (cd ./mmalloc; \ |
| 550 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 551 | else \ |
| 552 | true ; \ |
| 553 | fi |
| 554 | |
| 555 | ### texinfo |
| 556 | all-texinfo: all-libiberty |
| 557 | @if [ -f ./texinfo/Makefile ] ; then \ |
| 558 | rootme=`pwd` ; export rootme ; \ |
| 559 | (cd ./texinfo; \ |
| 560 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 561 | else \ |
| 562 | true ; \ |
| 563 | fi |
| 564 | |
| 565 | install-texinfo: force |
| 566 | @if [ -f ./texinfo/Makefile ] ; then \ |
| 567 | rootme=`pwd` ; export rootme ; \ |
| 568 | (cd ./texinfo; \ |
| 569 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 570 | else \ |
| 571 | true ; \ |
| 572 | fi |
| 573 | |
| 574 | ### bfd |
| 575 | all-bfd: force |
| 576 | @if [ -f ./bfd/Makefile ] ; then \ |
| 577 | rootme=`pwd` ; export rootme ; \ |
| 578 | (cd ./bfd; \ |
| 579 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 580 | else \ |
| 581 | true ; \ |
| 582 | fi |
| 583 | |
| 584 | install-bfd: force |
| 585 | @if [ -f ./bfd/Makefile ] ; then \ |
| 586 | rootme=`pwd` ; export rootme ; \ |
| 587 | (cd ./bfd; \ |
| 588 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 589 | else \ |
| 590 | true ; \ |
| 591 | fi |
| 592 | |
| 593 | |
| 594 | ### opcodes |
| 595 | all-opcodes: force |
| 596 | @if [ -f ./opcodes/Makefile ] ; then \ |
| 597 | rootme=`pwd` ; export rootme ; \ |
| 598 | (cd ./opcodes; \ |
| 599 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 600 | else \ |
| 601 | true ; \ |
| 602 | fi |
| 603 | |
| 604 | install-opcodes: force |
| 605 | @if [ -f ./opcodes/Makefile ] ; then \ |
| 606 | rootme=`pwd` ; export rootme ; \ |
| 607 | (cd ./opcodes; \ |
| 608 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 609 | else \ |
| 610 | true ; \ |
| 611 | fi |
| 612 | |
| 613 | ### binutils |
| 614 | all-binutils: all-opcodes all-libiberty all-bfd all-flex |
| 615 | @if [ -f ./binutils/Makefile ] ; then \ |
| 616 | rootme=`pwd` ; export rootme ; \ |
| 617 | (cd ./binutils; \ |
| 618 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 619 | else \ |
| 620 | true ; \ |
| 621 | fi |
| 622 | |
| 623 | install-binutils: force |
| 624 | @if [ -f ./binutils/Makefile ] ; then \ |
| 625 | rootme=`pwd` ; export rootme ; \ |
| 626 | (cd ./binutils; \ |
| 627 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 628 | else \ |
| 629 | true ; \ |
| 630 | fi |
| 631 | |
| 632 | ### newlib |
| 633 | all-newlib: all-binutils all-ld all-gas all-gcc |
| 634 | @if [ -f ./newlib/Makefile ] ; then \ |
| 635 | rootme=`pwd` ; export rootme ; \ |
| 636 | srcroot=`cd $(srcdir); pwd` ; export srcroot ; \ |
| 637 | (cd ./newlib; \ |
| 638 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) ; \ |
| 639 | else \ |
| 640 | true ; \ |
| 641 | fi |
| 642 | |
| 643 | install-newlib: force |
| 644 | @if [ -f ./newlib/Makefile ] ; then \ |
| 645 | rootme=`pwd` ; export rootme ; \ |
| 646 | srcroot=`cd $(srcdir); pwd` ; export srcroot ; \ |
| 647 | (cd ./newlib; \ |
| 648 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) ; \ |
| 649 | else \ |
| 650 | true ; \ |
| 651 | fi |
| 652 | |
| 653 | ### start-sanitize-chill |
| 654 | ### chillrt |
| 655 | all-chillrt: all-binutils all-ld all-gas all-gcc all-newlib |
| 656 | @if [ -f ./chillrt/Makefile ] ; then \ |
| 657 | rootme=`pwd` ; export rootme ; \ |
| 658 | srcroot=`cd $(srcdir); pwd` ; export srcroot ; \ |
| 659 | (cd ./chillrt; \ |
| 660 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) ; \ |
| 661 | else \ |
| 662 | true ; \ |
| 663 | fi |
| 664 | |
| 665 | install-chillrt: force |
| 666 | @if [ -f ./chillrt/Makefile ] ; then \ |
| 667 | rootme=`pwd` ; export rootme ; \ |
| 668 | srcroot=`cd $(srcdir); pwd` ; export srcroot ; \ |
| 669 | (cd ./chillrt; \ |
| 670 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) ; \ |
| 671 | else \ |
| 672 | true ; \ |
| 673 | fi |
| 674 | ### end-sanitize-chill |
| 675 | |
| 676 | ### gprof |
| 677 | all-gprof: all-libiberty all-bfd |
| 678 | @if [ -f ./gprof/Makefile ] ; then \ |
| 679 | rootme=`pwd` ; export rootme ; \ |
| 680 | (cd ./gprof; \ |
| 681 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 682 | else \ |
| 683 | true ; \ |
| 684 | fi |
| 685 | |
| 686 | install-gprof: force |
| 687 | @if [ -f ./gprof/Makefile ] ; then \ |
| 688 | rootme=`pwd` ; export rootme ; \ |
| 689 | (cd ./gprof; \ |
| 690 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 691 | else \ |
| 692 | true ; \ |
| 693 | fi |
| 694 | |
| 695 | ### byacc |
| 696 | all-byacc: force |
| 697 | @if [ -f ./byacc/Makefile ] ; then \ |
| 698 | rootme=`pwd` ; export rootme ; \ |
| 699 | (cd ./byacc; \ |
| 700 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 701 | else \ |
| 702 | true ; \ |
| 703 | fi |
| 704 | |
| 705 | install-byacc: force |
| 706 | @if [ -f ./byacc/Makefile ] ; then \ |
| 707 | rootme=`pwd` ; export rootme ; \ |
| 708 | (cd ./byacc; \ |
| 709 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 710 | else \ |
| 711 | true ; \ |
| 712 | fi |
| 713 | |
| 714 | ### flex |
| 715 | all-flex: all-libiberty |
| 716 | @if [ -f ./flex/Makefile ] ; then \ |
| 717 | rootme=`pwd` ; export rootme ; \ |
| 718 | (cd ./flex; \ |
| 719 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 720 | else \ |
| 721 | true ; \ |
| 722 | fi |
| 723 | |
| 724 | install-flex: force |
| 725 | @if [ -f ./flex/Makefile ] ; then \ |
| 726 | rootme=`pwd` ; export rootme ; \ |
| 727 | (cd ./flex; \ |
| 728 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 729 | else \ |
| 730 | true ; \ |
| 731 | fi |
| 732 | ### gcc |
| 733 | all-gcc: all-libiberty all-byacc all-binutils all-gas |
| 734 | @if [ -f ./gcc/Makefile ] ; then \ |
| 735 | rootme=`pwd` ; export rootme ; \ |
| 736 | srcroot=`cd $(srcdir); pwd` ; export srcroot ; \ |
| 737 | (cd ./gcc; \ |
| 738 | $(MAKE) $(GCC_FLAGS_TO_PASS) all) ; \ |
| 739 | else \ |
| 740 | true ; \ |
| 741 | fi |
| 742 | |
| 743 | install-gcc: force |
| 744 | @if [ -f ./gcc/Makefile ] ; then \ |
| 745 | rootme=`pwd` ; export rootme ; \ |
| 746 | srcroot=`cd $(srcdir); pwd` ; export srcroot ; \ |
| 747 | (cd ./gcc; \ |
| 748 | $(MAKE) $(GCC_FLAGS_TO_PASS) install) ; \ |
| 749 | else \ |
| 750 | true ; \ |
| 751 | fi |
| 752 | |
| 753 | ### readline |
| 754 | all-readline: force |
| 755 | @if [ -f ./readline/Makefile ] ; then \ |
| 756 | rootme=`pwd` ; export rootme ; \ |
| 757 | (cd ./readline; \ |
| 758 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 759 | else \ |
| 760 | true ; \ |
| 761 | fi |
| 762 | |
| 763 | install-readline: force |
| 764 | @if [ -f ./readline/Makefile ] ; then \ |
| 765 | rootme=`pwd` ; export rootme ; \ |
| 766 | (cd ./readline; \ |
| 767 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 768 | else \ |
| 769 | true ; \ |
| 770 | fi |
| 771 | |
| 772 | ### glob |
| 773 | all-glob: force |
| 774 | @if [ -f ./glob/Makefile ] ; then \ |
| 775 | rootme=`pwd` ; export rootme ; \ |
| 776 | (cd ./glob; \ |
| 777 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 778 | else \ |
| 779 | true ; \ |
| 780 | fi |
| 781 | |
| 782 | install-glob: force |
| 783 | @if [ -f ./glob/Makefile ] ; then \ |
| 784 | rootme=`pwd` ; export rootme ; \ |
| 785 | (cd ./glob; \ |
| 786 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 787 | else \ |
| 788 | true ; \ |
| 789 | fi |
| 790 | |
| 791 | ### gas |
| 792 | all-gas: all-libiberty all-opcodes all-bfd |
| 793 | @if [ -f ./gas/Makefile ] ; then \ |
| 794 | rootme=`pwd` ; export rootme ; \ |
| 795 | (cd ./gas; \ |
| 796 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 797 | else \ |
| 798 | true ; \ |
| 799 | fi |
| 800 | |
| 801 | install-gas: force |
| 802 | @if [ -f ./gas/Makefile ] ; then \ |
| 803 | rootme=`pwd` ; export rootme ; \ |
| 804 | (cd ./gas; \ |
| 805 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 806 | else \ |
| 807 | true ; \ |
| 808 | fi |
| 809 | |
| 810 | ### gas |
| 811 | all-tgas: all-libiberty all-bfd |
| 812 | @if [ -f ./tgas/Makefile ] ; then \ |
| 813 | rootme=`pwd` ; export rootme ; \ |
| 814 | (cd ./tgas; \ |
| 815 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 816 | else \ |
| 817 | true ; \ |
| 818 | fi |
| 819 | |
| 820 | |
| 821 | ### ld |
| 822 | all-ld: all-libiberty all-bfd all-byacc all-flex |
| 823 | @if [ -f ./ld/Makefile ] ; then \ |
| 824 | rootme=`pwd` ; export rootme ; \ |
| 825 | (cd ./ld; \ |
| 826 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 827 | else \ |
| 828 | true ; \ |
| 829 | fi |
| 830 | |
| 831 | install-ld: force |
| 832 | @if [ -f ./ld/Makefile ] ; then \ |
| 833 | rootme=`pwd` ; export rootme ; \ |
| 834 | (cd ./ld; \ |
| 835 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 836 | else \ |
| 837 | true ; \ |
| 838 | fi |
| 839 | |
| 840 | ### gdb |
| 841 | all-gdb: all-bfd all-opcodes all-libiberty all-mmalloc all-readline all-glob all-byacc |
| 842 | @if [ -f ./gdb/Makefile ] ; then \ |
| 843 | rootme=`pwd` ; export rootme ; \ |
| 844 | (cd ./gdb; \ |
| 845 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 846 | else \ |
| 847 | true ; \ |
| 848 | fi |
| 849 | |
| 850 | install-gdb: force |
| 851 | @if [ -f ./gdb/Makefile ] ; then \ |
| 852 | rootme=`pwd` ; export rootme ; \ |
| 853 | (cd ./gdb; \ |
| 854 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 855 | else \ |
| 856 | true ; \ |
| 857 | fi |
| 858 | |
| 859 | ### make |
| 860 | all-make: all-libiberty |
| 861 | @if [ -f ./make/Makefile ] ; then \ |
| 862 | rootme=`pwd` ; export rootme ; \ |
| 863 | (cd ./make; \ |
| 864 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 865 | else \ |
| 866 | true ; \ |
| 867 | fi |
| 868 | |
| 869 | install-make: force |
| 870 | @if [ -f ./make/Makefile ] ; then \ |
| 871 | rootme=`pwd` ; export rootme ; \ |
| 872 | (cd ./make; \ |
| 873 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 874 | else \ |
| 875 | true ; \ |
| 876 | fi |
| 877 | |
| 878 | ### diff |
| 879 | all-diff: force |
| 880 | @if [ -f ./diff/Makefile ] ; then \ |
| 881 | rootme=`pwd` ; export rootme ; \ |
| 882 | (cd ./diff; \ |
| 883 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 884 | else \ |
| 885 | true ; \ |
| 886 | fi |
| 887 | |
| 888 | install-diff: force |
| 889 | @if [ -f ./diff/Makefile ] ; then \ |
| 890 | rootme=`pwd` ; export rootme ; \ |
| 891 | (cd ./diff/; \ |
| 892 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 893 | else \ |
| 894 | true ; \ |
| 895 | fi |
| 896 | |
| 897 | ### grep |
| 898 | all-grep: force |
| 899 | @if [ -f ./grep/Makefile ] ; then \ |
| 900 | rootme=`pwd` ; export rootme ; \ |
| 901 | (cd ./grep; \ |
| 902 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 903 | else \ |
| 904 | true ; \ |
| 905 | fi |
| 906 | |
| 907 | install-grep: force |
| 908 | @if [ -f ./grep/Makefile ] ; then \ |
| 909 | rootme=`pwd` ; export rootme ; \ |
| 910 | (cd ./grep; \ |
| 911 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 912 | else \ |
| 913 | true ; \ |
| 914 | fi |
| 915 | |
| 916 | ### rcs |
| 917 | all-rcs: force |
| 918 | @if [ -f ./rcs/Makefile ] ; then \ |
| 919 | rootme=`pwd` ; export rootme ; \ |
| 920 | (cd ./rcs; \ |
| 921 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 922 | else \ |
| 923 | true ; \ |
| 924 | fi |
| 925 | |
| 926 | install-rcs: force |
| 927 | @if [ -f ./rcs/Makefile ] ; then \ |
| 928 | rootme=`pwd` ; export rootme ; \ |
| 929 | (cd ./rcs; \ |
| 930 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 931 | else \ |
| 932 | true ; \ |
| 933 | fi |
| 934 | |
| 935 | ### cvs |
| 936 | all-cvs: force |
| 937 | @if [ -f ./cvs/Makefile ] ; then \ |
| 938 | rootme=`pwd` ; export rootme ; \ |
| 939 | (cd ./cvs; \ |
| 940 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 941 | else \ |
| 942 | true ; \ |
| 943 | fi |
| 944 | |
| 945 | install-cvs: force |
| 946 | @if [ -f ./cvs/Makefile ] ; then \ |
| 947 | rootme=`pwd` ; export rootme ; \ |
| 948 | (cd ./cvs; \ |
| 949 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 950 | else \ |
| 951 | true ; \ |
| 952 | fi |
| 953 | |
| 954 | ### patch |
| 955 | all-patch: force |
| 956 | @if [ -f ./patch/Makefile ] ; then \ |
| 957 | rootme=`pwd` ; export rootme ; \ |
| 958 | (cd ./patch; \ |
| 959 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 960 | else \ |
| 961 | true ; \ |
| 962 | fi |
| 963 | |
| 964 | install-patch: force |
| 965 | @if [ -f ./patch/Makefile ] ; then \ |
| 966 | rootme=`pwd` ; export rootme ; \ |
| 967 | (cd ./patch; \ |
| 968 | $(MAKE) $(FLAGS_TO_PASS) \ |
| 969 | bindir=$(bindir) \ |
| 970 | man1dir=$(man1dir) install) ; \ |
| 971 | else \ |
| 972 | true ; \ |
| 973 | fi |
| 974 | |
| 975 | ### emacs |
| 976 | all-emacs: force |
| 977 | @if [ -f ./emacs/Makefile ] ; then \ |
| 978 | rootme=`pwd` ; export rootme ; \ |
| 979 | (cd ./emacs; \ |
| 980 | $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) ; \ |
| 981 | else \ |
| 982 | true ; \ |
| 983 | fi |
| 984 | |
| 985 | install-emacs: force |
| 986 | @if [ -f ./emacs/Makefile ] ; then \ |
| 987 | rootme=`pwd` ; export rootme ; \ |
| 988 | (cd ./emacs; \ |
| 989 | $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install) ; \ |
| 990 | else \ |
| 991 | true ; \ |
| 992 | fi |
| 993 | |
| 994 | ### ispell |
| 995 | all-ispell: all-emacs |
| 996 | @if [ -f ./ispell/Makefile ] ; then \ |
| 997 | rootme=`pwd` ; export rootme ; \ |
| 998 | (cd ./ispell; \ |
| 999 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 1000 | else \ |
| 1001 | true ; \ |
| 1002 | fi |
| 1003 | |
| 1004 | install-ispell: force |
| 1005 | @if [ -f ./ispell/Makefile ] ; then \ |
| 1006 | rootme=`pwd` ; export rootme ; \ |
| 1007 | (cd ./ispell; \ |
| 1008 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 1009 | else \ |
| 1010 | true ; \ |
| 1011 | fi |
| 1012 | |
| 1013 | ### send_pr |
| 1014 | all-send_pr: force |
| 1015 | @if [ -f ./send_pr/Makefile ] ; then \ |
| 1016 | rootme=`pwd` ; export rootme ; \ |
| 1017 | (cd ./send_pr; \ |
| 1018 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 1019 | else \ |
| 1020 | true ; \ |
| 1021 | fi |
| 1022 | |
| 1023 | install-send_pr: force |
| 1024 | @if [ -f ./send_pr/Makefile ] ; then \ |
| 1025 | rootme=`pwd` ; export rootme ; \ |
| 1026 | (cd ./send_pr; \ |
| 1027 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 1028 | else \ |
| 1029 | true ; \ |
| 1030 | fi |
| 1031 | |
| 1032 | ### libm |
| 1033 | all-libm: force |
| 1034 | @if [ -f ./libm/Makefile ] ; then \ |
| 1035 | rootme=`pwd` ; export rootme ; \ |
| 1036 | (cd ./libm; \ |
| 1037 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) ; \ |
| 1038 | else \ |
| 1039 | true ; \ |
| 1040 | fi |
| 1041 | |
| 1042 | install-libm: force |
| 1043 | @if [ -f ./libm/Makefile ] ; then \ |
| 1044 | rootme=`pwd` ; export rootme ; \ |
| 1045 | (cd ./libm; \ |
| 1046 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) ; \ |
| 1047 | else \ |
| 1048 | true ; \ |
| 1049 | fi |
| 1050 | |
| 1051 | ### libg++ |
| 1052 | |
| 1053 | all-libg++: all-gas all-ld all-gcc all-xiberty all-newlib |
| 1054 | @if [ -f ./libg++/Makefile ] ; then \ |
| 1055 | rootme=`pwd` ; export rootme ; \ |
| 1056 | srcroot=`cd $(srcdir); pwd` ; export srcroot ; \ |
| 1057 | (cd ./libg++; \ |
| 1058 | $(MAKE) $(TARGET_FLAGS_TO_PASS) all) ; \ |
| 1059 | else \ |
| 1060 | true ; \ |
| 1061 | fi |
| 1062 | |
| 1063 | install-libg++: force |
| 1064 | @if [ -f ./libg++/Makefile ] ; then \ |
| 1065 | rootme=`pwd` ; export rootme ; \ |
| 1066 | srcroot=`cd $(srcdir); pwd` ; export srcroot ; \ |
| 1067 | (cd ./libg++; \ |
| 1068 | $(MAKE) $(TARGET_FLAGS_TO_PASS) install) ; \ |
| 1069 | else \ |
| 1070 | true ; \ |
| 1071 | fi |
| 1072 | ### tcl |
| 1073 | all-tcl: |
| 1074 | @if [ -f ./tcl/Makefile ] ; then \ |
| 1075 | rootme=`pwd` ; export rootme ; \ |
| 1076 | srcroot=`cd $(srcdir); pwd`; export srcroot ; \ |
| 1077 | (cd ./tcl; \ |
| 1078 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 1079 | else \ |
| 1080 | true ; \ |
| 1081 | fi |
| 1082 | |
| 1083 | install-tcl: force |
| 1084 | @if [ -f ./tcl/Makefile ] ; then \ |
| 1085 | rootme=`pwd` ; export rootme ; \ |
| 1086 | srcroot=`cd $(srcdir); pwd`; export srcroot ; \ |
| 1087 | (cd ./tcl; \ |
| 1088 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 1089 | else \ |
| 1090 | true ; \ |
| 1091 | fi |
| 1092 | |
| 1093 | |
| 1094 | ### tk |
| 1095 | all-tk: all-tcl |
| 1096 | @if [ -f ./tk/Makefile ] ; then \ |
| 1097 | rootme=`pwd` ; export rootme ; \ |
| 1098 | srcroot=`cd $(srcdir); pwd`; export srcroot ; \ |
| 1099 | (cd ./tk; \ |
| 1100 | $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) ; \ |
| 1101 | else \ |
| 1102 | true ; \ |
| 1103 | fi |
| 1104 | |
| 1105 | install-tk: force |
| 1106 | @if [ -f ./tk/Makefile ] ; then \ |
| 1107 | rootme=`pwd` ; export rootme ; \ |
| 1108 | srcroot=`cd $(srcdir); pwd`; export srcroot ; \ |
| 1109 | (cd ./tk; \ |
| 1110 | $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install) ; \ |
| 1111 | else \ |
| 1112 | true ; \ |
| 1113 | fi |
| 1114 | |
| 1115 | ### expect |
| 1116 | all-expect: all-tcl |
| 1117 | @if [ -f ./expect/Makefile ] ; then \ |
| 1118 | rootme=`pwd` ; export rootme ; \ |
| 1119 | srcroot=`cd $(srcdir); pwd`; export srcroot ; \ |
| 1120 | (cd ./expect; \ |
| 1121 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 1122 | else \ |
| 1123 | true ; \ |
| 1124 | fi |
| 1125 | |
| 1126 | install-expect: force |
| 1127 | @if [ -f ./expect/Makefile ] ; then \ |
| 1128 | rootme=`pwd` ; export rootme ; \ |
| 1129 | srcroot=`cd $(srcdir); pwd`; export srcroot ; \ |
| 1130 | (cd ./expect; \ |
| 1131 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 1132 | else \ |
| 1133 | true ; \ |
| 1134 | fi |
| 1135 | |
| 1136 | ### z8ksim |
| 1137 | all-z8ksim: all-bfd |
| 1138 | @if [ -f ./z8ksim/Makefile ] ; then \ |
| 1139 | rootme=`pwd` ; export rootme ; \ |
| 1140 | (cd ./z8ksim; \ |
| 1141 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 1142 | else \ |
| 1143 | true ; \ |
| 1144 | fi |
| 1145 | |
| 1146 | install-z8ksim: force |
| 1147 | @if [ -f ./z8ksim/Makefile ] ; then \ |
| 1148 | rootme=`pwd` ; export rootme ; \ |
| 1149 | (cd ./z8ksim; \ |
| 1150 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 1151 | else \ |
| 1152 | true ; \ |
| 1153 | fi |
| 1154 | |
| 1155 | ### h8300sim: |
| 1156 | all-h8300sim: all-bfd |
| 1157 | @if [ -f ./h8300sim/Makefile ] ; then \ |
| 1158 | rootme=`pwd` ; export rootme ; \ |
| 1159 | (cd ./h8300sim; \ |
| 1160 | $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 1161 | else \ |
| 1162 | true ; \ |
| 1163 | fi |
| 1164 | |
| 1165 | install-h8300sim: force |
| 1166 | @if [ -f ./h8300sim/Makefile ] ; then \ |
| 1167 | rootme=`pwd` ; export rootme ; \ |
| 1168 | (cd ./h8300sim; \ |
| 1169 | $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 1170 | else \ |
| 1171 | true ; \ |
| 1172 | fi |
| 1173 | |
| 1174 | |
| 1175 | ### fileutils |
| 1176 | all-fileutils: force |
| 1177 | @if [ -f ./fileutils/Makefile ] ; then \ |
| 1178 | rootme=`pwd` ; export rootme ; \ |
| 1179 | (cd ./fileutils; $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 1180 | else \ |
| 1181 | true ; \ |
| 1182 | fi |
| 1183 | |
| 1184 | install-fileutils: force |
| 1185 | @if [ -f ./fileutils/Makefile ] ; then \ |
| 1186 | rootme=`pwd` ; export rootme ; \ |
| 1187 | (cd ./fileutils; $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 1188 | else \ |
| 1189 | true ; \ |
| 1190 | fi |
| 1191 | |
| 1192 | ### find |
| 1193 | all-find: force |
| 1194 | @if [ -f ./find/Makefile ] ; then \ |
| 1195 | rootme=`pwd` ; export rootme ; \ |
| 1196 | (cd ./find; $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 1197 | else \ |
| 1198 | true ; \ |
| 1199 | fi |
| 1200 | |
| 1201 | install-find: force |
| 1202 | @if [ -f ./find/Makefile ] ; then \ |
| 1203 | rootme=`pwd` ; export rootme ; \ |
| 1204 | (cd ./find; $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 1205 | else \ |
| 1206 | true ; \ |
| 1207 | fi |
| 1208 | |
| 1209 | ### gawk |
| 1210 | all-gawk: force |
| 1211 | @if [ -f ./gawk/Makefile ] ; then \ |
| 1212 | rootme=`pwd` ; export rootme ; \ |
| 1213 | (cd ./gawk; $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 1214 | else \ |
| 1215 | true ; \ |
| 1216 | fi |
| 1217 | |
| 1218 | install-gawk: force |
| 1219 | @if [ -f ./gawk/Makefile ] ; then \ |
| 1220 | rootme=`pwd` ; export rootme ; \ |
| 1221 | (cd ./gawk; $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 1222 | else \ |
| 1223 | true ; \ |
| 1224 | fi |
| 1225 | |
| 1226 | ### m4 |
| 1227 | all-m4: all-libiberty |
| 1228 | @if [ -f ./m4/Makefile ] ; then \ |
| 1229 | rootme=`pwd` ; export rootme ; \ |
| 1230 | (cd ./m4; $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 1231 | else \ |
| 1232 | true ; \ |
| 1233 | fi |
| 1234 | |
| 1235 | install-m4: force |
| 1236 | @if [ -f ./m4/Makefile ] ; then \ |
| 1237 | rootme=`pwd` ; export rootme ; \ |
| 1238 | (cd ./m4; $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 1239 | else \ |
| 1240 | true ; \ |
| 1241 | fi |
| 1242 | |
| 1243 | ### sed |
| 1244 | all-sed: force |
| 1245 | @if [ -f ./sed/Makefile ] ; then \ |
| 1246 | rootme=`pwd` ; export rootme ; \ |
| 1247 | (cd ./sed; $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 1248 | else \ |
| 1249 | true ; \ |
| 1250 | fi |
| 1251 | |
| 1252 | install-sed: force |
| 1253 | @if [ -f ./sed/Makefile ] ; then \ |
| 1254 | rootme=`pwd` ; export rootme ; \ |
| 1255 | (cd ./sed; $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 1256 | else \ |
| 1257 | true ; \ |
| 1258 | fi |
| 1259 | |
| 1260 | ### time |
| 1261 | all-time: force |
| 1262 | @if [ -f ./time/Makefile ] ; then \ |
| 1263 | rootme=`pwd` ; export rootme ; \ |
| 1264 | (cd ./time; $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 1265 | else \ |
| 1266 | true ; \ |
| 1267 | fi |
| 1268 | |
| 1269 | install-time: force |
| 1270 | @if [ -f ./time/Makefile ] ; then \ |
| 1271 | rootme=`pwd` ; export rootme ; \ |
| 1272 | (cd ./time; $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 1273 | else \ |
| 1274 | true ; \ |
| 1275 | fi |
| 1276 | |
| 1277 | ### wdiff |
| 1278 | all-wdiff: force |
| 1279 | @if [ -f ./wdiff/Makefile ] ; then \ |
| 1280 | rootme=`pwd` ; export rootme ; \ |
| 1281 | (cd ./wdiff; $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 1282 | else \ |
| 1283 | true ; \ |
| 1284 | fi |
| 1285 | |
| 1286 | install-wdiff: force |
| 1287 | @if [ -f ./wdiff/Makefile ] ; then \ |
| 1288 | rootme=`pwd` ; export rootme ; \ |
| 1289 | (cd ./wdiff; $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 1290 | else \ |
| 1291 | true ; \ |
| 1292 | fi |
| 1293 | |
| 1294 | ### uudecode |
| 1295 | all-uudecode: all-libiberty |
| 1296 | @if [ -f ./uudecode/Makefile ] ; then \ |
| 1297 | rootme=`pwd` ; export rootme ; \ |
| 1298 | (cd ./uudecode; $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 1299 | else \ |
| 1300 | true ; \ |
| 1301 | fi |
| 1302 | |
| 1303 | install-uudecode: force |
| 1304 | @if [ -f ./uudecode/Makefile ] ; then \ |
| 1305 | rootme=`pwd` ; export rootme ; \ |
| 1306 | (cd ./uudecode; $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 1307 | else \ |
| 1308 | true ; \ |
| 1309 | fi |
| 1310 | |
| 1311 | ### shellutils |
| 1312 | all-shellutils: force |
| 1313 | @if [ -f ./shellutils/Makefile ] ; then \ |
| 1314 | rootme=`pwd` ; export rootme ; \ |
| 1315 | (cd ./shellutils; $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 1316 | else \ |
| 1317 | true ; \ |
| 1318 | fi |
| 1319 | |
| 1320 | install-shellutils: force |
| 1321 | @if [ -f ./shellutils/Makefile ] ; then \ |
| 1322 | rootme=`pwd` ; export rootme ; \ |
| 1323 | (cd ./shellutils; $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 1324 | else \ |
| 1325 | true ; \ |
| 1326 | fi |
| 1327 | |
| 1328 | ### textutils |
| 1329 | all-textutils: force |
| 1330 | @if [ -f ./textutils/Makefile ] ; then \ |
| 1331 | rootme=`pwd` ; export rootme ; \ |
| 1332 | (cd ./textutils; $(MAKE) $(FLAGS_TO_PASS) all) ; \ |
| 1333 | else \ |
| 1334 | true ; \ |
| 1335 | fi |
| 1336 | |
| 1337 | install-textutils: force |
| 1338 | @if [ -f ./textutils/Makefile ] ; then \ |
| 1339 | rootme=`pwd` ; export rootme ; \ |
| 1340 | (cd ./textutils; $(MAKE) $(FLAGS_TO_PASS) install) ; \ |
| 1341 | else \ |
| 1342 | true ; \ |
| 1343 | fi |
| 1344 | |
| 1345 | |
| 1346 | |
| 1347 | ### other supporting targets |
| 1348 | |
| 1349 | subdir_do: |
| 1350 | ### start-sanitize-chill |
| 1351 | ### |
| 1352 | ### WARNING: THIS IS VERY UGLY AND I DID NOT DO THIS WILLINGLY |
| 1353 | ### |
| 1354 | ### if you change the code for libg++ et al, also change the |
| 1355 | ### code for chillrt |
| 1356 | ### |
| 1357 | ### end-sanitize-chill |
| 1358 | @for i in $(DODIRS); do \ |
| 1359 | if [ -f ./$$i/localenv ] || [ -f ./$$i/Makefile ] ; then \ |
| 1360 | case $$i in \ |
| 1361 | libg++ | xiberty | newlib) \ |
| 1362 | if (rootme=`pwd` ; export rootme ; \ |
| 1363 | srcroot=`cd $(srcdir); pwd` ; export srcroot ; \ |
| 1364 | cd ./$$i ; \ |
| 1365 | $(MAKE) $(TARGET_FLAGS_TO_PASS) $(DO)) ; then true ; \ |
| 1366 | else exit 1 ; fi \ |
| 1367 | ;; \ |
| 1368 | $(start-sanitize-chill) \ |
| 1369 | chillrt) \ |
| 1370 | if (rootme=`pwd` ; export rootme ; \ |
| 1371 | srcroot=`cd $(srcdir); pwd` ; export srcroot ; \ |
| 1372 | cd ./$$i ; \ |
| 1373 | $(MAKE) $(TARGET_FLAGS_TO_PASS) $(DO)) ; then true ; \ |
| 1374 | else exit 1 ; fi \ |
| 1375 | ;; \ |
| 1376 | $(end-sanitize-chill) \ |
| 1377 | gcc) \ |
| 1378 | if (rootme=`pwd` ; export rootme ; \ |
| 1379 | srcroot=`cd $(srcdir); pwd` ; export srcroot ; \ |
| 1380 | cd ./$$i ; \ |
| 1381 | $(MAKE) $(GCC_FLAGS_TO_PASS) $(DO)) ; then true ; \ |
| 1382 | else exit 1 ; fi \ |
| 1383 | ;; \ |
| 1384 | *) \ |
| 1385 | if (rootme=`pwd` ; export rootme ; \ |
| 1386 | cd ./$$i ; \ |
| 1387 | $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \ |
| 1388 | else exit 1 ; fi \ |
| 1389 | ;; \ |
| 1390 | esac ; \ |
| 1391 | else true ; fi ; \ |
| 1392 | done |
| 1393 | |
| 1394 | # The "else true" stuff is for Ultrix; the shell returns the exit code |
| 1395 | # of the "if" command, if no commands are run in the "then" or "else" part, |
| 1396 | # causing Make to quit. |
| 1397 | |
| 1398 | MAKEDIRS= \ |
| 1399 | $(prefix) \ |
| 1400 | $(exec_prefix) \ |
| 1401 | $(tooldir) |
| 1402 | |
| 1403 | # $(bindir) \ |
| 1404 | # $(libdir) \ |
| 1405 | # $(includedir) \ |
| 1406 | # $(datadir) \ |
| 1407 | # $(docdir) \ |
| 1408 | # $(mandir) \ |
| 1409 | # $(man1dir) \ |
| 1410 | # $(man5dir) |
| 1411 | |
| 1412 | # $(man2dir) \ |
| 1413 | # $(man3dir) \ |
| 1414 | # $(man4dir) \ |
| 1415 | # $(man6dir) \ |
| 1416 | # $(man7dir) \ |
| 1417 | # $(man8dir) |
| 1418 | |
| 1419 | install-dirs: |
| 1420 | for i in $(MAKEDIRS) ; do \ |
| 1421 | echo Making $$i... ; \ |
| 1422 | parent=`echo $$i|sed -e 's@/[^/]*$$@@'`; \ |
| 1423 | if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi ; \ |
| 1424 | if [ ! -d $$i ] ; then \ |
| 1425 | if mkdir $$i ; then \ |
| 1426 | true ; \ |
| 1427 | else \ |
| 1428 | exit 1 ; \ |
| 1429 | fi ; \ |
| 1430 | else \ |
| 1431 | true ; \ |
| 1432 | fi ; \ |
| 1433 | done |
| 1434 | |
| 1435 | install-info-dirs: |
| 1436 | if [ -d $(prefix) ] ; then true ; else mkdir $(prefix) ; fi |
| 1437 | |
| 1438 | dir.info: |
| 1439 | $(srcdir)/texinfo/gen-info-dir $(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new |
| 1440 | mv -f dir.info.new dir.info |
| 1441 | |
| 1442 | dist: |
| 1443 | @echo "Building a full distribution of this tree isn't done" |
| 1444 | @echo "via 'make dist'. Check out the etc/ subdirectory" |
| 1445 | |
| 1446 | etags tags: TAGS |
| 1447 | |
| 1448 | TAGS: |
| 1449 | etags `$(MAKE) ls` |
| 1450 | |
| 1451 | ls: |
| 1452 | @echo Makefile |
| 1453 | @for i in $(SUBDIRS); \ |
| 1454 | do \ |
| 1455 | (cd $$i; \ |
| 1456 | pwd=`pwd`; \ |
| 1457 | wd=`basename $$pwd`; \ |
| 1458 | for j in `$(MAKE) ls`; \ |
| 1459 | do \ |
| 1460 | echo $$wd/$$j; \ |
| 1461 | done) \ |
| 1462 | done |
| 1463 | |
| 1464 | force: |
| 1465 | |
| 1466 | # with the gnu make, this is done automatically. |
| 1467 | |
| 1468 | Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag) |
| 1469 | $(SHELL) ./config.status |
| 1470 | |
| 1471 | # |
| 1472 | # Build GDB distributions that contain BFD, Include, Libiberty, Readline, etc |
| 1473 | |
| 1474 | DEVO_SUPPORT= README Makefile.in configure configure.in \ |
| 1475 | config.guess config.sub config etc move-if-change \ |
| 1476 | COPYING.LIB |
| 1477 | GDB_SUPPORT_DIRS= bfd include libiberty mmalloc opcodes readline glob |
| 1478 | GDB_SUPPORT_FILES= $(GDB_SUPPORT_DIRS) |
| 1479 | |
| 1480 | setup-dirs: force |
| 1481 | ./configure sun4 |
| 1482 | make clean |
| 1483 | ./configure -rm sun4 |
| 1484 | chmod og=u `find $(DEVO_SUPPORT) $(GDB_SUPPORT_FILES) -print` |
| 1485 | |
| 1486 | gdb.tar.Z: setup-dirs |
| 1487 | (cd gdb; $(MAKE) -f Makefile.in make-proto-gdb.dir) |
| 1488 | $(MAKE) $(MFLAGS) -f Makefile.in make-gdb.tar.Z |
| 1489 | |
| 1490 | make-gdb.tar.Z: $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS) gdb texinfo/texinfo.tex |
| 1491 | rm -rf proto-toplev; mkdir proto-toplev |
| 1492 | ln -s ../gdb/proto-gdb.dir proto-toplev/gdb |
| 1493 | (cd proto-toplev; for i in $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS); do \ |
| 1494 | ln -s ../$$i . ; \ |
| 1495 | done) |
| 1496 | # Put only one copy (four hard links) of COPYING in the tar file. |
| 1497 | rm proto-toplev/bfd/COPYING |
| 1498 | ln proto-toplev/gdb/COPYING proto-toplev/bfd/COPYING |
| 1499 | rm proto-toplev/include/COPYING |
| 1500 | ln proto-toplev/gdb/COPYING proto-toplev/include/COPYING |
| 1501 | rm proto-toplev/readline/COPYING |
| 1502 | ln proto-toplev/gdb/COPYING proto-toplev/readline/COPYING |
| 1503 | |
| 1504 | # Take out texinfo and glob from configurable dirs |
| 1505 | rm proto-toplev/configure.in |
| 1506 | sed -e '/^host_tools=/s/texinfo //' \ |
| 1507 | -e '/^host_libs=/s/glob //' \ |
| 1508 | <configure.in >proto-toplev/configure.in |
| 1509 | |
| 1510 | # Take out texinfo from a few places; make simple BISON=bison line. |
| 1511 | rm proto-toplev/Makefile.in |
| 1512 | sed -e '/^all\.normal: /s/\all-texinfo //' \ |
| 1513 | -e '/^ install-texinfo /d' \ |
| 1514 | -e '\/^BISON =/,\/^$$/c\ |
| 1515 | BISON = bison' \ |
| 1516 | <Makefile.in >proto-toplev/Makefile.in |
| 1517 | |
| 1518 | mkdir proto-toplev/texinfo |
| 1519 | ln -s ../../texinfo/texinfo.tex proto-toplev/texinfo/ |
| 1520 | chmod og=u `find proto-toplev -print` |
| 1521 | (VER=`sed <gdb/Makefile.in -n 's/VERSION = //p'`; \ |
| 1522 | echo "==> Making gdb-$$VER.tar.Z"; \ |
| 1523 | ln -s proto-toplev gdb-$$VER; \ |
| 1524 | tar cfh - gdb-$$VER \ |
| 1525 | | compress -v >gdb-$$VER.tar.Z) |
| 1526 | |
| 1527 | |
| 1528 | # end of Makefile.in |