Changeset 2446 for trunk/Makefile
- Timestamp:
- Nov 15, 2005, 2:06:42 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r2445 r2446 73 73 export EMX_CVS_VENDOR ?= EMX 74 74 export EMX_CVS_REL ?= EMX_0-9D-FIX04 75 export LIBC_VERSION ?= 0. 6.0rc276 export LIBC_VERSION_SHORT ?= 0 6r275 export LIBC_VERSION ?= 0.7.0a1 76 export LIBC_VERSION_SHORT ?= 07a1 77 77 78 78 # innotek version and timestamp … … 631 631 all-quick-step1-it: \ 632 632 all-preload \ 633 emx-quick-libs\633 libc-quick \ 634 634 all-preload-unload \ 635 emx-quick-libs-install \635 libc-quick-install \ 636 636 all-preload 637 637 $(PATH_OBJ)/.quick-step1: … … 650 650 all-quick-step2: $(PATH_OBJ)/.quick-step2 651 651 all-quick-step2-it: \ 652 emx-quick -rest\652 emx-quick \ 653 653 all-preload-unload \ 654 emx-quick- rest-install \654 emx-quick-install \ 655 655 all-preload 656 656 $(PATH_OBJ)/.quick-step2: … … 896 896 all-symlinks-binutils: 897 897 for file in $(SYMLINKS_BINUTILS_TO_GCC_FILES); do \ 898 if [ ! -f "$(PATH_TOP)/ src/gcc/.symlinked.`echo $${file} | sed -e 's@/@_@g'`" ]; then \899 echo symlinking file src/gcc/$${file} to src/binutils/$${file} ; \900 if rm -f $(PATH_TOP)/ src/gcc/$$file && \901 $(TOOL_SYMLINK_FILE) $(PATH_TOP)/ src/binutils/$$file $(PATH_TOP)/src/gcc/$$file && \902 touch $(PATH_TOP)/ src/gcc/.symlinked.`echo $${file} | sed -e 's@/@_@g'`; \898 if [ ! -f "$(PATH_TOP)/gcc/.symlinked.`echo $${file} | sed -e 's@/@_@g'`" ]; then \ 899 echo symlinking file gcc/$${file} to binutils/$${file} ; \ 900 if rm -f $(PATH_TOP)/gcc/$$file && \ 901 $(TOOL_SYMLINK_FILE) $(PATH_TOP)/binutils/$$file $(PATH_TOP)/gcc/$$file && \ 902 touch $(PATH_TOP)/gcc/.symlinked.`echo $${file} | sed -e 's@/@_@g'`; \ 903 903 then true ; \ 904 904 else exit 1; \ … … 907 907 done 908 908 for dir in $(SYMLINKS_BINUTILS_TO_GCC_DIRS) ; do \ 909 if [ ! -f "$(PATH_TOP)/ src/gcc/.symlinked.`echo $${dir} | sed -e 's@/@_@g'`" ] ; then \910 echo symlinking directory src/gcc/$${dir} to src/binutils/$${dir} ; \911 if [ -d "$(PATH_TOP)/ src/gcc/$$dir" ] ; then \909 if [ ! -f "$(PATH_TOP)/gcc/.symlinked.`echo $${dir} | sed -e 's@/@_@g'`" ] ; then \ 910 echo symlinking directory gcc/$${dir} to binutils/$${dir} ; \ 911 if [ -d "$(PATH_TOP)/gcc/$$dir" ] ; then \ 912 912 echo removing existing directory: $${dir} ; \ 913 rm -Rf $(PATH_TOP)/ src/gcc/$$dir ; \913 rm -Rf $(PATH_TOP)/gcc/$$dir ; \ 914 914 fi ; \ 915 if $(TOOL_SYMLINK_MKDIR) $(PATH_TOP)/ src/gcc/$$dir && \916 $(TOOL_SYMLINK_DIR) $(PATH_TOP)/ src/binutils/$$dir $(PATH_TOP)/src/gcc/`echo $${dir}| sed -e '/\//!d' -e 's@\([a-zA-z0-9]*\)/.*@\1/@'` ; \917 touch $(PATH_TOP)/ src/gcc/.symlinked.`echo $${dir} | sed -e 's@/@_@g'` ; \915 if $(TOOL_SYMLINK_MKDIR) $(PATH_TOP)/gcc/$$dir && \ 916 $(TOOL_SYMLINK_DIR) $(PATH_TOP)/binutils/$$dir $(PATH_TOP)/gcc/`echo $${dir}| sed -e '/\//!d' -e 's@\([a-zA-z0-9]*\)/.*@\1/@'` ; \ 917 touch $(PATH_TOP)/gcc/.symlinked.`echo $${dir} | sed -e 's@/@_@g'` ; \ 918 918 then true ; \ 919 919 else exit 1; \ … … 921 921 fi ; \ 922 922 done 923 -ls -a1 src/gcc/.sym*923 -ls -a1 gcc/.sym* 924 924 925 925 all-symlinks-unlink-binutils: 926 for name in `ls src/gcc/.symlinked* | sed -e "s/.*\.symlinked.//" -e "s/_/\//g"`; do \926 for name in `ls gcc/.symlinked* | sed -e "s/.*\.symlinked.//" -e "s/_/\//g"`; do \ 927 927 echo unlinking $${name} ; \ 928 if [ -d "$(PATH_TOP)/ src/gcc/$${name}" ] ; then \929 rm -Rf $(PATH_TOP)/ src/gcc/$${name} ; \928 if [ -d "$(PATH_TOP)/gcc/$${name}" ] ; then \ 929 rm -Rf $(PATH_TOP)/gcc/$${name} ; \ 930 930 else \ 931 rm -f $(PATH_TOP)/ src/gcc/$${name} ; \931 rm -f $(PATH_TOP)/gcc/$${name} ; \ 932 932 fi ; \ 933 if [ ! -f "$(PATH_TOP)/ src/gcc/$${name}" -a ! -d "$(PATH_TOP)/src/gcc/$${name}" ] ; then \934 rm $(PATH_TOP)/ src/gcc/.symlinked.`echo $${name} | sed -e 's@/@_@g'` ; \933 if [ ! -f "$(PATH_TOP)/gcc/$${name}" -a ! -d "$(PATH_TOP)/gcc/$${name}" ] ; then \ 934 rm $(PATH_TOP)/gcc/.symlinked.`echo $${name} | sed -e 's@/@_@g'` ; \ 935 935 else \ 936 echo "unlink error: $(PATH_TOP)/ src/gcc/$${name} exist" ; \937 ls -l "$(PATH_TOP)/ src/gcc/$${name}" ; \936 echo "unlink error: $(PATH_TOP)/gcc/$${name} exist" ; \ 937 ls -l "$(PATH_TOP)/gcc/$${name}" ; \ 938 938 exit 1; \ 939 939 fi ; \ 940 940 done 941 -ls -a1 src/gcc/.sym*941 -ls -a1 gcc/.sym* 942 942 943 943 … … 1012 1012 1013 1013 # let the build/bootstrap create the gcc import .def file before kicking off a build. 1014 gcc-bootstrap gcc-build: src/gcc/gcc/config/i386/emx-libgcc_so_d.def1015 src/gcc/gcc/config/i386/emx-libgcc_so_d.def: src/emx/src/lib/libgcc_d.awk $(PATH_OBJD)/emx/omf/libc.def src/emx/src/lib/libc.def1016 $(GAWK) -f src/emx/src/lib/libgcc_d.awk $(filter %.def,$^) > $@1014 gcc-bootstrap gcc-build: gcc/gcc/config/i386/emx-libgcc_so_d.def 1015 gcc/gcc/config/i386/emx-libgcc_so_d.def: libc/src/lib/libgcc_d.awk $(PATH_OBJD)/emx/omf/libc.def libc/src/lib/libc.def 1016 $(GAWK) -f libc/src/lib/libgcc_d.awk $(filter %.def,$^) > $@ 1017 1017 1018 1018 … … 1020 1020 # We pass down BOOT_ flags for stage2+. 1021 1021 # Because strip is broken on OS/2 we pass -s for release build and -g for 1022 # non release builds - This overrides some stuff in src/gcc/gcc/config/i386/t-emx!1022 # non release builds - This overrides some stuff in gcc/gcc/config/i386/t-emx! 1023 1023 # For the 2nd stage we need a hack for using the right specs when linking... 1024 1024 #SPEC_HACK = $(if $(wildchar $(PATH_OBJ)/.all-stage1),\ 1025 # -specs $(PATH_TOP)/ src/emx/src/lib/libc.specs, \1025 # -specs $(PATH_TOP)/libc/src/lib/libc.specs, \ 1026 1026 # -specs $(PATH_TOP)/tools/x86.os2/gcc/staged/lib/gcc-lib/i386-pc-os2-emx/$(GCC_VERSION)/specs) 1027 1027 SPECS_HACK = … … 1045 1045 # We set CC to help configure finding it. 1046 1046 # We also set some LDFLAGS to get omf linking. 1047 gcc-configure-it $(PATH_OBJ)/gcc/.ts.configured: $(PATH_TOP)/ src/gcc/configure1047 gcc-configure-it $(PATH_OBJ)/gcc/.ts.configured: $(PATH_TOP)/gcc/configure 1048 1048 ifeq "$(BUILD_PLATFORM)" "OS2" 1049 1049 $(ASH) -c " \ … … 1083 1083 1084 1084 1085 # easy, update src/gcc/gcc/version.c1085 # easy, update gcc/gcc/version.c 1086 1086 gcc-versionstamps: 1087 1087 @echo "Version stamping gcc..." 1088 mv -f $(PATH_TOP)/ src/gcc/gcc/version.c $(PATH_TOP)/src/gcc/gcc/version.tmp.c1088 mv -f $(PATH_TOP)/gcc/gcc/version.c $(PATH_TOP)/gcc/gcc/version.tmp.c 1089 1089 sed -e '/version_string/s/\([0-9]\.[0-9]*\.[0-9]*\).*/\1 $(INNOTEK_VERSION)";/' \ 1090 $(PATH_TOP)/ src/gcc/gcc/version.tmp.c > $(PATH_TOP)/src/gcc/gcc/version.c1091 rm -f $(PATH_TOP)/ src/gcc/gcc/version.tmp.c1090 $(PATH_TOP)/gcc/gcc/version.tmp.c > $(PATH_TOP)/gcc/gcc/version.c 1091 rm -f $(PATH_TOP)/gcc/gcc/version.tmp.c 1092 1092 1093 1093 … … 1096 1096 gcc-builtunix-stage2: 1097 1097 $(MAKE) $(MAKEOPT) -C $(PATH_OBJ)/gcc prefix=$(PATH_BUILTTOOLS_TMPD) install 1098 ## cp $(PATH_TOP)/ src/emx/src/lib/libc.specs $(PATH_OBJ)/gcc/gcc/specs1098 ## cp $(PATH_TOP)/libc/src/lib/libc.specs $(PATH_OBJ)/gcc/gcc/specs 1099 1099 1100 1100 … … 1116 1116 $(ALL_PREFIX)/src/diffs/gcc-$(GCC_VERSION).diff: 1117 1117 mkdir -p $(@D) 1118 $(TOOL_CVS_DIFF_TREE) $(GCC_CVS_REL) src/gcc > $@1118 $(TOOL_CVS_DIFF_TREE) $(GCC_CVS_REL) gcc > $@ 1119 1119 1120 1120 … … 1200 1200 # We set CC to help configure finding it. 1201 1201 # And we reconfigure libiberty to the gcc one. 1202 binutils-configure-it $(PATH_OBJ)/binutils/.ts.configured: $(PATH_TOP)/ src/binutils/configure1202 binutils-configure-it $(PATH_OBJ)/binutils/.ts.configured: $(PATH_TOP)/binutils/configure 1203 1203 ifeq "$(BUILD_PLATFORM)" "OS2" 1204 1204 $(ASH) -c " \ … … 1234 1234 CFLAGS=\"$(BUILD_DEBUGINFO) $(BUILD_OPTIMIZE) -Zhigh-mem\" \ 1235 1235 LDFLAGS=\"$(BUILD_DEBUGINFO) -Zhigh-mem -Zstack 1024 -Zomf\" \ 1236 $(PATH_TOP)/ src/binutils/gas/configure \1236 $(PATH_TOP)/binutils/gas/configure \ 1237 1237 --target=i386-pc-os2-elf \ 1238 1238 --enable-shared=libgcc,bfd,opcodes \ … … 1248 1248 CFLAGS=\"$(BUILD_DEBUGINFO) $(BUILD_OPTIMIZE) -Zhigh-mem\" \ 1249 1249 LDFLAGS=\"$(BUILD_DEBUGINFO) -Zhigh-mem -Zstack 1024 -Zomf\" \ 1250 $(PATH_TOP)/ src/binutils/ld/configure \1250 $(PATH_TOP)/binutils/ld/configure \ 1251 1251 --target=i386-pc-os2-elf \ 1252 1252 --enable-shared=libgcc,bfd,opcodes \ … … 1274 1274 binutils-versionstamps: 1275 1275 @echo "Version stamping binutils..." 1276 cp -f $(PATH_TOP)/ src/binutils/binutils/version.c $(PATH_TOP)/src/binutils/binutils/version.tmp.c1276 cp -f $(PATH_TOP)/binutils/binutils/version.c $(PATH_TOP)/binutils/binutils/version.tmp.c 1277 1277 sed -e '/printf.*program_version/s/%s %s.*\\n/%s %s $(INNOTEK_VERSION)\\n/' \ 1278 $(PATH_TOP)/ src/binutils/binutils/version.tmp.c > $(PATH_TOP)/src/binutils/binutils/version.c1279 rm -f $(PATH_TOP)/ src/binutils/binutils/version.tmp.c1280 if [ -f $(PATH_TOP)/ src/gcc/binutils/version.c ]; then \1281 cp -f $(PATH_TOP)/ src/gcc/binutils/version.c $(PATH_TOP)/src/gcc/binutils/version.tmp.c && \1278 $(PATH_TOP)/binutils/binutils/version.tmp.c > $(PATH_TOP)/binutils/binutils/version.c 1279 rm -f $(PATH_TOP)/binutils/binutils/version.tmp.c 1280 if [ -f $(PATH_TOP)/gcc/binutils/version.c ]; then \ 1281 cp -f $(PATH_TOP)/gcc/binutils/version.c $(PATH_TOP)/gcc/binutils/version.tmp.c && \ 1282 1282 sed -e '/printf.*program_version/s/%s %s.*\\n/%s %s $(INNOTEK_VERSION)\\n/' \ 1283 $(PATH_TOP)/ src/gcc/binutils/version.tmp.c > $(PATH_TOP)/src/gcc/binutils/version.c && \1284 rm -f $(PATH_TOP)/ src/gcc/binutils/version.tmp.c ; \1283 $(PATH_TOP)/gcc/binutils/version.tmp.c > $(PATH_TOP)/gcc/binutils/version.c && \ 1284 rm -f $(PATH_TOP)/gcc/binutils/version.tmp.c ; \ 1285 1285 fi 1286 1286 @echo "Version stamping gas..." 1287 cp -f $(PATH_TOP)/ src/binutils/gas/as.c $(PATH_TOP)/src/binutils/gas/as.tmp.c1287 cp -f $(PATH_TOP)/binutils/gas/as.c $(PATH_TOP)/binutils/gas/as.tmp.c 1288 1288 sed -e '/printf.*GNU.*assembler/s/%s.*\\n/%s $(INNOTEK_VERSION)\\n/' \ 1289 1289 -e '/fprintf.*GNU.*assembler.*version.*BFD.*/s/using BFD version %s.*/using BFD version %s $(INNOTEK_VERSION)"),/ ' \ 1290 $(PATH_TOP)/ src/binutils/gas/as.tmp.c > $(PATH_TOP)/src/binutils/gas/as.c1291 rm -f $(PATH_TOP)/ src/binutils/gas/as.tmp.c1292 if [ -f $(PATH_TOP)/ src/gcc/gas/as.c ]; then \1293 cp -f $(PATH_TOP)/ src/gcc/gas/as.c $(PATH_TOP)/src/gcc/gas/as.tmp.c && \1290 $(PATH_TOP)/binutils/gas/as.tmp.c > $(PATH_TOP)/binutils/gas/as.c 1291 rm -f $(PATH_TOP)/binutils/gas/as.tmp.c 1292 if [ -f $(PATH_TOP)/gcc/gas/as.c ]; then \ 1293 cp -f $(PATH_TOP)/gcc/gas/as.c $(PATH_TOP)/gcc/gas/as.tmp.c && \ 1294 1294 sed -e '/printf.*GNU.*assembler/s/%s.*\\n/%s $(INNOTEK_VERSION)\\n/' \ 1295 1295 -e '/fprintf.*GNU.*assembler.*version.*BFD.*/s/using BFD version %s.*/using BFD version %s $(INNOTEK_VERSION)"),/ ' \ 1296 $(PATH_TOP)/ src/gcc/gas/as.tmp.c > $(PATH_TOP)/src/gcc/gas/as.c && \1297 rm -f $(PATH_TOP)/ src/gcc/gas/as.tmp.c ; \1296 $(PATH_TOP)/gcc/gas/as.tmp.c > $(PATH_TOP)/gcc/gas/as.c && \ 1297 rm -f $(PATH_TOP)/gcc/gas/as.tmp.c ; \ 1298 1298 fi 1299 1299 @echo "Version stamping ld..." 1300 cp -f $(PATH_TOP)/ src/binutils/ld/ldver.c $(PATH_TOP)/src/binutils/ld/ldver.tmp.c1300 cp -f $(PATH_TOP)/binutils/ld/ldver.c $(PATH_TOP)/binutils/ld/ldver.tmp.c 1301 1301 sed -e '/fprintf.*GNU.*ld.*version/s/(with BFD %s).*/(with BFD %s) $(INNOTEK_VERSION)\\n"),/' \ 1302 $(PATH_TOP)/ src/binutils/ld/ldver.tmp.c > $(PATH_TOP)/src/binutils/ld/ldver.c1303 rm -f $(PATH_TOP)/ src/binutils/ld/ldver.tmp.c1304 if [ -f $(PATH_TOP)/ src/gcc/ld/ldver.c ]; then \1305 cp -f $(PATH_TOP)/ src/gcc/ld/ldver.c $(PATH_TOP)/src/gcc/ld/ldver.tmp.c && \1302 $(PATH_TOP)/binutils/ld/ldver.tmp.c > $(PATH_TOP)/binutils/ld/ldver.c 1303 rm -f $(PATH_TOP)/binutils/ld/ldver.tmp.c 1304 if [ -f $(PATH_TOP)/gcc/ld/ldver.c ]; then \ 1305 cp -f $(PATH_TOP)/gcc/ld/ldver.c $(PATH_TOP)/gcc/ld/ldver.tmp.c && \ 1306 1306 sed -e '/fprintf.*GNU.*ld.*version/s/(with BFD %s).*/(with BFD %s) $(INNOTEK_VERSION)\\n"),/' \ 1307 $(PATH_TOP)/ src/gcc/ld/ldver.tmp.c > $(PATH_TOP)/src/gcc/ld/ldver.c && \1308 rm -f $(PATH_TOP)/ src/gcc/ld/ldver.tmp.c ; \1307 $(PATH_TOP)/gcc/ld/ldver.tmp.c > $(PATH_TOP)/gcc/ld/ldver.c && \ 1308 rm -f $(PATH_TOP)/gcc/ld/ldver.tmp.c ; \ 1309 1309 fi 1310 1310 … … 1332 1332 $(ALL_PREFIX)/src/diffs/binutils-$(BINUTILS_VERSION).diff: 1333 1333 mkdir -p $(@D) 1334 $(TOOL_CVS_DIFF_TREE) $(BINUTILS_CVS_REL) src/binutils > $@1334 $(TOOL_CVS_DIFF_TREE) $(BINUTILS_CVS_REL) binutils > $@ 1335 1335 1336 1336 … … 1372 1372 emx-build emx-install: 1373 1373 mkdir -p $(PATH_OBJ)/emx 1374 $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/ src/emx -f $(MAKEFILE) $@-it1374 $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/emx -f $(MAKEFILE) $@-it 1375 1375 1376 1376 emx-build-it: 1377 $(MAKE) $(MAKEOPT) -j 1 -C $(PATH_TOP)/ src/emx $(EMX_DEFINES) tools1378 $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/ src/emx $(EMX_DEFINES) all1377 $(MAKE) $(MAKEOPT) -j 1 -C $(PATH_TOP)/emx $(EMX_DEFINES) tools 1378 $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/emx $(EMX_DEFINES) all 1379 1379 1380 1380 emx-install-it: 1381 $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/ src/emx $(EMX_DEFINES) INS=$(ALL_PREFIX)/ install1381 $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/emx $(EMX_DEFINES) INS=$(ALL_PREFIX)/ install 1382 1382 1383 1383 … … 1388 1388 # Install the compiled emx stuff to builtunix. 1389 1389 emx-builtunix-stage2: 1390 $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/ src/emx $(EMX_DEFINES) INS=$(PATH_BUILTTOOLS_TMP)/ install1390 $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/emx $(EMX_DEFINES) INS=$(PATH_BUILTTOOLS_TMP)/ install 1391 1391 1392 1392 # Quick bootstrap workers. 1393 emx-quick-libs: 1394 GCCLOAD=3 $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/src/emx/libonly.gmk -C $(PATH_TOP)/src/emx $(EMX_DEFINES) all 1395 1396 emx-quick-libs-install: 1397 $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/src/emx/libonly.gmk -C $(PATH_TOP)/src/emx $(EMX_DEFINES) INS=$(PATH_BUILTTOOLS)/ install 1398 1399 emx-quick-rest: 1400 GCCLOAD=3 $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/src/emx $(EMX_DEFINES) all 1393 emx-quick: 1394 GCCLOAD=3 $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/emx $(EMX_DEFINES) all 1401 1395 1402 emx-quick- rest-install:1403 $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/ src/emx $(EMX_DEFINES) INS=$(PATH_BUILTTOOLS)/ install1396 emx-quick-install: 1397 $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/emx $(EMX_DEFINES) INS=$(PATH_BUILTTOOLS)/ install 1404 1398 1405 1399 … … 1409 1403 $(ALL_PREFIX)/src/diffs/emx-$(EMX_VERSION).diff: 1410 1404 mkdir -p $(@D) 1411 $(TOOL_CVS_DIFF_TREE) $(EMX_CVS_REL) src/emx > $@ 1412 1405 $(TOOL_CVS_DIFF_TREE) $(EMX_CVS_REL) emx > $@ 1406 1407 1408 1409 ############################################################################### 1410 ############################################################################### 1411 ############################################################################### 1412 # 1413 # L I B C 1414 # 1415 ############################################################################### 1416 ############################################################################### 1417 ############################################################################### 1418 all-libc libc: \ 1419 libc-build 1420 @echo "Successfully build LIBC." 1421 1422 # Some helpers. 1423 # TODO: Change OUT and INS to the right ones. Currently not possible as 1424 # doing such breaks the rules generating. 1425 LIBC_MODE = dbg 1426 ifeq "$(BUILD_MODE)" "RELEASE" 1427 LIBC_MODE = opt 1428 endif 1429 #LIBC_OUT = out/ 1430 #LIBC_INS = out/install/ 1431 LIBC_OUT = $(PATH_OBJD)/libc/ 1432 LIBC_INS = $(ALL_PREFIX)/ 1433 LIBC_MASM = $(PATH_TOP)/tools/x86.os2/masm/v6.0/binp/ml.exe 1434 LIBC_DEFINES = "OUT=$(LIBC_OUT)" "INS=$(LIBC_INS)" "MODE=$(LIBC_MODE)" "ASM=$(LIBC_MASM) -c" 1435 1436 # build the components. (directory changer rules) 1437 .PHONY: libc-build libc-install libc-configure 1438 libc-build libc-install: 1439 mkdir -p $(PATH_OBJ)/libc 1440 $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/libc -f $(MAKEFILE) $@-it 1441 1442 libc-build-it: 1443 $(MAKE) $(MAKEOPT) -j 1 -C $(PATH_TOP)/libc $(LIBC_DEFINES) tools 1444 $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/libc $(LIBC_DEFINES) all 1445 1446 libc-install-it: 1447 $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/libc $(LIBC_DEFINES) INS=$(ALL_PREFIX)/ install 1448 1449 1450 # We pass down the INNOTEK_VERSION define when building LIBC. 1451 libc-versionstamps: 1452 @echo "Version stamping LIBC... nothing to do" 1453 1454 # Install the compiled libc stuff to builtunix. 1455 libc-builtunix-stage2: 1456 $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/libc $(LIBC_DEFINES) INS=$(PATH_BUILTTOOLS_TMP)/ install 1457 1458 # Quick bootstrap workers. 1459 libc-quick: 1460 GCCLOAD=3 $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/libc/libonly.gmk -C $(PATH_TOP)/libc $(LIBC_DEFINES) all 1461 1462 libc-quick-install: 1463 $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/libc/libonly.gmk -C $(PATH_TOP)/libc $(LIBC_DEFINES) INS=$(PATH_BUILTTOOLS)/ install 1464 1465 1466 1467 # Generate diffs for LIBC (part of packing). 1468 .PHONY: libc-diff $(ALL_PREFIX)/src/diffs/libc-$(LIBC_VERSION).diff 1469 libc-diff: $(ALL_PREFIX)/src/diffs/libc-$(LIBC_VERSION).diff 1470 $(ALL_PREFIX)/src/diffs/libc-$(LIBC_VERSION).diff: 1471 mkdir -p $(@D) 1472 $(TOOL_CVS_DIFF_TREE) $(LIBC_CVS_REL) libc > $@ 1473 1474 1413 1475 1414 1476 … … 1467 1529 packing-src-binutils \ 1468 1530 packing-src-emx \ 1531 packing-src-libc \ 1469 1532 1470 1533 packing-src-gcc: 1471 1534 rm -f $(ZIPBASE)-src-GCC.zip 1472 zip $(ZIPFLAGS) $(ZIPBASE)-src-GCC.zip src/gcc -x \*CVS\*1535 zip $(ZIPFLAGS) $(ZIPBASE)-src-GCC.zip gcc -x \*CVS\* 1473 1536 1474 1537 packing-src-binutils: 1475 1538 rm -f $(ZIPBASE)-src-binutils.zip 1476 zip $(ZIPFLAGS) $(ZIPBASE)-src-binutils.zip src/binutils -x \*CVS\*1539 zip $(ZIPFLAGS) $(ZIPBASE)-src-binutils.zip binutils -x \*CVS\* 1477 1540 1478 1541 packing-src-emx: 1479 1542 rm -f $(ZIPBASE)-src-emx.zip 1480 zip $(subst r,,$(ZIPFLAGS)) $(ZIPBASE)-src-emx.zip src/emx/* -x \*CVS\* -x \*testcase\* -x \*out\* 1481 zip $(ZIPFLAGS) $(ZIPBASE)-src-emx.zip src/emx/src/* src/emx/include/* src/emx/src/bsd/* -x \*CVS\* 1543 zip $(ZIPFLAGS) $(ZIPBASE)-src-emx.zip emx/* -x \*CVS\* -x \*testcase\* -x \*out\* 1544 1545 packing-src-libc: 1546 rm -f $(ZIPBASE)-src-libc.zip 1547 zip $(ZIPFLAGS) $(ZIPBASE)-src-libc.zip libc/* -x \*CVS\* -x \*testcase\* -x \*out\* 1482 1548 1483 1549 installer: … … 1507 1573 cp $(PATH_TOP)/doc/COPYING $(ALL_PREFIX)/doc/GCC-$(GCC_VERSION) 1508 1574 # cp $(PATH_TOP)/ChangeLog $(ALL_PREFIX)/doc/GCC-$(GCC_VERSION)/ChangeLog.os2 1509 cp $(PATH_TOP)/ src/emx/ChangeLog.LIBC$(ALL_PREFIX)/doc/GCC-$(GCC_VERSION)1575 cp $(PATH_TOP)/libc/ChangeLog.LIBC $(ALL_PREFIX)/doc/GCC-$(GCC_VERSION) 1510 1576 cp $(PATH_TOP)/src/misc/MakeOmfLibs.cmd $(ALL_PREFIX)/lib 1511 1577 cp $(PATH_TOP)/src/misc/dllar.cmd $(ALL_PREFIX)/bin
Note:
See TracChangeset
for help on using the changeset viewer.