1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.6 (http://www.bakefile.org)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 include ../../build/msw/config.gcc
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
15 CPPDEPS = -MT$@ -MF$@.d -MD -MP
19 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
20 LIBDIRNAME = .\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
23 IPCCLIENT_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
24 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
25 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
26 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
27 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -W -Wall -I. \
28 $(__DLLFLAG_p) -I.\..\..\samples -DNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
29 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
31 $(OBJS)\ipcclient_sample_rc.o \
32 $(OBJS)\ipcclient_client.o
33 IPCSERVER_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
34 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
35 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
36 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
37 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -W -Wall -I. \
38 $(__DLLFLAG_p) -I.\..\..\samples -DNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
39 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
41 $(OBJS)\ipcserver_sample_rc.o \
42 $(OBJS)\ipcserver_server.o
43 BASEIPCCLIENT_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
44 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
45 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
46 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
47 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -W -Wall -I. \
48 $(__DLLFLAG_p) -DwxUSE_GUI=0 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
49 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
50 BASEIPCCLIENT_OBJECTS = \
51 $(OBJS)\baseipcclient_baseclient.o
52 BASEIPCSERVER_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
53 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
54 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
55 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
56 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -W -Wall -I. \
57 $(__DLLFLAG_p) -DwxUSE_GUI=0 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
58 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
59 BASEIPCSERVER_OBJECTS = \
60 $(OBJS)\baseipcserver_baseserver.o
62 ### Conditionally set variables: ###
64 ifeq ($(GCC_VERSION),2.95)
65 GCCFLAGS = -fvtable-thunks
91 ifeq ($(MONOLITHIC),0)
94 ifeq ($(MONOLITHIC),1)
98 __ipcclient___depname = $(OBJS)\ipcclient.exe
101 __ipcserver___depname = $(OBJS)\ipcserver.exe
104 __WXUNIV_DEFINE_p_0 = --define __WXUNIVERSAL__
106 ifeq ($(DEBUG_FLAG),0)
107 __DEBUG_DEFINE_p_0 = --define wxDEBUG_LEVEL=0
109 ifeq ($(USE_EXCEPTIONS),0)
110 __EXCEPTIONS_DEFINE_p_0 = --define wxNO_EXCEPTIONS
113 __RTTI_DEFINE_p_0 = --define wxNO_RTTI
115 ifeq ($(USE_THREADS),0)
116 __THREAD_DEFINE_p_0 = --define wxNO_THREADS
119 __UNICODE_DEFINE_p_0 = --define wxUSE_UNICODE=0
122 __UNICODE_DEFINE_p_0 = --define _UNICODE
125 __MSLU_DEFINE_p_0 = --define wxUSE_UNICODE_MSLU=1
127 ifeq ($(USE_GDIPLUS),1)
128 __GFXCTX_DEFINE_p_0 = --define wxUSE_GRAPHICS_CONTEXT=1
131 __DLLFLAG_p_0 = --define WXUSINGDLL
133 ifeq ($(MONOLITHIC),0)
135 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
138 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
141 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
144 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
146 ifeq ($(BUILD),debug)
149 ifeq ($(BUILD),release)
153 __RTTIFLAG = -fno-rtti
158 ifeq ($(USE_EXCEPTIONS),0)
159 __EXCEPTIONSFLAG = -fno-exceptions
161 ifeq ($(USE_EXCEPTIONS),1)
165 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
167 ifeq ($(DEBUG_FLAG),0)
168 __DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0
170 ifeq ($(USE_EXCEPTIONS),0)
171 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
174 __RTTI_DEFINE_p = -DwxNO_RTTI
176 ifeq ($(USE_THREADS),0)
177 __THREAD_DEFINE_p = -DwxNO_THREADS
180 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
183 __UNICODE_DEFINE_p = -D_UNICODE
186 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
188 ifeq ($(USE_GDIPLUS),1)
189 __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
192 __DLLFLAG_p = -DWXUSINGDLL
194 ifeq ($(MONOLITHIC),0)
196 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net
198 ifeq ($(MONOLITHIC),0)
200 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
202 ifeq ($(MONOLITHIC),1)
204 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
207 __UNICOWS_LIB_p = -lunicows
209 ifeq ($(USE_GDIPLUS),1)
210 __GDIPLUS_LIB_p = -lgdiplus
212 ifeq ($(BUILD),debug)
213 ifeq ($(DEBUG_INFO),default)
217 ifeq ($(BUILD),release)
218 ifeq ($(DEBUG_INFO),default)
222 ifeq ($(DEBUG_INFO),0)
225 ifeq ($(DEBUG_INFO),1)
228 ifeq ($(USE_THREADS),0)
231 ifeq ($(USE_THREADS),1)
232 __THREADSFLAG = -mthreads
238 -if not exist $(OBJS) mkdir $(OBJS)
242 all: $(__ipcclient___depname) $(__ipcserver___depname) $(OBJS)\baseipcclient.exe $(OBJS)\baseipcserver.exe
245 -if exist $(OBJS)\*.o del $(OBJS)\*.o
246 -if exist $(OBJS)\*.d del $(OBJS)\*.d
247 -if exist $(OBJS)\ipcclient.exe del $(OBJS)\ipcclient.exe
248 -if exist $(OBJS)\ipcserver.exe del $(OBJS)\ipcserver.exe
249 -if exist $(OBJS)\baseipcclient.exe del $(OBJS)\baseipcclient.exe
250 -if exist $(OBJS)\baseipcserver.exe del $(OBJS)\baseipcserver.exe
253 $(OBJS)\ipcclient.exe: $(IPCCLIENT_OBJECTS) $(OBJS)\ipcclient_sample_rc.o
254 $(CXX) -o $@ $(IPCCLIENT_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(LDFLAGS) $(__WXLIB_CORE_p) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet
258 $(OBJS)\ipcserver.exe: $(IPCSERVER_OBJECTS) $(OBJS)\ipcserver_sample_rc.o
259 $(CXX) -o $@ $(IPCSERVER_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(LDFLAGS) $(__WXLIB_CORE_p) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet
262 $(OBJS)\baseipcclient.exe: $(BASEIPCCLIENT_OBJECTS)
263 $(CXX) -o $@ $(BASEIPCCLIENT_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(LDFLAGS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet
265 $(OBJS)\baseipcserver.exe: $(BASEIPCSERVER_OBJECTS)
266 $(CXX) -o $@ $(BASEIPCSERVER_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(LDFLAGS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet
268 $(OBJS)\ipcclient_sample_rc.o: ./../../samples/sample.rc
269 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) $(__MSLU_DEFINE_p_0) $(__GFXCTX_DEFINE_p_0) --include-dir $(SETUPHDIR) --include-dir ./../../include --include-dir . $(__DLLFLAG_p_0) --include-dir ./../../samples --define NOPCH
271 $(OBJS)\ipcclient_client.o: ./client.cpp
272 $(CXX) -c -o $@ $(IPCCLIENT_CXXFLAGS) $(CPPDEPS) $<
274 $(OBJS)\ipcserver_sample_rc.o: ./../../samples/sample.rc
275 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) $(__MSLU_DEFINE_p_0) $(__GFXCTX_DEFINE_p_0) --include-dir $(SETUPHDIR) --include-dir ./../../include --include-dir . $(__DLLFLAG_p_0) --include-dir ./../../samples --define NOPCH
277 $(OBJS)\ipcserver_server.o: ./server.cpp
278 $(CXX) -c -o $@ $(IPCSERVER_CXXFLAGS) $(CPPDEPS) $<
280 $(OBJS)\baseipcclient_baseclient.o: ./baseclient.cpp
281 $(CXX) -c -o $@ $(BASEIPCCLIENT_CXXFLAGS) $(CPPDEPS) $<
283 $(OBJS)\baseipcserver_baseserver.o: ./baseserver.cpp
284 $(CXX) -c -o $@ $(BASEIPCSERVER_CXXFLAGS) $(CPPDEPS) $<
291 # Dependencies tracking: