Changeset 9132 for trunk/tools/common
- Timestamp:
- Aug 26, 2002, 12:35:46 AM (23 years ago)
- Location:
- trunk/tools/common
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/common/kDef2Wat.cpp
r8360 r9132 1 /* $Id: kDef2Wat.cpp,v 1. 4 2002-05-01 03:58:36 bird Exp $1 /* $Id: kDef2Wat.cpp,v 1.5 2002-08-25 22:35:46 bird Exp $ 2 2 * 3 3 * Converter for IBM/MS linker definition files (.DEF) to Watcom linker directives and options. … … 60 60 if (!stricmp(pszOS, "os2")) 61 61 enmOS = kFileDef::os2; 62 else if (!stricmp(pszOS, "os2-16")) 63 enmOS = kFileDef::os2v1; 62 64 else if (!stricmp(pszOS, "dos")) 63 65 enmOS = kFileDef::dos; … … 134 136 "\n" 135 137 "Where:\n" 136 " <os> Target os. os2, dos, win32, win16, nlm, qnx or elf.\n"138 " <os> Target os. os2, os2-16, dos, win32, win16, nlm, qnx or elf.\n" 137 139 " <def-file> The .DEF file to convert.\n" 138 140 " <wlink-file> The WLINK directive and option file.\n" -
trunk/tools/common/kFileDef.cpp
r8360 r9132 1 /* $Id: kFileDef.cpp,v 1. 9 2002-05-01 03:58:36 bird Exp $1 /* $Id: kFileDef.cpp,v 1.10 2002-08-25 22:35:46 bird Exp $ 2 2 * 3 3 * kFileDef - Definition files. … … 505 505 if (pszStart != NULL) 506 506 { 507 /* if phys/virt device skip second word too */ 508 if (fVirtualDevice || fPhysicalDevice) 509 { 510 pszStart = strpbrk(ltrim(pszStart), " \t"); 511 if (pszStart == NULL) 512 return TRUE; 513 } 514 507 515 pszStart = ltrim(pszStart); 508 516 pszEnd = strpbrk(pszStart, " \t"); … … 667 675 case kFileDef::os2: 668 676 pOut->printf("FORMAT OS2 LX %s %s %s\n", 677 fLibrary ? "DLL" : 678 (fProgram ? (chAppType == pm ? "PM" 679 : (chAppType == fullscreen ? "FULLSCREEN" 680 : "PMCOMPATIBLE")) 681 : (fVirtualDevice ? "VIRTDEVICE" 682 : "PHYSDEVICE" )), 683 fLibrary ? (fInitGlobal ? "INITGLOBAL" : "INITINSTANCE") : "", 684 fLibrary ? (fTermGlobal ? "TERMGLOBAL" : "TERMINSTANCE") : ""); 685 break; 686 687 case kFileDef::os2v1: 688 pOut->printf("FORMAT OS2 %s %s %s\n", 669 689 fLibrary ? "DLL" : 670 690 (fProgram ? (chAppType == pm ? "PM" -
trunk/tools/common/kFileDef.h
r8360 r9132 135 135 136 136 enum {fullscreen = 0, pmvio = 2, pm = 3, unknown = 255}; 137 enum {os2, dos, win32, win16, nlm, qnx, elf};137 enum {os2, os2v1, dos, win32, win16, nlm, qnx, elf}; 138 138 }; 139 139
Note:
See TracChangeset
for help on using the changeset viewer.