]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/foldbar/makefile.vc
Sample update - wxTE_AUTO_URL from Mart R. [patch 1126182]
[wxWidgets.git] / contrib / build / foldbar / makefile.vc
CommitLineData
f3ac19c2
WS
1# =========================================================================
2# This makefile was generated by
b14abf14 3# Bakefile 0.1.6 (http://bakefile.sourceforge.net)
f3ac19c2
WS
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
c33fae85 15WX_RELEASE_NODOT = 25
b14abf14 16WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
f3ac19c2
WS
17OBJS = \
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
b14abf14 19LIBDIRNAME = ..\..\src\foldbar\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
f3ac19c2
WS
20SETUPHDIR = \
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22FOLDBARDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_4) /DWIN32 \
23 $(__DEBUGINFO_1) \
c33fae85 24 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).pdb \
f3ac19c2
WS
25 $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
26 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
27 /I..\..\src\foldbar\..\..\..\include /I$(SETUPHDIR) /W4 \
28 /I..\..\src\foldbar\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_FOLDBAR \
29 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
30 /Fp"$(OBJS)\wxprec_foldbardll.pch" $(CPPFLAGS) $(CXXFLAGS)
31FOLDBARDLL_OBJECTS = \
32 $(OBJS)\foldbardll_dummy.obj \
33 $(OBJS)\foldbardll_captionbar.obj \
34 $(OBJS)\foldbardll_foldpanelbar.obj \
35 $(OBJS)\foldbardll_foldpanelitem.obj
36FOLDBARLIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
37 $(__DEBUGINFO_1) \
c33fae85 38 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.pdb \
f3ac19c2
WS
39 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
40 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
41 /I..\..\src\foldbar\..\..\..\include /I$(SETUPHDIR) /W4 \
42 /I..\..\src\foldbar\..\..\include $(__EXCEPTIONSFLAG) \
43 $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_foldbarlib.pch" \
44 $(CPPFLAGS) $(CXXFLAGS)
45FOLDBARLIB_OBJECTS = \
46 $(OBJS)\foldbarlib_dummy.obj \
47 $(OBJS)\foldbarlib_captionbar.obj \
48 $(OBJS)\foldbarlib_foldpanelbar.obj \
49 $(OBJS)\foldbarlib_foldpanelitem.obj
50
51### Conditionally set variables: ###
52
53!if "$(USE_GUI)" == "0"
54PORTNAME = base
55!endif
56!if "$(USE_GUI)" == "1"
57PORTNAME = msw
58!endif
59!if "$(OFFICIAL_BUILD)" == "0"
60VENDORTAG = _$(VENDOR)
61!endif
62!if "$(OFFICIAL_BUILD)" == "1"
63VENDORTAG =
64!endif
65!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
66WXDEBUGFLAG = d
67!endif
68!if "$(DEBUG_FLAG)" == "1"
69WXDEBUGFLAG = d
70!endif
71!if "$(UNICODE)" == "1"
72WXUNICODEFLAG = u
73!endif
74!if "$(WXUNIV)" == "1"
75WXUNIVNAME = univ
76!endif
77!if "$(SHARED)" == "1"
78WXDLLFLAG = dll
79!endif
b14abf14
JS
80!if "$(SHARED)" == "0"
81LIBTYPE_SUFFIX = lib
82!endif
83!if "$(SHARED)" == "1"
84LIBTYPE_SUFFIX = dll
85!endif
dd65d8c8
RN
86!if "$(MONOLITHIC)" == "0"
87EXTRALIBS_FOR_BASE =
88!endif
89!if "$(MONOLITHIC)" == "1"
90EXTRALIBS_FOR_BASE =
91!endif
f3ac19c2
WS
92!if "$(SHARED)" == "1"
93__foldbardll___depname = \
c33fae85 94 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).dll
f3ac19c2
WS
95!endif
96!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
97__DEBUGINFO_2 = /DEBUG
98!endif
99!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
100__DEBUGINFO_2 =
101!endif
102!if "$(DEBUG_INFO)" == "0"
103__DEBUGINFO_2 =
104!endif
105!if "$(DEBUG_INFO)" == "1"
106__DEBUGINFO_2 = /DEBUG
107!endif
108!if "$(DEBUG_RUNTIME_LIBS)" == "0"
109____DEBUGRUNTIME_3_p =
110!endif
111!if "$(DEBUG_RUNTIME_LIBS)" == "1"
112____DEBUGRUNTIME_3_p = /D_DEBUG
113!endif
114!if "$(DEBUG_RUNTIME_LIBS)" == "default"
115____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
116!endif
117!if "$(DEBUG_RUNTIME_LIBS)" == "0"
118__DEBUGRUNTIME_4 =
119!endif
120!if "$(DEBUG_RUNTIME_LIBS)" == "1"
121__DEBUGRUNTIME_4 = d
122!endif
123!if "$(DEBUG_RUNTIME_LIBS)" == "default"
124__DEBUGRUNTIME_4 = $(__DEBUGINFO)
125!endif
126!if "$(MONOLITHIC)" == "1"
127__WXLIB_MONO_p = \
c33fae85 128 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
f3ac19c2
WS
129!endif
130!if "$(USE_GUI)" == "1"
9c2d002b 131__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
f3ac19c2
WS
132!endif
133!if "$(USE_GUI)" == "1"
9c2d002b 134__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
f3ac19c2
WS
135!endif
136!if "$(USE_GUI)" == "1"
9c2d002b 137__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
f3ac19c2
WS
138!endif
139!if "$(MSLU)" == "1"
140__UNICOWS_LIB_p = unicows.lib
141!endif
142!if "$(MONOLITHIC)" == "0"
143__WXLIB_CORE_p = \
c33fae85 144 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
f3ac19c2
WS
145!endif
146!if "$(MONOLITHIC)" == "0"
c33fae85
RN
147__WXLIB_BASE_p = \
148 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
f3ac19c2
WS
149!endif
150!if "$(SHARED)" == "0"
151__foldbarlib___depname = \
c33fae85 152 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib
f3ac19c2
WS
153!endif
154!if "$(DEBUG_RUNTIME_LIBS)" == "0"
155____DEBUGRUNTIME_15_p =
156!endif
157!if "$(DEBUG_RUNTIME_LIBS)" == "1"
158____DEBUGRUNTIME_15_p = /D_DEBUG
159!endif
160!if "$(DEBUG_RUNTIME_LIBS)" == "default"
161____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
162!endif
163!if "$(DEBUG_RUNTIME_LIBS)" == "0"
164__DEBUGRUNTIME_16 =
165!endif
166!if "$(DEBUG_RUNTIME_LIBS)" == "1"
167__DEBUGRUNTIME_16 = d
168!endif
169!if "$(DEBUG_RUNTIME_LIBS)" == "default"
170__DEBUGRUNTIME_16 = $(__DEBUGINFO)
171!endif
172!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
173__DEBUGINFO_1 = /Zi
174!endif
175!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
176__DEBUGINFO_1 =
177!endif
178!if "$(DEBUG_INFO)" == "0"
179__DEBUGINFO_1 =
180!endif
181!if "$(DEBUG_INFO)" == "1"
182__DEBUGINFO_1 = /Zi
183!endif
184!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
185____DEBUGINFO = /D_DEBUG
186!endif
187!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
188____DEBUGINFO =
189!endif
190!if "$(DEBUG_INFO)" == "0"
191____DEBUGINFO =
192!endif
193!if "$(DEBUG_INFO)" == "1"
194____DEBUGINFO = /D_DEBUG
195!endif
196!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
197__DEBUGINFO = d
198!endif
199!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
200__DEBUGINFO =
201!endif
202!if "$(DEBUG_INFO)" == "0"
203__DEBUGINFO =
204!endif
205!if "$(DEBUG_INFO)" == "1"
206__DEBUGINFO = d
207!endif
208!if "$(BUILD)" == "debug"
209__OPTIMIZEFLAG = /Od
210!endif
211!if "$(BUILD)" == "release"
212__OPTIMIZEFLAG = /O2
213!endif
214!if "$(RUNTIME_LIBS)" == "dynamic"
215__RUNTIME_LIBS = D
216!endif
217!if "$(RUNTIME_LIBS)" == "static"
218__RUNTIME_LIBS = T
219!endif
220!if "$(USE_EXCEPTIONS)" == "0"
221__EXCEPTIONSFLAG =
222!endif
223!if "$(USE_EXCEPTIONS)" == "1"
224__EXCEPTIONSFLAG = /GR
225!endif
226!if "$(USE_EXCEPTIONS)" == "0"
227__EXCEPTIONSFLAG_0 =
228!endif
229!if "$(USE_EXCEPTIONS)" == "1"
230__EXCEPTIONSFLAG_0 = /GX
231!endif
232!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
233__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
234!endif
235!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
236__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
237!endif
238!if "$(WXUNIV)" == "1"
239__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
240!endif
241!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
242__DEBUG_DEFINE_p = /D__WXDEBUG__
243!endif
244!if "$(DEBUG_FLAG)" == "1"
245__DEBUG_DEFINE_p = /D__WXDEBUG__
246!endif
247!if "$(UNICODE)" == "1"
248__UNICODE_DEFINE_p = /D_UNICODE
249!endif
f3ac19c2
WS
250
251
252all: $(OBJS)
253$(OBJS):
254 -if not exist $(OBJS) mkdir $(OBJS)
255
256### Targets: ###
257
258all: $(__foldbardll___depname) $(__foldbarlib___depname)
259
260clean:
261 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
262 -if exist $(OBJS)\*.res del $(OBJS)\*.res
b14abf14 263 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
c33fae85
RN
264 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).dll
265 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).ilk
266 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).pdb
267 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib
268 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib
f3ac19c2
WS
269
270!if "$(SHARED)" == "1"
c33fae85 271$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).dll: $(OBJS)\foldbardll_dummy.obj $(FOLDBARDLL_OBJECTS)
f3ac19c2 272 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
dd65d8c8 273 $(FOLDBARDLL_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)_foldbar.lib
f3ac19c2
WS
274<<
275!endif
276
277!if "$(SHARED)" == "0"
c33fae85 278$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib: $(OBJS)\foldbarlib_dummy.obj $(FOLDBARLIB_OBJECTS)
f3ac19c2
WS
279 if exist $@ del $@
280 lib /NOLOGO /OUT:$@ @<<
281 $(FOLDBARLIB_OBJECTS)
282<<
283!endif
284
285$(OBJS)\foldbardll_dummy.obj: ../../src/foldbar\..\..\..\src\msw\dummy.cpp
286 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) /Ycwx/wxprec.h $**
287
288$(OBJS)\foldbardll_captionbar.obj: ../../src/foldbar\captionbar.cpp
289 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
290
291$(OBJS)\foldbardll_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
292 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
293
294$(OBJS)\foldbardll_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
295 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
296
297$(OBJS)\foldbarlib_dummy.obj: ../../src/foldbar\..\..\..\src\msw\dummy.cpp
298 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) /Ycwx/wxprec.h $**
299
300$(OBJS)\foldbarlib_captionbar.obj: ../../src/foldbar\captionbar.cpp
301 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**
302
303$(OBJS)\foldbarlib_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
304 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**
305
306$(OBJS)\foldbarlib_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
307 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**
b14abf14 308