linux.cf: add some gcc system include paths to makedepend. Shaves about 5150 more...
[oweals/cde.git] / cde / config / cf / Win32.cf
1 XCOMM platform:  $TOG: Win32.cf /main/57 1997/12/04 11:03:33 kaleb $
2
3 #ifndef OSName
4 #define OSName DefaultOSName
5 #endif
6 #ifndef OSMajorVersion
7 #define OSMajorVersion  DefaultOSMajorVersion   
8 #endif
9 #ifndef OSMinorVersion
10 #define OSMinorVersion  DefaultOSMinorVersion
11 #endif
12 #ifndef OSTeenyVersion
13 #define OSTeenyVersion  DefaultOSTeenyVersion
14 #endif
15 XCOMM operating system:  OSName OSMajorVersion./**/OSMinorVersion
16
17 #ifndef CompilerMajorVersion
18 /* 0 == NT 3.1 Win32 SDK, 2 == MSVC++ 2, 4 == MSVC 4 */
19 #define CompilerMajorVersion    4       
20 #endif
21
22 #define BootstrapCFlags         -DWIN32
23 #ifdef _M_IX86
24 #define CpuDefines -D_X86_
25 #endif
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
30 #else
31 #define DefaultCCOptions -nologo -G4 -W2
32 #endif
33 #if CompilerMajorVersion < 4
34 #define DebuggableCDebugFlags -Zi
35 #else
36 #define DebuggableCDebugFlags -Zi -Od
37 #endif
38 #define ThreadedX               YES
39 #define HasThreadSafeAPI        NO
40 #define CpCmd copy
41 #define LnCmd copy
42 #define MvCmd ren
43 #define RmCmd del
44 #ifndef RmTreeCmd
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
52 #endif
53 #define CcCmd cl
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
59 #else
60 #define PreProcessCmd CcCmd -nologo -EP
61 #define CppCmd  CcCmd -nologo -E
62 #endif
63 #define PatheticCpp             YES
64 #define ConstructMFLAGS         YES
65 #if (CompilerMajorVersion == 0)
66 #define ArCmdBase lib32
67 #else
68 #define ArCmdBase lib
69 #endif
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
86 #else
87 #define ExtraLibraries msvcrt.lib kernel32.lib wsock32.lib -link -nodefaultlib:libc
88 #endif
89 #define MakeCmd nmake -nologo
90 #if (CompilerMajorVersion == 0)
91 #define LdCmd link32
92 #else
93 #define LdCmd link
94 #endif
95 #define MathLibrary
96 #define HasSymLinks             NO
97 #define HasVarDirectory         NO
98 #define HasPutenv               YES
99 #define Osuf obj
100 #ifndef CCsuf
101 #define CCsuf cxx
102 #endif
103 #define BuildServer             NO
104 #define ConnectionFlags         -DTCPCONN
105
106 /* override as necessary in site.def/host.def */
107 #ifndef StdIncDir
108 #define StdIncDir               C:/MSDEVSTD/INCLUDE
109 #endif
110 #define LdPreLib /**/
111 #define LdPostLib /**/
112 #ifndef UseInstalled
113 #define ImakeCmd $(IMAKESRC:/=\)\imake
114 #define DependCmd $(DEPENDSRC:/=\)\makedepend
115 #endif
116 #define DependFlags -D_WIN32
117 #define FilesToClean *.bak *.obj *.lib make.log
118 #define ShLibDir $(BINDIR)
119
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)
121
122 #define XawI18nDefines          -DHAS_WCHAR_H
123 #define UseRgbTxt  YES
124 #define HasCbrt NO
125 #define HasFfs NO
126 #define HasXdmAuth NO
127
128 /* the following components haven't been ported yet */
129 #define BuildLBX NO
130 #define BuildXprint NO
131 #define XprtServer NO
132
133 #include <Win32.rules>