Changeset 1941 for trunk/Makefile
- Timestamp:
- May 1, 2005, 9:13:28 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
-
Property cvs2svn:cvs-rev
changed from
1.106
to1.107
r1940 r1941 37 37 export PATH_OBJ = $(PATH_TOP)/obj/$(BUILD_PLATFORM)/$(BUILD_MODE) 38 38 export PATH_OBJD = $(PATH_TOPD)/obj/$(BUILD_PLATFORM)/$(BUILD_MODE) 39 export PATH_BUILTTOOLS = $(PATH_OBJ)/builttools 40 export PATH_BUILTTOOLSD= $(PATH_OBJD)/builttools 41 PATH_BUILTTOOLS_TMP = $(PATH_OBJ)/builttools.tmp 42 PATH_BUILTTOOLS_TMPD = $(PATH_OBJD)/builttools.tmp 39 export PATH_BUILTUNIX = $(PATH_OBJ)/builttools 40 export PATH_BUILTUNIXD = $(PATH_OBJD)/builttools 41 export PATH_BUILTTOOLS = $(PATH_BUILTUNIX)/usr 42 export PATH_BUILTTOOLSD= $(PATH_BUILTUNIXD)/usr 43 PATH_BUILTUNIX_TMP = $(PATH_OBJ)/builttools.tmp 44 PATH_BUILTUNIX_TMPD = $(PATH_OBJD)/builttools.tmp 45 PATH_BUILTTOOLS_TMP = $(PATH_BUILTUNIX_TMP)/usr 46 PATH_BUILTTOOLS_TMPD = $(PATH_BUILTUNIX_TMPD)/usr 43 47 44 48 # Debug info or not (when ever we feel like passing down such options). … … 183 187 @echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" 184 188 185 all-banner-built tools-initial:186 @echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" 187 @echo "+ Initializing built toolstree"188 @echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" 189 190 all-banner-built tools-stage2:191 @echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" 192 @echo "+ Copying stage2 built tools"189 all-banner-builtunix-initial: 190 @echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" 191 @echo "+ Initializing builtunix tree" 192 @echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" 193 194 all-banner-builtunix-stage2: 195 @echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" 196 @echo "+ Copying stage2 builtunix" 193 197 @echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" 194 198 … … 389 393 all-stage1-it: \ 390 394 all-banner-stage1 \ 391 all-built tools-initial \395 all-builtunix-initial \ 392 396 all-binutils \ 393 397 all-gcc \ … … 410 414 @echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" 411 415 $(MAKE) $(MAKEOPT) -j 1 -f $(MAKEFILE) all-preload-unload 412 $(MAKE) $(MAKEOPT) -j 1 -f $(MAKEFILE) all-built tools-stage2416 $(MAKE) $(MAKEOPT) -j 1 -f $(MAKEFILE) all-builtunix-stage2 413 417 rm -Rf $(PATH_OBJ)/stage1 414 418 mkdir -p $(PATH_OBJ)/stage1 … … 495 499 all-env \ 496 500 all-sanity \ 497 all-quick-built tools-initial \501 all-quick-builtunix-initial \ 498 502 all-versionstamps \ 499 503 all-symlinks-unlink \ … … 510 514 @echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" 511 515 512 .PHONY: all-quick-built tools-initial513 all-quick-built tools-initial: $(PATH_OBJ)/.quick-builttools-initial514 all-quick-built tools-initial-it: \516 .PHONY: all-quick-builtunix-initial 517 all-quick-builtunix-initial: $(PATH_OBJ)/.quick-builtunix-initial 518 all-quick-builtunix-initial-it: \ 515 519 all-preload-unload \ 516 all-built tools-initial \520 all-builtunix-initial \ 517 521 all-preload 518 $(PATH_OBJ)/.quick-built tools-initial:519 $(MAKE) $(MAKEOPT) -f $(MAKEFILE) all-quick-built tools-initial-it522 $(PATH_OBJ)/.quick-builtunix-initial: 523 $(MAKE) $(MAKEOPT) -f $(MAKEFILE) all-quick-builtunix-initial-it 520 524 touch $@ 521 525 … … 538 542 all-sanity \ 539 543 all-preload-unload \ 540 all-double-quick-built tools-initial \544 all-double-quick-builtunix-initial \ 541 545 all-preload \ 542 546 all-versionstamps \ … … 555 559 @echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" 556 560 557 .PHONY: all-double-quick-built tools-initial558 all-double-quick-built tools-initial: $(PATH_OBJ)/.doublequick-builttools-initial559 all-double-quick-built tools-initial-it: \561 .PHONY: all-double-quick-builtunix-initial 562 all-double-quick-builtunix-initial: $(PATH_OBJ)/.doublequick-builtunix-initial 563 all-double-quick-builtunix-initial-it: \ 560 564 all-preload-unload \ 561 all-built tools-initial \565 all-builtunix-initial \ 562 566 all-preload 563 $(PATH_OBJ)/.doublequick-built tools-initial:564 $(MAKE) $(MAKEOPT) -f $(MAKEFILE) all-double-quick-built tools-initial-it567 $(PATH_OBJ)/.doublequick-builtunix-initial: 568 $(MAKE) $(MAKEOPT) -f $(MAKEFILE) all-double-quick-builtunix-initial-it 565 569 touch $@ 566 570 … … 716 720 ############################################################################### 717 721 # 718 # B u i l t T o o l s719 # 720 ############################################################################### 721 ############################################################################### 722 ############################################################################### 723 724 all-built tools-initial: \725 all-banner-built tools-initial \726 all-built tools-clean \727 all-built tools-dirs \722 # B u i l t U n i x 723 # 724 ############################################################################### 725 ############################################################################### 726 ############################################################################### 727 728 all-builtunix-initial: \ 729 all-banner-builtunix-initial \ 730 all-builtunix-clean \ 731 all-builtunix-dirs \ 728 732 $(PATH_BUILTTOOLS)/bin/dllar.cmd \ 729 733 $(PATH_BUILTTOOLS)/omfhack/ar.exe \ … … 731 735 $(PATH_BUILTTOOLS)/omfhack/ranlib.exe 732 736 733 all-built tools-clean: \737 all-builtunix-clean: \ 734 738 all-preload-unload 735 rm -Rf $(PATH_BUILT TOOLS)736 737 all-built tools-dirs:739 rm -Rf $(PATH_BUILTUNIX) 740 741 all-builtunix-dirs: 738 742 mkdir -p $(PATH_BUILTTOOLS)/bin $(PATH_BUILTTOOLS)/lib $(PATH_BUILTTOOLS)/include $(PATH_BUILTTOOLS)/omfhack 739 743 … … 751 755 mkdir -p $@ 752 756 753 all-built tools-stage2: \754 all-banner-built tools-stage2 \755 gcc-built tools-stage2 \756 emx-built tools-stage2 \757 all-built tools-stage2-libs \757 all-builtunix-stage2: \ 758 all-banner-builtunix-stage2 \ 759 gcc-builtunix-stage2 \ 760 emx-builtunix-stage2 \ 761 all-builtunix-stage2-libs \ 758 762 $(PATH_BUILTTOOLS_TMP)/bin/dllar.cmd \ 759 763 $(PATH_BUILTTOOLS_TMP)/omfhack \ … … 761 765 $(PATH_BUILTTOOLS_TMP)/omfhack/realar.exe \ 762 766 $(PATH_BUILTTOOLS_TMP)/omfhack/ranlib.exe \ 763 all-built tools-clean764 mv -f $(PATH_BUILT TOOLS_TMP) $(PATH_BUILTTOOLS)765 766 all-built tools-stage2-libs:767 -for aoutlib in `find $(PATH_BUILT TOOLS_TMP) -name "*.a" | sed -e 's/\.a$$//' `; \767 all-builtunix-clean 768 mv -f $(PATH_BUILTUNIX_TMP) $(PATH_BUILTUNIX) 769 770 all-builtunix-stage2-libs: 771 -for aoutlib in `find $(PATH_BUILTUNIX_TMP) -name "*.a" | sed -e 's/\.a$$//' `; \ 768 772 do \ 769 773 if [ ! -f $(aoutlib).lib ]; then \ 770 774 echo " $${aoutlib}"; \ 771 $(PATH_BUILTTOOLS_TMP)/bin/emxomf.exe -p256$${aoutlib}.a; \775 $(PATH_BUILTTOOLS_TMP)/bin/emxomf.exe $${aoutlib}.a; \ 772 776 fi;\ 773 777 done … … 1088 1092 1089 1093 1090 # Install to built toolsdirectory.1094 # Install to builtunix directory. 1091 1095 ## WARNING! Another spec HACK! 1092 gcc-built tools-stage2:1096 gcc-builtunix-stage2: 1093 1097 $(MAKE) $(MAKEOPT) -C $(PATH_OBJ)/gcc prefix=$(PATH_BUILTTOOLS_TMPD) install 1094 1098 ## cp $(PATH_TOP)/src/emx/src/lib/libc.specs $(PATH_OBJ)/gcc/gcc/specs … … 1101 1105 1102 1106 gcc-quick-installstage: 1103 rm -Rf $(PATH_BUILT TOOLS_TMP)1107 rm -Rf $(PATH_BUILTUNIX_TMP) 1104 1108 $(MAKE) $(MAKEOPT) -C $(PATH_OBJ)/gcc prefix=$(PATH_BUILTTOOLS_TMPD) install 1105 cp -Rf $(PATH_BUILT TOOLS_TMP)/* $(PATH_BUILTTOOLS)/1106 rm -Rf $(PATH_BUILT TOOLS_TMP)1109 cp -Rf $(PATH_BUILTUNIX_TMP)/* $(PATH_BUILTUNIX)/ 1110 rm -Rf $(PATH_BUILTUNIX_TMP) 1107 1111 1108 1112 … … 1311 1315 1312 1316 binutils-quick-installstage: 1313 rm -Rf $(PATH_BUILT TOOLS_TMP)1317 rm -Rf $(PATH_BUILTUNIX_TMP) 1314 1318 if test -f $(PATH_BUILTTOOLS_TMP)/bin/ld.exe; then cp -f $(PATH_BUILTTOOLS_TMP)/bin/ld.exe $(PATH_BUILTTOOLS_TMP)/bin/ld-saved.exe; fi 1315 1319 if test -f $(PATH_BUILTTOOLS_TMP)/i386-pc-os2-emx/bin/ld.exe; then cp -f $(PATH_BUILTTOOLS_TMP)/i386-pc-os2-emx/bin/ld.exe $(PATH_BUILTTOOLS_TMP)/i386-pc-os2-emx/bin/ld-saved.exe; fi … … 1319 1323 if test -f $(PATH_BUILTTOOLS_TMP)/bin/ld-saved.exe; then mv -f $(PATH_BUILTTOOLS_TMP)/bin/ld-saved.exe $(PATH_BUILTTOOLS_TMP)/bin/ld.exe; fi 1320 1324 if test -f $(PATH_BUILTTOOLS_TMP)/i386-pc-os2-emx/bin/ld-saved.exe; then mv -f $(PATH_BUILTTOOLS_TMP)/i386-pc-os2-emx/bin/ld-saved.exe $(PATH_BUILTTOOLS_TMP)/i386-pc-os2-emx/bin/ld.exe; fi 1321 cp -Rf $(PATH_BUILT TOOLS_TMP)/* $(PATH_BUILTTOOLS)/1322 rm -Rf $(PATH_BUILT TOOLS_TMP)1325 cp -Rf $(PATH_BUILTUNIX_TMP)/* $(PATH_BUILTUNIX)/ 1326 rm -Rf $(PATH_BUILTUNIX_TMP) 1323 1327 1324 1328 … … 1382 1386 @echo "Version stamping EMX... nothing to do" 1383 1387 1384 # Install the compiled emx stuff to built tools.1385 emx-built tools-stage2:1388 # Install the compiled emx stuff to builtunix. 1389 emx-builtunix-stage2: 1386 1390 $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/src/emx $(EMX_DEFINES) INS=$(PATH_BUILTTOOLS_TMP)/ install 1387 1391 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.