]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/plot/makefile.vc
Another STL compilation fix.
[wxWidgets.git] / contrib / build / plot / makefile.vc
CommitLineData
15e8daec
VS
1# =========================================================================
2# This makefile was generated by
8c9f8f91 3# Bakefile 0.1.8 (http://bakefile.sourceforge.net)
15e8daec
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
fd9f42b6 7!include <../../../build/msw/config.vc>
15e8daec
VS
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
4818141b 15WX_RELEASE_NODOT = 26
15e8daec
VS
16OBJS = \
17 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
b14abf14 18LIBDIRNAME = ..\..\src\plot\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
b17c1746
DE
19SETUPHDIR = \
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21c6080d 21PLOTDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_9)$(__DEBUGRUNTIME) /DWIN32 \
c4839ccf 22 $(__DEBUGINFO_1) \
4818141b 23 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).pdb \
21c6080d 24 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
8c9f8f91
JS
25 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
26 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
ec08d395 27 /I..\..\src\plot\..\..\..\include /I$(SETUPHDIR) /W4 \
9bfe7ad9 28 /I..\..\src\plot\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_PLOT \
8c9f8f91 29 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" \
9bfe7ad9 30 /Fp"$(OBJS)\wxprec_plotdll.pch" $(CPPFLAGS) $(CXXFLAGS)
15e8daec
VS
31PLOTDLL_OBJECTS = \
32 $(OBJS)\plotdll_dummy.obj \
8c9f8f91 33 $(OBJS)\plotdll_version.res \
15e8daec 34 $(OBJS)\plotdll_plot.obj
21c6080d 35PLOTLIB_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME) /DWIN32 \
c4839ccf 36 $(__DEBUGINFO_1) \
c33fae85 37 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.pdb \
21c6080d 38 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
8c9f8f91
JS
39 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
40 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
ec08d395 41 /I..\..\src\plot\..\..\..\include /I$(SETUPHDIR) /W4 \
8c9f8f91 42 /I..\..\src\plot\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
9bfe7ad9 43 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_plotlib.pch" $(CPPFLAGS) $(CXXFLAGS)
15e8daec
VS
44PLOTLIB_OBJECTS = \
45 $(OBJS)\plotlib_dummy.obj \
46 $(OBJS)\plotlib_plot.obj
47
48### Conditionally set variables: ###
49
50!if "$(USE_GUI)" == "0"
51PORTNAME = base
52!endif
53!if "$(USE_GUI)" == "1"
54PORTNAME = msw
55!endif
56!if "$(OFFICIAL_BUILD)" == "0"
57VENDORTAG = _$(VENDOR)
58!endif
59!if "$(OFFICIAL_BUILD)" == "1"
60VENDORTAG =
61!endif
62!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
63WXDEBUGFLAG = d
64!endif
65!if "$(DEBUG_FLAG)" == "1"
66WXDEBUGFLAG = d
67!endif
15e8daec
VS
68!if "$(UNICODE)" == "1"
69WXUNICODEFLAG = u
70!endif
71!if "$(WXUNIV)" == "1"
72WXUNIVNAME = univ
73!endif
b17c1746
DE
74!if "$(SHARED)" == "1"
75WXDLLFLAG = dll
15e8daec 76!endif
b14abf14
JS
77!if "$(SHARED)" == "0"
78LIBTYPE_SUFFIX = lib
79!endif
80!if "$(SHARED)" == "1"
81LIBTYPE_SUFFIX = dll
82!endif
dd65d8c8
RN
83!if "$(MONOLITHIC)" == "0"
84EXTRALIBS_FOR_BASE =
85!endif
86!if "$(MONOLITHIC)" == "1"
87EXTRALIBS_FOR_BASE =
88!endif
b17c1746
DE
89!if "$(SHARED)" == "1"
90__plotdll___depname = \
4818141b 91 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).dll
15e8daec
VS
92!endif
93!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
c4839ccf 94__DEBUGINFO_2 = /DEBUG
15e8daec
VS
95!endif
96!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
c4839ccf 97__DEBUGINFO_2 =
15e8daec
VS
98!endif
99!if "$(DEBUG_INFO)" == "0"
c4839ccf 100__DEBUGINFO_2 =
15e8daec
VS
101!endif
102!if "$(DEBUG_INFO)" == "1"
c4839ccf 103__DEBUGINFO_2 = /DEBUG
15e8daec 104!endif
21c6080d
JS
105!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
106____DEBUGRUNTIME_3_p_1 = /d _DEBUG
15e8daec 107!endif
21c6080d
JS
108!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
109____DEBUGRUNTIME_3_p_1 =
15e8daec
VS
110!endif
111!if "$(DEBUG_RUNTIME_LIBS)" == "0"
8c9f8f91
JS
112____DEBUGRUNTIME_3_p_1 =
113!endif
114!if "$(DEBUG_RUNTIME_LIBS)" == "1"
115____DEBUGRUNTIME_3_p_1 = /d _DEBUG
116!endif
8c9f8f91
JS
117!if "$(RUNTIME_LIBS)" == "dynamic"
118__RUNTIME_LIBS_9 = D
119!endif
120!if "$(RUNTIME_LIBS)" == "static"
121__RUNTIME_LIBS_9 = $(__THREADSFLAG)
122!endif
123!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
124__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
125!endif
126!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
127__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
128!endif
129!if "$(WXUNIV)" == "1"
130__WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
131!endif
132!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
133__DEBUG_DEFINE_p_1 = /d __WXDEBUG__
134!endif
135!if "$(DEBUG_FLAG)" == "1"
136__DEBUG_DEFINE_p_1 = /d __WXDEBUG__
137!endif
138!if "$(USE_EXCEPTIONS)" == "0"
139__EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
140!endif
141!if "$(USE_RTTI)" == "0"
142__RTTI_DEFINE_p_1 = /d wxNO_RTTI
143!endif
144!if "$(USE_THREADS)" == "0"
145__THREAD_DEFINE_p_1 = /d wxNO_THREADS
146!endif
147!if "$(UNICODE)" == "1"
148__UNICODE_DEFINE_p_1 = /d _UNICODE
149!endif
b17c1746
DE
150!if "$(MONOLITHIC)" == "1"
151__WXLIB_MONO_p = \
c33fae85 152 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
a4ad36cd 153!endif
b17c1746 154!if "$(USE_GUI)" == "1"
9c2d002b 155__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
a4ad36cd 156!endif
15e8daec 157!if "$(USE_GUI)" == "1"
9c2d002b 158__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
15e8daec
VS
159!endif
160!if "$(USE_GUI)" == "1"
9c2d002b 161__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
15e8daec 162!endif
b17c1746
DE
163!if "$(MSLU)" == "1"
164__UNICOWS_LIB_p = unicows.lib
15e8daec 165!endif
b17c1746
DE
166!if "$(MONOLITHIC)" == "0"
167__WXLIB_CORE_p = \
c33fae85 168 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
ec08d395 169!endif
b17c1746 170!if "$(MONOLITHIC)" == "0"
c33fae85
RN
171__WXLIB_BASE_p = \
172 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
ec08d395 173!endif
b17c1746
DE
174!if "$(SHARED)" == "0"
175__plotlib___depname = \
c33fae85 176 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib
15e8daec 177!endif
8c9f8f91
JS
178!if "$(RUNTIME_LIBS)" == "dynamic"
179__RUNTIME_LIBS_22 = D
180!endif
181!if "$(RUNTIME_LIBS)" == "static"
182__RUNTIME_LIBS_22 = $(__THREADSFLAG)
15e8daec 183!endif
b17c1746 184!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
c4839ccf 185__DEBUGINFO_1 = /Zi
15e8daec 186!endif
b17c1746 187!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
c4839ccf 188__DEBUGINFO_1 =
15e8daec 189!endif
b17c1746 190!if "$(DEBUG_INFO)" == "0"
c4839ccf 191__DEBUGINFO_1 =
b17c1746
DE
192!endif
193!if "$(DEBUG_INFO)" == "1"
c4839ccf 194__DEBUGINFO_1 = /Zi
15e8daec 195!endif
21c6080d
JS
196!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
197____DEBUGRUNTIME = /D_DEBUG
15e8daec 198!endif
21c6080d
JS
199!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
200____DEBUGRUNTIME =
15e8daec 201!endif
21c6080d
JS
202!if "$(DEBUG_RUNTIME_LIBS)" == "0"
203____DEBUGRUNTIME =
15e8daec 204!endif
21c6080d
JS
205!if "$(DEBUG_RUNTIME_LIBS)" == "1"
206____DEBUGRUNTIME = /D_DEBUG
15e8daec 207!endif
21c6080d
JS
208!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
209__DEBUGRUNTIME = d
15e8daec 210!endif
21c6080d
JS
211!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
212__DEBUGRUNTIME =
15e8daec 213!endif
21c6080d
JS
214!if "$(DEBUG_RUNTIME_LIBS)" == "0"
215__DEBUGRUNTIME =
15e8daec 216!endif
21c6080d
JS
217!if "$(DEBUG_RUNTIME_LIBS)" == "1"
218__DEBUGRUNTIME = d
15e8daec 219!endif
b17c1746
DE
220!if "$(BUILD)" == "debug"
221__OPTIMIZEFLAG = /Od
15e8daec 222!endif
b17c1746
DE
223!if "$(BUILD)" == "release"
224__OPTIMIZEFLAG = /O2
15e8daec 225!endif
8c9f8f91
JS
226!if "$(USE_THREADS)" == "0"
227__THREADSFLAG = L
b17c1746 228!endif
8c9f8f91
JS
229!if "$(USE_THREADS)" == "1"
230__THREADSFLAG = T
b17c1746 231!endif
8c9f8f91
JS
232!if "$(USE_RTTI)" == "0"
233__RTTIFLAG =
b17c1746 234!endif
8c9f8f91
JS
235!if "$(USE_RTTI)" == "1"
236__RTTIFLAG = /GR
b17c1746
DE
237!endif
238!if "$(USE_EXCEPTIONS)" == "0"
8c9f8f91 239__EXCEPTIONSFLAG =
b17c1746
DE
240!endif
241!if "$(USE_EXCEPTIONS)" == "1"
8c9f8f91 242__EXCEPTIONSFLAG = /EHsc
b17c1746
DE
243!endif
244!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
245__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
246!endif
247!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
248__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
249!endif
250!if "$(WXUNIV)" == "1"
251__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
252!endif
253!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
254__DEBUG_DEFINE_p = /D__WXDEBUG__
255!endif
256!if "$(DEBUG_FLAG)" == "1"
257__DEBUG_DEFINE_p = /D__WXDEBUG__
258!endif
8c9f8f91
JS
259!if "$(USE_EXCEPTIONS)" == "0"
260__EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
261!endif
262!if "$(USE_RTTI)" == "0"
263__RTTI_DEFINE_p = /DwxNO_RTTI
264!endif
265!if "$(USE_THREADS)" == "0"
266__THREAD_DEFINE_p = /DwxNO_THREADS
267!endif
b17c1746
DE
268!if "$(UNICODE)" == "1"
269__UNICODE_DEFINE_p = /D_UNICODE
15e8daec 270!endif
15e8daec
VS
271
272
273all: $(OBJS)
274$(OBJS):
275 -if not exist $(OBJS) mkdir $(OBJS)
276
277### Targets: ###
278
279all: $(__plotdll___depname) $(__plotlib___depname)
280
15e8daec
VS
281clean:
282 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
283 -if exist $(OBJS)\*.res del $(OBJS)\*.res
b14abf14 284 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
4818141b
JS
285 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).dll
286 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).ilk
287 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).pdb
c33fae85
RN
288 -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
289 -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
15e8daec
VS
290
291!if "$(SHARED)" == "1"
4818141b 292$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG).dll: $(OBJS)\plotdll_dummy.obj $(PLOTDLL_OBJECTS) $(OBJS)\plotdll_version.res
c4839ccf 293 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
dd65d8c8 294 $(PLOTDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__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
15e8daec
VS
295<<
296!endif
297
298!if "$(SHARED)" == "0"
c33fae85 299$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib: $(OBJS)\plotlib_dummy.obj $(PLOTLIB_OBJECTS)
15e8daec
VS
300 if exist $@ del $@
301 lib /NOLOGO /OUT:$@ @<<
302 $(PLOTLIB_OBJECTS)
303<<
304!endif
b17c1746
DE
305
306$(OBJS)\plotdll_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
307 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) /Ycwx/wxprec.h $**
308
102d46f3 309$(OBJS)\plotdll_version.res: ../../src/plot\..\..\..\src\msw\version.rc
4818141b 310 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) /i ..\..\src\plot\..\..\..\include /i $(SETUPHDIR) /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_vc$(VENDORTAG) $**
8c9f8f91 311
b17c1746
DE
312$(OBJS)\plotdll_plot.obj: ../../src/plot\plot.cpp
313 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) $**
314
315$(OBJS)\plotlib_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
316 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) /Ycwx/wxprec.h $**
317
318$(OBJS)\plotlib_plot.obj: ../../src/plot\plot.cpp
319 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) $**
b14abf14 320