1 XCOMM platform: $TOG: Win32.cf /main/57 1997/12/04 11:03:33 kaleb $
4 #define OSName DefaultOSName
7 #define OSMajorVersion DefaultOSMajorVersion
10 #define OSMinorVersion DefaultOSMinorVersion
12 #ifndef OSTeenyVersion
13 #define OSTeenyVersion DefaultOSTeenyVersion
15 XCOMM operating system: OSName OSMajorVersion./**/OSMinorVersion
17 #ifndef CompilerMajorVersion
18 /* 0 == NT 3.1 Win32 SDK, 2 == MSVC++ 2, 4 == MSVC 4 */
19 #define CompilerMajorVersion 4
22 #define BootstrapCFlags -DWIN32
24 #define CpuDefines -D_X86_
26 /* brain-damaged windows headers will not compile with -Za */
27 #define StandardDefines -DWIN32 -DWIN32_LEAN_AND_MEAN -D_DLL -D_MT -D__STDC__ CpuDefines
28 #if CompilerMajorVersion < 4
29 #define DefaultCCOptions -nologo -batch -G4 -W2
31 #define DefaultCCOptions -nologo -G4 -W2
33 #if CompilerMajorVersion < 4
34 #define DebuggableCDebugFlags -Zi
36 #define DebuggableCDebugFlags -Zi -Od
39 #define HasThreadSafeAPI NO
45 XCOMM choices here include:
46 XCOMM o `del /q /s` and live with pressing the "any" key
47 XCOMM o `deltree, copied from MS-DOS 5
48 XCOMM o `rm -rfx` from the SDK Subscription (MSTOOLS in your Path)
49 XCOMM o `rm -rf` from the GNU file utilities
50 XCOMM We're using the GNU file utilities
51 #define RmTreeCmd rm -rf
54 #define HasCplusplus YES
55 #define CplusplusCmd cl
56 #if CompilerMajorVersion < 4
57 #define PreProcessCmd CcCmd -nologo -batch -EP
58 #define CppCmd CcCmd -nologo -batch -E
60 #define PreProcessCmd CcCmd -nologo -EP
61 #define CppCmd CcCmd -nologo -E
63 #define PatheticCpp YES
64 #define ConstructMFLAGS YES
65 #if (CompilerMajorVersion == 0)
66 #define ArCmdBase lib32
70 #define ArCmd ArCmdBase
71 #define CplusplusCmd cl
72 #define MkdirHierCmd $(CONFIGSRC:/=\)\util\mkdirhier
73 #define InstallCmd copy
74 #define InstPgmFlags /**/
75 #define InstBinFlags /**/
76 #define InstUidFlags /**/
77 #define InstLibFlags /**/
78 #define InstIncFlags /**/
79 #define InstManFlags /**/
80 #define InstDatFlags /**/
81 #define InstallFlags /**/
82 #if (CompilerMajorVersion == 0)
83 #define ExtraLibraries crtdll.lib kernel32.lib wsock32.lib
84 #elif (CompilerMajorVersion < 4)
85 #define ExtraLibraries msvcrt.lib kernel32.lib wsock32.lib
87 #define ExtraLibraries msvcrt.lib kernel32.lib wsock32.lib -link -nodefaultlib:libc
89 #define MakeCmd nmake -nologo
90 #if (CompilerMajorVersion == 0)
96 #define HasSymLinks NO
97 #define HasVarDirectory NO
103 #define BuildServer NO
104 #define ConnectionFlags -DTCPCONN
106 /* override as necessary in site.def/host.def */
108 #define StdIncDir C:/MSDEVSTD/INCLUDE
110 #define LdPreLib /**/
111 #define LdPostLib /**/
113 #define ImakeCmd $(IMAKESRC:/=\)\imake
114 #define DependCmd $(DEPENDSRC:/=\)\makedepend
116 #define DependFlags -D_WIN32
117 #define FilesToClean *.bak *.obj *.lib make.log
118 #define ShLibDir $(BINDIR)
120 #define XFileSearchPathBase Concat4($(LIBDIR)/;L/;T/;N;C,;S:$(LIBDIR)/;l/;T/;N;C,;S:$(LIBDIR)/;T/;N;C,;S:$(LIBDIR)/;L/;T/;N;S:$(LIBDIR)/;l/;T/;N;S:$(LIBDIR)/;T/;N;S)
122 #define XawI18nDefines -DHAS_WCHAR_H
123 #define UseRgbTxt YES
126 #define HasXdmAuth NO
128 /* the following components haven't been ported yet */
130 #define BuildXprint NO
131 #define XprtServer NO
133 #include <Win32.rules>