]> git.saurik.com Git - wxWidgets.git/blame - samples/ipc/makefile.vc
fixed sending 2 events (normal and bogus cancel one) when ending to edit a tree ctrl...
[wxWidgets.git] / samples / ipc / makefile.vc
CommitLineData
0706fb23
VS
1# =========================================================================
2# This makefile was generated by
c4839ccf 3# Bakefile 0.1.4 (http://bakefile.sourceforge.net)
0706fb23
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
7921cf2b 6
fd9f42b6 7!include <../../build/msw/config.vc>
0706fb23
VS
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
b17c1746
DE
15OBJS = \
16 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17SETUPHDIR = \
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
9bfe7ad9 19CLIENT_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \
b17c1746 20 $(__DEBUGINFO) /Fd$(OBJS)\client.pdb $(____DEBUGRUNTIME_2_p) \
ec08d395
JS
21 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
22 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\include /I$(SETUPHDIR) \
b17c1746
DE
23 /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples $(__EXCEPTIONSFLAG) \
24 $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
d179e30b
VS
25CLIENT_OBJECTS = \
26 $(OBJS)\client_sample.res \
27 $(OBJS)\client_client.obj
9bfe7ad9 28SERVER_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
b17c1746 29 $(__DEBUGINFO) /Fd$(OBJS)\server.pdb $(____DEBUGRUNTIME_15_p) \
ec08d395
JS
30 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
31 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\include /I$(SETUPHDIR) \
b17c1746
DE
32 /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples $(__EXCEPTIONSFLAG) \
33 $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
d179e30b
VS
34SERVER_OBJECTS = \
35 $(OBJS)\server_sample.res \
36 $(OBJS)\server_server.obj
0706fb23
VS
37
38### Conditionally set variables: ###
39
40!if "$(USE_GUI)" == "0"
41PORTNAME = base
42!endif
43!if "$(USE_GUI)" == "1"
44PORTNAME = msw
45!endif
076f10e0
VS
46!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
47WXDEBUGFLAG = d
48!endif
49!if "$(DEBUG_FLAG)" == "1"
0706fb23
VS
50WXDEBUGFLAG = d
51!endif
0706fb23
VS
52!if "$(UNICODE)" == "1"
53WXUNICODEFLAG = u
54!endif
55!if "$(WXUNIV)" == "1"
56WXUNIVNAME = univ
57!endif
b17c1746
DE
58!if "$(SHARED)" == "1"
59WXDLLFLAG = dll
60!endif
61!if "$(DEBUG_RUNTIME_LIBS)" == "0"
62____DEBUGRUNTIME_2_p =
63!endif
64!if "$(DEBUG_RUNTIME_LIBS)" == "1"
65____DEBUGRUNTIME_2_p = /D_DEBUG
66!endif
67!if "$(DEBUG_RUNTIME_LIBS)" == "default"
68____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
69!endif
70!if "$(DEBUG_RUNTIME_LIBS)" == "0"
71____DEBUGRUNTIME_2_p_1 =
72!endif
73!if "$(DEBUG_RUNTIME_LIBS)" == "1"
74____DEBUGRUNTIME_2_p_1 = /d _DEBUG
75!endif
76!if "$(DEBUG_RUNTIME_LIBS)" == "default"
77____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_0)
78!endif
79!if "$(DEBUG_RUNTIME_LIBS)" == "0"
80__DEBUGRUNTIME_3 =
81!endif
82!if "$(DEBUG_RUNTIME_LIBS)" == "1"
83__DEBUGRUNTIME_3 = d
84!endif
85!if "$(DEBUG_RUNTIME_LIBS)" == "default"
86__DEBUGRUNTIME_3 = $(__DEBUGINFO_2)
87!endif
88!if "$(DEBUG_RUNTIME_LIBS)" == "0"
89____DEBUGRUNTIME_15_p =
90!endif
91!if "$(DEBUG_RUNTIME_LIBS)" == "1"
92____DEBUGRUNTIME_15_p = /D_DEBUG
93!endif
94!if "$(DEBUG_RUNTIME_LIBS)" == "default"
95____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
96!endif
97!if "$(DEBUG_RUNTIME_LIBS)" == "0"
98____DEBUGRUNTIME_15_p_1 =
99!endif
100!if "$(DEBUG_RUNTIME_LIBS)" == "1"
101____DEBUGRUNTIME_15_p_1 = /d _DEBUG
102!endif
103!if "$(DEBUG_RUNTIME_LIBS)" == "default"
104____DEBUGRUNTIME_15_p_1 = $(____DEBUGINFO_0)
105!endif
106!if "$(DEBUG_RUNTIME_LIBS)" == "0"
107__DEBUGRUNTIME_16 =
108!endif
109!if "$(DEBUG_RUNTIME_LIBS)" == "1"
110__DEBUGRUNTIME_16 = d
111!endif
112!if "$(DEBUG_RUNTIME_LIBS)" == "default"
113__DEBUGRUNTIME_16 = $(__DEBUGINFO_2)
114!endif
076f10e0 115!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
b17c1746 116__DEBUGINFO = /Zi
250700e4 117!endif
076f10e0 118!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
d179e30b 119__DEBUGINFO =
250700e4 120!endif
076f10e0 121!if "$(DEBUG_INFO)" == "0"
d179e30b 122__DEBUGINFO =
250700e4 123!endif
076f10e0 124!if "$(DEBUG_INFO)" == "1"
b17c1746 125__DEBUGINFO = /Zi
250700e4 126!endif
076f10e0
VS
127!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
128__DEBUGINFO_1 = /DEBUG
250700e4 129!endif
076f10e0
VS
130!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
131__DEBUGINFO_1 =
250700e4 132!endif
076f10e0
VS
133!if "$(DEBUG_INFO)" == "0"
134__DEBUGINFO_1 =
135!endif
136!if "$(DEBUG_INFO)" == "1"
137__DEBUGINFO_1 = /DEBUG
138!endif
139!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
b17c1746 140____DEBUGINFO = /D_DEBUG
076f10e0
VS
141!endif
142!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
b17c1746 143____DEBUGINFO =
076f10e0
VS
144!endif
145!if "$(DEBUG_INFO)" == "0"
b17c1746 146____DEBUGINFO =
076f10e0
VS
147!endif
148!if "$(DEBUG_INFO)" == "1"
b17c1746 149____DEBUGINFO = /D_DEBUG
d179e30b 150!endif
b17c1746
DE
151!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
152____DEBUGINFO_0 = /d _DEBUG
d179e30b 153!endif
b17c1746
DE
154!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
155____DEBUGINFO_0 =
d179e30b 156!endif
b17c1746
DE
157!if "$(DEBUG_INFO)" == "0"
158____DEBUGINFO_0 =
076f10e0 159!endif
b17c1746
DE
160!if "$(DEBUG_INFO)" == "1"
161____DEBUGINFO_0 = /d _DEBUG
076f10e0 162!endif
b17c1746
DE
163!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
164__DEBUGINFO_2 = d
076f10e0 165!endif
b17c1746
DE
166!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
167__DEBUGINFO_2 =
076f10e0 168!endif
b17c1746
DE
169!if "$(DEBUG_INFO)" == "0"
170__DEBUGINFO_2 =
0706fb23 171!endif
b17c1746
DE
172!if "$(DEBUG_INFO)" == "1"
173__DEBUGINFO_2 = d
076f10e0 174!endif
b17c1746
DE
175!if "$(BUILD)" == "debug"
176__OPTIMIZEFLAG = /Od
076f10e0 177!endif
b17c1746
DE
178!if "$(BUILD)" == "release"
179__OPTIMIZEFLAG = /O2
0706fb23 180!endif
b17c1746
DE
181!if "$(RUNTIME_LIBS)" == "dynamic"
182__RUNTIME_LIBS = D
0706fb23 183!endif
b17c1746
DE
184!if "$(RUNTIME_LIBS)" == "static"
185__RUNTIME_LIBS = T
076f10e0 186!endif
b71531ad
VZ
187!if "$(USE_EXCEPTIONS)" == "0"
188__EXCEPTIONSFLAG =
189!endif
190!if "$(USE_EXCEPTIONS)" == "1"
b17c1746 191__EXCEPTIONSFLAG = /GR
b71531ad
VZ
192!endif
193!if "$(USE_EXCEPTIONS)" == "0"
194__EXCEPTIONSFLAG_0 =
195!endif
196!if "$(USE_EXCEPTIONS)" == "1"
b17c1746 197__EXCEPTIONSFLAG_0 = /GX
0706fb23 198!endif
ec08d395
JS
199!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
200__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
201!endif
202!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
203__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
204!endif
205!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
206__NO_VC_CRTDBG_p_0 = /d __NO_VC_CRTDBG__
207!endif
208!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
209__NO_VC_CRTDBG_p_0 = /d __NO_VC_CRTDBG__
210!endif
b17c1746
DE
211!if "$(WXUNIV)" == "1"
212__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
250700e4 213!endif
b17c1746
DE
214!if "$(WXUNIV)" == "1"
215__WXUNIV_DEFINE_p_0 = /d __WXUNIVERSAL__
250700e4 216!endif
b17c1746
DE
217!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
218__DEBUG_DEFINE_p = /D__WXDEBUG__
250700e4 219!endif
b17c1746
DE
220!if "$(DEBUG_FLAG)" == "1"
221__DEBUG_DEFINE_p = /D__WXDEBUG__
222!endif
223!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
224__DEBUG_DEFINE_p_0 = /d __WXDEBUG__
225!endif
226!if "$(DEBUG_FLAG)" == "1"
227__DEBUG_DEFINE_p_0 = /d __WXDEBUG__
250700e4 228!endif
0706fb23 229!if "$(UNICODE)" == "1"
ec08d395 230__UNICODE_DEFINE_p = /D_UNICODE
0706fb23
VS
231!endif
232!if "$(UNICODE)" == "1"
ec08d395 233__UNICODE_DEFINE_p_0 = /d _UNICODE
0706fb23 234!endif
b17c1746
DE
235!if "$(SHARED)" == "0"
236LIBDIRNAME = .\..\..\lib\vc_lib$(CFG)
4e209a20 237!endif
b17c1746
DE
238!if "$(SHARED)" == "1"
239LIBDIRNAME = .\..\..\lib\vc_dll$(CFG)
240!endif
241!if "$(SHARED)" == "1"
242__DLLFLAG_p = /DWXUSINGDLL
243!endif
244!if "$(SHARED)" == "1"
245__DLLFLAG_p_0 = /d WXUSINGDLL
0706fb23
VS
246!endif
247!if "$(MONOLITHIC)" == "0"
076f10e0
VS
248__WXLIB_CORE_p = \
249 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
0706fb23 250!endif
d179e30b
VS
251!if "$(MONOLITHIC)" == "0"
252__WXLIB_NET_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_net.lib
253!endif
b17c1746
DE
254!if "$(MONOLITHIC)" == "0"
255__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
076f10e0 256!endif
b17c1746
DE
257!if "$(MONOLITHIC)" == "1"
258__WXLIB_MONO_p = \
259 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
076f10e0 260!endif
b17c1746
DE
261!if "$(USE_GUI)" == "1"
262__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
076f10e0 263!endif
b17c1746
DE
264!if "$(USE_GUI)" == "1"
265__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
076f10e0 266!endif
b17c1746
DE
267!if "$(USE_GUI)" == "1"
268__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
076f10e0 269!endif
b17c1746
DE
270!if "$(MSLU)" == "1"
271__UNICOWS_LIB_p = unicows.lib
bdc408c4 272!endif
0706fb23
VS
273
274
275all: $(OBJS)
276$(OBJS):
277 -if not exist $(OBJS) mkdir $(OBJS)
278
279### Targets: ###
280
d179e30b
VS
281all: $(OBJS)\client.exe $(OBJS)\server.exe
282
0706fb23
VS
283clean:
284 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
285 -if exist $(OBJS)\*.res del $(OBJS)\*.res
d179e30b 286 -if exist $(OBJS)\client.exe del $(OBJS)\client.exe
ec08d395
JS
287 -if exist $(OBJS)\client.ilk del $(OBJS)\client.ilk
288 -if exist $(OBJS)\client.pdb del $(OBJS)\client.pdb
d179e30b 289 -if exist $(OBJS)\server.exe del $(OBJS)\server.exe
ec08d395
JS
290 -if exist $(OBJS)\server.ilk del $(OBJS)\server.ilk
291 -if exist $(OBJS)\server.pdb del $(OBJS)\server.pdb
d179e30b
VS
292
293$(OBJS)\client.exe: $(CLIENT_OBJECTS) $(OBJS)\client_sample.res
75a0a7b7 294 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
b92ca8cf 295 $(CLIENT_OBJECTS) $(__WXLIB_CORE_p) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).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
d179e30b 296<<
0706fb23 297
d179e30b 298$(OBJS)\server.exe: $(SERVER_OBJECTS) $(OBJS)\server_sample.res
75a0a7b7 299 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
b92ca8cf 300 $(SERVER_OBJECTS) $(__WXLIB_CORE_p) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).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
0706fb23 301<<
b17c1746
DE
302
303$(OBJS)\client_sample.res: .\..\..\samples\sample.rc
304 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) $(__NO_VC_CRTDBG_p_0) /d __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) /i .\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_0) /d _WINDOWS /i .\..\..\samples $**
305
306$(OBJS)\client_client.obj: .\client.cpp
307 $(CXX) /c /nologo /TP /Fo$@ $(CLIENT_CXXFLAGS) $**
308
309$(OBJS)\server_sample.res: .\..\..\samples\sample.rc
310 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_15_p_1) $(__NO_VC_CRTDBG_p_0) /d __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) /i .\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_0) /d _WINDOWS /i .\..\..\samples $**
311
312$(OBJS)\server_server.obj: .\server.cpp
313 $(CXX) /c /nologo /TP /Fo$@ $(SERVER_CXXFLAGS) $**