]> git.saurik.com Git - wxWidgets.git/blob - utils/HelpGen/makefile.vc
wxMax instead of max, former is always around
[wxWidgets.git] / utils / HelpGen / makefile.vc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
6
7 !include <../../build/msw/config.vc>
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
15 HELPGEN_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) \
16 /DWIN32 $(__DEBUGINFO_0) /Fd$(OBJS)\HelpGen.pdb $(____DEBUGRUNTIME_2_p) \
17 $(__OPTIMIZEFLAG_4) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
18 $(__UNICODE_DEFINE_p) /I.\..\..\include /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) \
19 /D_CONSOLE $(CXXFLAGS) /GR /GX
20 HELPGEN_OBJECTS = \
21 $(OBJS)\HelpGen_HelpGen.obj \
22 $(OBJS)\HelpGen_cjparser.obj \
23 $(OBJS)\HelpGen_docripper.obj \
24 $(OBJS)\HelpGen_ifcontext.obj \
25 $(OBJS)\HelpGen_markup.obj \
26 $(OBJS)\HelpGen_scriptbinder.obj \
27 $(OBJS)\HelpGen_sourcepainter.obj \
28 $(OBJS)\HelpGen_srcparser.obj
29 OBJS = \
30 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
31 SETUPHDIR = \
32 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
33
34 ### Conditionally set variables: ###
35
36 !if "$(SHARED)" == "0"
37 LIBDIRNAME = .\..\..\lib\vc_lib$(CFG)
38 !endif
39 !if "$(SHARED)" == "1"
40 LIBDIRNAME = .\..\..\lib\vc_dll$(CFG)
41 !endif
42 !if "$(USE_GUI)" == "0"
43 PORTNAME = base
44 !endif
45 !if "$(USE_GUI)" == "1"
46 PORTNAME = msw
47 !endif
48 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
49 WXDEBUGFLAG = d
50 !endif
51 !if "$(DEBUG_FLAG)" == "1"
52 WXDEBUGFLAG = d
53 !endif
54 !if "$(SHARED)" == "1"
55 WXDLLFLAG = dll
56 !endif
57 !if "$(UNICODE)" == "1"
58 WXUNICODEFLAG = u
59 !endif
60 !if "$(WXUNIV)" == "1"
61 WXUNIVNAME = univ
62 !endif
63 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
64 __DEBUGINFO_0 = /Zi
65 !endif
66 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
67 __DEBUGINFO_0 =
68 !endif
69 !if "$(DEBUG_INFO)" == "0"
70 __DEBUGINFO_0 =
71 !endif
72 !if "$(DEBUG_INFO)" == "1"
73 __DEBUGINFO_0 = /Zi
74 !endif
75 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
76 __DEBUGINFO_1 = /DEBUG
77 !endif
78 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
79 __DEBUGINFO_1 =
80 !endif
81 !if "$(DEBUG_INFO)" == "0"
82 __DEBUGINFO_1 =
83 !endif
84 !if "$(DEBUG_INFO)" == "1"
85 __DEBUGINFO_1 = /DEBUG
86 !endif
87 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
88 __DEBUGINFO_3 = d
89 !endif
90 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
91 __DEBUGINFO_3 =
92 !endif
93 !if "$(DEBUG_INFO)" == "0"
94 __DEBUGINFO_3 =
95 !endif
96 !if "$(DEBUG_INFO)" == "1"
97 __DEBUGINFO_3 = d
98 !endif
99 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
100 __DEBUGRUNTIME_3 =
101 !endif
102 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
103 __DEBUGRUNTIME_3 = d
104 !endif
105 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
106 __DEBUGRUNTIME_3 = $(__DEBUGINFO_3)
107 !endif
108 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
109 __DEBUG_DEFINE_p = /D__WXDEBUG__
110 !endif
111 !if "$(DEBUG_FLAG)" == "1"
112 __DEBUG_DEFINE_p = /D__WXDEBUG__
113 !endif
114 !if "$(SHARED)" == "1"
115 __DLLFLAG_p = /DWXUSINGDLL
116 !endif
117 !if "$(USE_GUI)" == "1"
118 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
119 !endif
120 !if "$(USE_GUI)" == "1"
121 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
122 !endif
123 !if "$(USE_GUI)" == "1"
124 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
125 !endif
126 !if "$(BUILD)" == "debug"
127 __OPTIMIZEFLAG_4 = /Od
128 !endif
129 !if "$(BUILD)" == "release"
130 __OPTIMIZEFLAG_4 = /O2
131 !endif
132 !if "$(RUNTIME_LIBS)" == "dynamic"
133 __RUNTIME_LIBS_7 = D
134 !endif
135 !if "$(RUNTIME_LIBS)" == "static"
136 __RUNTIME_LIBS_7 = T
137 !endif
138 !if "$(UNICODE)" == "1"
139 __UNICODE_DEFINE_p = /D_UNICODE
140 !endif
141 !if "$(MSLU)" == "1"
142 __UNICOWS_LIB_p = unicows.lib
143 !endif
144 !if "$(MONOLITHIC)" == "0"
145 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
146 !endif
147 !if "$(MONOLITHIC)" == "1"
148 __WXLIB_MONO_p = \
149 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
150 !endif
151 !if "$(WXUNIV)" == "1"
152 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
153 !endif
154 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
155 ____DEBUGINFO_2_p = /D_DEBUG
156 !endif
157 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
158 ____DEBUGINFO_2_p =
159 !endif
160 !if "$(DEBUG_INFO)" == "0"
161 ____DEBUGINFO_2_p =
162 !endif
163 !if "$(DEBUG_INFO)" == "1"
164 ____DEBUGINFO_2_p = /D_DEBUG
165 !endif
166 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
167 ____DEBUGRUNTIME_2_p =
168 !endif
169 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
170 ____DEBUGRUNTIME_2_p = /D_DEBUG
171 !endif
172 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
173 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p)
174 !endif
175
176
177 all: $(OBJS)
178 $(OBJS):
179 -if not exist $(OBJS) mkdir $(OBJS)
180
181 ### Targets: ###
182
183 all: $(OBJS)\HelpGen.exe
184
185 $(OBJS)\HelpGen_HelpGen.obj: .\src\HelpGen.cpp
186 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
187
188 $(OBJS)\HelpGen_cjparser.obj: .\src\cjparser.cpp
189 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
190
191 $(OBJS)\HelpGen_docripper.obj: .\src\docripper.cpp
192 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
193
194 $(OBJS)\HelpGen_ifcontext.obj: .\src\ifcontext.cpp
195 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
196
197 $(OBJS)\HelpGen_markup.obj: .\src\markup.cpp
198 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
199
200 $(OBJS)\HelpGen_scriptbinder.obj: .\src\scriptbinder.cpp
201 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
202
203 $(OBJS)\HelpGen_sourcepainter.obj: .\src\sourcepainter.cpp
204 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
205
206 $(OBJS)\HelpGen_srcparser.obj: .\src\srcparser.cpp
207 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
208
209 $(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS)
210 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE @<<
211 $(HELPGEN_OBJECTS) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib
212 <<
213
214 clean:
215 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
216 -if exist $(OBJS)\*.res del $(OBJS)\*.res
217 -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe
218 -if exist $(OBJS)\HelpGen.ilk del $(OBJS)\HelpGen.ilk
219 -if exist $(OBJS)\HelpGen.pdb del $(OBJS)\HelpGen.pdb