Changeset 2446


Ignore:
Timestamp:
Nov 15, 2005, 2:06:42 AM (19 years ago)
Author:
bird
Message:

serious restructuring in progress.

Location:
trunk
Files:
4 added
30 deleted
27 edited
11 copied
29 moved

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/Makefile

    r2445 r2446  
    7373export EMX_CVS_VENDOR                   ?= EMX
    7474export EMX_CVS_REL                              ?= EMX_0-9D-FIX04
    75 export LIBC_VERSION             ?= 0.6.0rc2
    76 export LIBC_VERSION_SHORT       ?= 06r2
     75export LIBC_VERSION             ?= 0.7.0a1
     76export LIBC_VERSION_SHORT       ?= 07a1
    7777
    7878# innotek version and timestamp
     
    631631all-quick-step1-it: \
    632632                all-preload \
    633         emx-quick-libs \
     633        libc-quick \
    634634                all-preload-unload \
    635                 emx-quick-libs-install \
     635                libc-quick-install \
    636636                all-preload
    637637$(PATH_OBJ)/.quick-step1:
     
    650650all-quick-step2: $(PATH_OBJ)/.quick-step2
    651651all-quick-step2-it: \
    652         emx-quick-rest \
     652        emx-quick \
    653653                all-preload-unload \
    654                 emx-quick-rest-install \
     654                emx-quick-install \
    655655                all-preload
    656656$(PATH_OBJ)/.quick-step2:
     
    896896all-symlinks-binutils:
    897897        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'`; \
    903903                                then true ; \
    904904                        else exit 1; \
     
    907907        done   
    908908        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 \
    912912                            echo removing existing directory: $${dir} ; \
    913                                 rm -Rf $(PATH_TOP)/src/gcc/$$dir ; \
     913                                rm -Rf $(PATH_TOP)/gcc/$$dir ; \
    914914                        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'` ; \
    918918                                then true ; \
    919919                        else exit 1; \
     
    921921                fi ; \
    922922        done
    923         -ls -a1 src/gcc/.sym*
     923        -ls -a1 gcc/.sym*
    924924
    925925all-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 \
    927927                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} ; \
    930930                else \
    931                         rm -f $(PATH_TOP)/src/gcc/$${name} ; \
     931                        rm -f $(PATH_TOP)/gcc/$${name} ; \
    932932                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'` ; \
    935935                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}" ; \
    938938                        exit 1; \
    939939                fi ; \
    940940        done
    941         -ls -a1 src/gcc/.sym*
     941        -ls -a1 gcc/.sym*
    942942                                               
    943943
     
    10121012       
    10131013# 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.def
    1015 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.def
    1016         $(GAWK) -f src/emx/src/lib/libgcc_d.awk $(filter %.def,$^) > $@
     1014gcc-bootstrap gcc-build: gcc/gcc/config/i386/emx-libgcc_so_d.def
     1015gcc/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,$^) > $@
    10171017
    10181018
     
    10201020#   We pass down BOOT_ flags for stage2+.
    10211021#   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!
    10231023# For the 2nd stage we need a hack for using the right specs when linking...
    10241024#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, \
    10261026#              -specs $(PATH_TOP)/tools/x86.os2/gcc/staged/lib/gcc-lib/i386-pc-os2-emx/$(GCC_VERSION)/specs)
    10271027SPECS_HACK =
     
    10451045#       We set CC to help configure finding it.
    10461046#       We also set some LDFLAGS to get omf linking.
    1047 gcc-configure-it $(PATH_OBJ)/gcc/.ts.configured: $(PATH_TOP)/src/gcc/configure
     1047gcc-configure-it $(PATH_OBJ)/gcc/.ts.configured: $(PATH_TOP)/gcc/configure
    10481048ifeq "$(BUILD_PLATFORM)" "OS2"
    10491049        $(ASH) -c " \
     
    10831083
    10841084
    1085 # easy, update src/gcc/gcc/version.c
     1085# easy, update gcc/gcc/version.c
    10861086gcc-versionstamps:
    10871087        @echo "Version stamping gcc..."
    1088         mv -f $(PATH_TOP)/src/gcc/gcc/version.c $(PATH_TOP)/src/gcc/gcc/version.tmp.c
     1088        mv -f $(PATH_TOP)/gcc/gcc/version.c $(PATH_TOP)/gcc/gcc/version.tmp.c
    10891089        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.c
    1091         rm -f $(PATH_TOP)/src/gcc/gcc/version.tmp.c
     1090                $(PATH_TOP)/gcc/gcc/version.tmp.c > $(PATH_TOP)/gcc/gcc/version.c
     1091        rm -f $(PATH_TOP)/gcc/gcc/version.tmp.c
    10921092
    10931093
     
    10961096gcc-builtunix-stage2:
    10971097        $(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/specs
     1098##      cp $(PATH_TOP)/libc/src/lib/libc.specs $(PATH_OBJ)/gcc/gcc/specs
    10991099
    11001100
     
    11161116$(ALL_PREFIX)/src/diffs/gcc-$(GCC_VERSION).diff:
    11171117        mkdir -p $(@D)
    1118         $(TOOL_CVS_DIFF_TREE) $(GCC_CVS_REL) src/gcc > $@
     1118        $(TOOL_CVS_DIFF_TREE) $(GCC_CVS_REL) gcc > $@
    11191119
    11201120
     
    12001200#       We set CC to help configure finding it.
    12011201#       And we reconfigure libiberty to the gcc one.
    1202 binutils-configure-it $(PATH_OBJ)/binutils/.ts.configured: $(PATH_TOP)/src/binutils/configure
     1202binutils-configure-it $(PATH_OBJ)/binutils/.ts.configured: $(PATH_TOP)/binutils/configure
    12031203ifeq "$(BUILD_PLATFORM)" "OS2"
    12041204        $(ASH) -c " \
     
    12341234                CFLAGS=\"$(BUILD_DEBUGINFO) $(BUILD_OPTIMIZE) -Zhigh-mem\" \
    12351235                LDFLAGS=\"$(BUILD_DEBUGINFO) -Zhigh-mem -Zstack 1024 -Zomf\" \
    1236                 $(PATH_TOP)/src/binutils/gas/configure \
     1236                $(PATH_TOP)/binutils/gas/configure \
    12371237                --target=i386-pc-os2-elf \
    12381238                --enable-shared=libgcc,bfd,opcodes \
     
    12481248                CFLAGS=\"$(BUILD_DEBUGINFO) $(BUILD_OPTIMIZE) -Zhigh-mem\"  \
    12491249                LDFLAGS=\"$(BUILD_DEBUGINFO) -Zhigh-mem -Zstack 1024 -Zomf\" \
    1250                 $(PATH_TOP)/src/binutils/ld/configure \
     1250                $(PATH_TOP)/binutils/ld/configure \
    12511251                --target=i386-pc-os2-elf \
    12521252                --enable-shared=libgcc,bfd,opcodes \
     
    12741274binutils-versionstamps:
    12751275        @echo "Version stamping binutils..."
    1276         cp -f $(PATH_TOP)/src/binutils/binutils/version.c  $(PATH_TOP)/src/binutils/binutils/version.tmp.c
     1276        cp -f $(PATH_TOP)/binutils/binutils/version.c  $(PATH_TOP)/binutils/binutils/version.tmp.c
    12771277        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.c
    1279         rm -f $(PATH_TOP)/src/binutils/binutils/version.tmp.c           
    1280         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 && \
    12821282                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 ; \
    12851285        fi
    12861286        @echo "Version stamping gas..."
    1287         cp -f $(PATH_TOP)/src/binutils/gas/as.c $(PATH_TOP)/src/binutils/gas/as.tmp.c
     1287        cp -f $(PATH_TOP)/binutils/gas/as.c $(PATH_TOP)/binutils/gas/as.tmp.c
    12881288        sed -e '/printf.*GNU.*assembler/s/%s.*\\n/%s $(INNOTEK_VERSION)\\n/' \
    12891289            -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.c
    1291         rm -f $(PATH_TOP)/src/binutils/gas/as.tmp.c             
    1292         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 && \
    12941294                sed -e '/printf.*GNU.*assembler/s/%s.*\\n/%s $(INNOTEK_VERSION)\\n/' \
    12951295                        -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 ; \
    12981298        fi
    12991299        @echo "Version stamping ld..."
    1300         cp -f $(PATH_TOP)/src/binutils/ld/ldver.c $(PATH_TOP)/src/binutils/ld/ldver.tmp.c
     1300        cp -f $(PATH_TOP)/binutils/ld/ldver.c $(PATH_TOP)/binutils/ld/ldver.tmp.c
    13011301        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.c
    1303         rm -f $(PATH_TOP)/src/binutils/ld/ldver.tmp.c           
    1304         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 && \
    13061306                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 ; \
    13091309        fi             
    13101310       
     
    13321332$(ALL_PREFIX)/src/diffs/binutils-$(BINUTILS_VERSION).diff:
    13331333        mkdir -p $(@D)
    1334         $(TOOL_CVS_DIFF_TREE) $(BINUTILS_CVS_REL) src/binutils > $@
     1334        $(TOOL_CVS_DIFF_TREE) $(BINUTILS_CVS_REL) binutils > $@
    13351335
    13361336
     
    13721372emx-build emx-install:
    13731373        mkdir -p $(PATH_OBJ)/emx
    1374         $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/src/emx -f $(MAKEFILE) $@-it
     1374        $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/emx -f $(MAKEFILE) $@-it
    13751375
    13761376emx-build-it:
    1377         $(MAKE) $(MAKEOPT) -j 1 -C $(PATH_TOP)/src/emx $(EMX_DEFINES) tools
    1378         $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/src/emx $(EMX_DEFINES) all
     1377        $(MAKE) $(MAKEOPT) -j 1 -C $(PATH_TOP)/emx $(EMX_DEFINES) tools
     1378        $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/emx $(EMX_DEFINES) all
    13791379
    13801380emx-install-it:
    1381         $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/src/emx $(EMX_DEFINES) INS=$(ALL_PREFIX)/ install
     1381        $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/emx $(EMX_DEFINES) INS=$(ALL_PREFIX)/ install
    13821382
    13831383                                       
     
    13881388# Install the compiled emx stuff to builtunix.
    13891389emx-builtunix-stage2:
    1390         $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/src/emx $(EMX_DEFINES) INS=$(PATH_BUILTTOOLS_TMP)/  install
     1390        $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/emx $(EMX_DEFINES) INS=$(PATH_BUILTTOOLS_TMP)/  install
    13911391
    13921392# 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
     1393emx-quick:
     1394        GCCLOAD=3 $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/emx $(EMX_DEFINES) all
    14011395                       
    1402 emx-quick-rest-install:
    1403         $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/src/emx $(EMX_DEFINES) INS=$(PATH_BUILTTOOLS)/ install
     1396emx-quick-install:
     1397        $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/emx $(EMX_DEFINES) INS=$(PATH_BUILTTOOLS)/ install
    14041398                               
    14051399
     
    14091403$(ALL_PREFIX)/src/diffs/emx-$(EMX_VERSION).diff:
    14101404        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###############################################################################
     1418all-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.
     1425LIBC_MODE = dbg
     1426ifeq "$(BUILD_MODE)" "RELEASE"
     1427LIBC_MODE = opt
     1428endif
     1429#LIBC_OUT  = out/
     1430#LIBC_INS  = out/install/
     1431LIBC_OUT  = $(PATH_OBJD)/libc/
     1432LIBC_INS  = $(ALL_PREFIX)/
     1433LIBC_MASM = $(PATH_TOP)/tools/x86.os2/masm/v6.0/binp/ml.exe
     1434LIBC_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
     1438libc-build libc-install:
     1439        mkdir -p $(PATH_OBJ)/libc
     1440        $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/libc -f $(MAKEFILE) $@-it
     1441
     1442libc-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
     1446libc-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.
     1451libc-versionstamps:
     1452        @echo "Version stamping LIBC... nothing to do"
     1453                                                                       
     1454# Install the compiled libc stuff to builtunix.
     1455libc-builtunix-stage2:
     1456        $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/libc $(LIBC_DEFINES) INS=$(PATH_BUILTTOOLS_TMP)/  install
     1457
     1458# Quick bootstrap workers.                     
     1459libc-quick:
     1460        GCCLOAD=3 $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/libc/libonly.gmk -C $(PATH_TOP)/libc $(LIBC_DEFINES) all
     1461
     1462libc-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
     1469libc-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                                                                               
    14131475
    14141476       
     
    14671529                packing-src-binutils \
    14681530                packing-src-emx \
     1531                packing-src-libc \
    14691532       
    14701533packing-src-gcc:
    14711534        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\*
    14731536                                       
    14741537packing-src-binutils:
    14751538        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\*
    14771540       
    14781541packing-src-emx:
    14791542        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                               
     1545packing-src-libc:
     1546        rm -f $(ZIPBASE)-src-libc.zip
     1547        zip $(ZIPFLAGS) $(ZIPBASE)-src-libc.zip libc/* -x \*CVS\* -x \*testcase\* -x \*out\*
    14821548                               
    14831549installer:
     
    15071573        cp $(PATH_TOP)/doc/COPYING                  $(ALL_PREFIX)/doc/GCC-$(GCC_VERSION)
    15081574#       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)
    15101576        cp $(PATH_TOP)/src/misc/MakeOmfLibs.cmd     $(ALL_PREFIX)/lib
    15111577        cp $(PATH_TOP)/src/misc/dllar.cmd           $(ALL_PREFIX)/bin
  • TabularUnified trunk/gcc/gcc/version.c

    r2444 r2446  
    77   organization's name in parentheses at the end of the string.  */
    88
    9 const char version_string[] = "3.3.5";
     9const char version_string[] = "3.3.5 (Innotek Build 2005-11-15 02:02)";
    1010
    1111/* This is the location of the online document giving instructions for
  • TabularUnified trunk/libc/Makefile.gmk

    r2444 r2446  
    4949PATH_OBJD := $(shell echo $(PATH_OBJ)|sed 's/^[a-zA-Z]://')
    5050endif
    51 OUT = $(PATH_OBJD)/emx/
     51OUT = $(PATH_OBJD)/libc/
    5252INS = $(PATH_OBJD)/builtunix/usr/
    5353.   = $(OUT)
     
    9797endif
    9898CFLAGS.INC  += -Isrc/include
    99 CFLAGS.INC  += -Isrc/lib/bsd/include
     99CFLAGS.INC  += -Isrc/libc/bsd/include
    100100CFLAGS      = -Wall -Wundef -Wmissing-prototypes -mstack-arg-probe $(CFLAGS.INC) $(CFLAGS.$(MODE)) $(CFLAGS.KIND)
    101101# The additional C compiler flags for different build modes
  • TabularUnified trunk/libc/src/libc/alias/alias.smak

    r2444 r2446  
    1313include common.smak
    1414
    15 ALIAS.FUNCS = $(shell gawk -f src/lib/alias/aliasfuncs.awk $.)
    16 ALIAS._FUNCS = $(shell gawk -f src/lib/alias/aliasfuncs.awk $. _)
     15ALIAS.FUNCS = $(shell gawk -f src/libc/alias/aliasfuncs.awk $.)
     16ALIAS._FUNCS = $(shell gawk -f src/libc/alias/aliasfuncs.awk $. _)
    1717# list of alias pairs:
    18 ALIAS.ALIASES = $(shell gawk -f src/lib/alias/aliasbsdfuncs.awk $.) $(shell gawk -f src/lib/alias/aliasgnufuncs.awk $.) \
     18ALIAS.ALIASES = $(shell gawk -f src/libc/alias/aliasbsdfuncs.awk $.) $(shell gawk -f src/libc/alias/aliasgnufuncs.awk $.) \
    1919        strcasecmp              _std_stricmp \
    2020        strncasecmp     _std_strnicmp \
     
    3434## Depending on the timestamp kind of sucks, now we depend on the
    3535## header, which is better but will require libc to be build first.
    36 $.$(.TARG): $.libc-std.h src/lib/alias/alias.smak
     36$.$(.TARG): $.libc-std.h src/libc/alias/alias.smak
    3737        $(call MKDIR,$.aliases)
    3838# custom aliases
  • TabularUnified trunk/libc/src/libc/app/app.smak

    r2444 r2446  
    88.TKIND  := aout
    99.TARGET := libc_app.a
    10 .TSRC   := $(wildcard src/lib/app/*.c)
     10.TSRC   := $(wildcard src/libc/app/*.c)
    1111.TCF    := -I$.
    12 .TCF.src/lib/app/stdio.c := -D_NFILES=40
    13 .TCF.src/lib/app/iodata.c := -D_NFILES=40
     12.TCF.src/libc/app/stdio.c := -D_NFILES=40
     13.TCF.src/libc/app/iodata.c := -D_NFILES=40
    1414.INSDIR = lib/
    1515.TKEEP  := 1
  • TabularUnified trunk/libc/src/libc/bsd/db/db.smak

    r2444 r2446  
    1 libc.TSRC += $(wildcard src/lib/bsd/db/btree/*.c)
    2 libc.TSRC += $(wildcard src/lib/bsd/db/db/*.c)
    3 libc.TSRC += $(wildcard src/lib/bsd/db/hash/*.c)
    4 libc.TSRC += $(wildcard src/lib/bsd/db/mpool/*.c)
    5 libc.TSRC += $(wildcard src/lib/bsd/db/recno/*.c)
     1libc.TSRC += $(wildcard src/libc/bsd/db/btree/*.c)
     2libc.TSRC += $(wildcard src/libc/bsd/db/db/*.c)
     3libc.TSRC += $(wildcard src/libc/bsd/db/hash/*.c)
     4libc.TSRC += $(wildcard src/libc/bsd/db/mpool/*.c)
     5libc.TSRC += $(wildcard src/libc/bsd/db/recno/*.c)
  • TabularUnified trunk/libc/src/libc/bsd/gdtoa/gdtoa.smak

    r2444 r2446  
    1 libc.TSRC += $(filter-out %arithchk.c,$(wildcard src/lib/bsd/gdtoa/*.c)) \
    2         $(addprefix src/lib/bsd/gdtoa/glue/, machdep_ldisx.c _hdtoa.c _ldtoa.c glue.c)
     1libc.TSRC += $(filter-out %arithchk.c,$(wildcard src/libc/bsd/gdtoa/*.c)) \
     2        $(addprefix src/libc/bsd/gdtoa/glue/, machdep_ldisx.c _hdtoa.c _ldtoa.c glue.c)
    33libc.TDEP +=
    44
    55# make everything depend on arith.h.
    6 $(filter-out %arithchk.c,$(wildcard src/lib/bsd/gdtoa/*.c)): $.arith.h
     6$(filter-out %arithchk.c,$(wildcard src/libc/bsd/gdtoa/*.c)): $.arith.h
    77
    88# generate arith.h.
     
    1111       
    1212# build arith.h generator.
    13 $.arithchk.exe: src/lib/bsd/gdtoa/arithchk.c                                                                   
     13$.arithchk.exe: src/libc/bsd/gdtoa/arithchk.c                                                                   
    1414        $(LD) $(CFLAGS:-Iinclude=) $(CFLAGS.dbg) $(LDFLAGS.dbg) $(LDFLAGS.aout) -o $@ $<
    1515
  • TabularUnified trunk/libc/src/libc/bsd/gen/gen.smak

    r2444 r2446  
    1 libc.TSRC += $(wildcard src/lib/bsd/gen/*.c)
     1libc.TSRC += $(wildcard src/libc/bsd/gen/*.c)
  • TabularUnified trunk/libc/src/libc/bsd/locale/locale.smak

    r2444 r2446  
    1 libc.TSRC += $(wildcard src/lib/bsd/locale/*.c)
     1libc.TSRC += $(wildcard src/libc/bsd/locale/*.c)
  • TabularUnified trunk/libc/src/libc/bsd/net/net.smak

    r2444 r2446  
    1 libc.TSRC += $(wildcard src/lib/bsd/net/*.c)
     1libc.TSRC += $(wildcard src/libc/bsd/net/*.c)
  • TabularUnified trunk/libc/src/libc/bsd/nls/nls.smak

    r2444 r2446  
    1 libc.TSRC += $(wildcard src/lib/bsd/nls/*.c)
     1libc.TSRC += $(wildcard src/libc/bsd/nls/*.c)
  • TabularUnified trunk/libc/src/libc/bsd/stdtime/stdtime.smak

    r2444 r2446  
    1 libc.TSRC += $(wildcard src/lib/bsd/stdtime/*.c)
     1libc.TSRC += $(wildcard src/libc/bsd/stdtime/*.c)
  • TabularUnified trunk/libc/src/libc/conv/conv.smak

    r2444 r2446  
    1 libc.TSRC.386 += $(filter-out %smallcnv.s,$(wildcard src/lib/conv/386/*.s))
    2 libc.TSRC += $(filter-out %makepow5.c,$(wildcard src/lib/conv/*.c))
    3 libc.TDEP += $(addprefix @O@src/lib/conv/,strtoul.o strtoll.o strtoull.o)
     1libc.TSRC.386 += $(filter-out %smallcnv.s,$(wildcard src/libc/conv/386/*.s))
     2libc.TSRC += $(filter-out %makepow5.c,$(wildcard src/libc/conv/*.c))
     3libc.TDEP += $(addprefix @O@src/libc/conv/,strtoul.o strtoll.o strtoull.o)
    44
    55# bird: this doesn't work any better now. sorry. :/
    6 #$(call .MVER,conv/strtoul.o): src/lib/conv/strtol.c
     6#$(call .MVER,conv/strtoul.o): src/libc/conv/strtol.c
    77#       $(call DO.COMPILE.c, -I$. -DUNSIGNED)
    8 #$(call .MVER,conv/strtoll.o): src/lib/conv/strtol.c
     8#$(call .MVER,conv/strtoll.o): src/libc/conv/strtol.c
    99#       $(call DO.COMPILE.c, -I$. -DLONG_LONG)
    10 #$(call .MVER,conv/strtoull.o): src/lib/conv/strtol.c
     10#$(call .MVER,conv/strtoull.o): src/libc/conv/strtol.c
    1111#       $(call DO.COMPILE.c, -I$. -DLONG_LONG -DUNSIGNED)
    1212
    13 $.aout-prof/src/lib/conv/strtoul.o: src/lib/conv/strtol.c
     13$.aout-prof/src/libc/conv/strtoul.o: src/libc/conv/strtol.c
    1414        $(call DO.COMPILE.c, -I$. -DUNSIGNED)
    15 $.aout-prof/src/lib/conv/strtoll.o: src/lib/conv/strtol.c
     15$.aout-prof/src/libc/conv/strtoll.o: src/libc/conv/strtol.c
    1616        $(call DO.COMPILE.c, -I$. -DLONG_LONG)
    17 $.aout-prof/src/lib/conv/strtoull.o: src/lib/conv/strtol.c
     17$.aout-prof/src/libc/conv/strtoull.o: src/libc/conv/strtol.c
    1818        $(call DO.COMPILE.c, -I$. -DLONG_LONG -DUNSIGNED)
    1919                               
    20 $.aout-log/src/lib/conv/strtoul.o: src/lib/conv/strtol.c
     20$.aout-log/src/libc/conv/strtoul.o: src/libc/conv/strtol.c
    2121        $(call DO.COMPILE.c, -I$. -DUNSIGNED)
    22 $.aout-log/src/lib/conv/strtoll.o: src/lib/conv/strtol.c
     22$.aout-log/src/libc/conv/strtoll.o: src/libc/conv/strtol.c
    2323        $(call DO.COMPILE.c, -I$. -DLONG_LONG)
    24 $.aout-log/src/lib/conv/strtoull.o: src/lib/conv/strtol.c
     24$.aout-log/src/libc/conv/strtoull.o: src/libc/conv/strtol.c
    2525        $(call DO.COMPILE.c, -I$. -DLONG_LONG -DUNSIGNED)
    2626               
    27 $.aout/src/lib/conv/strtoul.o: src/lib/conv/strtol.c
     27$.aout/src/libc/conv/strtoul.o: src/libc/conv/strtol.c
    2828        $(call DO.COMPILE.c, -I$. -DUNSIGNED)
    29 $.aout/src/lib/conv/strtoll.o: src/lib/conv/strtol.c
     29$.aout/src/libc/conv/strtoll.o: src/libc/conv/strtol.c
    3030        $(call DO.COMPILE.c, -I$. -DLONG_LONG)
    31 $.aout/src/lib/conv/strtoull.o: src/lib/conv/strtol.c
     31$.aout/src/libc/conv/strtoull.o: src/libc/conv/strtol.c
    3232        $(call DO.COMPILE.c, -I$. -DLONG_LONG -DUNSIGNED)
    3333                                                       
    34 .TCF.src/lib/conv/bipow5.c := -I$.
     34.TCF.src/libc/conv/bipow5.c := -I$.
    3535$(call .MVER,conv/bipow5.o): $.bipow5.tab
    36 src/lib/conv/bipow5.c: $.bipow5.tab
     36src/libc/conv/bipow5.c: $.bipow5.tab
    3737$.bipow5.tab: $.makepow5.exe
    3838        $< -o $@ -s -m325 4951
     
    4040# bird: This ain't performance ciritical, so while my -Zomf is broken could we use aout?
    4141# bird: Bootstrapping is impossible if we include -Iinclude sometimes, hope that's ok t exclude...
    42 $.makepow5.exe: src/lib/conv/makepow5.c
     42$.makepow5.exe: src/libc/conv/makepow5.c
    4343        $(LD) $(CFLAGS:-Iinclude=) $(CFLAGS.dbg) $(LDFLAGS.dbg) $(LDFLAGS.aout) -o $@ $<
    4444
     
    4646.MODULE :=
    4747.TKIND  := aout
    48 #.TSRC.386 := src/lib/conv/386/smallcnv.s - smallcnv is dead.
     48#.TSRC.386 := src/libc/conv/386/smallcnv.s - smallcnv is dead.
    4949.TSRC   := $(.TSRC.$(CPU))
    5050.INSDIR :=
     
    6262
    6363# Additional dependencies to help stupid make.
    64 $.omf/src/lib/conv/386/smallcnv.obj: $.aout/src/lib/conv/386/smallcnv.o
     64$.omf/src/libc/conv/386/smallcnv.obj: $.aout/src/libc/conv/386/smallcnv.o
    6565
    6666include comend.smak
  • TabularUnified trunk/libc/src/libc/io/io.smak

    r2444 r2446  
    1 libc.TSRC += $(wildcard src/lib/io/*.c)
     1libc.TSRC += $(wildcard src/libc/io/*.c)
    22
    33# Build some object files separately (not included in libraries)
    44.MODULE :=
    55.TKIND  := aout
    6 .TSRC.386 := src/lib/io/386/binmode.s
     6.TSRC.386 := src/libc/io/386/binmode.s
    77.TSRC   := $(.TSRC.$(CPU))
    88include common.smak
     
    2121
    2222# Additional dependency to help make make omf version.
    23 $.omf/src/lib/io/386/binmode.obj: $.aout/src/lib/io/386/binmode.o
     23$.omf/src/libc/io/386/binmode.obj: $.aout/src/libc/io/386/binmode.o
  • TabularUnified trunk/libc/src/libc/lgpl/argp/argp.smak

    r2444 r2446  
    1 libc.TSRC += $(wildcard src/lib/lgpl/argp/*.c)
     1libc.TSRC += $(wildcard src/libc/lgpl/argp/*.c)
  • TabularUnified trunk/libc/src/libc/lgpl/crypt/crypt.smak

    r2444 r2446  
    1 libc.TSRC += $(addprefix src/lib/lgpl/crypt/,crypt-entry.c md5-crypt.c md5.c crypt.c crypt_util.c)
     1libc.TSRC += $(addprefix src/libc/lgpl/crypt/,crypt-entry.c md5-crypt.c md5.c crypt.c crypt_util.c)
    22
    33include comend.smak
  • TabularUnified trunk/libc/src/libc/lgpl/intl/intl.smak

    r2444 r2446  
    1 libc.TSRC += $(filter-out %plural-eval.c,$(wildcard src/lib/lgpl/intl/*.c))
     1libc.TSRC += $(filter-out %plural-eval.c,$(wildcard src/libc/lgpl/intl/*.c))
    22
    3 #$(foreach srcfile,$(wildcard src/lib/lgpl/intl/*.c), \
     3#$(foreach srcfile,$(wildcard src/libc/lgpl/intl/*.c), \
    44#       $(eval .TCF.$(srcfile) :=  ))
    55
  • TabularUnified trunk/libc/src/libc/lgpl/malloc/malloc.smak

    r2444 r2446  
    1 libc.TSRC += $(wildcard src/lib/lgpl/malloc/*.c)
     1libc.TSRC += $(wildcard src/libc/lgpl/malloc/*.c)
  • TabularUnified trunk/libc/src/libc/lgpl/math/math.smak

    r2444 r2446  
    1 libc.TSRC += $(wildcard src/lib/lgpl/math/*.c)
     1libc.TSRC += $(wildcard src/libc/lgpl/math/*.c)
  • TabularUnified trunk/libc/src/libc/lgpl/string/string.smak

    r2444 r2446  
    1 libc.TSRC += $(wildcard src/lib/lgpl/string/*.c)
     1libc.TSRC += $(wildcard src/libc/lgpl/string/*.c)
  • TabularUnified trunk/libc/src/libc/lgpl/sysdeps/sysdeps.smak

    r2444 r2446  
    1 libc.TSRC += $(wildcard src/lib/lgpl/sysdeps/os2/*.c) \
    2         $(wildcard src/lib/lgpl/sysdeps/i386/*.S) \
    3         $(wildcard src/lib/lgpl/sysdeps/i386/fpu/*.S) \
    4         $(wildcard src/lib/lgpl/sysdeps/i386/fpu/*.c) \
    5         $(wildcard src/lib/lgpl/sysdeps/generic/*.c) \
    6         $(wildcard src/lib/lgpl/sysdeps/ieee754/ldbl-96/*.c)
     1libc.TSRC += $(wildcard src/libc/lgpl/sysdeps/os2/*.c) \
     2        $(wildcard src/libc/lgpl/sysdeps/i386/*.S) \
     3        $(wildcard src/libc/lgpl/sysdeps/i386/fpu/*.S) \
     4        $(wildcard src/libc/lgpl/sysdeps/i386/fpu/*.c) \
     5        $(wildcard src/libc/lgpl/sysdeps/generic/*.c) \
     6        $(wildcard src/libc/lgpl/sysdeps/ieee754/ldbl-96/*.c)
  • TabularUnified trunk/libc/src/libc/libc.smak

    r2444 r2446  
    33# Utility function used in second-level submakefiles
    44# Creates four versions of object file name for all kinds of outputs.
    5 .MVER = $(foreach x,aout aout-prof,$.$x/src/lib/$1)
     5.MVER = $(foreach x,aout aout-prof,$.$x/src/libc/$1)
    66
    77# This is the list of object files for libc.dll (appended by some submakefiles)
     
    99
    1010# First of all, include all second-level libc submakefiles
    11 LIBC.SUBMAK := $(wildcard src/lib/*/*.smak) $(wildcard src/lib/bsd/*/*.smak) $(wildcard src/lib/lgpl/*/*.smak)
     11LIBC.SUBMAK := $(wildcard src/libc/*/*.smak) $(wildcard src/libc/bsd/*/*.smak) $(wildcard src/libc/lgpl/*/*.smak)
    1212-include $(LIBC.SUBMAK)
    1313# Add to the list of genrules.smak dependencies
     
    3939 -D_BSD_NAMESPACE_POLLUTION \
    4040 -I$.   \
    41  -Isrc/lib/bsd/include \
    42  -Isrc/lib/bsd/locale \
    43  -Isrc/lib/lgpl \
    44  -Isrc/lib/lgpl/sysdeps/os2 \
    45  -Isrc/lib/lgpl/sysdeps/i386 \
    46  -Isrc/lib/lgpl/sysdeps/generic \
    47  -Isrc/lib/lgpl/include
     41 -Isrc/libc/bsd/include \
     42 -Isrc/libc/bsd/locale \
     43 -Isrc/libc/lgpl \
     44 -Isrc/libc/lgpl/sysdeps/os2 \
     45 -Isrc/libc/lgpl/sysdeps/i386 \
     46 -Isrc/libc/lgpl/sysdeps/generic \
     47 -Isrc/libc/lgpl/include
    4848.TSF    += $(.TCF)
    4949.INSDIR = lib/
     
    6969.TARGET := libc_omf386.lib
    7070.TKIND  := omf
    71 .TSRC   := $(wildcard src/lib/sys/386/*.asm)
     71.TSRC   := $(wildcard src/libc/sys/386/*.asm)
    7272.TDEP   :=
    7373.TCF    :=
     
    8888LIBC.DEF        := $.omf/libc.def
    8989LIBC.OBJS.COMMON := \
    90         $.omf/src/lib/sys/libcfork.obj \
    91         $.omf/src/lib/sys/sharedpm.obj \
    92         $.omf/src/lib/sys/__initdll.obj \
    93         $.omf/src/lib/malloc/_heapvoting.obj \
    94         $.omf/src/lib/sys/FastInfoBlocks.obj \
    95         $.omf/src/lib/process/fmutex.obj \
    96         $.omf/src/lib/sys/DosCreateEventSemEx.obj \
    97         $.omf/src/lib/sys/DosEx.obj \
    98         $.omf/src/lib/str/386/bzero.obj \
    99         $.omf/src/lib/sys/386/__init_environ.obj \
    100         $.omf/src/lib/malloc/_hmalloc.obj \
    101         $.omf/src/lib/malloc/_hinitheap.obj \
    102         $.omf/src/lib/sys/heaphigh.obj \
    103         $.omf/src/lib/sys/DosAllocMemEx.obj \
    104         $.omf/src/lib/malloc/ucreate2.obj \
    105         $.omf/src/lib/malloc/iaddmem.obj \
    106         $.omf/src/lib/malloc/imisc.obj \
    107         $.omf/src/lib/malloc/uopen.obj \
    108         $.omf/src/lib/sys/DosOpenEventSemEx.obj \
    109         $.omf/src/lib/malloc/umalloc.obj \
    110         $.omf/src/lib/malloc/ialloc.obj \
    111         $.omf/src/lib/sys/filehandles.obj \
    112         $.omf/src/lib/malloc/_hcalloc.obj \
    113         $.omf/src/lib/malloc/ucalloc.obj \
    114         $.omf/src/lib/startup/dllinit.obj \
    115         $.omf/src/lib/startup/startup.obj \
    116         $.omf/src/lib/startup/ctor1.obj \
    117         $.omf/src/lib/sys/tcpipver.obj \
    118         $.omf/src/lib/sys/tcpipver43.obj \
    119         $.omf/src/lib/sys/pathrewrite.obj \
    120         $.omf/src/lib/app/getenv.obj \
    121         $.omf/src/lib/str/386/strlen.obj \
    122         $.omf/src/lib/str/strncmp.obj \
    123         $.omf/src/lib/app/stdio.obj \
    124         $.omf/src/lib/process/fmutex2.obj \
    125         $.omf/src/lib/io/_tmp.obj \
    126         $.omf/src/lib/process/thread_internals.obj \
    127         $.omf/src/lib/sys/b_threadInit.obj \
    128         $.omf/src/lib/malloc/malloc.obj \
    129         $.omf/src/lib/malloc/initr.obj \
    130         $.omf/src/lib/malloc/_linitheap.obj \
    131         $.omf/src/lib/sys/uflags.obj \
    132         $.omf/src/lib/sys/sbrk.obj \
    133         $.omf/src/lib/sys/heap.obj \
    134         $.omf/src/lib/sys/__init.obj
     90        $.omf/src/libc/sys/libcfork.obj \
     91        $.omf/src/libc/sys/sharedpm.obj \
     92        $.omf/src/libc/sys/__initdll.obj \
     93        $.omf/src/libc/malloc/_heapvoting.obj \
     94        $.omf/src/libc/sys/FastInfoBlocks.obj \
     95        $.omf/src/libc/process/fmutex.obj \
     96        $.omf/src/libc/sys/DosCreateEventSemEx.obj \
     97        $.omf/src/libc/sys/DosEx.obj \
     98        $.omf/src/libc/str/386/bzero.obj \
     99        $.omf/src/libc/sys/386/__init_environ.obj \
     100        $.omf/src/libc/malloc/_hmalloc.obj \
     101        $.omf/src/libc/malloc/_hinitheap.obj \
     102        $.omf/src/libc/sys/heaphigh.obj \
     103        $.omf/src/libc/sys/DosAllocMemEx.obj \
     104        $.omf/src/libc/malloc/ucreate2.obj \
     105        $.omf/src/libc/malloc/iaddmem.obj \
     106        $.omf/src/libc/malloc/imisc.obj \
     107        $.omf/src/libc/malloc/uopen.obj \
     108        $.omf/src/libc/sys/DosOpenEventSemEx.obj \
     109        $.omf/src/libc/malloc/umalloc.obj \
     110        $.omf/src/libc/malloc/ialloc.obj \
     111        $.omf/src/libc/sys/filehandles.obj \
     112        $.omf/src/libc/malloc/_hcalloc.obj \
     113        $.omf/src/libc/malloc/ucalloc.obj \
     114        $.omf/src/libc/startup/dllinit.obj \
     115        $.omf/src/libc/startup/startup.obj \
     116        $.omf/src/libc/startup/ctor1.obj \
     117        $.omf/src/libc/sys/tcpipver.obj \
     118        $.omf/src/libc/sys/tcpipver43.obj \
     119        $.omf/src/libc/sys/pathrewrite.obj \
     120        $.omf/src/libc/app/getenv.obj \
     121        $.omf/src/libc/str/386/strlen.obj \
     122        $.omf/src/libc/str/strncmp.obj \
     123        $.omf/src/libc/app/stdio.obj \
     124        $.omf/src/libc/process/fmutex2.obj \
     125        $.omf/src/libc/io/_tmp.obj \
     126        $.omf/src/libc/process/thread_internals.obj \
     127        $.omf/src/libc/sys/b_threadInit.obj \
     128        $.omf/src/libc/malloc/malloc.obj \
     129        $.omf/src/libc/malloc/initr.obj \
     130        $.omf/src/libc/malloc/_linitheap.obj \
     131        $.omf/src/libc/sys/uflags.obj \
     132        $.omf/src/libc/sys/sbrk.obj \
     133        $.omf/src/libc/sys/heap.obj \
     134        $.omf/src/libc/sys/__init.obj
    135135LIBC.OBJS       := \
    136         $.omf/src/lib/startup/386/dll0hi.obj \
     136        $.omf/src/libc/startup/386/dll0hi.obj \
    137137        $(LIBC.OBJS.COMMON)
    138138LIBC.LIBS       := $.omf/libc_s.lib $.omf/libc_app.lib $.omf/libc_omf386.lib
    139 LIBC.DEPS       := $(LIBC.STUB) $.omf/libc_alias.lib $.omf/liblazyimp.lib $.omf-lazy/libos2_unicode_lazy.lib $.omf/libos2.lib $.omf/libend.lib
     139LIBC.DEPS       := $(LIBC.STUB) $.omf/libc_alias.lib $.omf-lazy/libos2_unicode_lazy.lib $.omf/libos2.lib
    140140LIBC.DLL.OBJS   :=
    141141LIBC.DIRS       := $(sort $(dir $(LIBC.OBJS) $(LIBC.DEPS) $(LIBC.DLL.OBJS)))
     
    144144LIBC.PRF.DEF    := $.omf/libc.prf.def
    145145LIBC.PRF.OBJS   := \
    146         $.omf/src/lib/startup/386/dll0hi.obj \
     146        $.omf/src/libc/startup/386/dll0hi.obj \
    147147        $(subst /omf/,/omf-prof/,$(LIBC.OBJS.COMMON))
    148148LIBC.PRF.LIBS   := $.omf-prof/libc_p_s.lib $.omf-prof/libc_app_p.lib $.omf/libc_omf386.lib
    149 LIBC.PRF.DEPS   := $(LIBC.STUB) $.omf/libc_alias.lib $.omf-prof/liblazyimp_p.lib $.omf-lazy/libos2_unicode_lazy.lib $.omf-prof/libos2_p.lib $.omf/libend.lib
     149LIBC.PRF.DEPS   := $(LIBC.STUB) $.omf/libc_alias.lib $.omf-lazy/libos2_unicode_lazy.lib $.omf-prof/libos2_p.lib
    150150LIBC.PRF.DIRS   := $(sort $(dir $(LIBC.PRF.OBJS) $(LIBC.PRF.DEPS)))
    151151
     
    153153LIBC.ELH.DEF    := $.omf/libc.elh.def
    154154LIBC.ELH.OBJS   := \
    155         $.omf/src/lib/startup/386/dll0hi.obj \
    156         $.omf/src/lib/startup/dllinit.obj
     155        $.omf/src/libc/startup/386/dll0hi.obj \
     156        $.omf/src/libc/startup/dllinit.obj
    157157LIBC.ELH.LIBS   := $(LIBC.LIBS)
    158158LIBC.ELH.DEPS   := $(LIBC.DEPS)
     
    162162LIBC.LOG.DEF    := $(LIBC.DEF)
    163163LIBC.LOG.OBJS   := \
    164         $.omf/src/lib/startup/386/dll0hi.obj \
     164        $.omf/src/libc/startup/386/dll0hi.obj \
    165165        $(subst /omf/,/omf-log/,$(LIBC.OBJS.COMMON))
    166166LIBC.LOG.LIBS   := $.omf-log/libc_l_s.lib $.omf-log/libc_app_l.lib $.omf/libc_omf386.lib
     
    187187                $(LIBC.LIBS) \
    188188                $(filter %.lib,$(LIBC.DEPS)) \
    189                 -L$.omf -lgcc -lgcc_eh $(LIBC.STUBARG)
     189                -L$.omf -lgcc -lgcc_eh $(LIBC.STUBARG) -llazyimp -lend
    190190ifeq ($(MODE),opt)     
    191191        cp $@ $(@:.dll=.dbg)
     
    194194
    195195# LIBC .def file
    196 $(LIBC.DEF): $(LIBC.LIBS) src/lib/libc.def
     196$(LIBC.DEF): $(LIBC.LIBS) src/libc/libc.def
    197197        $(call RM,$@)
    198198        @$(call FECHO,$@,LIBRARY libc$(VH)$(VM) INITINSTANCE TERMINSTANCE)
     
    204204        sed  -e "/\"___pfn/d" -e "/\"__sys_/d" -e "/\"___sys_/d" -e "/\"___libc_[a-z]/d" -e "/\"__nsyy/d" $@ > $@.tmp
    205205        mv -f $@.tmp $@
    206         krx.exe src/lib/dlllegacy.cmd -e "_DLL_InitTerm" $@ src/lib/libc.def
     206        krx.exe src/libc/dlllegacy.cmd -e "_DLL_InitTerm" $@ src/libc/libc.def
    207207
    208208# LIBC import libraries with dllinit, libsocket and libsyslog.
    209209# (It's stuff which belongs to libc, but for historical reasons isn't physically in the .dll yet.)
    210 $(filter %.lib,$(LIBC.IMPLIB) $(LIBC.IMPLIB.TCPIPV4)): $(LIBC.DEF) $.omf/src/lib/startup/dllinit.obj \
     210$(filter %.lib,$(LIBC.IMPLIB) $(LIBC.IMPLIB.TCPIPV4)): $(LIBC.DEF) $.omf/src/libc/startup/dllinit.obj \
    211211                $.omf/libsocket.lib $.omf/tcpipv4/libsocket.lib \
    212212                $.omf/libsyslog.lib $.omf/tcpipv4/libsyslog.lib
     
    215215        $(AR) r $@ $(filter %.obj,$^) $(dir $@)libsocket.lib $(dir $@)libsyslog.lib
    216216
    217 $(filter   %.a,$(LIBC.IMPLIB) $(LIBC.IMPLIB.TCPIPV4)): $(LIBC.DEF) $.aout/src/lib/startup/dllinit.o  \
     217$(filter   %.a,$(LIBC.IMPLIB) $(LIBC.IMPLIB.TCPIPV4)): $(LIBC.DEF) $.aout/src/libc/startup/dllinit.o  \
    218218                $.aout/libsocket.a  $.aout/tcpipv4/libsocket.a \
    219219                $.aout/libsyslog.a  $.aout/tcpipv4/libsyslog.a
     
    238238                $(LIBC.LOG.LIBS) \
    239239                $(filter %.lib,$(LIBC.LOG.DEPS)) \
    240                 -L$.omf -lgcc -lgcc_eh $(LIBC.STUBARG)
     240                -L$.omf -lgcc -lgcc_eh $(LIBC.STUBARG) -llazyimp -lend
    241241        echo $@         
    242242
     
    248248                $(LIBC.PRF.LIBS) \
    249249                $(filter %.lib,$(LIBC.PRF.DEPS)) \
    250                 -L$.omf-prof -L$.omf -lgcc -lgcc_eh $(LIBC.STUBARG)
     250                -L$.omf-prof -L$.omf -lgcc -lgcc_eh $(LIBC.STUBARG) -llazyimp -lend
    251251        echo $@         
    252252
     
    268268                $(LIBC.ELH.LIBS) \
    269269                $(filter %.lib,$(LIBC.ELH.DEPS)) \
    270                 -L$.omf -lgcc -lgcc_eh $(LIBC.STUBARG)
     270                -L$.omf -lgcc -lgcc_eh $(LIBC.STUBARG)  -llazyimp -lend
    271271        echo $@         
    272272
     
    275275# Even M$/IBM nmake     have that. ;-)
    276276# And no, I couldn't care less about performance with this type of DLL. No need for ordinals.
    277 $(LIBC.ELH.DEF): $(LIBC.DEF) src/lib/libc.smak
     277$(LIBC.ELH.DEF): $(LIBC.DEF) src/libc/libc.smak
    278278        $(call RM,$@)
    279279        cp $< $@
     
    351351all: libc-dll
    352352ifndef LIBC_CORE_ONLY
    353 libc-dll: emxbind emxexp app alias libc libos2 libos2@omf liblazyimp liblazyimp@omf libend \
     353libc-dll: emxbind emxexp app alias libc libos2 libos2@omf \
    354354                        $(LIBC.DIRS) $(LIBC.DLL) $(LIBC.IMPLIB) $(LIBC.IMPLIB.TCPIPV4) \
    355355                        $(LIBC.PRF.DIRS) $(LIBC.PRF.DLL) \
     
    357357                        $(LIBC.ELH.DIRS) $(LIBC.ELH.DLL)
    358358else
    359 libc-dll: emxbind emxexp app alias libc libos2 libos2@omf liblazyimp liblazyimp@omf libend \
     359libc-dll: emxbind emxexp app alias libc libos2 libos2@omf \
    360360                        $(LIBC.DIRS) $(LIBC.DLL) $(LIBC.IMPLIB) $(LIBC.IMPLIB.TCPIPV4)
    361361endif
     
    418418# this happens in just a fraction of second.
    419419_STD_WILDWILD = \
    420         src/lib/*/*.c \
    421         src/lib/*/386/*.s \
    422         src/lib/msun/*/*.c \
    423         src/lib/msun/*/*.S \
    424         src/lib/bsd/*/*.c \
    425         src/lib/bsd/*/glue/*.c \
    426         src/lib/lgpl/*/*.c \
    427         src/lib/lgpl/sysdeps/i386/*.S \
    428         src/lib/lgpl/sysdeps/i386/*.c \
    429         src/lib/lgpl/sysdeps/i386/i486/*.S \
    430         src/lib/lgpl/sysdeps/i386/fpu/*.S \
    431         src/lib/lgpl/sysdeps/i386/fpu/*.c \
    432         src/lib/lgpl/sysdeps/generic/*.c \
    433         src/lib/lgpl/sysdeps/ieee754/ldbl-96/*.c
     420        src/libc/*/*.c \
     421        src/libc/*/386/*.s \
     422        src/libc/msun/*/*.c \
     423        src/libc/msun/*/*.S \
     424        src/libc/bsd/*/*.c \
     425        src/libc/bsd/*/glue/*.c \
     426        src/libc/lgpl/*/*.c \
     427        src/libc/lgpl/sysdeps/i386/*.S \
     428        src/libc/lgpl/sysdeps/i386/*.c \
     429        src/libc/lgpl/sysdeps/i386/i486/*.S \
     430        src/libc/lgpl/sysdeps/i386/fpu/*.S \
     431        src/libc/lgpl/sysdeps/i386/fpu/*.c \
     432        src/libc/lgpl/sysdeps/generic/*.c \
     433        src/libc/lgpl/sysdeps/ieee754/ldbl-96/*.c
    434434$.stmp-libc-std: $(wildcard $(_STD_WILDWILD))
    435         cd src/lib && gawk -f ./mkstd.awk $(patsubst src/lib/%,%,$^) > ../../__tmp__
     435        cd src/libc && gawk -f ./mkstd.awk $(patsubst src/libc/%,%,$^) > ../../__tmp__
    436436        $(call UPDATE,__tmp__,$.libc-std.h)
    437437        $(call TOUCH,$@)
    438438
    439439# dependencies to help make (baka, baka, baka)
    440 $.omf-prof/src/lib/startup/dllinit.obj: $.aout-prof/src/lib/startup/dllinit.o
     440$.omf-prof/src/libc/startup/dllinit.obj: $.aout-prof/src/libc/startup/dllinit.o
    441441        $(DO.EMXOMF)
    442442                       
     
    453453# Forwarder DLLs for backward compatibility.
    454454#                       
    455 $.omf/fwdstub.obj: src/lib/fwdstub.asm
     455$.omf/fwdstub.obj: src/libc/fwdstub.asm
    456456        $(call DO.COMPILE.asm)
    457457       
    458458## libc06b4                                             
    459 #$.omf/libc06b4.dll: src/lib/libc06b4.def $.omf/fwdstub.obj $.omf/libc_dll.lib
     459#$.omf/libc06b4.dll: src/libc/libc06b4.def $.omf/fwdstub.obj $.omf/libc_dll.lib
    460460#       gcc -Zomf -o $@ -nostdlib -Zdll $^
    461461#$(INS)lib/libc06b4.dll: $.omf/libc06b4.dll
     
    465465
    466466## libc06b5                                             
    467 #$.omf/libc06b5.dll: src/lib/libc06b5.def $.omf/fwdstub.obj $.omf/libc_dll.lib
     467#$.omf/libc06b5.dll: src/libc/libc06b5.def $.omf/fwdstub.obj $.omf/libc_dll.lib
    468468#       gcc -Zomf -o $@ -nostdlib -Zdll  $^
    469469#$(INS)lib/libc06b5.dll: $.omf/libc06b5.dll
  • TabularUnified trunk/libc/src/libc/locale/locale.smak

    r2444 r2446  
    1 libc.TSRC += $(wildcard src/lib/locale/*.c)
     1libc.TSRC += $(wildcard src/libc/locale/*.c)
  • TabularUnified trunk/libc/src/libc/misc/misc.smak

    r2444 r2446  
    1 libc.TSRC.386 += $(wildcard src/lib/misc/386/*.s)
    2 libc.TSRC += $(wildcard src/lib/misc/*.c)
     1libc.TSRC.386 += $(wildcard src/libc/misc/386/*.s)
     2libc.TSRC += $(wildcard src/libc/misc/*.c)
  • TabularUnified trunk/libc/src/libc/msun/msun.smak

    r2444 r2446  
    5151# select the sources we need.
    5252$(foreach asrc,$(basename $(ARCH_SRCS)),$(eval COMMON_SRCS := $(filter-out $(asrc).%,$(COMMON_SRCS))))
    53 MSUN_SRCS := $(wildcard src/lib/msun/bsdsrc/*.c) \
    54         $(addprefix src/lib/msun/src/,$(COMMON_SRCS))
     53MSUN_SRCS := $(wildcard src/libc/msun/bsdsrc/*.c) \
     54        $(addprefix src/libc/msun/src/,$(COMMON_SRCS))
    5555       
    5656# No optimizations based on strict aliasing here, thank you.
     
    5858
    5959# Add to libc modules.
    60 libc.TSRC.386 += $(addprefix src/lib/msun/i387/,$(ARCH_SRCS))
     60libc.TSRC.386 += $(addprefix src/libc/msun/i387/,$(ARCH_SRCS))
    6161libc.TSRC += $(MSUN_SRCS)
    6262
  • TabularUnified trunk/libc/src/libc/process/process.smak

    r2444 r2446  
    1 libc.TSRC.386 += $(wildcard src/lib/process/386/*.s)
    2 libc.TSRC += $(wildcard src/lib/process/*.c)
     1libc.TSRC.386 += $(wildcard src/libc/process/386/*.s)
     2libc.TSRC += $(wildcard src/libc/process/*.c)
  • TabularUnified trunk/libc/src/libc/startup/startup.smak

    r2444 r2446  
    1 libc.TSRC += $(filter-out %gmon.c,$(wildcard src/lib/startup/*.c)) \
    2              src/lib/startup/386/mcountstub.s
     1libc.TSRC += $(filter-out %gmon.c,$(wildcard src/libc/startup/*.c)) \
     2             src/libc/startup/386/mcountstub.s
    33
    44# Build startup object files separately (not included in libraries)
    55.MODULE :=
    66.TKIND  := aout
    7 .TSRC.386 := $(addprefix src/lib/startup/386/,crt0.s dll0.s)
     7.TSRC.386 := $(addprefix src/libc/startup/386/,crt0.s dll0.s)
    88.TSRC   := $(.TSRC.$(CPU))
    99.INSDIR := lib/
    1010include common.smak
    11 .OBJS += $(addprefix $.omf/src/lib/startup/386/,crt0.obj dll0.obj)
     11.OBJS += $(addprefix $.omf/src/libc/startup/386/,crt0.obj dll0.obj)
    1212
    1313# define what to do     
    1414define def_startup
    15 $$.aout/src/lib/startup/386/crt0$(i).o: src/lib/startup/386/crt0.s
     15$$.aout/src/libc/startup/386/crt0$(i).o: src/libc/startup/386/crt0.s
    1616        $$(call DO.COMPILE.s, $(subst wild, -DARGS_WILD, $(subst resp, -DARGS_RESP, $(subst noux, -DNOUNIX,$(subst nofork, -DNOFORK,$(subst hi, -DHIGHMEM, $i))))))
    1717
    18 $$.omf/src/lib/startup/386/crt0$(i).obj: $$.aout/src/lib/startup/386/crt0$(i).o
     18$$.omf/src/libc/startup/386/crt0$(i).obj: $$.aout/src/libc/startup/386/crt0$(i).o
    1919        $$(call DO.EMXOMF,-m__text)
    20 $(eval .OBJS += $.aout/src/lib/startup/386/crt0$(i).o \
    21                                  $.omf/src/lib/startup/386/crt0$(i).obj)
     20$(eval .OBJS += $.aout/src/libc/startup/386/crt0$(i).o \
     21                                 $.omf/src/libc/startup/386/crt0$(i).obj)
    2222       
    2323ifeq ($(subst resp,,$(subst wild,,$(i))),$(i))
    24 $$.aout/src/lib/startup/386/dll0$(i).o: src/lib/startup/386/dll0.s
     24$$.aout/src/libc/startup/386/dll0$(i).o: src/libc/startup/386/dll0.s
    2525        $$(call DO.COMPILE.s, $(subst wild, -DARGS_WILD, $(subst resp, -DARGS_RESP, $(subst noux, -DNOUNIX,$(subst nofork, -DNOFORK,$(subst hi, -DHIGHMEM, $i))))))
    2626       
    27 $$.omf/src/lib/startup/386/dll0$(i).obj: $$.aout/src/lib/startup/386/dll0$(i).o
     27$$.omf/src/libc/startup/386/dll0$(i).obj: $$.aout/src/libc/startup/386/dll0$(i).o
    2828        $$(call DO.EMXOMF,-l__text)
    29 $$(eval .OBJS += $.aout/src/lib/startup/386/dll0$(i).o \
    30                           $.omf/src/lib/startup/386/dll0$(i).obj)
     29$$(eval .OBJS += $.aout/src/libc/startup/386/dll0$(i).o \
     30                          $.omf/src/libc/startup/386/dll0$(i).obj)
    3131endif   
    3232endef
     
    8181startup: $(.DIRS) $(.OBJS)
    8282
    83 # This rule doesn't work if the aout/src/lib/startup/ directory does not
     83# This rule doesn't work if the aout/src/libc/startup/ directory does not
    8484# exist when make is started, and is ignored because of this (shit!)
    85 #$.omf/src/lib/startup/%.obj: $.aout/src/lib/startup/%.o
     85#$.omf/src/libc/startup/%.obj: $.aout/src/libc/startup/%.o
    8686#       $(call DO.EMXOMF,-m__text)
    8787
    8888# Additional dependencies to help stupid make.
    89 $.omf/src/lib/startup/386/dll0.obj: $.aout/src/lib/startup/386/dll0.o
     89$.omf/src/libc/startup/386/dll0.obj: $.aout/src/libc/startup/386/dll0.o
    9090        $(call DO.EMXOMF,-l__text)
    91 $.omf/src/lib/startup/386/crt0.obj: $.aout/src/lib/startup/386/crt0.o
     91$.omf/src/libc/startup/386/crt0.obj: $.aout/src/libc/startup/386/crt0.o
    9292        $(call DO.EMXOMF,-m__text)
    93 $.omf/src/lib/startup/386/res0.obj: $.aout/src/lib/startup/386/res0.o
     93$.omf/src/libc/startup/386/res0.obj: $.aout/src/libc/startup/386/res0.o
    9494        $(call DO.EMXOMF,-m__text)
    9595
  • TabularUnified trunk/libc/src/libc/sys/sys.smak

    r2444 r2446  
    1 libc.TSRC.386 += $(wildcard src/lib/sys/386/*.s)
    2 libc.TSRC += $(wildcard src/lib/sys/*.c)
     1libc.TSRC.386 += $(wildcard src/libc/sys/386/*.s)
     2libc.TSRC += $(wildcard src/libc/sys/*.c)
    33
    4 .TCF.src/lib/sys/heapsize.c := -DHEAPSIZE=0x2000000
     4.TCF.src/libc/sys/heapsize.c := -DHEAPSIZE=0x2000000
Note: See TracChangeset for help on using the changeset viewer.