1 mike 1.1 OS_TYPE = windows
2 OS = win32
3 ARCHITECTURE = iX86
4 COMPILER = msvc
5
6 SYS_INCLUDES =
7
8 DEPEND_INCLUDES =
9
|
10 kumpf 1.17 DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -D_WIN32_WINNT=0x0400
|
11 mike 1.6 #-D_WIN32_WINNT=0x0400 -DWINVER=0x0400
|
12 mike 1.1
13 ifdef PEGASUS_DEBUG
|
14 tony 1.16 FLAGS = -GX -GR -W3 -Od -Zi -MDd -DDEBUG -Fd$(OBJ_DIR)/
|
15 chip 1.5 LINK_FLAGS = -debug
|
16 mike 1.1 else
|
17 chip 1.5 FLAGS = -GX -GR -W3 -O2 -MD
|
18 mike 1.1 endif
19
|
20 karl 1.9 ifdef PEGASUS_DEBUG_CIMEXCEPTION
|
21 kumpf 1.10 DEFINES += -DPEGASUS_DEBUG_CIMEXCEPTION
|
22 karl 1.9 endif
23
|
24 karl 1.23 # Enable the compilation of the SLP functions.
25 PEGASUS_ENABLE_SLP=true
26
|
27 karl 1.11 # ATTN KS 20020927 - Add flag to allow conditional testing of interoperability
28 # changes during interoperability tests.
29 ifdef PEGASUS_SNIA_INTEROP_TEST
30 DEFINES+= -DPEGASUS_SNIA_INTEROP_TEST
31 endif
|
32 kumpf 1.22
|
33 mike 1.1 RM = mu rm
34
35 RMDIRHIER = mu rmdirhier
36
37 MKDIRHIER = mu mkdirhier
38
39 COPY = mu copy
40
|
41 mike 1.4 MOVE = mu move
42
|
43 mike 1.1 CXX = cl -nologo
44
45 EXE_OUT = -Fe
46
47 LIB_OUT = -out:
48
49 OBJ = .obj
50
51 OBJ_OUT = -Fo
52
53 EXE = .exe
|
54 tony 1.15
55 DLL = .dll
56
57 ILK = .ilk
58
59 PDB = .pdb
60
61 EXP = .exp
|
62 mike 1.1
63 AR = LINK -nologo -dll
64
65 LIB_PREFIX =
66
67 LIB_SUFFIX = .lib
68
69 TOUCH = mu touch
70
71 ECHO = mu echo
72
73 LEX = flex
74
75 YACC = bison
|
76 mike 1.3
77 SH = bash
|
78 mike 1.4
79 YACC = bison
|
80 konrad.r 1.19
81 INSTALL_LIBRARY = echo Not supported.
82 INSTALL_PROGRAM = echo Not supported.
83 INSTALL_SBIN_PROGRAM = echo Not supported.
|
84 kumpf 1.21
85 # Windows DLLs are installed in the $(PEGASUS_HOME)/bin directory
86 PEGASUS_DEST_LIB_DIR = bin
|
87 kumpf 1.22
88 # The Provider User Context feature (PEP 197) is not supported on Windows
89 PEGASUS_DISABLE_PROV_USERCTXT=1
|
90 h.sterling 1.24
91 # l10n
92 ifdef PEGASUS_HAS_MESSAGES
93 DEFINES += -DPEGASUS_HAS_MESSAGES
94 ifdef ICU_ROOT
95 MSG_COMPILE = genrb
96 MSG_FLAGS =
97 MSG_SOURCE_EXT = .txt
98 MSG_COMPILE_EXT = .res
99 CNV_ROOT_CMD = cnv2rootbundle
100
101 ##################################
102 ##
103 ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root resource bundle,
104 ## default is to uppercase the root resource bundle##
105 ##################################
106
107 ifdef ICU_NO_UPPERCASE_ROOT
108 CNV_ROOT_FLAGS =
109 else
110 CNV_ROOT_FLAGS = -u
111 h.sterling 1.24 endif
112
113 ####################################
114 ##
115 ## ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource bundle will be generated from
116 ## defaults to _en if not set. if set, for any directory containing resource bundles,
117 ## there must exist a file name: package(the value of ICU_ROOT_BUNDLE_LANG).txt or the make messages target will fail
118 ##
119 ## We have to use the full path library because the cl /Fe command in program-windows.mak does
120 ## not take libpath as an argument (as far as I can tell)
121 ####################################
122
123 ifdef ICU_ROOT_BUNDLE_LANG
124 MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG)
125 else
126 MSG_ROOT_SOURCE = _en
127 endif
128 DEFINES += -DPEGASUS_HAS_ICU
129 EXTRA_LIBRARIES += $(ICU_INSTALL)/lib/icuuc.lib $(ICU_INSTALL)/lib/icuin.lib $(ICU_INSTALL)/lib/icudt.lib
130 SYS_INCLUDES += -I$(ICU_ROOT)/source/common -I$(ICU_ROOT)/source/i18n
131 endif
132 h.sterling 1.24 endif
133
|