]> git.saurik.com Git - wxWidgets.git/blame - samples/sockets/makefile.vc
fixed loading of icons from MIME types
[wxWidgets.git] / samples / sockets / makefile.vc
CommitLineData
0706fb23
VS
1# =========================================================================
2# This makefile was generated by
250700e4 3# Bakefile 0.1.1.20030719 (http://bakefile.sourceforge.net)
0706fb23
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
7921cf2b 6
250700e4 7!include <../../build/config.vc>
0706fb23
VS
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
250700e4 15CLIENT_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGFLAG) $(__DEBUGFLAG_3) /Fd$(OBJS)\client.pdb $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\include /I.\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /I.\..\..\src\tiff /I.\..\..\src\jpeg /I.\..\..\src\png /I.\..\..\src\zlib /I.\..\..\src\regex /I. $(__DLLFLAG_p) $(CXXFLAGS)
0706fb23 16OBJS = vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
250700e4 17SERVER_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGFLAG) $(__DEBUGFLAG_3) /Fd$(OBJS)\server.pdb $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\include /I.\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /I.\..\..\src\tiff /I.\..\..\src\jpeg /I.\..\..\src\png /I.\..\..\src\zlib /I.\..\..\src\regex /I. $(__DLLFLAG_p) $(CXXFLAGS)
0706fb23
VS
18
19### Conditionally set variables: ###
20
21!if "$(USE_GUI)" == "0"
22PORTNAME = base
23!endif
24!if "$(USE_GUI)" == "1"
25PORTNAME = msw
26!endif
27!if "$(BUILD)" == "debug"
28WXDEBUGFLAG = d
29!endif
30!if "$(SHARED)" == "1"
31WXDLLFLAG = dll
32!endif
33!if "$(UNICODE)" == "1"
34WXUNICODEFLAG = u
35!endif
36!if "$(WXUNIV)" == "1"
37WXUNIVNAME = univ
38!endif
39!if "$(BUILD)" == "debug"
250700e4
RD
40__DEBUGFLAG = d
41!endif
42!if "$(BUILD)" == "release"
43__DEBUGFLAG =
44!endif
45!if "$(BUILD)" == "debug"
46__DEBUGFLAG_3 = /Zi
47!endif
48!if "$(BUILD)" == "release"
49__DEBUGFLAG_3 =
50!endif
51!if "$(BUILD)" == "debug"
52__DEBUGFLAG_4 = /DEBUG
53!endif
54!if "$(BUILD)" == "release"
55__DEBUGFLAG_4 =
56!endif
57!if "$(BUILD)" == "debug"
0706fb23
VS
58__DEBUG_DEFINE_p = /D__WXDEBUG__
59!endif
60!if "$(BUILD)" == "debug"
250700e4 61__DEBUG_DEFINE_p_0 = /d__WXDEBUG__
0706fb23
VS
62!endif
63!if "$(SHARED)" == "1"
64__DLLFLAG_p = /DWXUSINGDLL
65!endif
66!if "$(SHARED)" == "1"
250700e4
RD
67__DLLFLAG_p_0 = /dWXUSINGDLL
68!endif
69!if "$(BUILD)" == "debug"
70__OPTIMIZEFLAG = /Od
71!endif
72!if "$(BUILD)" == "release"
73__OPTIMIZEFLAG = /O2
74!endif
75!if "$(RUNTIME_LIBS)" == "dynamic"
76__RUNTIME_LIBS = D
77!endif
78!if "$(RUNTIME_LIBS)" == "static"
79__RUNTIME_LIBS =
0706fb23
VS
80!endif
81!if "$(UNICODE)" == "1"
82__UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
83!endif
84!if "$(UNICODE)" == "1"
250700e4 85__UNICODE_DEFINE_p_0 = /dwxUSE_UNICODE=1
0706fb23
VS
86!endif
87!if "$(MONOLITHIC)" == "0"
88__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
89!endif
90!if "$(MONOLITHIC)" == "0"
91__WXLIB_CORE_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
92!endif
93!if "$(MONOLITHIC)" == "1"
94__WXLIB_MONO_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
95!endif
96!if "$(WXUNIV)" == "1"
97__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
98!endif
99!if "$(WXUNIV)" == "1"
250700e4 100__WXUNIV_DEFINE_p_0 = /d__WXUNIVERSAL__
0706fb23
VS
101!endif
102
103
104all: $(OBJS)
105$(OBJS):
106 -if not exist $(OBJS) mkdir $(OBJS)
107
108### Targets: ###
109
250700e4
RD
110all: $(OBJS)\client.exe $(OBJS)\server.exe
111
112$(OBJS)\client_client.obj: .\client.cpp
113 $(CXX) /c /nologo /TP /Fo$@ $(CLIENT_CXXFLAGS) $**
114
115$(OBJS)\client_client.res: .\client.rc
116 rc /fo$@ /d__WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) /i.\..\..\include /i.\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /i.\..\..\src\tiff /i.\..\..\src\jpeg /i.\..\..\src\png /i.\..\..\src\zlib /i.\..\..\src\regex /i. $(__DLLFLAG_p_0) $**
0706fb23 117
250700e4
RD
118$(OBJS)\server_server.obj: .\server.cpp
119 $(CXX) /c /nologo /TP /Fo$@ $(SERVER_CXXFLAGS) $**
0706fb23 120
250700e4
RD
121$(OBJS)\server_server.res: .\server.rc
122 rc /fo$@ /d__WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) /i.\..\..\include /i.\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /i.\..\..\src\tiff /i.\..\..\src\jpeg /i.\..\..\src\png /i.\..\..\src\zlib /i.\..\..\src\regex /i. $(__DLLFLAG_p_0) $**
0706fb23
VS
123
124clean:
125 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
126 -if exist $(OBJS)\*.res del $(OBJS)\*.res
250700e4
RD
127 -if exist $(OBJS)\client.exe del $(OBJS)\client.exe
128 -if exist $(OBJS)\server.exe del $(OBJS)\server.exe
0706fb23 129
250700e4
RD
130$(OBJS)\client.exe: $(OBJS)\client_client.obj $(OBJS)\client_client.res
131 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGFLAG_4) /LIBPATH:.\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /SUBSYSTEM:WINDOWS @<<
132 $(OBJS)\client_client.obj $(OBJS)\client_client.res $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxtiff$(WXDEBUGFLAG).lib wxjpeg$(WXDEBUGFLAG).lib wxpng$(WXDEBUGFLAG).lib wxzlib$(WXDEBUGFLAG).lib wxregex$(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
0706fb23
VS
133<<
134
250700e4
RD
135$(OBJS)\server.exe: $(OBJS)\server_server.obj $(OBJS)\server_server.res
136 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGFLAG_4) /LIBPATH:.\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /SUBSYSTEM:WINDOWS @<<
137 $(OBJS)\server_server.obj $(OBJS)\server_server.res $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxtiff$(WXDEBUGFLAG).lib wxjpeg$(WXDEBUGFLAG).lib wxpng$(WXDEBUGFLAG).lib wxzlib$(WXDEBUGFLAG).lib wxregex$(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
138<<