Hi!

     Below complete list of changes in batch and make files:

- UTILS\PROTO.BAT, UTILS\INDENT, KERNEL\NLS_LOAD.C, KERNEL\KERNEL.CFG: removed.

- all batch files now check if environment is enough; this prevents wrong
  actions in case of small environment.
- *.BAT: %MAKE% now called through CALL; this allows to place into PATH
  batch file instead utility itself.
- BUILDALL.BAT: removed ambiguous ONERROR variable.
- BUILDALL.BAT: added ">NUL" for DELs.
- CLOBBER.BAT now uses CLEAN.BAT for its job; this eases to update cleaning
  code because no code duplication.
- CONFIG.B: XNASM replaced by NASM, XLINK by LINK, MS_BASE by MSC_BASE.
- CONFIG.B: added possibility to define librarian.
- CONFIG.B: added "MAKER -S" as choice for MAKE.
- DEFAULT.BAT renamed to DEFAULTS.BAT, for all "call <batchfile>" added
  suffix .BAT; this solves compatability problem with 4DOS (where DEFAULT
  is a built-in command).
- DEFAULTS.BAT: added variable BASE.

- all MAKEFILEs now look similar.
- Some makefiles renamed: BC5->BC, TURBOCPP->TCPP, TC3->TCPP3, MSCL8->MSC.
- MKFILES\*.MAK: removed space after "=" in macro definitions; this makes
  command lines shorter.
- common definitions from makefiles moved to MKFILES\GENERIC.MAK
  (directories) and CONFIG.B/DEFAULTS.BAT (LINK, NASM, LIBUTIL, etc).
- MKFILES\GENERIC.MAK: XCPU=86 and XFAT=32 are defined here, if environment
  doesn't contains these variables; this allows to reduce environment.
- MKFILES\GENERIC.MAK: ALLCFLAGS and NASMFLAGS placed after all options
  (this allows to redefine some options in config.bat); for watcom.mak
  this also adds space after ALLCFLAGS (which is required, if ALLCFLAGS
  ends by option like -I).
- MKFILES\GENERIC.MAK: NASMFLAGS now includes -f and -D$(COMPILER) options.
- MKFILES\TCPP.MAK: -zC option moved from ALLCFLAGS into CFLAGS (this
  eliminates option duplication in INITCFLAGS and reduces command line
  length). ALLCFLAGS now includes -I..\hdr;$(INCLUDEPATH) option (this
  allows to reuse compiler headers (for example, limits.h), but own time.h
  anyway "overloads" compiler's header).
- MKFILES\TC2.MAK, MKFILES\TCPP3.MAK, MKFILES\BC.MAK: reused contents of
  MKFILES\TCPP.MAK through "!include".
- MKFILES\WATCOM.MAK: removed INCLUDE and EDPATH macroses.
- MKFILES\WATCOM.MAK: added option -d1 (to allow make listings with sources).

- added KERNEL\TCI.CFG, which allows noticeably reduce size of INITCFLAGS
  definition in MKFILES\TCPP.MAK; options for other compilers also moved
  from command line to consequent KERNEL\*.CFG files.

- KERNEL\MAKEFILE: $(TARGET).lnk rule now removes *.obj (this allows to
  remove explicit dependency for $(TARGET).lnk for all other rules).
- KERNEL\TURBOC.CFG: removed redefinition of __STDC__.

- "production" target replaced by "all" to eliminate warning from NMAKE.
- DEVICE\MAKEFILE: device.lib now created directly in ..\lib directory
  without intermediate copy.
- added SYS\TURBOC.CFG and UTILS\TURBOC.CFG.
- SYS\MAKEFILE, UTILS\MAKEFILE: reused implicit rules from MKFILES\GENERIC.MAK.




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to