1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.3 (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
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
44 ### Conditionally set variables: ###
46 ifeq ($(GCC_VERSION),2.95)
47 GCCFLAGS = -fvtable-thunks
56 ifeq ($(DEBUG_FLAG),default)
60 ifeq ($(DEBUG_FLAG),1)
78 ifeq ($(MONOLITHIC),0)
81 ifeq ($(MONOLITHIC),1)
87 ifeq ($(BUILD),release)
91 __RTTIFLAG = -fno-rtti
96 ifeq ($(USE_EXCEPTIONS),0)
97 __EXCEPTIONSFLAG = -fno-exceptions
99 ifeq ($(USE_EXCEPTIONS),1)
103 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
106 __WXUNIV_DEFINE_p_0 = --define __WXUNIVERSAL__
108 ifeq ($(BUILD),debug)
109 ifeq ($(DEBUG_FLAG),default)
110 __DEBUG_DEFINE_p = -D__WXDEBUG__
113 ifeq ($(DEBUG_FLAG),1)
114 __DEBUG_DEFINE_p = -D__WXDEBUG__
116 ifeq ($(BUILD),debug)
117 ifeq ($(DEBUG_FLAG),default)
118 __DEBUG_DEFINE_p_0 = --define __WXDEBUG__
121 ifeq ($(DEBUG_FLAG),1)
122 __DEBUG_DEFINE_p_0 = --define __WXDEBUG__
124 ifeq ($(USE_EXCEPTIONS),0)
125 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
127 ifeq ($(USE_EXCEPTIONS),0)
128 __EXCEPTIONS_DEFINE_p_0 = --define wxNO_EXCEPTIONS
131 __RTTI_DEFINE_p = -DwxNO_RTTI
134 __RTTI_DEFINE_p_0 = --define wxNO_RTTI
136 ifeq ($(USE_THREADS),0)
137 __THREAD_DEFINE_p = -DwxNO_THREADS
139 ifeq ($(USE_THREADS),0)
140 __THREAD_DEFINE_p_0 = --define wxNO_THREADS
143 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
146 __UNICODE_DEFINE_p = -D_UNICODE
149 __UNICODE_DEFINE_p_0 = --define wxUSE_UNICODE=0
152 __UNICODE_DEFINE_p_0 = --define _UNICODE
155 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
158 __MSLU_DEFINE_p_0 = --define wxUSE_UNICODE_MSLU=1
160 ifeq ($(USE_GDIPLUS),1)
161 __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
163 ifeq ($(USE_GDIPLUS),1)
164 __GFXCTX_DEFINE_p_0 = --define wxUSE_GRAPHICS_CONTEXT=1
167 __DLLFLAG_p = -DWXUSINGDLL
170 __DLLFLAG_p_0 = --define WXUSINGDLL
172 ifeq ($(MONOLITHIC),0)
174 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
176 ifeq ($(MONOLITHIC),0)
178 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net
180 ifeq ($(MONOLITHIC),0)
182 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
184 ifeq ($(MONOLITHIC),1)
186 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
189 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
192 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
195 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
198 __UNICOWS_LIB_p = -lunicows
200 ifeq ($(USE_GDIPLUS),1)
201 __GDIPLUS_LIB_p = -lgdiplus
203 ifeq ($(BUILD),debug)
204 ifeq ($(DEBUG_INFO),default)
208 ifeq ($(BUILD),release)
209 ifeq ($(DEBUG_INFO),default)
213 ifeq ($(DEBUG_INFO),0)
216 ifeq ($(DEBUG_INFO),1)
219 ifeq ($(USE_THREADS),0)
222 ifeq ($(USE_THREADS),1)
223 __THREADSFLAG = -mthreads
229 -if not exist $(OBJS) mkdir $(OBJS)
233 all: $(OBJS)\ipcclient.exe $(OBJS)\ipcserver.exe
236 -if exist $(OBJS)\*.o del $(OBJS)\*.o
237 -if exist $(OBJS)\*.d del $(OBJS)\*.d
238 -if exist $(OBJS)\ipcclient.exe del $(OBJS)\ipcclient.exe
239 -if exist $(OBJS)\ipcserver.exe del $(OBJS)\ipcserver.exe
241 $(OBJS)\ipcclient.exe: $(IPCCLIENT_OBJECTS) $(OBJS)\ipcclient_sample_rc.o
242 $(CXX) -o $@ $(IPCCLIENT_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(__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
244 $(OBJS)\ipcserver.exe: $(IPCSERVER_OBJECTS) $(OBJS)\ipcserver_sample_rc.o
245 $(CXX) -o $@ $(IPCSERVER_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(__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
247 $(OBJS)\ipcclient_sample_rc.o: ./../../samples/sample.rc
248 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
250 $(OBJS)\ipcclient_client.o: ./client.cpp
251 $(CXX) -c -o $@ $(IPCCLIENT_CXXFLAGS) $(CPPDEPS) $<
253 $(OBJS)\ipcserver_sample_rc.o: ./../../samples/sample.rc
254 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
256 $(OBJS)\ipcserver_server.o: ./server.cpp
257 $(CXX) -c -o $@ $(IPCSERVER_CXXFLAGS) $(CPPDEPS) $<
264 # Dependencies tracking: