]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/build/plot/makefile.vc
1.10.2 and less mbtowc and wctomb HAVE THE COOTIEScd .. (they are just stubs and...
[wxWidgets.git] / contrib / build / plot / makefile.vc
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.4 (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
15WX_RELEASE_NODOT = 25
16WX_VERSION_NODOT = $(WX_RELEASE_NODOT)2
17OBJS = \
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19SETUPHDIR = \
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21PLOTDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_4) /DWIN32 \
22 $(__DEBUGINFO_1) \
23 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).pdb \
24 $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
25 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
26 /I..\..\src\plot\..\..\..\include /I$(SETUPHDIR) /W4 \
27 /I..\..\src\plot\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_PLOT \
28 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
29 /Fp"$(OBJS)\wxprec_plotdll.pch" $(CPPFLAGS) $(CXXFLAGS)
30PLOTDLL_OBJECTS = \
31 $(OBJS)\plotdll_dummy.obj \
32 $(OBJS)\plotdll_plot.obj
33PLOTLIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
34 $(__DEBUGINFO_1) \
35 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.pdb \
36 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
37 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
38 /I..\..\src\plot\..\..\..\include /I$(SETUPHDIR) /W4 \
39 /I..\..\src\plot\..\..\include $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
40 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_plotlib.pch" $(CPPFLAGS) $(CXXFLAGS)
41PLOTLIB_OBJECTS = \
42 $(OBJS)\plotlib_dummy.obj \
43 $(OBJS)\plotlib_plot.obj
44
45### Conditionally set variables: ###
46
47!if "$(USE_GUI)" == "0"
48PORTNAME = base
49!endif
50!if "$(USE_GUI)" == "1"
51PORTNAME = msw
52!endif
53!if "$(OFFICIAL_BUILD)" == "0"
54VENDORTAG = _$(VENDOR)
55!endif
56!if "$(OFFICIAL_BUILD)" == "1"
57VENDORTAG =
58!endif
59!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
60WXDEBUGFLAG = d
61!endif
62!if "$(DEBUG_FLAG)" == "1"
63WXDEBUGFLAG = d
64!endif
65!if "$(UNICODE)" == "1"
66WXUNICODEFLAG = u
67!endif
68!if "$(WXUNIV)" == "1"
69WXUNIVNAME = univ
70!endif
71!if "$(SHARED)" == "1"
72WXDLLFLAG = dll
73!endif
74!if "$(SHARED)" == "1"
75__plotdll___depname = \
76 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).dll
77!endif
78!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
79__DEBUGINFO_2 = /DEBUG
80!endif
81!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
82__DEBUGINFO_2 =
83!endif
84!if "$(DEBUG_INFO)" == "0"
85__DEBUGINFO_2 =
86!endif
87!if "$(DEBUG_INFO)" == "1"
88__DEBUGINFO_2 = /DEBUG
89!endif
90!if "$(DEBUG_RUNTIME_LIBS)" == "0"
91____DEBUGRUNTIME_3_p =
92!endif
93!if "$(DEBUG_RUNTIME_LIBS)" == "1"
94____DEBUGRUNTIME_3_p = /D_DEBUG
95!endif
96!if "$(DEBUG_RUNTIME_LIBS)" == "default"
97____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
98!endif
99!if "$(DEBUG_RUNTIME_LIBS)" == "0"
100__DEBUGRUNTIME_4 =
101!endif
102!if "$(DEBUG_RUNTIME_LIBS)" == "1"
103__DEBUGRUNTIME_4 = d
104!endif
105!if "$(DEBUG_RUNTIME_LIBS)" == "default"
106__DEBUGRUNTIME_4 = $(__DEBUGINFO)
107!endif
108!if "$(MONOLITHIC)" == "1"
109__WXLIB_MONO_p = \
110 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
111!endif
112!if "$(USE_GUI)" == "1"
113__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
114!endif
115!if "$(USE_GUI)" == "1"
116__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
117!endif
118!if "$(USE_GUI)" == "1"
119__LIB_PNG_p = wxpng$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
120!endif
121!if "$(MSLU)" == "1"
122__UNICOWS_LIB_p = unicows.lib
123!endif
124!if "$(MONOLITHIC)" == "0"
125__WXLIB_CORE_p = \
126 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
127!endif
128!if "$(MONOLITHIC)" == "0"
129__WXLIB_BASE_p = \
130 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
131!endif
132!if "$(SHARED)" == "0"
133__plotlib___depname = \
134 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib
135!endif
136!if "$(DEBUG_RUNTIME_LIBS)" == "0"
137____DEBUGRUNTIME_15_p =
138!endif
139!if "$(DEBUG_RUNTIME_LIBS)" == "1"
140____DEBUGRUNTIME_15_p = /D_DEBUG
141!endif
142!if "$(DEBUG_RUNTIME_LIBS)" == "default"
143____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
144!endif
145!if "$(DEBUG_RUNTIME_LIBS)" == "0"
146__DEBUGRUNTIME_16 =
147!endif
148!if "$(DEBUG_RUNTIME_LIBS)" == "1"
149__DEBUGRUNTIME_16 = d
150!endif
151!if "$(DEBUG_RUNTIME_LIBS)" == "default"
152__DEBUGRUNTIME_16 = $(__DEBUGINFO)
153!endif
154!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
155__DEBUGINFO_1 = /Zi
156!endif
157!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
158__DEBUGINFO_1 =
159!endif
160!if "$(DEBUG_INFO)" == "0"
161__DEBUGINFO_1 =
162!endif
163!if "$(DEBUG_INFO)" == "1"
164__DEBUGINFO_1 = /Zi
165!endif
166!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
167____DEBUGINFO = /D_DEBUG
168!endif
169!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
170____DEBUGINFO =
171!endif
172!if "$(DEBUG_INFO)" == "0"
173____DEBUGINFO =
174!endif
175!if "$(DEBUG_INFO)" == "1"
176____DEBUGINFO = /D_DEBUG
177!endif
178!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
179__DEBUGINFO = d
180!endif
181!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
182__DEBUGINFO =
183!endif
184!if "$(DEBUG_INFO)" == "0"
185__DEBUGINFO =
186!endif
187!if "$(DEBUG_INFO)" == "1"
188__DEBUGINFO = d
189!endif
190!if "$(BUILD)" == "debug"
191__OPTIMIZEFLAG = /Od
192!endif
193!if "$(BUILD)" == "release"
194__OPTIMIZEFLAG = /O2
195!endif
196!if "$(RUNTIME_LIBS)" == "dynamic"
197__RUNTIME_LIBS = D
198!endif
199!if "$(RUNTIME_LIBS)" == "static"
200__RUNTIME_LIBS = T
201!endif
202!if "$(USE_EXCEPTIONS)" == "0"
203__EXCEPTIONSFLAG =
204!endif
205!if "$(USE_EXCEPTIONS)" == "1"
206__EXCEPTIONSFLAG = /GR
207!endif
208!if "$(USE_EXCEPTIONS)" == "0"
209__EXCEPTIONSFLAG_0 =
210!endif
211!if "$(USE_EXCEPTIONS)" == "1"
212__EXCEPTIONSFLAG_0 = /GX
213!endif
214!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
215__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
216!endif
217!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
218__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
219!endif
220!if "$(WXUNIV)" == "1"
221__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
222!endif
223!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
224__DEBUG_DEFINE_p = /D__WXDEBUG__
225!endif
226!if "$(DEBUG_FLAG)" == "1"
227__DEBUG_DEFINE_p = /D__WXDEBUG__
228!endif
229!if "$(UNICODE)" == "1"
230__UNICODE_DEFINE_p = /D_UNICODE
231!endif
232!if "$(SHARED)" == "0"
233LIBDIRNAME = ..\..\src\plot\..\..\..\lib\vc_lib$(CFG)
234!endif
235!if "$(SHARED)" == "1"
236LIBDIRNAME = ..\..\src\plot\..\..\..\lib\vc_dll$(CFG)
237!endif
238
239
240all: $(OBJS)
241$(OBJS):
242 -if not exist $(OBJS) mkdir $(OBJS)
243
244### Targets: ###
245
246all: $(__plotdll___depname) $(__plotlib___depname)
247
248clean:
249 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
250 -if exist $(OBJS)\*.res del $(OBJS)\*.res
251 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).dll
252 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).ilk
253 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).pdb
254 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib
255 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib
256
257!if "$(SHARED)" == "1"
258$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).dll: $(OBJS)\plotdll_dummy.obj $(PLOTDLL_OBJECTS)
259 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
260 $(PLOTDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxexpat$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib
261<<
262!endif
263
264!if "$(SHARED)" == "0"
265$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib: $(OBJS)\plotlib_dummy.obj $(PLOTLIB_OBJECTS)
266 if exist $@ del $@
267 lib /NOLOGO /OUT:$@ @<<
268 $(PLOTLIB_OBJECTS)
269<<
270!endif
271
272$(OBJS)\plotdll_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
273 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) /Ycwx/wxprec.h $**
274
275$(OBJS)\plotdll_plot.obj: ../../src/plot\plot.cpp
276 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) $**
277
278$(OBJS)\plotlib_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
279 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) /Ycwx/wxprec.h $**
280
281$(OBJS)\plotlib_plot.obj: ../../src/plot\plot.cpp
282 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) $**