]>
Commit | Line | Data |
---|---|---|
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$(LIBDIRNAME) /I.\..\..\src\tiff \ | |
19 | /I.\..\..\src\jpeg /I.\..\..\src\png /I.\..\..\src\zlib /I.\..\..\src\regex \ | |
20 | /I.\..\..\src\expat\lib /I. $(__DLLFLAG_p) /D_CONSOLE $(CXXFLAGS) | |
21 | HELPGEN_OBJECTS = \ | |
22 | $(OBJS)\HelpGen_HelpGen.obj \ | |
23 | $(OBJS)\HelpGen_cjparser.obj \ | |
24 | $(OBJS)\HelpGen_docripper.obj \ | |
25 | $(OBJS)\HelpGen_ifcontext.obj \ | |
26 | $(OBJS)\HelpGen_markup.obj \ | |
27 | $(OBJS)\HelpGen_scriptbinder.obj \ | |
28 | $(OBJS)\HelpGen_sourcepainter.obj \ | |
29 | $(OBJS)\HelpGen_srcparser.obj \ | |
30 | $(OBJS)\HelpGen_wx_extra_imps.obj | |
31 | LIBDIRNAME = \ | |
32 | .\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
33 | OBJS = \ | |
34 | vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
35 | ||
36 | ### Conditionally set variables: ### | |
37 | ||
38 | !if "$(USE_GUI)" == "0" | |
39 | PORTNAME = base | |
40 | !endif | |
41 | !if "$(USE_GUI)" == "1" | |
42 | PORTNAME = msw | |
43 | !endif | |
44 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
45 | WXDEBUGFLAG = d | |
46 | !endif | |
47 | !if "$(DEBUG_FLAG)" == "1" | |
48 | WXDEBUGFLAG = d | |
49 | !endif | |
50 | !if "$(SHARED)" == "1" | |
51 | WXDLLFLAG = dll | |
52 | !endif | |
53 | !if "$(UNICODE)" == "1" | |
54 | WXUNICODEFLAG = u | |
55 | !endif | |
56 | !if "$(WXUNIV)" == "1" | |
57 | WXUNIVNAME = univ | |
58 | !endif | |
59 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
60 | __DEBUGINFO_0 = /Zi | |
61 | !endif | |
62 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
63 | __DEBUGINFO_0 = | |
64 | !endif | |
65 | !if "$(DEBUG_INFO)" == "0" | |
66 | __DEBUGINFO_0 = | |
67 | !endif | |
68 | !if "$(DEBUG_INFO)" == "1" | |
69 | __DEBUGINFO_0 = /Zi | |
70 | !endif | |
71 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
72 | __DEBUGINFO_1 = /DEBUG | |
73 | !endif | |
74 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
75 | __DEBUGINFO_1 = | |
76 | !endif | |
77 | !if "$(DEBUG_INFO)" == "0" | |
78 | __DEBUGINFO_1 = | |
79 | !endif | |
80 | !if "$(DEBUG_INFO)" == "1" | |
81 | __DEBUGINFO_1 = /DEBUG | |
82 | !endif | |
83 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
84 | __DEBUGINFO_3 = d | |
85 | !endif | |
86 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
87 | __DEBUGINFO_3 = | |
88 | !endif | |
89 | !if "$(DEBUG_INFO)" == "0" | |
90 | __DEBUGINFO_3 = | |
91 | !endif | |
92 | !if "$(DEBUG_INFO)" == "1" | |
93 | __DEBUGINFO_3 = d | |
94 | !endif | |
95 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
96 | __DEBUGRUNTIME_3 = | |
97 | !endif | |
98 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
99 | __DEBUGRUNTIME_3 = d | |
100 | !endif | |
101 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
102 | __DEBUGRUNTIME_3 = $(__DEBUGINFO_3) | |
103 | !endif | |
104 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
105 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
106 | !endif | |
107 | !if "$(DEBUG_FLAG)" == "1" | |
108 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
109 | !endif | |
110 | !if "$(SHARED)" == "1" | |
111 | __DLLFLAG_p = /DWXUSINGDLL | |
112 | !endif | |
113 | !if "$(USE_GUI)" == "1" | |
114 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib | |
115 | !endif | |
116 | !if "$(USE_GUI)" == "1" | |
117 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib | |
118 | !endif | |
119 | !if "$(USE_GUI)" == "1" | |
120 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
121 | !endif | |
122 | !if "$(BUILD)" == "debug" | |
123 | __OPTIMIZEFLAG_4 = /Od | |
124 | !endif | |
125 | !if "$(BUILD)" == "release" | |
126 | __OPTIMIZEFLAG_4 = /O2 | |
127 | !endif | |
128 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
129 | __RUNTIME_LIBS_7 = D | |
130 | !endif | |
131 | !if "$(RUNTIME_LIBS)" == "static" | |
132 | __RUNTIME_LIBS_7 = T | |
133 | !endif | |
134 | !if "$(UNICODE)" == "1" | |
135 | __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1 | |
136 | !endif | |
137 | !if "$(MSLU)" == "1" | |
138 | __UNICOWS_LIB_p = unicows.lib | |
139 | !endif | |
140 | !if "$(MONOLITHIC)" == "0" | |
141 | __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
142 | !endif | |
143 | !if "$(MONOLITHIC)" == "1" | |
144 | __WXLIB_MONO_p = \ | |
145 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
146 | !endif | |
147 | !if "$(WXUNIV)" == "1" | |
148 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
149 | !endif | |
150 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
151 | ____DEBUGINFO_2_p = /D_DEBUG | |
152 | !endif | |
153 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
154 | ____DEBUGINFO_2_p = | |
155 | !endif | |
156 | !if "$(DEBUG_INFO)" == "0" | |
157 | ____DEBUGINFO_2_p = | |
158 | !endif | |
159 | !if "$(DEBUG_INFO)" == "1" | |
160 | ____DEBUGINFO_2_p = /D_DEBUG | |
161 | !endif | |
162 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
163 | ____DEBUGRUNTIME_2_p = | |
164 | !endif | |
165 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
166 | ____DEBUGRUNTIME_2_p = /D_DEBUG | |
167 | !endif | |
168 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
169 | ____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p) | |
170 | !endif | |
171 | ||
172 | ||
173 | all: $(OBJS) | |
174 | $(OBJS): | |
175 | -if not exist $(OBJS) mkdir $(OBJS) | |
176 | ||
177 | ### Targets: ### | |
178 | ||
179 | all: $(OBJS)\HelpGen.exe | |
180 | ||
181 | $(OBJS)\HelpGen_HelpGen.obj: .\src\HelpGen.cpp | |
182 | $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $** | |
183 | ||
184 | $(OBJS)\HelpGen_cjparser.obj: .\src\cjparser.cpp | |
185 | $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $** | |
186 | ||
187 | $(OBJS)\HelpGen_docripper.obj: .\src\docripper.cpp | |
188 | $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $** | |
189 | ||
190 | $(OBJS)\HelpGen_ifcontext.obj: .\src\ifcontext.cpp | |
191 | $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $** | |
192 | ||
193 | $(OBJS)\HelpGen_markup.obj: .\src\markup.cpp | |
194 | $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $** | |
195 | ||
196 | $(OBJS)\HelpGen_scriptbinder.obj: .\src\scriptbinder.cpp | |
197 | $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $** | |
198 | ||
199 | $(OBJS)\HelpGen_sourcepainter.obj: .\src\sourcepainter.cpp | |
200 | $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $** | |
201 | ||
202 | $(OBJS)\HelpGen_srcparser.obj: .\src\srcparser.cpp | |
203 | $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $** | |
204 | ||
205 | $(OBJS)\HelpGen_wx_extra_imps.obj: .\src\wx_extra_imps.cpp | |
206 | $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $** | |
207 | ||
208 | $(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS) | |
209 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE @<< | |
210 | $(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 | |
211 | << | |
212 | ||
213 | clean: | |
214 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
215 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
216 | -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe |