]>
Commit | Line | Data |
---|---|---|
1 | # =========================================================================\r | |
2 | # This makefile was generated by\r | |
3 | # Bakefile 0.2.3 (http://www.bakefile.org)\r | |
4 | # Do not modify, all changes will be overwritten!\r | |
5 | # =========================================================================\r | |
6 | \r | |
7 | include ../../../build/msw/config.gcc\r | |
8 | \r | |
9 | # -------------------------------------------------------------------------\r | |
10 | # Do not modify the rest of this file!\r | |
11 | # -------------------------------------------------------------------------\r | |
12 | \r | |
13 | ### Variables: ###\r | |
14 | \r | |
15 | CPPDEPS = -MT$@ -MF$@.d -MD\r | |
16 | WX_RELEASE_NODOT = 29\r | |
17 | COMPILER_PREFIX = gcc\r | |
18 | OBJS = \\r | |
19 | $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\r | |
20 | LIBDIRNAME = .\..\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)\r | |
21 | SETUPHDIR = \\r | |
22 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r | |
23 | IFACECHECK_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG) \\r | |
24 | $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \\r | |
25 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \\r | |
26 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \\r | |
27 | $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\..\include -W -Wall -I. \\r | |
28 | $(__DLLFLAG_p) -DwxUSE_GUI=0 $(__RTTIFLAG_5) $(__EXCEPTIONSFLAG_6) \\r | |
29 | -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)\r | |
30 | IFACECHECK_OBJECTS = \\r | |
31 | $(OBJS)\ifacecheck_ifacecheck.o \\r | |
32 | $(OBJS)\ifacecheck_xmlparser.o\r | |
33 | \r | |
34 | ### Conditionally set variables: ###\r | |
35 | \r | |
36 | ifeq ($(GCC_VERSION),2.95)\r | |
37 | GCCFLAGS = -fvtable-thunks\r | |
38 | endif\r | |
39 | ifeq ($(USE_GUI),0)\r | |
40 | PORTNAME = base\r | |
41 | endif\r | |
42 | ifeq ($(USE_GUI),1)\r | |
43 | PORTNAME = msw\r | |
44 | endif\r | |
45 | ifeq ($(BUILD),debug)\r | |
46 | ifeq ($(DEBUG_FLAG),default)\r | |
47 | WXDEBUGFLAG = d\r | |
48 | endif\r | |
49 | endif\r | |
50 | ifeq ($(DEBUG_FLAG),1)\r | |
51 | WXDEBUGFLAG = d\r | |
52 | endif\r | |
53 | ifeq ($(UNICODE),1)\r | |
54 | WXUNICODEFLAG = u\r | |
55 | endif\r | |
56 | ifeq ($(WXUNIV),1)\r | |
57 | WXUNIVNAME = univ\r | |
58 | endif\r | |
59 | ifeq ($(SHARED),1)\r | |
60 | WXDLLFLAG = dll\r | |
61 | endif\r | |
62 | ifeq ($(SHARED),0)\r | |
63 | LIBTYPE_SUFFIX = lib\r | |
64 | endif\r | |
65 | ifeq ($(SHARED),1)\r | |
66 | LIBTYPE_SUFFIX = dll\r | |
67 | endif\r | |
68 | ifeq ($(MONOLITHIC),0)\r | |
69 | EXTRALIBS_FOR_BASE = \r | |
70 | endif\r | |
71 | ifeq ($(MONOLITHIC),1)\r | |
72 | EXTRALIBS_FOR_BASE = \r | |
73 | endif\r | |
74 | ifeq ($(BUILD),debug)\r | |
75 | __OPTIMIZEFLAG_2 = -O0\r | |
76 | endif\r | |
77 | ifeq ($(BUILD),release)\r | |
78 | __OPTIMIZEFLAG_2 = -O2\r | |
79 | endif\r | |
80 | ifeq ($(USE_RTTI),0)\r | |
81 | __RTTIFLAG_5 = -fno-rtti\r | |
82 | endif\r | |
83 | ifeq ($(USE_RTTI),1)\r | |
84 | __RTTIFLAG_5 = \r | |
85 | endif\r | |
86 | ifeq ($(USE_EXCEPTIONS),0)\r | |
87 | __EXCEPTIONSFLAG_6 = -fno-exceptions\r | |
88 | endif\r | |
89 | ifeq ($(USE_EXCEPTIONS),1)\r | |
90 | __EXCEPTIONSFLAG_6 = \r | |
91 | endif\r | |
92 | ifeq ($(WXUNIV),1)\r | |
93 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__\r | |
94 | endif\r | |
95 | ifeq ($(BUILD),debug)\r | |
96 | ifeq ($(DEBUG_FLAG),default)\r | |
97 | __DEBUG_DEFINE_p = -D__WXDEBUG__\r | |
98 | endif\r | |
99 | endif\r | |
100 | ifeq ($(DEBUG_FLAG),1)\r | |
101 | __DEBUG_DEFINE_p = -D__WXDEBUG__\r | |
102 | endif\r | |
103 | ifeq ($(USE_EXCEPTIONS),0)\r | |
104 | __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS\r | |
105 | endif\r | |
106 | ifeq ($(USE_RTTI),0)\r | |
107 | __RTTI_DEFINE_p = -DwxNO_RTTI\r | |
108 | endif\r | |
109 | ifeq ($(USE_THREADS),0)\r | |
110 | __THREAD_DEFINE_p = -DwxNO_THREADS\r | |
111 | endif\r | |
112 | ifeq ($(UNICODE),0)\r | |
113 | __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0\r | |
114 | endif\r | |
115 | ifeq ($(UNICODE),1)\r | |
116 | __UNICODE_DEFINE_p = -D_UNICODE\r | |
117 | endif\r | |
118 | ifeq ($(MSLU),1)\r | |
119 | __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1\r | |
120 | endif\r | |
121 | ifeq ($(USE_GDIPLUS),1)\r | |
122 | __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1\r | |
123 | endif\r | |
124 | ifeq ($(SHARED),1)\r | |
125 | __DLLFLAG_p = -DWXUSINGDLL\r | |
126 | endif\r | |
127 | ifeq ($(MONOLITHIC),0)\r | |
128 | __WXLIB_XML_p = \\r | |
129 | -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml\r | |
130 | endif\r | |
131 | ifeq ($(MONOLITHIC),0)\r | |
132 | __WXLIB_BASE_p = \\r | |
133 | -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)\r | |
134 | endif\r | |
135 | ifeq ($(MONOLITHIC),1)\r | |
136 | __WXLIB_MONO_p = \\r | |
137 | -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)\r | |
138 | endif\r | |
139 | ifeq ($(MSLU),1)\r | |
140 | __UNICOWS_LIB_p = -lunicows\r | |
141 | endif\r | |
142 | ifeq ($(USE_GDIPLUS),1)\r | |
143 | __GDIPLUS_LIB_p = -lgdiplus\r | |
144 | endif\r | |
145 | ifeq ($(BUILD),debug)\r | |
146 | ifeq ($(DEBUG_INFO),default)\r | |
147 | __DEBUGINFO = -g\r | |
148 | endif\r | |
149 | endif\r | |
150 | ifeq ($(BUILD),release)\r | |
151 | ifeq ($(DEBUG_INFO),default)\r | |
152 | __DEBUGINFO = \r | |
153 | endif\r | |
154 | endif\r | |
155 | ifeq ($(DEBUG_INFO),0)\r | |
156 | __DEBUGINFO = \r | |
157 | endif\r | |
158 | ifeq ($(DEBUG_INFO),1)\r | |
159 | __DEBUGINFO = -g\r | |
160 | endif\r | |
161 | ifeq ($(USE_THREADS),0)\r | |
162 | __THREADSFLAG = \r | |
163 | endif\r | |
164 | ifeq ($(USE_THREADS),1)\r | |
165 | __THREADSFLAG = -mthreads\r | |
166 | endif\r | |
167 | \r | |
168 | \r | |
169 | all: $(OBJS)\r | |
170 | $(OBJS):\r | |
171 | -if not exist $(OBJS) mkdir $(OBJS)\r | |
172 | \r | |
173 | ### Targets: ###\r | |
174 | \r | |
175 | all: $(OBJS)\ifacecheck.exe\r | |
176 | \r | |
177 | clean: \r | |
178 | -if exist $(OBJS)\*.o del $(OBJS)\*.o\r | |
179 | -if exist $(OBJS)\*.d del $(OBJS)\*.d\r | |
180 | -if exist $(OBJS)\ifacecheck.exe del $(OBJS)\ifacecheck.exe\r | |
181 | \r | |
182 | $(OBJS)\ifacecheck.exe: $(IFACECHECK_OBJECTS)\r | |
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\r | |
184 | \r | |
185 | $(OBJS)\ifacecheck_ifacecheck.o: ./ifacecheck.cpp\r | |
186 | $(CXX) -c -o $@ $(IFACECHECK_CXXFLAGS) $(CPPDEPS) $<\r | |
187 | \r | |
188 | $(OBJS)\ifacecheck_xmlparser.o: ./xmlparser.cpp\r | |
189 | $(CXX) -c -o $@ $(IFACECHECK_CXXFLAGS) $(CPPDEPS) $<\r | |
190 | \r | |
191 | .PHONY: all clean\r | |
192 | \r | |
193 | \r | |
194 | SHELL := $(COMSPEC)\r | |
195 | \r | |
196 | # Dependencies tracking:\r | |
197 | -include $(OBJS)/*.d\r |