]>
Commit | Line | Data |
---|---|---|
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 | 15 | CLIENT_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 | 16 | OBJS = vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) |
250700e4 | 17 | SERVER_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" | |
22 | PORTNAME = base | |
23 | !endif | |
24 | !if "$(USE_GUI)" == "1" | |
25 | PORTNAME = msw | |
26 | !endif | |
27 | !if "$(BUILD)" == "debug" | |
28 | WXDEBUGFLAG = d | |
29 | !endif | |
30 | !if "$(SHARED)" == "1" | |
31 | WXDLLFLAG = dll | |
32 | !endif | |
33 | !if "$(UNICODE)" == "1" | |
34 | WXUNICODEFLAG = u | |
35 | !endif | |
36 | !if "$(WXUNIV)" == "1" | |
37 | WXUNIVNAME = 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 | ||
104 | all: $(OBJS) | |
105 | $(OBJS): | |
106 | -if not exist $(OBJS) mkdir $(OBJS) | |
107 | ||
108 | ### Targets: ### | |
109 | ||
250700e4 RD |
110 | all: $(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 | |
124 | clean: | |
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 | << |