summaryrefslogtreecommitdiffstats
path: root/private/ole32/daytona.inc
blob: 9567f342d77c25cfdf014710364c21578058345e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
!IF 0

Copyright (c) 1989  Microsoft Corporation

Module Name:

    daytona.inc

Abstract:

    This file is included from all of the daytona sources files. It
    is handy for doing things like turning off precompiled headers
    to get around compiler bugs, and other such global activities.

Notes:

    We define _OLE32_ so that when building ole32.dll we don't have
    DECLSPEC_IMPORT defined (see objbase.h)

!ENDIF

C_DEFINES=    \
              $(C_DEFINES)          \
              -DNOEXCEPTIONS        \
              -DINC_OLE2            \
              -DFLAT                \
              -DWIN32=100           \
              -D_NT1X_=100          \
              -DUNICODE             \
              -D_UNICODE            \
	      -DCAIROLE_DOWNLEVEL   \
	      -DDCOM		    \
              -DMSWMSG              \
	      -DDCOM_SECURITY       \
              -DNEWPROPS            \
	      -DASYNC		    \
              -D_TRACKLINK_=1       \
              -DLITTLEENDIAN=1      \
              $(TRACELOG)            

#  DECLSPEC_IMPORT control (see objbase.h)
!if "$(MINORCOMP)"=="com" || "$(MINORCOMP)"=="stg" || "$(MINORCOMP)"=="ole232" || \
    "$(MINORCOMP)"=="common" || "$(MINORCOMP)"=="proxy"
C_DEFINES=    \
              $(C_DEFINES)          \
              -D_OLE32_             \
              -D_OLE32PRIV_
!endif


BLDCRT=       1

# For the Daytona build, we do not want statically linked compiler runtimes,
# so leave this commented out.
#
# USE_LIBCMT=   1

# For the x86, we have the few C runtime routines we use self-contained.

!IF $(386)
USE_NOLIBS=1
!ELSE
USE_CRTDLL=1
!ENDIF


MSC_WARNING_LEVEL=/W3 /WX

NTLEGO=1

GPCH_BUILD=daytona