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 # =========================================================================
7 !include <../../../build/msw/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
16 ..\..\src\plot\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 PLOTDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \
21 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_vc$(VENDORTAG).pdb \
22 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
23 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
24 /I..\..\src\plot\..\..\..\include /I$(LIBDIRNAME) \
25 /I..\..\src\plot\..\..\..\src\tiff /I..\..\src\plot\..\..\..\src\jpeg \
26 /I..\..\src\plot\..\..\..\src\png /I..\..\src\plot\..\..\..\src\zlib \
27 /I..\..\src\plot\..\..\..\src\regex \
28 /I..\..\src\plot\..\..\..\src\expat\lib /I..\..\src\plot\..\..\include \
29 /DWXUSINGDLL /DWXMAKINGDLL_PLOT $(CXXFLAGS) /Yu"wx/wxprec.h" \
30 /Fp"$(OBJS)\wxprec_plotdll.pch"
32 $(OBJS)\plotdll_dummy.obj \
33 $(OBJS)\plotdll_plot.obj
34 PLOTLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_12) /DWIN32 \
36 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.pdb \
37 $(____DEBUGRUNTIME_11_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
38 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
39 /I..\..\src\plot\..\..\..\include /I$(LIBDIRNAME) \
40 /I..\..\src\plot\..\..\..\src\tiff /I..\..\src\plot\..\..\..\src\jpeg \
41 /I..\..\src\plot\..\..\..\src\png /I..\..\src\plot\..\..\..\src\zlib \
42 /I..\..\src\plot\..\..\..\src\regex \
43 /I..\..\src\plot\..\..\..\src\expat\lib /I..\..\src\plot\..\..\include \
44 $(CXXFLAGS) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_plotlib.pch"
46 $(OBJS)\plotlib_dummy.obj \
47 $(OBJS)\plotlib_plot.obj
49 ### Conditionally set variables: ###
51 !if "$(USE_GUI)" == "0"
54 !if "$(USE_GUI)" == "1"
57 !if "$(OFFICIAL_BUILD)" == "0"
58 VENDORTAG = _$(VENDOR)
60 !if "$(OFFICIAL_BUILD)" == "1"
63 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
66 !if "$(DEBUG_FLAG)" == "1"
69 !if "$(SHARED)" == "1"
72 !if "$(UNICODE)" == "1"
75 !if "$(WXUNIV)" == "1"
78 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
81 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
84 !if "$(DEBUG_INFO)" == "0"
87 !if "$(DEBUG_INFO)" == "1"
90 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
91 __DEBUGINFO_1 = /DEBUG
93 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
96 !if "$(DEBUG_INFO)" == "0"
99 !if "$(DEBUG_INFO)" == "1"
100 __DEBUGINFO_1 = /DEBUG
102 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
105 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
108 !if "$(DEBUG_INFO)" == "0"
111 !if "$(DEBUG_INFO)" == "1"
114 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
117 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
118 __DEBUGRUNTIME_12 = d
120 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
121 __DEBUGRUNTIME_12 = $(__DEBUGINFO)
123 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
126 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
129 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
130 __DEBUGRUNTIME_3 = $(__DEBUGINFO)
132 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
133 __DEBUG_DEFINE_p = /D__WXDEBUG__
135 !if "$(DEBUG_FLAG)" == "1"
136 __DEBUG_DEFINE_p = /D__WXDEBUG__
138 !if "$(USE_GUI)" == "1"
139 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
141 !if "$(USE_GUI)" == "1"
142 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
144 !if "$(USE_GUI)" == "1"
145 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
147 !if "$(BUILD)" == "debug"
150 !if "$(BUILD)" == "release"
153 !if "$(RUNTIME_LIBS)" == "dynamic"
156 !if "$(RUNTIME_LIBS)" == "static"
159 !if "$(UNICODE)" == "1"
160 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
162 !if "$(MONOLITHIC)" == "0"
163 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
165 !if "$(MONOLITHIC)" == "0"
167 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
169 !if "$(MONOLITHIC)" == "1"
171 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
173 !if "$(WXUNIV)" == "1"
174 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
176 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
177 ____DEBUGINFO = /D_DEBUG
179 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
182 !if "$(DEBUG_INFO)" == "0"
185 !if "$(DEBUG_INFO)" == "1"
186 ____DEBUGINFO = /D_DEBUG
188 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
189 ____DEBUGRUNTIME_11_p =
191 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
192 ____DEBUGRUNTIME_11_p = /D_DEBUG
194 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
195 ____DEBUGRUNTIME_11_p = $(____DEBUGINFO)
197 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
198 ____DEBUGRUNTIME_2_p =
200 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
201 ____DEBUGRUNTIME_2_p = /D_DEBUG
203 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
204 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
206 !if "$(SHARED)" == "1"
207 __plotdll___depname = \
208 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_vc$(VENDORTAG).dll
210 !if "$(SHARED)" == "0"
211 __plotlib___depname = \
212 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib
218 -if not exist $(OBJS) mkdir $(OBJS)
222 all: $(__plotdll___depname) $(__plotlib___depname)
224 $(OBJS)\plotdll_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
225 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) /Ycwx/wxprec.h $**
227 $(OBJS)\plotdll_plot.obj: ../../src/plot\plot.cpp
228 $(CXX) /c /nologo /TP /Fo$@ $(PLOTDLL_CXXFLAGS) $**
230 $(OBJS)\plotlib_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
231 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) /Ycwx/wxprec.h $**
233 $(OBJS)\plotlib_plot.obj: ../../src/plot\plot.cpp
234 $(CXX) /c /nologo /TP /Fo$@ $(PLOTLIB_CXXFLAGS) $**
237 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
238 -if exist $(OBJS)\*.res del $(OBJS)\*.res
239 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_vc$(VENDORTAG).dll
240 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib
241 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib
243 !if "$(SHARED)" == "1"
244 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_vc$(VENDORTAG).dll: $(PLOTDLL_OBJECTS) $(OBJS)\plotdll_dummy.obj
245 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
246 $(PLOTDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib 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 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib
250 !if "$(SHARED)" == "0"
251 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib: $(PLOTLIB_OBJECTS) $(OBJS)\plotlib_dummy.obj
253 lib /NOLOGO /OUT:$@ @<<