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 IFACECHECK_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(__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) -DwxUSE_GUI=0 $(__RTTIFLAG_5) $(__EXCEPTIONSFLAG_6) \
29 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
30 IFACECHECK_OBJECTS = \
31 $(OBJS)\ifacecheck_ifacecheck.o \
32 $(OBJS)\ifacecheck_xmlparser.o
34 ### Conditionally set variables: ###
36 ifeq ($(GCC_VERSION),2.95)
37 GCCFLAGS = -fvtable-thunks
46 ifeq ($(DEBUG_FLAG),default)
50 ifeq ($(DEBUG_FLAG),1)
68 ifeq ($(MONOLITHIC),0)
71 ifeq ($(MONOLITHIC),1)
75 __OPTIMIZEFLAG_2 = -O0
77 ifeq ($(BUILD),release)
78 __OPTIMIZEFLAG_2 = -O2
81 __RTTIFLAG_5 = -fno-rtti
86 ifeq ($(USE_EXCEPTIONS),0)
87 __EXCEPTIONSFLAG_6 = -fno-exceptions
89 ifeq ($(USE_EXCEPTIONS),1)
93 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
96 ifeq ($(DEBUG_FLAG),default)
97 __DEBUG_DEFINE_p = -D__WXDEBUG__
100 ifeq ($(DEBUG_FLAG),1)
101 __DEBUG_DEFINE_p = -D__WXDEBUG__
103 ifeq ($(USE_EXCEPTIONS),0)
104 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
107 __RTTI_DEFINE_p = -DwxNO_RTTI
109 ifeq ($(USE_THREADS),0)
110 __THREAD_DEFINE_p = -DwxNO_THREADS
113 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
116 __UNICODE_DEFINE_p = -D_UNICODE
119 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
121 ifeq ($(USE_GDIPLUS),1)
122 __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
125 __DLLFLAG_p = -DWXUSINGDLL
127 ifeq ($(MONOLITHIC),0)
129 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml
131 ifeq ($(MONOLITHIC),0)
133 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
135 ifeq ($(MONOLITHIC),1)
137 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
140 __UNICOWS_LIB_p = -lunicows
142 ifeq ($(USE_GDIPLUS),1)
143 __GDIPLUS_LIB_p = -lgdiplus
145 ifeq ($(BUILD),debug)
146 ifeq ($(DEBUG_INFO),default)
150 ifeq ($(BUILD),release)
151 ifeq ($(DEBUG_INFO),default)
155 ifeq ($(DEBUG_INFO),0)
158 ifeq ($(DEBUG_INFO),1)
161 ifeq ($(USE_THREADS),0)
164 ifeq ($(USE_THREADS),1)
165 __THREADSFLAG = -mthreads
171 -if not exist $(OBJS) mkdir $(OBJS)
175 all: $(OBJS)\ifacecheck.exe
178 -if exist $(OBJS)\*.o del $(OBJS)\*.o
179 -if exist $(OBJS)\*.d del $(OBJS)\*.d
180 -if exist $(OBJS)\ifacecheck.exe del $(OBJS)\ifacecheck.exe
182 $(OBJS)\ifacecheck.exe: $(IFACECHECK_OBJECTS)
183 $(CXX) -o $@ $(IFACECHECK_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(__WXLIB_XML_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
185 $(OBJS)\ifacecheck_ifacecheck.o: ./ifacecheck.cpp
186 $(CXX) -c -o $@ $(IFACECHECK_CXXFLAGS) $(CPPDEPS) $<
188 $(OBJS)\ifacecheck_xmlparser.o: ./xmlparser.cpp
189 $(CXX) -c -o $@ $(IFACECHECK_CXXFLAGS) $(CPPDEPS) $<
196 # Dependencies tracking: